text stringlengths 1 1.11k | source dict |
|---|---|
$$x_n\to x$$ as $$n\to\infty$$
To find the limit let's use the definition
$$x=\sqrt[3]{x+x}\to x^3=2x\to x=\sqrt 2$$
The sequence converges to $$\sqrt 2$$.
• @archuser The fact that $f(x)=\sqrt[3]{x}$ is strictly increasing is common knowledge. The feedback on your proof is implicit in my answer's length: 8 lines v... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9867771786365549,
"lm_q1q2_score": 0.8347566877436308,
"lm_q2_score": 0.8459424334245618,
"openwebmath_perplexity": 181.75963101599592,
"openwebmath_score": 0.948411762714386,
"tag... |
python, r, data-analysis, excel
Eb means exa-bytes. This means 18.4 million million million gigabytes.
I notice the computation shows 4Gb for 32-bit, while I said 2 Gb above. I read there is a kind of hard limit on the 32-bit version. I don't know or care why that is... I use Python and R ;-)
In any case, I hope that... | {
"domain": "datascience.stackexchange",
"id": 3739,
"lm_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, r, data-analysis, excel",
"url": null
} |
Using Taylor expansion:
$$\sqrt{x + \sqrt{x + \sqrt{x}}} - \sqrt{x}$$
$$\sqrt{x + \sqrt{x}+\dfrac{1}{2} + O(\frac{1}{\sqrt{x}})} - \sqrt{x}$$
$$\sqrt{x}+\dfrac{1}{2\sqrt{x}}(\sqrt{x}+\dfrac{1}{2}+ O(\frac{1}{\sqrt{x}})) + O(\frac{1}{\sqrt{x}})- \sqrt{x}$$
$$\dfrac{1}{2} + \dfrac{1}{4\sqrt{x}}$$
Which in the limit ... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9773708012852457,
"lm_q1q2_score": 0.852606854210127,
"lm_q2_score": 0.8723473763375644,
"openwebmath_perplexity": 1366.158558391856,
"openwebmath_score": 1.0000100135803223,
"tags... |
(1/2) y = [( x +2)^2 ] + (1/2) -- complete square right side
y = 2 [( x +2)^2 ] + 1 ----- multiply 2 both side
y = a [ ( x-h)^2 ] + k
where a=2, h=-2, k=1 sorry
8. I think you were originally trying to solve for the minimum point by finding the vertex through the method of 'completing the square'.
From $y=ax^2+bx+... | {
"domain": "mathhelpforum.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9825575178175919,
"lm_q1q2_score": 0.8571314597256313,
"lm_q2_score": 0.8723473630627235,
"openwebmath_perplexity": 1917.9567759754982,
"openwebmath_score": 0.8046611547470093,
"ta... |
noise, snr
Relationship to matched filtering
The figure below shows that, if nothing was known about the input waveform for $t > τ_a$, then the input could be treated as though it was a rectangular pulse starting at $t = 0$ and ending at $t = τ_a$. The integration would effectively be gated integration, which would be... | {
"domain": "dsp.stackexchange",
"id": 8351,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "noise, snr",
"url": null
} |
php, classes, pdo, formatting
Title: Specific PHP Data Access Class As part of a fun project to help build my knowledge of PHP. I've written a Data Access Class here to bridge the site to the database. I know there are a lot of posts and articles out there explaining this type of thing, but I needed some individual fe... | {
"domain": "codereview.stackexchange",
"id": 5811,
"lm_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, classes, pdo, formatting",
"url": null
} |
javascript, library
// ( 3 ) Boot or start the application
$A.bootResources();
}
var script_el = document.createElement('script');
script_el.src = 'arcmarks/source/arc.js';
document.head.appendChild(script_el);
script_el.onload = function () {
libHasLoaded();
};
}()); From a onc... | {
"domain": "codereview.stackexchange",
"id": 5563,
"lm_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, library",
"url": null
} |
newtonian-mechanics, classical-mechanics, fluid-dynamics
% AIR BURST CALCULATION (this part is not perfect)
E = (p(i)-atm)*V_r; %energy stored at burnout
V = sqrt(2*e*E*M/m_r/(M+m_r)); %air burst velocity boost
v_r(i) = v_r(i) + V;
% COAST PHASE CALCULATION
while h(i)>0 %while the rocket i... | {
"domain": "physics.stackexchange",
"id": 75712,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "newtonian-mechanics, classical-mechanics, fluid-dynamics",
"url": null
} |
evaporation
I also thought about the air surrounding the water, that could be warmer as long as the fire was on, but I dont even know if warmer air would slow down evaporation.
So basically, I have no clue and this goes really counter intuitive to me. I should add that if I decided to let the fire on way longer, then ... | {
"domain": "physics.stackexchange",
"id": 58026,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "evaporation",
"url": null
} |
kinematics, coordinate-systems, geometry
Apologies in advance for not using Mathjax and hope you understand my handwriting so here’s the algebraic proof: | {
"domain": "physics.stackexchange",
"id": 47559,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "kinematics, coordinate-systems, geometry",
"url": null
} |
python, object-oriented
openAllFilesInPath(path, notebook)
#~~~~~~~~~~~~~~~~~~~< Prompt For New Library >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
valid_filename = ""
def new_lib_prompt():
global list_of_all_filenames, path
a_name = tkinter.simpledialog.askstring("Create New Note Library", "Alphanumeric and '_' only", i... | {
"domain": "codereview.stackexchange",
"id": 25983,
"lm_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",
"url": null
} |
thermodynamics, quantum-field-theory, black-holes, hawking-radiation, semiclassical
So in the Hawking-Hartle vacuum, does the black hole evaporate or not? Rephrasing: in semiclassical gravity (e.g. the use of the expectation value of the renormalized stress-tensor as a source term to the Einstein equations), does the ... | {
"domain": "physics.stackexchange",
"id": 52026,
"lm_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-field-theory, black-holes, hawking-radiation, semiclassica... |
Examples:
Hutchins dice roll
Rolling a dice 120 times produced the following numbers
1 - 25
2 - 17
3 - 15
4 - 23
5 - 24
6 - 16
A fair dice should on average produce 20 of each number for 120 throws (Expt in this example). Is this dice fair?
f Clear Reg
25 g CFi (don't bother with Nj as only one Expt but enter it no... | {
"domain": "hpmuseum.org",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9808759638081522,
"lm_q1q2_score": 0.8317511960456813,
"lm_q2_score": 0.8479677622198947,
"openwebmath_perplexity": 650.8863704024243,
"openwebmath_score": 0.5239680409431458,
"tags": n... |
autoregressive-model
N = 100;
x = cos(2*%pi*[0:N-1]'*f + ones(N,1)* phi )*a';
xn = x + sigma*rand(N,1,'normal');
function [L,LL] = likelihood(data,ahat,fhat,phihat,sigmahat)
N = length(data);
datahat = cos(2*%pi*[0:N-1]'*fhat + ones(N,1)* phihat )*ahat';
L = 1/(2*%pi*sigmahat*sigmahat)^(N/2) * exp(-1/(2... | {
"domain": "dsp.stackexchange",
"id": 1651,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "autoregressive-model",
"url": null
} |
optics, diffraction, complex-numbers, dissipation
Title: Reflection and transmission coefficient in Fresnel equations If I have a look at the Fresnel equations on Wikipedia, I get the following expressions for reflection and transmission at perpendicular light incidence
$$
R = \left|\frac{\hat n_1 - \hat n_2}{\hat n_1... | {
"domain": "physics.stackexchange",
"id": 73652,
"lm_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, diffraction, complex-numbers, dissipation",
"url": null
} |
general-relativity, differential-geometry, metric-tensor, curvature, coordinate-systems
Edit: it is worth mentioning that the impact of symmetricity in these two indexes is well-known: it is the absence of torsion.
Edit 2: in your notation (which is quite different from the one which is commonly used) Cristoffels are ... | {
"domain": "physics.stackexchange",
"id": 35717,
"lm_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, differential-geometry, metric-tensor, curvature, coordinate-sy... |
ros2, webots
Use ros2_control. There is a ros2_control interface for webots_ros2 called webots_ros2_control (see usage example here). In your case, you will need to spawn joint_state_broadcaster which publishes joints state messages. This is generally a recommended way to interact with joints in ROS as you can achieve... | {
"domain": "robotics.stackexchange",
"id": 38676,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "ros2, webots",
"url": null
} |
A little earlier, you wrote that you tried integration by parts. However, what you carried out successfully was two integrations by substitution.
Comment: The integral $\int \sec^2 x\tan x$ could have been done by parts, though the substitution that you did works more quickly. But for fun we do it by parts. We want $\... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9621075722839015,
"lm_q1q2_score": 0.8138876227824313,
"lm_q2_score": 0.8459424353665381,
"openwebmath_perplexity": 261.20988534437765,
"openwebmath_score": 0.9790465235710144,
"ta... |
nomenclature
Title: Cis-trans isomerism with electron pairs Is it possible to name compounds with lone pairs on the double bonded species using the cis-trans nomenclature? For instance, can't you name $\ce{Ph-N=N-Ph}$ by the relative position of the nitrogen atoms' electron pairs? Yes.
Azobenzene displays cis-trans is... | {
"domain": "chemistry.stackexchange",
"id": 14146,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "nomenclature",
"url": null
} |
general-relativity, black-holes, orbital-motion, history, singularities
$^*$ This well-known result is usually expressed in a different coordinate system, one that might be more familiar. In the more familiar coordinate system, the Schwarzschild radius is $r=2m$, and the ICO is $r=3m$ (see section 2.3.1 in https://arx... | {
"domain": "physics.stackexchange",
"id": 76470,
"lm_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, orbital-motion, history, singularities",
"url":... |
c++, algorithm, graph, c++17
Note that instead of doing division, I do multiplication:
\$\frac{Current1}{Required1}<\frac{Current2}{Required2}\$
is the same as
\$Current1*Required2<Current2*Required1\$ | {
"domain": "codereview.stackexchange",
"id": 32760,
"lm_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++, algorithm, graph, c++17",
"url": null
} |
error-handling, swift, database, sqlite, wrapper
public var dbObject: OpaquePointer? {
get {
return db
}
}
/**
The database connection object
- parameter type: There are 2 possible values.
- DBType.inMemory: Creates Database in RAM
- DBType.file(String): Cr... | {
"domain": "codereview.stackexchange",
"id": 26226,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "error-handling, swift, database, sqlite, wrapper",
"url": null
} |
php, database, pdo
/**
* Truncate a specified table(s)
*
* @param string|array $table
* @return bool|array
* @throws PDOException
*/
public function truncate_table(array|string $table){
try{
if(is_string($table)){
... | {
"domain": "codereview.stackexchange",
"id": 43420,
"lm_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, database, pdo",
"url": null
} |
sql, mysql, datetime
Another example with a future date instead:
CALL conditionals_for_time_specific_data ('2083-08-12', NOW());
Output:
[
{
"Unit" : "Seconds",
"Time Difference" : "2149893541 seconds from now"
},
{
"Unit" : "Minutes",
"Time Difference" : "35831559 minutes from now"
}... | {
"domain": "codereview.stackexchange",
"id": 14332,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "sql, mysql, datetime",
"url": null
} |
energy, ideal-gas, moment-of-inertia, kinetic-theory, gas
On the other hand a non-monatomic ideal gas simple gets the addition of rotational and vibrational internal modes, and continues to use the same equation of state, though the new assumptions affect the heat capacity at all temperatures, but doesn't allow the sy... | {
"domain": "physics.stackexchange",
"id": 40429,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "energy, ideal-gas, moment-of-inertia, kinetic-theory, gas",
"url": null
} |
machine-learning, deep-learning, lstm
Title: How to train Ner Model having 1 entity? I am Creating a Custom NER (named entity recognition ) Model using bi directional LSTM and CRF.
During Study on Ner i see all example includes Multiple entities per sentence.
For eample this sentence includes 2 entities
(jhon lives ... | {
"domain": "datascience.stackexchange",
"id": 6682,
"lm_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, lstm",
"url": null
} |
#### Klaas van Aarsen
##### MHB Seeker
Staff member
Thanks, ILikeSerena. Here's another attempt...
Take any subset $\Lambda$ from $\{A_{1}^{C}, A_{2}^{C}, A_{3}^{C}, ...\}$. We can label this subset $\Lambda=\{A_{j_{1}}^{C}, A_{j_{2}}^{C}, A_{j_{3}}^{C}...\}.$ Consider $P(\bigcap_{\lambda\in\Lambda}\lambda)$.
$P(\bi... | {
"domain": "mathhelpboards.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9648551566309688,
"lm_q1q2_score": 0.8181660680346886,
"lm_q2_score": 0.8479677622198947,
"openwebmath_perplexity": 617.92192589585,
"openwebmath_score": 0.8490941524505615,
"tags... |
If you toss $1000$ fair coins $10$ times each, what is the probability the *some* coin will get $10$ heads?
The answer to this is supposedly close to $0.63$. However, I get approximately $0.9765625$ for the following reason:
The probability of a fair coin flipped $N$ times resulting in all heads is $1/2^N$. In this c... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9811668739644686,
"lm_q1q2_score": 0.8067047347269154,
"lm_q2_score": 0.8221891261650248,
"openwebmath_perplexity": 230.9929008353789,
"openwebmath_score": 0.9440281987190247,
"tag... |
navigation, c++
return 0;
}
I can enter this in the command line and the robot moves without a problem:
rostopic pub /rosbot/cmd_vel geometry_msgs/Twist "linear:
x: 0.0
y: 0.0
z: 0.0
angular:
x: 0.0
y: 0.0
z: 0.0
Where is the problem in my code? | {
"domain": "robotics.stackexchange",
"id": 36204,
"lm_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, c++",
"url": null
} |
--------------------------------------
The second one.
1 - 1 / sq.rt 2 = (sq.rt 2 - 1) / sq.rt 2
Clear the fractions, multiply both sides by sqrt(2),
sqrt(2) -1 = sqrt(2) -1
Hey, one step only.
------------------
Another way.
The RHS is (sqrt(2) -1) / sqrt(2)
So divide,
= sqrt(2)/sqrt(2) -1/sqrt(2)
= 1 - 1/sqrt(2)... | {
"domain": "mathhelpforum.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9715639653084245,
"lm_q1q2_score": 0.8178874658698103,
"lm_q2_score": 0.8418256492357358,
"openwebmath_perplexity": 2471.9713979555613,
"openwebmath_score": 0.759093701839447,
"tag... |
c#, .net, serialization, reflection
/// <summary>
/// If true, an empty row will be included at the end of the response. (Some legacy systems require this.)
/// </summary>
public bool IncludeEmptyRow { get; set; }
/// <summary>
/// If true, then all values and columns will be quoted in double-quot... | {
"domain": "codereview.stackexchange",
"id": 21710,
"lm_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, serialization, reflection",
"url": null
} |
phylogenetics
Align the sequences using MAFFT or t-coffee.
Open the alignment in the Jalview alignment editor/viewer which has options to generate the tree:
then just save the tree in Newick format:
The screenshots were taken using the default alignment provided by JalView itself, and this is the tree I got when I s... | {
"domain": "bioinformatics.stackexchange",
"id": 2193,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "phylogenetics",
"url": null
} |
ruby, file, bash, locking
module Kernel
def ls_grep
`cd '/my/dir'`
`ls -la|grep -i .lock`
puts "Enter Folio #"
@input_folio = gets.chomp
lockfile = "/my/dir.~lock.#{@input_folio}.ods#"
if @input_folio =~ /^\d{7}/
if File.exist?( lockfile )
... | {
"domain": "codereview.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": "ruby, file, bash, locking",
"url": null
} |
newtonian-mechanics, forces, acceleration, free-body-diagram
Title: Direction of acceleration at highest point When a ball is thrown vertically upwards, what will be the direction of acceleration at the highest point(where velocity is zero)? Upwards, downwards or arbitrary? During the toss, while still in your hand, t... | {
"domain": "physics.stackexchange",
"id": 22569,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "newtonian-mechanics, forces, acceleration, free-body-diagram",
"url": null
} |
And now about the problem of 2 different results for Didier's example (23 Feb. 1951 to 5 Sept. 1999):
I definitely agree with Gérard that the 'correct' result is 48y/6m/10d and NOT 48y/6m/13d!
You can't move forward to 23 Aug 1999, at least NOT for all cases - try your method with the following 2 dates (in any year YY... | {
"domain": "hpmuseum.org",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9532750440288019,
"lm_q1q2_score": 0.8064158215760566,
"lm_q2_score": 0.84594244507642,
"openwebmath_perplexity": 2449.362617982976,
"openwebmath_score": 0.2984318733215332,
"tags": nul... |
# Is it possible to add two plots together?
I have two functions (of energy) that are imaginary below different energies. These expressions are quite long and unfortunately, when plotting Re@func, I am left with some trash at low energies. What I want is to add the real parts of these equations and plot them (only add... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.945801271704518,
"lm_q1q2_score": 0.834601396817973,
"lm_q2_score": 0.8824278649085117,
"openwebmath_perplexity": 884.8646689783033,
"openwebmath_score": 0.5965301394462585,
"tags"... |
forces, acceleration, friction, velocity
Title: Velocity and acceleration with variable friction If you have a body on a table,with a velocity $u_0$, going from a non friction area to a friction area, how do I find the function for velocity and acceleration due to the variable friction force(T). I say it is variable, ... | {
"domain": "physics.stackexchange",
"id": 23683,
"lm_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, acceleration, friction, velocity",
"url": null
} |
astrophysics, nuclear-physics, neutron-stars
Title: What happens to Protons and Electrons when a Neutron star forms? What happens to Protons and Electrons when a Neutron star forms? At some point gravity overcomes the Pauli Exclusion Principle ( I assume) and they are all forced together. What happens in the process? ... | {
"domain": "physics.stackexchange",
"id": 43354,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "astrophysics, nuclear-physics, neutron-stars",
"url": null
} |
optics, astrophysics, astronomy, plasma-physics, pulsars
Cordes, J. M., 2003. Pulsar Observations I. $-$ Propagation Effects, Searching Distance Estimates, Scintillations and VLBI. In S Stanimirovic et al (eds), Single-Dish Radio Astronomy: Techniques and Applications, ASP Conference Proceedings Vol. 278 (San Francisc... | {
"domain": "physics.stackexchange",
"id": 70463,
"lm_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, astrophysics, astronomy, plasma-physics, pulsars",
"url": null
} |
java, strings, comparative-review, complexity
Title: URLify a given String - replace spaces with %20 I have written a code to replace all spaces in a String with %20.
Input: "Mr John Smith "
Output: "Mr%20John%20Smith"
My logic:
public class URLify {
public static void main(String[] args) {
String str = "... | {
"domain": "codereview.stackexchange",
"id": 41103,
"lm_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, strings, comparative-review, complexity",
"url": null
} |
What my solution is: Since circle is about origin, hence, integral points would be symmetric about the $x$-axis and $y$-axis as well as line $x=y$ and line $x+y=0$ ,i.e. if $(x,y)$ is an integral point, so are $(x,-y),(-x,-y),(-x,y),(y,x),(y,-x),(-y,x)$ and $(-y,-x)$.Therefore, we need to consider only a single octant.... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9814534316905262,
"lm_q1q2_score": 0.8527130260838068,
"lm_q2_score": 0.8688267813328977,
"openwebmath_perplexity": 149.47178269752217,
"openwebmath_score": 0.957487940788269,
"tag... |
algorithms
In addition, there is an easy reduction from $3$-SAT to your problem.
Consider an instance of $3$-SAT with $n$ variables $x_1, \dots, x_n$ and $m$ clauses $C_1, \dots, C_m$. You can obtain an instance of your problem by creating two sets $T_i$ and $F_i$ for each variable $x_i$. The sets are defined as follo... | {
"domain": "cs.stackexchange",
"id": 14936,
"lm_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
} |
ios, swift
userDefaults.registerDefaults(dict as! [NSObject : AnyObject]) // with or without this code works... do I need this?
I've placed the entirety of the code below to put above lines in context. This is all of the code so you can copy it right into Xcode and it will work.
ViewController.swift
class ViewContro... | {
"domain": "codereview.stackexchange",
"id": 13122,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "ios, swift",
"url": null
} |
wheels
Title: Is there an optimal camber for fixed wheels rotating around a point? I'm working on a project where part of a unit needs to rotate around a fixed point, and be supported on two fixed (i.e. not castor) wheels.
When experimenting with the wheels, it feels like fixing them at 90 degrees to the unit results ... | {
"domain": "engineering.stackexchange",
"id": 4616,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "wheels",
"url": null
} |
python, pandas, numpy
Title: MATCHING AN INTEGER I have this dataset. I want to create a dataframe from the dataset which starts with a particular integers.
This is a sample: | {
"domain": "datascience.stackexchange",
"id": 5849,
"lm_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, pandas, numpy",
"url": null
} |
python, vigenere-cipher
#Create the ordinal plaintext data structure
ordinalPlaintext = []
# Populate the ordinal plaintext data structure with the modular
# difference of the ordinal ciphertext and the ordinal key
for k, c in zip(cycle(ordinalKey), ordinalCiphertext):
if c == ' ':
... | {
"domain": "codereview.stackexchange",
"id": 38142,
"lm_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, vigenere-cipher",
"url": null
} |
java, algorithm, programming-challenge
if (lettersCap.charAt(i) == 'F' || lettersCap.charAt(i) == 'H' ||
lettersCap.charAt(i) == 'V' || lettersCap.charAt(i) == 'W' ||
lettersCap.charAt(i) == 'Y') {
lettersMap.put(lettersCap.charAt(i), 4);
lettersM... | {
"domain": "codereview.stackexchange",
"id": 26694,
"lm_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, programming-challenge",
"url": null
} |
homework-and-exercises, newtonian-mechanics, relativity, linear-algebra, relative-motion
Title: Rotationated inertial frames and Galileo Relativity Consider then a inertial frame $S$ and another one, $S'$.
The inertial frame $S'$ is at uniform motion with respect to $S$.
Both inertial frames are the Euclidian vector s... | {
"domain": "physics.stackexchange",
"id": 51327,
"lm_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, relativity, linear-algebra, relative-... |
quantum-mechanics, atomic-physics, heisenberg-uncertainty-principle
Title: Does position-momentum uncertainty principle apply to a two-body wavefunction when we frame boost to its center of mass reference frame? The heart of my question is below in bold. The rest is clarifying information or additional points of discu... | {
"domain": "physics.stackexchange",
"id": 70424,
"lm_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, atomic-physics, heisenberg-uncertainty-principle",
"url": nul... |
inorganic-chemistry, hydrogen, spin
What is the mechanism by which spin isomers of hydrogen switch between the ortho and para forms?
There is some explanation in ChemPhysChem 2006, 7 (3), 551–554 (non-paywall version here):
One can define three situations. In the first, a magnetic conversion occurs without bond elo... | {
"domain": "chemistry.stackexchange",
"id": 8742,
"lm_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, hydrogen, spin",
"url": null
} |
electromagnetic-radiation, wave-particle-duality
One of the consequences is that things which we used to consider as waves also behave like particles, and particles behave like waves; in fact everything behaves the same way. There is no distinction between a wave and a particle. So quantum mechanics unifies the idea o... | {
"domain": "physics.stackexchange",
"id": 33859,
"lm_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, wave-particle-duality",
"url": null
} |
By definition, a set A is said to be a proper subset of another set B if and only if A is a subset of B and A is not equal to B. In other words, A is said to be a proper subset of B if B isn't a subset of A. Hence it follows that the empty set is a proper subset of every set.
-
Is it also a proper subset of itself? If... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9559813501370537,
"lm_q1q2_score": 0.8047696226332075,
"lm_q2_score": 0.8418256512199033,
"openwebmath_perplexity": 143.30368480319805,
"openwebmath_score": 0.8867093324661255,
"ta... |
ros, gazebo-plugins
Title: Gazebo Tutorials for creating a plugin?
I have created some sensors and i want to make plugins of these sensor like the one defined in gazebo_plugins page
Are there any guidelines or tutorials for creating Gazbeo plugins?
Originally posted by SAK on ROS Answers with karma: 94 on 2011-08-19... | {
"domain": "robotics.stackexchange",
"id": 6465,
"lm_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-plugins",
"url": null
} |
nanopore
Unfortunately, sample-level signal parsing is no longer the case, which makes precise event alignment tricky. Most recently, individual signal samples are aggregated into what are called strides, which describe the smallest length of time that the basecaller accepts as representing a single base transition.
F... | {
"domain": "bioinformatics.stackexchange",
"id": 2138,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "nanopore",
"url": null
} |
python, ros2, colcon, build, setup.py
However, when I execute colcon build --symlink-install --packages-select rust_test, it fails with the following error:
Starting >>> rust_test
--- stderr: rust_test
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/colcon_core/exec... | {
"domain": "robotics.stackexchange",
"id": 35875,
"lm_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, ros2, colcon, build, setup.py",
"url": null
} |
thermodynamics, fluid-dynamics, entropy
Title: Does entropy change with Reynolds number? It seems like, as a flow becomes more turbulent, there should be more possible states in the fluid. Shouldn't that correspond to an increase in entropy? Steam tables seem to only depend on temperature and pressure and not Reynolds... | {
"domain": "physics.stackexchange",
"id": 70442,
"lm_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, fluid-dynamics, entropy",
"url": null
} |
deep-rl, tensorflow, keras, pytorch, sarsa
And in Keras/Tensorflow by :
mse = keras.losses.MeanSquaredError(
reduction=keras.losses.Reduction.SUM)
@tf.function
def train(model, batch_next_states_tensor, batch_next_actions_tensor, batch_reward_tensor, batch_end_tensor, batch_states_tensor, batch_actions_tensor, op... | {
"domain": "ai.stackexchange",
"id": 3501,
"lm_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-rl, tensorflow, keras, pytorch, sarsa",
"url": null
} |
the-sun, supernova, history, stellar-evolution
This confused me as I thought both Clarke and Asimov were both scientifically knowledgeable and informed.
I can find plenty of information online about how our Sun will likely end and why it won't go supernova but not any information on how long we have known (and therefo... | {
"domain": "astronomy.stackexchange",
"id": 4556,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "the-sun, supernova, history, stellar-evolution",
"url": null
} |
backpropagation
it calculates the "delta" layer by layer. I know that the explanation in the article must make use of the chain rule, but I couldn't understand where.
I couldn't see where the chain rule is. Does this article make use of the chain rule? And where? Unless the derivation has been added in a comment, when... | {
"domain": "ai.stackexchange",
"id": 4030,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "backpropagation",
"url": null
} |
# Thread: Hilbert's hotel and busses : Injectivity - Surjectivity
1. Hey!!
I look at the problem with hilbert's hotel and the busses. First one bus with infinitely many guests, then four busses with infinitely many guests and then infinitely many busses with infinitely many guests.
At each case we move all the guest... | {
"domain": "mathhelpboards.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9763105245649665,
"lm_q1q2_score": 0.835576489424357,
"lm_q2_score": 0.8558511543206819,
"openwebmath_perplexity": 764.732410085388,
"openwebmath_score": 0.958798348903656,
"tags"... |
c++, calculator
else if (function == "log")
num = log10(num);
else if (function == "ln")
num = log(num);
else if (function == "exp")
num = exp(num);
else if (function == "gamma")
num = tgamma(num);
else if (function == "erf")
num = erf(num);
else
ge... | {
"domain": "codereview.stackexchange",
"id": 37636,
"lm_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++, calculator",
"url": null
} |
ros, ros2, embedded
// subscriber
rcl_subscription_t subscriber;
std_msgs__msg__Int32 msg_sub;
example_interfaces__srv__AddTwoInts_Response res;
example_interfaces__srv__AddTwoInts_Request req;
example_interfaces__srv__SetBool_Response res_setBool;
example_interfaces__srv__SetBool_Request req_setBool;
// ==========... | {
"domain": "robotics.stackexchange",
"id": 38068,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "ros, ros2, embedded",
"url": null
} |
c#, performance
public void PreObtainData(ref MonavisaRequestForm request, string dateAndTime, string fileDateAndTime)
{
if (!initialized)
initialize();
try
{
if (!request.webclient.IsBusy && requestQueue.Count == 0)
{
... | {
"domain": "codereview.stackexchange",
"id": 10552,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "c#, performance",
"url": null
} |
electrochemistry, concentration, hydrogen, reduction-potential, nernst-equation
where we have defined the cell potential $\Delta E \equiv E_\mathrm{p} - E_\mathrm{n}$, and the standard cell potential as $\Delta E^\circ \equiv {E_\mathrm{p}}^\circ - {E_\mathrm{n}}^\circ$.
The activities of a species has a general form ... | {
"domain": "chemistry.stackexchange",
"id": 17992,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "electrochemistry, concentration, hydrogen, reduction-potential, nernst-equation"... |
$\kappa_M(A,B) = \min(\lambda_M(X) : A \subseteq X \subseteq E-B)$. It is easy to show that for any $C \subseteq E - (A \cup B)$, we have $\sqcap_{M / C} (A,B) \leq \kappa_M(A,B)$. Tutte's linking theorem says that we can always find a $C$ that gives us equality.
Tutte's Linking Theorem. There exists $C \subseteq E - ... | {
"domain": "mathoverflow.net",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9861513922264661,
"lm_q1q2_score": 0.8217842139255686,
"lm_q2_score": 0.8333245994514084,
"openwebmath_perplexity": 435.76779845852786,
"openwebmath_score": 0.8949562907218933,
"tag... |
ros, ros-melodic
Cheers from Germany
Comment by Arun_kumar on 2021-10-30:
Hey ,
Thanks for your suggestions
You have suggested to attend take part in one of the trainings :- https://www.sitrain-learning.siemens.com/DE/en/rw6373d/Online-Training-SIMOVE-Carrier-Control_Dates_and_Registration.
But I am not using Siemens... | {
"domain": "robotics.stackexchange",
"id": 37068,
"lm_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",
"url": null
} |
lowpass-filter, gaussian
One application of a lowpass filter is in baseband sampling to prevent aliasing. In such an application the type and quality of the utilized lowpass filter is determined by a number of factors such as the bandwidth of the input signal, its spectral characthersitics, the required sampling rate,... | {
"domain": "dsp.stackexchange",
"id": 5871,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "lowpass-filter, gaussian",
"url": null
} |
electromagnetism, differential-geometry, coordinate-systems, covariance
However, I would never suggest actually doing any of the above in practice (unless you are in a situation with a lot of symmetry where you can reduce all the dot products to something very simple). I am just trying to be explicit to illustrate wha... | {
"domain": "physics.stackexchange",
"id": 14651,
"lm_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, differential-geometry, coordinate-systems, covariance",
"url":... |
forces, energy, particle-physics, acoustics
in sound energy vibrate in stead of traveling a certain distance? If anyone can add to this question, it will be greatly appreciated. Thank you. The situation get messier than that but you are on the right track. Whatever acts as the source of sound in a fluid pushes on flui... | {
"domain": "physics.stackexchange",
"id": 99295,
"lm_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, energy, particle-physics, acoustics",
"url": null
} |
python, beginner, python-3.x, tkinter, gui
myscreenwidth = (getscreensize(self))[1]
myscreenheight = (getscreensize(self))[1]
myscreendims = str(int(myscreenwidth * 0.3)) + "x" + str(int(myscreenheight* 0.5))
myscreenposition = str("+" + str((myscreenwidth+70)) + "+" + str(10))
self.geo... | {
"domain": "codereview.stackexchange",
"id": 41832,
"lm_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, tkinter, gui",
"url": null
} |
that matrix.... Always defined AI4=A: with other square matrices, this is a matrix is the size. B has n columns, we have D^ { -1 } D = I\ ) a web filter please... A = A. A\cdot I=I\cdot A=A a ⋅I = I ) Algebra > >... Represents the dimension of the matrix multiplication, identity matrices are n't bad ; they just.: [ ] i... | {
"domain": "co.za",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9873750525759486,
"lm_q1q2_score": 0.8162745990279073,
"lm_q2_score": 0.8267117919359419,
"openwebmath_perplexity": 518.7037720420217,
"openwebmath_score": 0.8696775436401367,
"tags": null,
... |
c++, abstract-factory
This suggests to me that the CFactoryBase interface should probably be two independent interfaces. You should never be required by an interface to write a method like that; you want to discover such an error when compiling, rather than run the risk of a serious bug escaping because it's not dete... | {
"domain": "codereview.stackexchange",
"id": 26136,
"lm_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++, abstract-factory",
"url": null
} |
operating-systems
You can take this concept and create your own scenarious involving the General and its aircraft fighters, and see if and when reliability and/or availability is a cost worth taking. | {
"domain": "cs.stackexchange",
"id": 19420,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "operating-systems",
"url": null
} |
.wpb_wrapper .facebook-share:before,body[data-button-style="rounded"] .wpb_wrapper .facebook-share.hovered:before,body[data-button-style="rounded"] .wpb_wrapper .google-plus-share:before,body[data-button-style="rounded"] .wpb_wrapper .google-plus-share.hovered:before,body[data-button-style="rounded"] .wpb_wrapper .nect... | {
"domain": "wolfpacknyc.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9572778000158575,
"lm_q1q2_score": 0.8383714508542798,
"lm_q2_score": 0.8757869981319863,
"openwebmath_perplexity": 11396.313708180473,
"openwebmath_score": 0.7313063144683838,
"tags... |
and once more there are five of them. I’ll leave you to check for yourself, using the same kind of analysis, that if 1 January falls on a Thursday, Wednesday, Tuesday, or Monday, there are just four Sundays in the month. Thus, in four of the seven equally likely cases January has four Sundays, and the probability of it... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.981453438742759,
"lm_q1q2_score": 0.8342071331813525,
"lm_q2_score": 0.8499711756575749,
"openwebmath_perplexity": 198.0630373632122,
"openwebmath_score": 0.7082644104957581,
"tags... |
ros, ros-melodic, audio-common
Title: audio_common "Perhaps you forgot to run soundplay_node.py"
Hi Everyone
I am new to ROS and cpp so please be patient ;)
I work with Ubuntu 18.04.4 LTS and ROS Melodic.
I installed audio_commen with command sudo apt-get install ros-melodic-audio-common according the side link
After... | {
"domain": "robotics.stackexchange",
"id": 34782,
"lm_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, audio-common",
"url": null
} |
quantum-mechanics, wavefunction, schroedinger-equation, probability, dirac-delta-distributions
So, i guess the wavefunction is $$\psi = \delta(x-L/4)$$
We know the eigenbasis is given by
$$\sqrt{\frac{2}{L}} \sin(n \pi x/L).$$
Then
$$\delta(x-L/4) = \sum_n c_n \sqrt{\frac{2}{L}} \sin(n \pi x/L) \\ c_n = \sqrt{\frac{2}... | {
"domain": "physics.stackexchange",
"id": 90805,
"lm_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, wavefunction, schroedinger-equation, probability, dirac-delta-d... |
neural-network, transfer-learning, early-stopping
Title: Daily new data for my neural network, and I want transfer(?) learning I made my neural network, it is pre-trained for 180 days of data.
It filters the fraud data of credit cards everyday and 1-days new data is comming in.
And I also want after the filtering,
... | {
"domain": "datascience.stackexchange",
"id": 7664,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "neural-network, transfer-learning, early-stopping",
"url": null
} |
javascript, jquery
Something like this, perhaps (note: incomplete implementation)
// get any existing attributes from the `data-analyticstag` attribute (if present)
function analyticsTagAttributes(element) {
// ... see current implementation, and all the stuff above ...
} | {
"domain": "codereview.stackexchange",
"id": 12348,
"lm_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
} |
you can count the number of “Heads” you get. Just keep in mind that what conditional probability does for us is to adjust the denominator of our probability fraction to account for what we KNOW has already occurred. Probability is a branch of mathematics, and a lot of people have trouble with math. A college survey sho... | {
"domain": "minoronzitti.it",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9828232924970204,
"lm_q1q2_score": 0.8556432605768571,
"lm_q2_score": 0.8705972549785201,
"openwebmath_perplexity": 428.6329198709035,
"openwebmath_score": 0.7154899835586548,
"t... |
thermodynamics, entropy
$$
\sum_{i=1}^{3N} p_i^2 = 2mU
$$
Such an origin of the presence of the mass provides a hint for building intuition.
Indeed, we see that the number of microstates inside the volume of the phase space limited by a given energy value increases with the mass because the radius of the limiting surf... | {
"domain": "physics.stackexchange",
"id": 96955,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "thermodynamics, entropy",
"url": null
} |
fourier-transform, noise, window-functions
Thus the impact of a rectangular window in time to the frequency domain is to remove the independence between the adjacent frequency samples, and reduce the overall power proportionally when compared over the same observation interval (equally as is done with a sine wave, so ... | {
"domain": "dsp.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": "fourier-transform, noise, window-functions",
"url": null
} |
be set to normal or medium. Also, as a decimal. e m= r/h Calculator online for a right circular cone. 3) I have a snow globe with a diameter of 3 cm. _____ 1. Volume of a cube = side times side times side. After having gone through the stuff given above, we hope that the students would have understood "Volume of a cone... | {
"domain": "kristinavitalis.com",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9927672370524974,
"lm_q1q2_score": 0.8093361149226344,
"lm_q2_score": 0.8152324983301568,
"openwebmath_perplexity": 583.2908903722966,
"openwebmath_score": 0.6182653903961182,
... |
fusion, plasma-physics
EDITED TO ADD
I've just found this wikipedia page about Dimensionless parameters in Tokamaks which is quantitative. It essentially says that constructing a 1:3 model of a power producing tokamak having the same turbulence transport processes is essentially infeasible, because it would need a too... | {
"domain": "physics.stackexchange",
"id": 5581,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "fusion, plasma-physics",
"url": null
} |
GMAT Question of the Day - Daily to your Mailbox; hard ones only
It is currently 21 Nov 2018, 02:01
### GMAT Club Daily Prep
#### Thank you for using the timer - this advanced tool can estimate your performance and suggest more practice questions. We have subscribed you to Daily Prep Questions via email.
Customize... | {
"domain": "gmatclub.com",
"id": null,
"lm_label": "1. Yes\n2. Yes\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 1,
"lm_q1q2_score": 0.8596637612961505,
"lm_q2_score": 0.8596637612961505,
"openwebmath_perplexity": 1315.5501724991552,
"openwebmath_score": 0.7710837125778198,
"tags": null,
"url"... |
python, classes, python-3.x, inheritance
Title: Dumping fields from Python objects I am writing a small class that has one method: get_state. It is parameterless and returns a dictionary of all the names in self (look in its dict) that are not bound to function objects (test functions by using inspect.isfunction on th... | {
"domain": "codereview.stackexchange",
"id": 12287,
"lm_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, classes, python-3.x, inheritance",
"url": null
} |
-
Very nice and clearly explained. – Joël Jan 4 '14 at 1:25
The second paragraph is wrong. It would mean that G/Z(G) is non-abelian for every non-abelian G which is of course not true in general as witnessed by $Q_8$ for example. – Johannes Hahn Jan 4 '14 at 2:00
Oh I read it too fast. – Joël Jan 4 '14 at 4:51
Oops,... | {
"domain": "mathoverflow.net",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9890130599601176,
"lm_q1q2_score": 0.8198313052478982,
"lm_q2_score": 0.8289388062084421,
"openwebmath_perplexity": 208.6996146332702,
"openwebmath_score": 0.9724882245063782,
"tags... |
• Do you assume $\lim_{x \to \infty} xf(x) = \infty$ ? – BCLC Mar 20 '16 at 0:22
• If $\lim_{x \to \infty} xf'(x) = 0$, need we have that $\lim_{x \to \infty} f'(x) = 0$? – BCLC Mar 20 '16 at 0:24
• @BCLC : If $\displaystyle\lim_{x\to\infty} f(x)=L$ is positive, then for large values of $x$, $f(x) > L/2$. Thus, $\displ... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9859363746096915,
"lm_q1q2_score": 0.8172809192831793,
"lm_q2_score": 0.8289388040954683,
"openwebmath_perplexity": 973.3438707733776,
"openwebmath_score": 0.9137837886810303,
"tag... |
python, python-3.x, reinventing-the-wheel, file-system
They'd expect that this would cause the file input by the user to be moved to the backup directory. All fine.
Now, I can't test this out myself right now so take it with a little grain of salt, but I bet that if a user were to input the filename a" b & calc & echo... | {
"domain": "codereview.stackexchange",
"id": 42836,
"lm_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, reinventing-the-wheel, file-system",
"url": null
} |
circadian-rhythms, chronobiology
Title: Why is maintaining a circadian rhythm important? What are the real consequences of never maintaining a circadian rhythm?
How is circadian rhythm important for health and function? Where did it arise in evolution? In theory, having a circadian rhythm should help anticipating dai... | {
"domain": "biology.stackexchange",
"id": 279,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "circadian-rhythms, chronobiology",
"url": null
} |
audio, signal-detection, algorithms, audio-processing, speech-processing
CWT richly maps out the variability that's compactified in STFT. Mel-spectrogram is also an option but not explored here.
Inspect regions of interest
We zoom around 1.55 sec and 3.50 sec, | {
"domain": "dsp.stackexchange",
"id": 11952,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "audio, signal-detection, algorithms, audio-processing, speech-processing",
"url": nu... |
java, linked-list
OrderedListNode elementBefore = element;
OrderedListNode elementAfter = element.next;
newElement = new OrderedListNode(obj, element, element.next);
elementBefore.next = newElement;
elementAfter.before = newElement;
modCount++; //another mod... | {
"domain": "codereview.stackexchange",
"id": 18962,
"lm_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, linked-list",
"url": null
} |
rosrun
ROS version: Noetic 1.15.11
Ubuntu 20.04 x86_64, kernel 5.10.9-051009-generic
My default python interpreter is /usr/bin/python3
env | grep ROS
ROS_VERSION=1
ROS_PYTHON_VERSION=3
ROS_PACKAGE_PATH=/home/xxxx/catkin_ws_jetson/src:/home/xxxx/catkin_ws/src:/opt/ros/noetic/share
ROSLISP_PACKAGE_DIRECTORIES=/home/xxx... | {
"domain": "robotics.stackexchange",
"id": 36730,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "rosrun",
"url": null
} |
control, robotic-arm, ros, industrial-robot, first-robotics
Thanks in advance. As i can't find any good forums (like UR forums) for Staubli (please suggest one,if anyone knows) , I thought this would be helpful for me. First I want to say that I do work for Staubli. While Staubli does not directly support ROS, others ... | {
"domain": "robotics.stackexchange",
"id": 2375,
"lm_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, robotic-arm, ros, industrial-robot, first-robotics",
"url": null
} |
frequency-spectrum, signal-detection, compressive-sensing, spectrum-estimation
which means that it's not that sparse, and all algorithms exploiting sparsity by throwing linear algebra at the problem can't really benefit much from the situation; a $K$/$L$-rank matrix/matrix operation typically has best-case complexity ... | {
"domain": "dsp.stackexchange",
"id": 4089,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "frequency-spectrum, signal-detection, compressive-sensing, spectrum-estimation",
"url... |
python, python-3.x, algorithm
>>> call('a', 'c')
2 # 'a' -> 'b' -> 'c'
>>> call('b', 'x')
4 # 'b' -> 'a' -> 'z' -> 'y' -> 'x'
"""
if a == b:
return 0
first = a if ord(a) < ord(b) else b
second = b if ord(b) > ord(a) else a
return min(
LETTERS.index(second) - LETTERS.inde... | {
"domain": "codereview.stackexchange",
"id": 44479,
"lm_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, algorithm",
"url": null
} |
graphs, np
Title: Is finding arbitrary-but-fixed length cycles in a graph NP-Hard? My intuition says yes. I think so because if we could find arbitrary length cycles, couldn't we just look for an n length cycle and then solve HAM-CYCLE? But I saw a post that seems to suggest a polynomial time method for finding cycles... | {
"domain": "cs.stackexchange",
"id": 7827,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "graphs, np",
"url": null
} |
javascript, beginner, to-do-list
and adding this line to the bottom of your code, to run on load:
input[0].childNodes[1].focus();
Here's what your code looks like with all of the changes mentioned above:
var add = document.getElementById('add');
var input = document.getElementsByClassName("input-container");
var rem... | {
"domain": "codereview.stackexchange",
"id": 27704,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "javascript, beginner, to-do-list",
"url": null
} |
homework-and-exercises, special-relativity, reference-frames, velocity
Title: Why does relativistic velocity subtraction produce a larger relative velocity than classically? I got a question for homework saying that there were two rockets on a parallel track, heading towards earth. Rocket A was in front of Rocket B. R... | {
"domain": "physics.stackexchange",
"id": 52968,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "homework-and-exercises, special-relativity, reference-frames, velocity",
"url": ... |
c++, performance, algorithm, numerical-methods
// More usual to see this:
for (int function = 0; function < 3; ++function)
Scope the loop variable to the for loop.
This prevent you from leaking scope informaiton.
Most loops in C/C++ are < loops
(Usually because we use zero indexed arrays.)
Prefer prefix increment... | {
"domain": "codereview.stackexchange",
"id": 15547,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "c++, performance, algorithm, numerical-methods",
"url": null
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.