text
stringlengths
49
10.4k
source
dict
c++, performance, object-oriented, beginner, memory-management In class object the methods getIdDepth() and getDepth do not modify the object state so you should consider making them const (i.e. unsigned int getDepth() const { return this->depth; }). I'm not 100% convinced of the idDepth property. It basically just re...
{ "domain": "codereview.stackexchange", "id": 5347, "lm_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, object-oriented, beginner, memory-management", "url": null }
quantum-mechanics, many-body, second-quantization, bose-einstein-condensate The mean field approximation consists in writing the field operator as a non operatorial part plus operatorial fluctuations on top of it: $$ \hat{\Psi}(\bf{r},t) = \left\langle \hat{\Psi}(\bf{r},t) \right\rangle + \delta \hat{\Psi}(\bf{r},t) \...
{ "domain": "physics.stackexchange", "id": 68536, "lm_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, many-body, second-quantization, bose-einstein-condensate", "u...
javascript, json, hash-map "_array_item": { "ip": "i", "port": "p" } } } </textarea> </div> </div> <div class="side-by-side-section"> <div> <div>Converted:</div> <pre class="code-block"><code class="result"></code></pre> </div> <div> <div>Converted back:</div> ...
{ "domain": "codereview.stackexchange", "id": 10682, "lm_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, json, hash-map", "url": null }
rviz, urdf, robot-state-publisher, transform Title: urdf in rviz lags Hi, I am seeing my urdf model, and all tf frames specified by robot_state_publisher, lag behind the actual robot motion (which the transform /odom->/base_footprint appears to track perfectly). The lag is around 5 seconds. I have also tried with a ...
{ "domain": "robotics.stackexchange", "id": 6527, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "rviz, urdf, robot-state-publisher, transform", "url": null }
orbit, orbital-elements Title: Calculate apsides without knowing eccentricity How would one go about determining the apsides of an orbit, knowing only the current distance between the 2 bodies, the orbital velocity, and the period? Every formula I've seen requires eccentricity, but conveniently, every formula for ecce...
{ "domain": "astronomy.stackexchange", "id": 161, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "orbit, orbital-elements", "url": null }
cc.complexity-theory, graph-algorithms, optimization Title: NP-complete problems related to Minimizing Variance I am interested in references to NP-complete problems that involve some non-linear terms (e.g. quadratic terms). So far I am aware of the "Quadratic Assignment problem" and "Quadratic Programming". The non-l...
{ "domain": "cstheory.stackexchange", "id": 1863, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "cc.complexity-theory, graph-algorithms, optimization", "url": null }
cr.crypto-security, hash-function, random-oracles Title: What are alternatives to the random oracle model for modelling hash functions? I was looking for more realistic alternatives to the ROM for describing hash functions in theoretical proofs. I came across the common reference string model (where hash functions can...
{ "domain": "cstheory.stackexchange", "id": 1895, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "cr.crypto-security, hash-function, random-oracles", "url": null }
Let's now assume that $$P_1=S_{98}$$. Similar to above, $$S_1$$ is left open, $$P_2=S_2$$, $$P_3=S_3$$ and so on until $$P_{97}=S_{97}$$. Now, $$P_{98}$$ boards the plane and see that $$S_1$$, $$S_{99}$$, and $$S_{100}$$ are available. Well, let's go through these 3 possible choices. Assume $$P_{98}=S_1$$. Now, $$P_{99...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9744347905312774, "lm_q1q2_score": 0.824315749269558, "lm_q2_score": 0.84594244507642, "openwebmath_perplexity": 500.10150711242886, "openwebmath_score": 0.7296741008758545, "tags"...
electric-circuits, charge, capacitance, voltage Title: How can we analyze electronic capacitors in series? Two capacitors are in series, such as in this circuit diagram: When doing a circuit analysis, how can we describe the voltages and charges across the two capacitors? Charge: If you consider the inner plates of ...
{ "domain": "physics.stackexchange", "id": 58042, "lm_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, charge, capacitance, voltage", "url": null }
dna-sequencing, genomics, sequence-assembly Title: Are there known genome sequencing issues in E. coli? Despite the fact that the human genome project was declared "complete" in 2001, there are even now still gaps due to difficult-to-sequence regions of the genome such as telomeres and centromeres. Only last year was ...
{ "domain": "biology.stackexchange", "id": 11219, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "dna-sequencing, genomics, sequence-assembly", "url": null }
classical-mechanics, angular-momentum The angle between $\vec{v}$ and $\vec{r}$ is given by $\tan \theta = t$. To see this, draw a right triangle with vertices at particle 1, particle 2, and $(1,0)$; the legs have lengths $1$ and $t$ and the hypotenuse has length $r = \sqrt{1 + t^2}$. If we differentiate both sides...
{ "domain": "physics.stackexchange", "id": 91977, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "classical-mechanics, angular-momentum", "url": null }
equilibrium, kinetics Title: Equilibrium constant of a reaction whose order of forward and reverse reaction is not same Suppose, a reaction is like, $$\ce{aA + bB <=> cC + dD}$$ and that A, B, C, D all are gas. Now it is known that: $$K_c = \dfrac{[A]^a[B]^b}{[C]^c[D]^d}$$ Now if the forward reaction is second order a...
{ "domain": "chemistry.stackexchange", "id": 15073, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "equilibrium, kinetics", "url": null }
beginner, php, security, static, network-file-transfer /** * Upload file. */ $newUploadDir = self::$directoryToUpload; $upload = move_uploaded_file($fileToUpload['tmp_name'], $newUploadDir.'/'.self::$newFileName.'.'.self::$fileMimeType); if($upload) { retur...
{ "domain": "codereview.stackexchange", "id": 5191, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "beginner, php, security, static, network-file-transfer", "url": null }
python, beginner label = Label(output, text=error, relief=SUNKEN, bg="black", fg="light green") label.grid(row=0, column=0, sticky="nsew") If you want to make a generic handler that does the above for any callers, make a context manager: @contextlib.contextmanager def handle_and_output(): try: yie...
{ "domain": "codereview.stackexchange", "id": 41974, "lm_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", "url": null }
I would greatly appreciate it if people could please take the time to break this expression down for me and clarify its components. • I feel like these is some missing context here. But if it's of any help, then $\frac{1}{2}\cdot x \cdot \sqrt{1-x^2}$ is the area of the triangle such that one of the legs goes from the...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9865717458502604, "lm_q1q2_score": 0.8133908463476093, "lm_q2_score": 0.8244619306896955, "openwebmath_perplexity": 140.16579183879705, "openwebmath_score": 0.8442943096160889, "ta...
moveit <param name="allow_trajectory_execution" value="$(arg allow_trajectory_execution)" /> <param name="max_safe_path_cost" value="$(arg max_safe_path_cost)" /> <param name="jiggle_fraction" value="$(arg jiggle_fraction)" /> <param name="default_planning_pipeline" value="$(arg pipeline)" /> <param na...
{ "domain": "robotics.stackexchange", "id": 37353, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "moveit", "url": null }
Note that the statement says that $\Pr(C) = 0.68$, which, according to the above calculation, is wrong. • you beat me by 38 seconds!!! +1 – MikeP Sep 30 '16 at 14:21 • ;-) (I will +1 you too ;-)) – ocram Sep 30 '16 at 14:23 • Thank you. The professor said that "the probability he passes calculus is 0.68" should have n...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.966410494349896, "lm_q1q2_score": 0.8115277188205283, "lm_q2_score": 0.8397339676722393, "openwebmath_perplexity": 411.93670658920007, "openwebmath_score": 0.9094855785369873, "tag...
java, optimization, beginner, android Huh, what's that (( doing there? file = new ObjectInputStream( ( new FileInputStream( new File( new File( getActivity().getApplicationContext().getFilesDir(),"" )+File.separator+USER_INFO_FILE ) ) ) ); One of the layers is doing absolutely nothing! Remove...
{ "domain": "codereview.stackexchange", "id": 12085, "lm_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, optimization, beginner, android", "url": null }
java, performance Title: The car plate problem: generate from AAA0001 to ZZZ9999 skipping the 0000 I was given the problem (called "car plate problem") to write all the values that go from AAA0001 to ZZZ9999 with the following premises: Create all the possibilities from AAA0001 to ZZZ9999; Skip all the 0000, ie: AAB0...
{ "domain": "codereview.stackexchange", "id": 41920, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "java, performance", "url": null }
quantum-field-theory, commutator, regularization, bosonization and similar expression for summation over $q<0$. Then the final exact result is $$[\phi(x_1), \theta(x_2)]= -\frac12 \left[ \ln \left( 1-e^{-\frac{2\pi\alpha}{L} +i\frac{2\pi}{L}(x_2-x_1)}\right) - \ln \left( 1-e^{-\frac{2\pi\alpha}{L} -i\frac{2\pi}{L}(x_...
{ "domain": "physics.stackexchange", "id": 61558, "lm_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, commutator, regularization, bosonization", "url": null }
One needn't memorize motley exotic divisibility tests. There is a universal test that is simpler and much easier recalled, viz. evaluate a radix polynomial in nested Horner form, using modular arithmetic. For example, consider evaluating a $3$ digit radix $10$ number modulo $7$. In Horner form $\rm\ d_2\ d_1\ d_0 \$ is...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9724147185726375, "lm_q1q2_score": 0.8516281610129148, "lm_q2_score": 0.8757869916479466, "openwebmath_perplexity": 193.73876350024653, "openwebmath_score": 0.8384157419204712, "ta...
performance, rust, primes, memory-optimization self.algorithm_3_2(19); self.algorithm_3_2(31); self.algorithm_3_2(43); self.algorithm_3_3(11); self.algorithm_3_3(23); self.algorithm_3_3(47); self.algorithm_3_3(59);
{ "domain": "codereview.stackexchange", "id": 45334, "lm_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, rust, primes, memory-optimization", "url": null }
programming-challenge, haskell, interview-questions Title: Last Stone Weight Problem in Haskell using list `insert` Background Saw this problem on TheJobOverflow which seems to be a LeetCode question. It bothered me that the "challenge" of this problem was to recognize the need for a specific data-type (in this case a...
{ "domain": "codereview.stackexchange", "id": 45529, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "programming-challenge, haskell, interview-questions", "url": null }
black-hole, space-time, time-dilation Title: When you travel fast around a black hole, do you experience high speed yourself? When an object in the space comes close to a massive body (like a black hole or a neutron star), we see from Earth that its speed significantly increases while it is close to the body. As we kn...
{ "domain": "astronomy.stackexchange", "id": 1412, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "black-hole, space-time, time-dilation", "url": null }
canonical transformations. The harmonic oscillator equation with time-dependent parame-. We use the damped, driven simple harmonic oscillator as an example:. With this form we can get an exact solution to the differential equation easily (good), get a preview of a solution we'll need next semester to study LRC circuits...
{ "domain": "wurmbader-wattenscheid.de", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9828232930001334, "lm_q1q2_score": 0.8293997636393409, "lm_q2_score": 0.8438951025545426, "openwebmath_perplexity": 850.2078581585258, "openwebmath_score": 0.6623950600624084...
machine-learning, quantum-enhanced-machine-learning Title: Hilbert space vs RKHS I believe in quantum machine learning, it is interesting to talk about RKHS(reproducing kernel Hilbert space) and Hilbert space where a quantum state lives in. How do we think of these two spaces? Are they effectively the same thing in th...
{ "domain": "quantumcomputing.stackexchange", "id": 4173, "lm_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, quantum-enhanced-machine-learning", "url": null }
java, finance //Amortization Variables int n = 360; double i = 0.0575; double a = 200000.00; double r = (1+i/12); DecimalFormat df = new java.text.DecimalFormat("$,###.00"); //Method to calculate the payment. void DoWork(...
{ "domain": "codereview.stackexchange", "id": 1426, "lm_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, finance", "url": null }
mechanical-engineering, fluid-dynamics, heat-exchange Title: Scale models of thermal plumes I want to look at the thermal heat plume of a human in still air in a room. So I have a tank of water with a heating coil/cylinder in it. How do I calculate what the heat output of my heating coil will need to be in order to mi...
{ "domain": "engineering.stackexchange", "id": 51, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "mechanical-engineering, fluid-dynamics, heat-exchange", "url": null }
41. DanJS $FD = FE = \sqrt{17}$ that what those 2 distance equations above are 42. anonymous 43. DanJS draw a picture first 44. DanJS label everything 45. DanJS then maybe, move F up a little, and relable that F' point (x,y), EF' = root (17) to make an equilateral triangle 46. DanJS then use the work above 4...
{ "domain": "openstudy.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9752018398044143, "lm_q1q2_score": 0.820949912254416, "lm_q2_score": 0.8418256393148982, "openwebmath_perplexity": 1819.4613947196463, "openwebmath_score": 0.6651173830032349, "tags": ...
or login to make commenting easier. Cumulative frequency tables a. This is a curve very similar to the spitzer ogive, except that the circular arc is replaced by an ellipse defined in such a way that it meets the axis at exactly 90°. On the ogive a count of. What is another name for the ogive? Organizing and providing ...
{ "domain": "tedbeaudry.net", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9572778012346835, "lm_q1q2_score": 0.8174317190329785, "lm_q2_score": 0.8539127492339909, "openwebmath_perplexity": 1240.4348948347993, "openwebmath_score": 0.5637276768684387, "tags"...
ros, ros2, kdl That will allow you to find transforms between all frames present in your TF tree. Comment by ateator on 2020-11-15: I am looking for information on how to get the orientation for the Joint Axis (or Axis of Rotation for the associated joint) that is related to the FK calculated by KDL.TF2 or robot_state...
{ "domain": "robotics.stackexchange", "id": 35753, "lm_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, kdl", "url": null }
## A Second Order Pole with Negative ζ The images below show the Bode plots for (note the sign of the middle term in the numerator is different) $$H_1(s)=\frac{1}{1+0.1\cdot\frac{s}{10}+\left(\frac{s}{10}\right)^2}, \quad\quad H_2(s)=\frac{1}{1-0.1\cdot\frac{s}{10}+\left(\frac{s}{10}\right)^2}$$ The poles of H1(s) a...
{ "domain": "swarthmore.edu", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9865717440735736, "lm_q1q2_score": 0.8689695001344417, "lm_q2_score": 0.8807970685907242, "openwebmath_perplexity": 1052.9627466968834, "openwebmath_score": 0.9354708194732666, "tags"...
discrete-signals, audio, algorithms $$ 3 x - x^{3} = \sqrt{3} \tag{1} \label{1}$$ Even if I knew about an excellent algorithm for finding cube roots, I could not use it here because that algorithm would most probably be meant for finding cube roots of real numbers, not of complex numbers. And if I were supposed to con...
{ "domain": "dsp.stackexchange", "id": 12158, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "discrete-signals, audio, algorithms", "url": null }
tic-tac-toe, ai, delphi begin Array_Set_Up; Retry: writeln('Do you want to (1) Play against a bot or (2) Play against a friend?'); readln(ChoiceB); if trystrtoint(ChoiceB, Num) then begin ChoiceA := Strtoint(ChoiceB); if ChoiceA = 2 then goto Finish else if ChoiceA = 1 then goto Cont ...
{ "domain": "codereview.stackexchange", "id": 29988, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "tic-tac-toe, ai, delphi", "url": null }
c, converting This saves you a lot of ifs and you can even remove your enum. The whole intArray array is not really needed at all since you could do your computations inside of the loop in which you create it. This way you can have only one loop inside of your htoi. Yyou are using int type to hold computed integer. So...
{ "domain": "codereview.stackexchange", "id": 2381, "lm_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, converting", "url": null }
ros ln -s /usr/lib/libopencv_features2d.so /usr/lib/aarch64-linux-gnu/libopencv_features2d.so.2.4.9 ln -s /usr/lib/libopencv_flann.so /usr/lib/aarch64-linux-gnu/libopencv_flann.so.2.4.9 ln -s /usr/lib/libopencv_gpu.so /usr/lib/aarch64-linux-gnu/libopencv_gpu.so.2.4.9 ln -s /usr/lib/libopencv_highgui.so /usr/lib/aarch6...
{ "domain": "robotics.stackexchange", "id": 25408, "lm_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 }
ros Originally posted by Keerthi Raj on ROS Answers with karma: 7 on 2013-12-18 Post score: 0 Original comments Comment by demmeln on 2013-12-20: Without knowing much about camera calibration, it seems that the tutorial is talking about calibration of a grayscale/color camera, not a depth camera. So for calibration o...
{ "domain": "robotics.stackexchange", "id": 16487, "lm_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 }
like negative area, and overlapping areas described below, you should use the polygon perimeter technique.) inches. Objectives. I am not sure how to do this. If DC = 1.9 cm, FE = 5.6 cm, AF = 4.8 cm, and BC = 10.9 cm, find the length of the other two sides. If two adjacent points along the polygon’s edges have coordina...
{ "domain": "avenuewebmedia.com", "id": null, "lm_label": "1. Yes\n2. Yes", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9883127423485422, "lm_q1q2_score": 0.8979986405734318, "lm_q2_score": 0.9086178919837706, "openwebmath_perplexity": 495.3903390611758, "openwebmath_score": 0.6473884582519531, "ta...
thermodynamics, boundary-conditions, cooling Title: Problem with boundary condition for the differential equation of a cooling Cube and Sphere Lets considere a sphere of radius $R$ in a temperature $u_0$ which is cooling in an environment of temperature $u_\infty$ (Note: I already solved it). I have to solve a diferen...
{ "domain": "physics.stackexchange", "id": 28737, "lm_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, boundary-conditions, cooling", "url": null }
frequency-response, bode Title: Find the error in phase angle and dB gain Function Transfer This is a question paper that I've tried to solved but seems I am missing something. My attempt: $$ |G|_{w=0} = K$$ So, $\require{cancel}|G|_{w=0.5a} = \dfrac{K}{\left|1+\dfrac{j0.5\cdot \cancel{a}}{\cancel{a}}\right|} = \dfrac...
{ "domain": "dsp.stackexchange", "id": 8073, "lm_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-response, bode", "url": null }
observational-astronomy, occultation, galilean-moons Title: Possible occultation of HIP 99314 and Ganymede We all are of course looking forward to see the great conjunction of Jupiter and Saturn. So I looked up the timeline of close approach in Stellarium and I saw that there might be an occultation with Ganymede and ...
{ "domain": "astronomy.stackexchange", "id": 5115, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "observational-astronomy, occultation, galilean-moons", "url": null }
python, python-3.x, flask, redis Title: Python Flask webserver with small features With the latest of my projects, I started using Visual Studio Code, which allows for Python linting and also checking for poor practices, such as using over 100 characters in a single line. As you will see, my variable names sometimes g...
{ "domain": "codereview.stackexchange", "id": 29058, "lm_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, flask, redis", "url": null }
neuroscience, cancer Title: Can neurons become cancerous? I've been reading about brain cancer lately, and something I've noticed is that the tumors seem to start in all tissues, except neural tissue. Am I missing something, or is there an explanation? Short answer Neuronal tumors are rare, but they do exist. These ca...
{ "domain": "biology.stackexchange", "id": 8123, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "neuroscience, cancer", "url": null }
population-genetics, theoretical-biology, molecular-evolution The load will be a simple function of $u$ unless $s$ is so small that it is not substantially greater than $u$. Below that point the load will decline to zero as $s$ does. This last sentence (my emphasis) is not obvious to me based on what I've read. I am ...
{ "domain": "biology.stackexchange", "id": 10886, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "population-genetics, theoretical-biology, molecular-evolution", "url": null }
c, polymorphism *ipt->a = 0; *ipt->b = 0; *ipt->c = 0; } void int_triple_set(void* int_triple_ptr, int a, int b, int c) { int_triple* it = (int_triple*) int_triple_ptr; it->a = a; it->b = b; it->c = c; printf("int_triple_set(%d, %d, %d)\n", a, b, c); } void int_pointer_triple_set(void* ...
{ "domain": "codereview.stackexchange", "id": 22669, "lm_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, polymorphism", "url": null }
i am also troubled by the point raised in post #8. i can't see that this objection has been fully answered. to justify a method by "it gives the right answer" seems poor reasoning: after all, 2*2 = 2+2, but we cannot conclude from this that if we need to square a number, we can get by with doubling it. i am also trou...
{ "domain": "mathhelpboards.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9740426443092214, "lm_q1q2_score": 0.815877571907906, "lm_q2_score": 0.8376199714402812, "openwebmath_perplexity": 902.3736796545201, "openwebmath_score": 0.990342915058136, "tags...
species-identification, arachnology Title: Spider with brown zig zags on abdomen and black head Found this spider roaming around my room the other day.. can someone tell me the species? Location: Central KY, USA Also, here's a video of him moving around in a glass candle lid, where you can get a really good look. A...
{ "domain": "biology.stackexchange", "id": 7797, "lm_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, arachnology", "url": null }
of functions online free. Supported functions: sqrt, ln ( use 'ln' instead of 'log'), e (use 'e' instead of 'exp'), Trigonometric functions: sin cos tan cot sec csc, Inverse trigonometric functions: acos asin atan acot asec acsc, Hyperbolic functions: sinh, cosh, tanh, coth, sech, csch. The integral is improper only in...
{ "domain": "loveourlula.com", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9603611654370414, "lm_q1q2_score": 0.8200646412507298, "lm_q2_score": 0.8539127473751341, "openwebmath_perplexity": 514.4997292402578, "openwebmath_score": 0.9548237919807434, "t...
general-relativity, string-theory, quantum-gravity, spacetime Update from Comment to Clarify: If you start with flat space then $g_{\mu\nu}$ isn't the metric tensor since you assumed flat space. If you start with arbitrarily curved space why would and how could you prove that the components of the graviton give you t...
{ "domain": "physics.stackexchange", "id": 63109, "lm_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, string-theory, quantum-gravity, spacetime", "url": null }
dynamic-reconfigure Title: Publishing parameter updates to camera using pointgrey_camera_driver With Indigo and Ubuntu 14.04 I would like to control the parameters of a BlackFly GiGE camera using pointgrey_image_driver. I can see the image using image_view while running the driver. It looks like the parameters shoul...
{ "domain": "robotics.stackexchange", "id": 24681, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "dynamic-reconfigure", "url": null }
rotational-dynamics, reference-frames, vectors, rigid-body-dynamics, angular-velocity Title: Components of angular velocity? Let $\vec \omega = (\omega_1, \omega_2, \omega_3)$ be the angular velocity of a rigid body with respect to the body frame, where the body frame is right-handed orthonormal. I have gathered 2 def...
{ "domain": "physics.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": "rotational-dynamics, reference-frames, vectors, rigid-body-dynamics, angular-veloc...
neural-network, classification, convolutional-neural-network, binary-classification Title: Machine learning algorithms for tabular dataset I have a dataset with 120 features and 5000 instances. The dataset is combination of categorical and numerical values. It is a tabular dataset. My problem is a binary classificatio...
{ "domain": "datascience.stackexchange", "id": 11164, "lm_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, classification, convolutional-neural-network, binary-classific...
$B)$ ¿What is the intuitive and the formal proof of the formula: $\frac{(n+r-1)!}{(n-1)!r!}$ ? • There is something I don't get for ii)... if a student only receives 1 prize and the prizes are the same, each student will receive one prize and there is only one way to do it... – RGS Jul 31 '18 at 17:12 • Do we have $3$...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9706877692486436, "lm_q1q2_score": 0.8211459830389207, "lm_q2_score": 0.8459424431344437, "openwebmath_perplexity": 281.66561843063386, "openwebmath_score": 0.7734062075614929, "ta...
electricity, electric-circuits, electrons, voltage, conductors Title: Is the speed at which electrons move through a conducting wire binary? If a voltage differential causes electrons to move through a conducting wire, and no other forces are acting against them, will they always move at the highest possible speed thr...
{ "domain": "physics.stackexchange", "id": 46544, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "electricity, electric-circuits, electrons, voltage, conductors", "url": null }
javascript, beginner, jquery This won't include schools where there sum was zero, but that may be a good thing (zero doesn't show up on a pie chart anyway). You'll note I didn't wrap the chart-creation as an on-document-ready callback (i.e. wrapped in $(...)). It's better to do all the data fetching when the document ...
{ "domain": "codereview.stackexchange", "id": 10225, "lm_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, jquery", "url": null }
newtonian-mechanics, forces, newtonian-gravity, centrifugal-force, centripetal-force Title: Pouring water in an aircraft while upside down? What is the physics behind the following photo? Someone had told me that this is because the aircraft might be moving towards a lower altitude, but I am still not sure. Great phot...
{ "domain": "physics.stackexchange", "id": 12232, "lm_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, newtonian-gravity, centrifugal-force, centripetal-for...
quantum-mechanics, homework-and-exercises, heisenberg-uncertainty-principle Title: Doubts about Heisenberg principle I am currently immersed in the study of quantum mechanics for an upcoming exam, specifically focusing on the demonstration of the Heisenberg Uncertainty Principle. While I believe I can successfully rep...
{ "domain": "physics.stackexchange", "id": 98984, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "quantum-mechanics, homework-and-exercises, heisenberg-uncertainty-principle", "u...
clojure, simulation (defn test-n-people-range "Applies percentage-matching-birthdays to a range of different numbers of people. Returns a 2D list in the form [[n-of-people perc-matching-birthdays]]" [n-tests-per min-people max-people rand-gen] (reduce (fn [acc n-people] (conj acc [n-people (percentag...
{ "domain": "codereview.stackexchange", "id": 22868, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "clojure, simulation", "url": null }
c++, ros2 I get the following error: ... /home/sam/work/radar_ws/src/radar_velocity_cpp/src/publisher_radar_ego_comp.cpp:56:31: required from here /usr/include/c++/9/ext/new_allocator.h:146:4: error: use of deleted function ‘message_filters::Subscriber<sensor_msgs::msg::PointCloud2_<std::allocator<void> > >::Subscri...
{ "domain": "robotics.stackexchange", "id": 2593, "lm_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++, ros2", "url": null }
Comment: • In (3) we use the linearity of the coefficient of operator and $[s^N]s^mf(s)=[s^{N-m}]f(s)$ • In (4) we change the limit of the left hand sum from $\infty$ to $N$ according to the maximum coefficient $[s^N]$. According to the factors $s^{kj}$ we consider in the following only summands with $m\equiv N(\bmod...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9814534322330059, "lm_q1q2_score": 0.8644613076046462, "lm_q2_score": 0.8807970701552504, "openwebmath_perplexity": 275.44956156317244, "openwebmath_score": 0.9394956231117249, "ta...
window-functions & = \sum_n w(nT) e^{-j\omega_k nT}\\ & = \sum_n w(nT) e^{-j 2\pi kn/N}\\ W(\omega_{1/2}) & = \sum_n w(nT) e^{-j \pi n/N}\\ W(0) &= \sum_n w(nT) \end{align}
{ "domain": "dsp.stackexchange", "id": 3490, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "window-functions", "url": null }
python, r, clustering, k-means Title: Clustering for multiple variable There are total 50 students(john, Roy..) and used some action to do a job. My dataSet something like this John Roy Micheal Ron ....... Smith A B B A C A A C B B ...
{ "domain": "datascience.stackexchange", "id": 2477, "lm_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, clustering, k-means", "url": null }
filters, aliasing, analog Title: Simple analog anti aliasing filter good enough if signal frequency is far from sampling frequency ? What about equivalent time sampling? I have one and only one frequency signal, a sine signal at f = 10 kHz that is sampled at Fs = 320 kHz. I have read about applying a simple analog ant...
{ "domain": "dsp.stackexchange", "id": 1163, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "filters, aliasing, analog", "url": null }
python, data, pandas, csv How can i do this by pandas? or is there any other techinque to do this? You want pandas.get_dummies. If you call get_dummies on a categorical column, it will output the binary dummy variables you're looking for. You should then be able to merge this with your original DataFrame on the index,...
{ "domain": "datascience.stackexchange", "id": 1576, "lm_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, data, pandas, csv", "url": null }
linear-regression, gradient-descent Title: Implementation of Stochastic Gradient Descent in Python I am attempting to implement a basic Stochastic Gradient Descent algorithm for a 2-d linear regression in Python. I was given some boilerplate code for vanilla GD, and I have attempted to convert it to work for SGD. Spec...
{ "domain": "datascience.stackexchange", "id": 2993, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "linear-regression, gradient-descent", "url": null }
rust Title: Rust script to generate JavaScript asset list file based on directory contents I'm new to Rust. I wanted to create a script to read the contents on a directory, and then generate a js file exporting this assets. I wrote this code, it works but I'm not totally happy with it. I want to know the best way to d...
{ "domain": "codereview.stackexchange", "id": 41891, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "rust", "url": null }
python, python-3.x, rock-paper-scissors def delirioussyntax(self): """Creator""" colorama.init() idle = "idlelib" in sys.modules time.sleep(.3) if idle is False: print(colorama.Back.BLACK + colorama.Style.BRIGHT, end='') for letter in "Delirious": ...
{ "domain": "codereview.stackexchange", "id": 16779, "lm_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, rock-paper-scissors", "url": null }
ros, ros-control, ros-kinetic, ros-controllers, gazebo-ros-control Title: What is the difference between different controllers provided in ros_control? As mentioned in the official documentation, the list of available controllers are: effort_controllers joint_effort_controller joint_position_controller joint_velocit...
{ "domain": "robotics.stackexchange", "id": 30904, "lm_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-control, ros-kinetic, ros-controllers, gazebo-ros-control", "url": nul...
c#, dependency-injection protected readonly ILogger _logger; public string CurrentUserId => User.FindFirstValue(JwtClaimTypes.Subject); private Task<Participant> _participant; private Task<UserIdentity> _userIdentity; public Task<Participant> Participant => _participant ?? (_participant = LoadPartic...
{ "domain": "codereview.stackexchange", "id": 35344, "lm_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#, dependency-injection", "url": null }
python, performance, beginner Title: RAR dictonary attack I have some old RAR files and I know the general format of passwords I used to use, so I have generated a dictionary file combining those words in a variety of ways. The dictionary file is 500mb and I've wrote a python program to use the dictionary. The issue ...
{ "domain": "codereview.stackexchange", "id": 7151, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "python, performance, beginner", "url": null }
As you can see in the graph above, it is bounded by the given plane so are my bounds correct? is the function a constant "1" ? • I improved the formatting of your post; check it and see if it's correct. Also try improving your last equation. By the way, the function in this case(Cartesian coordinates) happens to be $1...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.98058065352006, "lm_q1q2_score": 0.8411108143078614, "lm_q2_score": 0.8577681104440172, "openwebmath_perplexity": 300.2524169572731, "openwebmath_score": 0.8837581276893616, "tags"...
electromagnetism, waveguide Title: What is the significance of different modes? By "modes" I here refer to TE (transverse electrical; s-polarized) and TM (transverse magnetic; p-polarized) modes. After going through these notes(p 7-8) I somewhat understand the TE and TM modes: The idea is that any vector can be res...
{ "domain": "physics.stackexchange", "id": 38645, "lm_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, waveguide", "url": null }
c#, beginner case 5: numBevs = Math.Max(GetInt("How many would you like to be auto-added: "), 0); for (int i = 0; i < numBevs; i++) { beverages.Add(Beverages.GetRandomBeverage()); } ...
{ "domain": "codereview.stackexchange", "id": 26515, "lm_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 }
orbit, orbital-mechanics Title: What is the orbital velocity of Pluto around the Pluto-Charon barycenter? I know the formula for orbital velocity but that doesn't seem of much help when I'm trying to calculate how fast the primary wobbles, or since the barycenter is outside Pluto in the Pluto-Charon system, how fast i...
{ "domain": "astronomy.stackexchange", "id": 4575, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "orbit, orbital-mechanics", "url": null }
space-mission, solar-system-exploration, comets Title: Why are we using large chunks of copper to smash asteroids and comets? Why is copper used? Isn't that expensive? You are presumably referring to experiments like NASA's Deep Impact mission that fired a copper impactor at a comet to study its composition. If so th...
{ "domain": "physics.stackexchange", "id": 50687, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "space-mission, solar-system-exploration, comets", "url": null }
gazebo, ros-melodic, roslaunch As you can see, even with rospack finding the package and the gazebo.launch actually being there, roslaunch was not able to find it. Maybe it has something to do with the stderr? Thanks man Comment by osilva on 2021-09-15: Try executing the file directly vs using launch, that way you mig...
{ "domain": "robotics.stackexchange", "id": 36911, "lm_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, ros-melodic, roslaunch", "url": null }
quantum-mechanics, gravity, bosons Finally if you have more than two of the same species you can start with a state from the "too large" space and then consider an arbitrary state from that "too large" space and then consider every possible way of repeatedly swapping fermions or bosons of the same species. When you ha...
{ "domain": "physics.stackexchange", "id": 23913, "lm_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, gravity, bosons", "url": null }
newtonian-mechanics, forces, kinematics, friction Title: Why Do Objects move? Let's imagine a block resting on horizontal table. When We apply a force which is greater than frictional force it moves. But why does this happen? Why can't friction withstand any force? As we know that one cause of friction is due to inte...
{ "domain": "physics.stackexchange", "id": 24211, "lm_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, kinematics, friction", "url": null }
computational-chemistry Title: Why is Hessian Matrix called 'force-constant' matrix? Hessian Matrix is a square matrix containing the elements as the second-order partial derivatives of energy-function of a molecule; the derivative is done with respect to geometric coordinates of the molecule. However, I couldn't get ...
{ "domain": "chemistry.stackexchange", "id": 4923, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "computational-chemistry", "url": null }
aqueous-solution, equipment, purification Title: Microfiltration for saturated solutions of highly hygroscopic compounds? Is it possible to pass saturated solutions of compounds with very high solubility through filters with small pores (e.g. passing a saturated aqueous ZnCl2 solution at 90C through a 2mcm glassfiber ...
{ "domain": "chemistry.stackexchange", "id": 15563, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "aqueous-solution, equipment, purification", "url": null }
c#, asp.net-core return lecture.Id; } But later I figured we do need to use that same logic in another place and had to add it to the TeacherService, so I thought if it was okay to use dependency injection and call the method from the TeacherService inside LectureService, like this: using Example.Core.Data; using Mic...
{ "domain": "codereview.stackexchange", "id": 43784, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c#, asp.net-core", "url": null }
spacetime, time, quantum-entanglement Title: Regarding time dilation and particle entanglement I have a question regarding time dilation and particle entanglement. As I have read a few forums and questions here, I am aware both aspects do not contradict each other. Still, a question that I am having remains quite unan...
{ "domain": "physics.stackexchange", "id": 53611, "lm_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, time, quantum-entanglement", "url": null }
physical-chemistry, temperature, conformers Attempting to calculate this myself, I remembered the Boltzmann distribution: If two states differ in energy by $\Delta E$, their relative populations $F_1$ and $F_2$ can be calculated as follows: $$\frac{F_2}{F_1} = \mathrm{e}^{-\frac{\Delta E}{k_{\mathrm{B}} T}}$$ ($F_2$ b...
{ "domain": "chemistry.stackexchange", "id": 4179, "lm_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, temperature, conformers", "url": null }
regression, feature-selection, logistic-regression, model-selection Title: Adding new variable to model Let's say I already have a logistic regression model (or other) with N number of explanatory variables and is 70% accurate. Now if there are other variables available, how would I test if the new variables would imp...
{ "domain": "datascience.stackexchange", "id": 11122, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "regression, feature-selection, logistic-regression, model-selection", "url":...
into m subintervals of equal length and [c,d] into n subintervals of 4 The analogy between single and double integration. QUIZ QUESTIONS • Text Question: Compute 2 i=1 3 j=1 2i3j. + y ) is continuous on a region D. 1, g1 ( x ≤... Example Worksheet double Integrals over general regions in x, y ) \, dA\ ) by the. Wri...
{ "domain": "filmisdead.org", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9697854129326061, "lm_q1q2_score": 0.8081460327572522, "lm_q2_score": 0.8333245911726382, "openwebmath_perplexity": 2819.737226168277, "openwebmath_score": 0.957338809967041, "tag...
javascript, jquery //Action for body Load $(function () { TOP_WRAPPER.toggle(); CATEGORY_INPUT.autocomplete({ source: function (req, res) { $.getJSON(URL_CATEGORY_AUTO, { excludes: getAllCategories(), term: CATEGORY_INPUT.val() }, res); } }); CATEGORY_BOX.a...
{ "domain": "codereview.stackexchange", "id": 7929, "lm_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 }
quantum-mechanics, statistical-mechanics, partition-function We know that your system $s$ is in contact with a reservoir $r$, but together they are sealed up in a microcanonical ensemble with $S = S_s + S_r$, $U = U_s + U_r$. Now that reservoir is big and complicated so its internal degrees of freedom over the (to it)...
{ "domain": "physics.stackexchange", "id": 22312, "lm_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, statistical-mechanics, partition-function", "url": null }
metric-tensor, conventions, tensor-calculus, covariance \end{align} Since you have already found how the symbol reacts to index lowering, you can immediately verify that \begin{align} g_{i_1j_1}g_{i_2j_2}\cdots g_{i_nj_n}\epsilon^{j_1j_2\ldots j_n} = (-1)^s\epsilon_{i_1i_2\ldots i_n}, \end{align} where $s$ is the numb...
{ "domain": "physics.stackexchange", "id": 37629, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "metric-tensor, conventions, tensor-calculus, covariance", "url": null }
Any help is appreciated. Thanks! For one thing, the discriminant should be non-negative. Then as I like Serena pointed out, you need be sure that k is such that -1 ≤ cos(x) ≤ 1 . haruspex Homework Helper Gold Member For one thing, the discriminant should be non-negative. Do you mean non-positive? I like Serena Homew...
{ "domain": "physicsforums.com", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9653811581728097, "lm_q1q2_score": 0.8205461543009823, "lm_q2_score": 0.8499711718571775, "openwebmath_perplexity": 1400.7190193988713, "openwebmath_score": 0.8207471370697021, ...
complexity-theory, turing-machines, reductions Title: Prove by reduction that language of TMs accepting only words starting with 101 is undecidable Before an exam in Computability I go through questions from last year's test. So the question is: $$A= \{ \langle M\rangle x | M \text{ is a TM and accepts } x \}$$ $$ L =...
{ "domain": "cs.stackexchange", "id": 20915, "lm_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, turing-machines, reductions", "url": null }
php, beginner, security, email use the (mostly) equivalent: // this is the honeypot if (!empty($website)) { $error['website'] = "Opps looks like you're a spambot. You just filled in a not required field."; } $myFile = "botlog.txt"; $fh = fopen($myFile, 'a') or die("can't open file"); $stringData = "bot trapped - $...
{ "domain": "codereview.stackexchange", "id": 6339, "lm_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, beginner, security, email", "url": null }
c++, performance, algorithm, recursion, io ReverseHasher& ReverseHasher::operator++() { // from the right, try +1, -1 until it works auto it{values.rbegin()}; auto end{values.rend()}; auto movable{0}; for (auto prev{it++}; it != end; ++it) { if (*it != last && *prev != first) { ...
{ "domain": "codereview.stackexchange", "id": 36428, "lm_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, recursion, io", "url": null }
gravity, moon, earth, magnetic-fields In either case, there is also the problem of tidal locking. It is suspected by some that having tides was crucial for the development of life. The Moon is already tidally locked with the Earth - we only ever see one face of it - so it has no tides. If you scaled it up, you might t...
{ "domain": "physics.stackexchange", "id": 5998, "lm_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, moon, earth, magnetic-fields", "url": null }
performance, c, linked-list, unit-testing extern intmax_t ll_pop_node (struct ll_node **head) { assert (head && *head); struct ll_node *current = *head; intmax_t data = current->data; *head = current->next; free (current); return data; } extern int ll_print (const struct ll_node *head) { ...
{ "domain": "codereview.stackexchange", "id": 44420, "lm_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, c, linked-list, unit-testing", "url": null }
But $45 < \frac{\alpha}{2} < 90$. Therefore $\cos \left( \frac{\alpha}{2}\right) = \sqrt{0.02} = 0.1414$.
{ "domain": "mathhelpforum.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9591542840900508, "lm_q1q2_score": 0.8333389115300255, "lm_q2_score": 0.8688267626522814, "openwebmath_perplexity": 419.58392247357347, "openwebmath_score": 0.9600251913070679, "ta...
java, algorithm, array, android, graphics Title: Code for getting the coordinates of points on the chart I am a beginner android developer. I am working on one of my applications. For this application, I wrote an algorithm that is needed to obtain data that is used to build a diagram. I have a list of objects (value, ...
{ "domain": "codereview.stackexchange", "id": 37525, "lm_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, array, android, graphics", "url": null }
orange Title: Is there Orange support for MySQL and SQLite? I would like to be able to directly access both MySQL and SQLite databases as part of an Orange workflow. I see there is support for PostgreSQL and (possibly) In order to be more precise, I have just finished the example of a Python (ver. 3.7) Script to incl...
{ "domain": "datascience.stackexchange", "id": 6987, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "orange", "url": null }
$a_{m+1}(m+s+1)(m+s-2)-a_{m}[(m+s)(m+s-1)-2]=0$ $a_{m+1}=a_{m}$ I don't understand what this result means (if I even did it right) and how I would continue from here. 2. Oct 3, 2013 ### SteamKing Staff Emeritus It suggests that there is a single coefficient 'a' for all the terms in the series, or y = a * SUM (x^(...
{ "domain": "physicsforums.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9752018405251301, "lm_q1q2_score": 0.8040167964576607, "lm_q2_score": 0.8244619350028204, "openwebmath_perplexity": 192.16695100665308, "openwebmath_score": 0.9234248399734497, "ta...
Must this rng be a ring? A rng is a ring without the assumption that the ring contains an identity. Consider a finite rng $\mathbf{R}$. I am investigating conditions that get close forcing an identity but not quite. The closest condition I can think of is the following: If $a\in \mathbf{R}$ is non-zero then there is...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9669140235181257, "lm_q1q2_score": 0.8400808038050445, "lm_q2_score": 0.8688267864276108, "openwebmath_perplexity": 193.0592929360742, "openwebmath_score": 0.8819894790649414, "tag...
python, python-3.x, file, csv Title: Python CSV file slicer I have made CSV file slicer. This is my first and biggest piece of code on Python. It takes one .csv file from current folder and then slices it to n parts and adds a first column, if provided. import csv import math import os import re import sys # Reading ...
{ "domain": "codereview.stackexchange", "id": 27827, "lm_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, file, csv", "url": null }