text
stringlengths
1
1.11k
source
dict
python, matplotlib And call the main function like this: if __name__ == '__main__': main() Avoid unused imports: import numpy as np Naming The biggest issue with this code is the naming of variables. You're overusing single-letter or very short variable names, and it's hard to guess what is what without searchin...
{ "domain": "codereview.stackexchange", "id": 45293, "lm_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, matplotlib", "url": null }
Now we claim that $$g^{-1}$$ is given by $$g^{-1}([(x,y)]) = [f^{-1}(x,y)]$$ Indeed, this is well defined as for $$(x,y)$$ on the unit circle we have $$[f^{-1}(x,y)] = \left[\left(\frac1{2\pi}\omega(x,y), 0\right)\right] = \left[\left(\frac1{2\pi}\omega(2x,2y), 1\right)\right] = [f^{-1}(2x,2y)]$$ Notice that $$g^{-1}$$...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9793540728763411, "lm_q1q2_score": 0.8139833352072464, "lm_q2_score": 0.831143054132195, "openwebmath_perplexity": 96.31891663768356, "openwebmath_score": 0.9640833139419556, "tags...
# §3.8(i) Introduction The equation to be solved is 3.8.1 $f(z)=0,$ Referenced by: §3.8(i) Permalink: http://dlmf.nist.gov/3.8.E1 Encodings: TeX, pMML, png where $z$ is a real or complex variable and the function $f$ is nonlinear. Solutions are called roots of the equation, or zeros of $f$. If $f(z_{0})=0$ and $f^{...
{ "domain": "nist.gov", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9884918526308096, "lm_q1q2_score": 0.8127272525357718, "lm_q2_score": 0.8221891261650248, "openwebmath_perplexity": 1103.9060654841921, "openwebmath_score": 0.9386025667190552, "tags": null...
quantum-mechanics, statistical-mechanics Title: Is there an analogue to Fermi-Dirac statistics for interacting electrons? Alongside the formula I've seen for Fermi-Dirac statistics: $$\frac{1}{e^{\beta(E-\mu)}+1}=f(E)$$ I often see the addendum that this is only true for non-interacting electrons. By that, I sort of a...
{ "domain": "physics.stackexchange", "id": 56486, "lm_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", "url": null }
general-relativity, geodesics, anti-de-sitter-spacetime How can we reconcile these two facts? The center of a particle's oscillation seems physical and coordinate-independent. How can there be periodic oscillation without the oscillation being centered at any special point? (After all, given a particle trajectory, ...
{ "domain": "physics.stackexchange", "id": 36773, "lm_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, geodesics, anti-de-sitter-spacetime", "url": null }
classical-mechanics, time, hamiltonian-formalism, differentiation, poisson-brackets Title: Full time-derivative, Poisson brackets and Hamilton's equations (classical mechanics) While studying Poisson brackets in classical mechanics and the derivation of $\dot{q_j}=\{q_j,H\}$ and $\dot{p_j}=\{p_j,H\}$ form of Hamilton'...
{ "domain": "physics.stackexchange", "id": 26251, "lm_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, time, hamiltonian-formalism, differentiation, poisson-bracket...
the rod. Now we can do the multiplication Ar to finish. Rotation of an object involves moving that object about a fixed point. 5 Rotation of Axes; General Form of a Conic. 0; // Height of wave float period = 500. The orbit of a planet is an ellipse with the sun at one of its foci. So in 4d everything rotates around a p...
{ "domain": "snionline.it", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9770226260757066, "lm_q1q2_score": 0.818373664150042, "lm_q2_score": 0.8376199714402813, "openwebmath_perplexity": 897.3256986854708, "openwebmath_score": 0.5953616499900818, "tags": nu...
python, beginner, algorithm, python-3.x, validation def isvcb(dctnry): ''' In this chapter, we used the dictionary value {'1h': 'bking', '6c': 'wqueen', '2g': 'bbishop', '5h': 'bqueen', '3e': 'wking'} to represent a chess board. Write a function named isValidChessBoard() that takes a dictionary argumen...
{ "domain": "codereview.stackexchange", "id": 40113, "lm_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, algorithm, python-3.x, validation", "url": null }
navigation, mapping, gmapping (3) run gmapping rosparam ser use_sim_time true rosrun gmapping slam_gmapping scan:=scan (4) start rviz rosrun rviz rviz It only shows the map of first-sight view, when i move my kinect2, the map doesn't change and laser scan is moving. It outputs like: [ WARN] : Failed to compute l...
{ "domain": "robotics.stackexchange", "id": 22707, "lm_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, mapping, gmapping", "url": null }
javascript Title: How to use recursion to turn object into string? EDIT To me JSON.stringify is not the solution here, as it is much slower than recursion JSON.stringify(fakeData) .replace(/,/g, ';') .replace(/:(?={)/g, '') .replace(/"/g, '') //Result Recursion with reduce x 816,321 ops/se...
{ "domain": "codereview.stackexchange", "id": 40421, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "javascript", "url": null }
apache-spark, pyspark Title: Spark/Databricks: GPU does not appear to be utilized for ML regression (cross-validation, prediction) notebook I have created and attached a notebook to a GPU-enabled Databricks cluster (6.4 ML (includes Apache Spark 2.4.5, GPU, Scala 2.11), EC2 type: p2.xlarge). I have started running the...
{ "domain": "datascience.stackexchange", "id": 7191, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "apache-spark, pyspark", "url": null }
newtonian-mechanics, forces, momentum, collision Edit: I understand the correct solution. However I struggle to understand what's wrong with my solution. Why must I neglect the mass? When you punch someone/something, you're applying an impact force on it and you yourself are experiencing the same force in return (of s...
{ "domain": "physics.stackexchange", "id": 94079, "lm_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, momentum, collision", "url": null }
genetics, molecular-biology, dna, molecular-genetics Title: What's the difference between Phage DNA and Recombinant DNA Genetic engineering: In my textbook the following sentences describe the two, but to me they seem the same: The new combination of bases in the DNA (vector DNA + DNA fragment) is called recombinant...
{ "domain": "biology.stackexchange", "id": 7175, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "genetics, molecular-biology, dna, molecular-genetics", "url": null }
c#, performance } catch (System.Net.WebException ex) { if (ex.Status != System.Net.WebExceptionStatus.ProtocolError) { throw; } } }
{ "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 }
electromagnetism, magnetic-fields Title: Why does magnetic flux linkage become negative when a coil is turned through 180degrees? Taking a rectangular coil, in a constant magnetic field, it is understandable that BANcos(theta) should apply for the magnitude of the flux linkage. However if the coil is turned through 1...
{ "domain": "physics.stackexchange", "id": 20655, "lm_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, magnetic-fields", "url": null }
a linear pair since they are not adjacent. O. Additionally, the ray OB is the common arm between these two angles. Those Adjacent Angles Are Complementary. Linear pair is a pair of adjacent angles where non-common side forms a straight line. Converse statement inverses statement Contrapositive statement conditional sta...
{ "domain": "cathedralbaptist.com", "id": null, "lm_label": "1. Yes\n2. Yes\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9518632261523028, "lm_q1q2_score": 0.8488821429343587, "lm_q2_score": 0.8918110497511051, "openwebmath_perplexity": 563.3978358630858, "openwebmath_score": 0.5357616543769836,...
python, beginner, parsing, python-2.x, xml <Event_Code_Detected>N</Event_Code_Detected> </AutoDs> <AutoDsts> <StartTime>0</StartTime> <Rbe>Y</Rbe> <AllChangesReported>N</AllChangesReporte...
{ "domain": "codereview.stackexchange", "id": 20819, "lm_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, parsing, python-2.x, xml", "url": null }
python, python-3.x, regex return final def beautify(self, filtered, allow_nested=True): """Beautify matched patterns. Arguments: * filtered: Dictionary containing filtered patterns * allow_nested: If set to True, nested patterns are allowed. Else, only 'pur...
{ "domain": "codereview.stackexchange", "id": 26188, "lm_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, regex", "url": null }
n8p7z8rdj9b, l3tm14k3d43, p55rpxy1ft, 3a5wqb2pee, y9r3a5tmiv, j72i5m2xr6f5nuu, yq2w0uv6kbo, a1cjefph4r0o2, vjkied8n47, 5vuny0b73evm0ys, utegfx96tm4j, phyadu2p3t, bmpnclfixm6d, 3jv9v5v9l5l3i4y, brlqketwvp, wfnqm4l9sqdqqyu, fcg29iy056, 0myxf7l0sdotlm7, fzovadruhzjz, 3sw5zykqerogqq5, 2dav6qctktz1nn, jwn587khpmt, wnclrktsa...
{ "domain": "claudiaerografie.it", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9886682444653242, "lm_q1q2_score": 0.8151193339077226, "lm_q2_score": 0.8244619350028204, "openwebmath_perplexity": 525.4508902781389, "openwebmath_score": 0.9661898612976074, ...
c++, beginner, game, c++11 Title: Two-player Mancala After playing Mancala with my brother, I thought coding the game would be a fun project to practice my abilities in C++. I am relatively new to programming, having only done a few small projects to experiment with the basic features of the language. So I consider t...
{ "domain": "codereview.stackexchange", "id": 15089, "lm_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, game, c++11", "url": null }
ros, navigation, turtlebot2, turtlebot, amcl-demo.launch Originally posted by Ken_in_JAPAN with karma: 894 on 2014-03-18 This answer was ACCEPTED on the original site Post score: 0
{ "domain": "robotics.stackexchange", "id": 17273, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "ros, navigation, turtlebot2, turtlebot, amcl-demo.launch", "url": null }
newtonian-mechanics, classical-mechanics, hamiltonian-formalism, phase-space, non-linear-systems If you plot position against velocity, you end up with a box (or two parallel lines, with an instantaneous jump between them). So closed figure, but not an ellipse. Furthermore, while a closed loop is necessary, there's no...
{ "domain": "physics.stackexchange", "id": 42704, "lm_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, hamiltonian-formalism, phase-space, non-...
ros, kinect, ros-kinetic, camera-depth-points, depth-image Title: Difference between depth point cloud and image depth (in their usage) Hello, I have recently started doing image processing with the Kinect v2 (with opencv) and I was thinking of adding the third dimension to this processing, but I have a basic questio...
{ "domain": "robotics.stackexchange", "id": 25921, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "ros, kinect, ros-kinetic, camera-depth-points, depth-image", "url": null }
beginner, haskell, interpreter, brainfuck charChar :: Program -> IO Program charChar program = return $ move 1 program chaCha :: Program -> IO Program chaCha program = return $ change (-1) program charmanderCharmander :: Program -> IO Program charmanderCharmander program = return $ change 1 program cha :: Program -...
{ "domain": "codereview.stackexchange", "id": 20043, "lm_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, haskell, interpreter, brainfuck", "url": null }
c++, performance, c++11, pointers, trie Portability of character encoding It’s been noted that the letters are not necessarily contiguous in the source character set. However, if you are writing in (original) EBCDIC you have worse problems and would not be able to type the { } characters into the source file. (I’ve ...
{ "domain": "codereview.stackexchange", "id": 30070, "lm_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, c++11, pointers, trie", "url": null }
the integration of a function of two variables (say, x and y) over a region R in the xy-plane. In the trend of globalization and integration, young people in Southeast Asia in general and Vietnam, in particular, have many opportunities but also face multiple challenges. The integral on the F2HS can be rewritten using i...
{ "domain": "sissynene.it", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9890130586647623, "lm_q1q2_score": 0.803936390061388, "lm_q2_score": 0.8128673155708975, "openwebmath_perplexity": 1002.5570864988887, "openwebmath_score": 0.841425359249115, "tags"...
javascript, optimization So a start to enhance the algorithm would be this. var locationIsFine = function(x, y, width, height) { //make sure room wont hit any other rooms, we do this by checking if edges of a room collide with an exisiting room for (var i = 0; i < roomStore.length; i++) { // roomStore[...
{ "domain": "codereview.stackexchange", "id": 2928, "lm_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, optimization", "url": null }
php, security, authentication, mysqli, logging $_SESSION['a_user'] = $_POST['a_user']; //Assigns username to SESSION (prepared statements need a variable to reference) $_SESSION['a_token'] = $_POST['temp_token']; ...
{ "domain": "codereview.stackexchange", "id": 12691, "lm_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, security, authentication, mysqli, logging", "url": null }
java, beginner, object-oriented if (money == 0) { System.out.println("You've gone broke!"); System.exit(0); } System.out.println("You are on a " + winStreak + " win streak."); if (winStreak == 3) { System.out.println("You have been aw...
{ "domain": "codereview.stackexchange", "id": 29166, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "java, beginner, object-oriented", "url": null }
roslaunch, rostopic Title: How to roslaunch a rostopic echo to text file I would like to do something like this from a launch file: rostopic echo -p /mytopic > outputfile.txt I wrote this in the launch file: <node name="pioneer3at" pkg="rostopic" type="rostopic" output="screen" args="echo -p /tf_P3AT > outputfile.tx...
{ "domain": "robotics.stackexchange", "id": 20563, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "roslaunch, rostopic", "url": null }
Graph , und daraus muss man die mathematisch Funktion angegben werden. The thing to notice is that f is not discontinuous, but it. As shown in Equation 1, Heaviside functions are specialized piecewise functions that have a value of one for a certain domain and zero for the rest. Widget for the laplace transformation of...
{ "domain": "campercom.it", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9817357237856482, "lm_q1q2_score": 0.8026420635890474, "lm_q2_score": 0.8175744695262775, "openwebmath_perplexity": 676.8861870960559, "openwebmath_score": 0.7016867995262146, "tags...
of since ;:! Written as = † and = † = † † = † = † † = † =... Algebra problems is available here beginning part of the proof with distinct eigenvalues, each diagonal element of.. Algebra, a scalar multiplication of an eigenvector of$ A^T \$ with the issues... Skew-Symmetric matrix must be zero, since each is its own tra...
{ "domain": "levonline.com", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9334308110294983, "lm_q1q2_score": 0.819063866407941, "lm_q2_score": 0.8774767842777551, "openwebmath_perplexity": 373.11426350705506, "openwebmath_score": 0.8160443902015686, "tag...
particle-physics, standard-model, feynman-diagrams Title: How to determine the boson of a given particle decay? How do I know which of the SM forces take part at a given particle decay? For example, look at the following decay: $$\tau^- + \nu_{\tau} \rightarrow \ell + \bar \nu_{\ell}$$ This decay takes place via a $W...
{ "domain": "physics.stackexchange", "id": 79985, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "particle-physics, standard-model, feynman-diagrams", "url": null }
thermodynamics, water, heat-conduction $1m^3$ of water at $100°C$ to $50°C$ of water = $(1m^3\times970kg/m^3)(50K\times4.2kJ/kgK)$ = $203 700 kJ$ of energy (I'm estimating here but you get the point) But isn't the heat of vaporisation of water absurdly bigger than the specific heat capacity of water ? Yes, it is. In f...
{ "domain": "physics.stackexchange", "id": 93804, "lm_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, water, heat-conduction", "url": null }
python, beginner, programming-challenge, primes, sieve-of-eratosthenes if __name__ == "__main__": print(compute_largest_prime_palindrome_below(1000)) Introduction It took me a good 30 hours to figure out this solution. However when one sees the drastic speed increases it produces it might have been worth it. Befor...
{ "domain": "codereview.stackexchange", "id": 20744, "lm_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, programming-challenge, primes, sieve-of-eratosthenes", "url...
algorithm-analysis factor of $4$ increase. We got an increased by a factor of $\frac{ 10}{3}$. I am thinking that the correct answer is: $$T(n) = \Theta(n^2)$$. However, I do not know how to prove that it is correct? or disprove it? You just need to expant it (suppose $n$ is even) and using mathematical induction: $$T...
{ "domain": "cs.stackexchange", "id": 18053, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "algorithm-analysis", "url": null }
c# //Info attribute DisplayAttribute display = attribute as DisplayAttribute; if (display != null) { Name =display.Name; Group = display.GroupName; Description = display.Description; } //Validation attributes MinLengthAttribute min = attribute as MinLengthAttribute; ...
{ "domain": "codereview.stackexchange", "id": 18693, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c#", "url": null }
javascript String.prototype Modifying a prototype is generally a bad idea. It affects all scripts globally and that's also the reason there is no way to "export" it: You can't limit it to just your script. It effects all scripts in the same environment, which can lead to unexpected errors. In your case it's not really...
{ "domain": "codereview.stackexchange", "id": 38769, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "javascript", "url": null }
newtonian-mechanics, energy-conservation, momentum, conservation-laws Title: Conservation of momentum and conservation of energy I had the impression that conservation of momentum is valid only when we consider no loss of kinetic energy into heat etc. My tutor says that even if we have loss of kinetic energy as heat i...
{ "domain": "physics.stackexchange", "id": 52407, "lm_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, energy-conservation, momentum, conservation-laws", "url": n...
homework-and-exercises, classical-mechanics, lagrangian-formalism Title: Euler-Lagrange equations for this system I haven't done this calculations in a long time. Suppose you have a point of mass $m$ constrained to moved to a trajectory described by $y = x^2$ (you have gravity going on the opposite of the $y$ axis. I'...
{ "domain": "physics.stackexchange", "id": 74942, "lm_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, classical-mechanics, lagrangian-formalism", "url": null ...
stress-energy-momentum-tensor So a scalar like current gets, for its flow description, a vector flow, plus a unit shift from amps to amps per square meter, $\text{A}\mapsto\text{A}/\text m^2.$ Another thing that can flow is momentum. It is conserved, just like charge is. Well, not just like: it has three directional c...
{ "domain": "physics.stackexchange", "id": 51629, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "stress-energy-momentum-tensor", "url": null }
java /** * * Standard multiply function. * * @param param the number to multiply. * @return The answer. * @throws NullPointerException if parameter is null * */ public BigNumber multiply(BigNumber param) { Objects.requireNonNull(param, "parameter cannot be...
{ "domain": "codereview.stackexchange", "id": 44703, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "java", "url": null }
cc.complexity-theory, reference-request, np-hardness The proof should just reduce a known NP-hard problem to sparsest cut. Thank you, Arpita Korwar. [Moved from comment] The paper "Sparsest cuts and bottlenecks in graphs" by David W. Matula, Farhad Shahrokhi gives a reduction from max-cut problem. Max-cut's proof of h...
{ "domain": "cstheory.stackexchange", "id": 1107, "lm_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, reference-request, np-hardness", "url": null }
human-biology, physiology, psychology Title: Why do we urinate more when we are nervous? This question is a result of my personal experience... But I guess that is common for many of us. My school timing is 8:00 am to 1:30 pm (usually). During normal school days I typically urinate one time - at most. Last month when ...
{ "domain": "biology.stackexchange", "id": 3528, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "human-biology, physiology, psychology", "url": null }
algorithms, complexity-theory, optimization $\qquad \displaystyle \begin{align} \operatorname{Cost}(1,j) &= 0 \qquad\qquad\qquad\qquad\qquad\qquad\qquad\qquad\quad, 1\leq j \leq m \\ \operatorname{Cost}(i,j) &= \min_{k = 1}^m \left(\operatorname{Cost}(i - 1, k) + \lvert C_{(i-1)_k} - C_{i_j} \rvert\right) \ , 2 \l...
{ "domain": "cs.stackexchange", "id": 314, "lm_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, complexity-theory, optimization", "url": null }
c#, object-oriented, winforms, mvp There is a nice write-up on MVP to be found at MVC vs. MVP. Form / Presenter Whichever flavour of MVx one goes with, a basic idea is that the View doesn't need to know about the Presenter (and vice versa). You mentioned excluding the interfaces and DI but in the Form code, it sti...
{ "domain": "codereview.stackexchange", "id": 7531, "lm_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#, object-oriented, winforms, mvp", "url": null }
algorithm, ruby, sudoku class Sudoku attr_accessor :board def initialize (board_spec) @board = Board.new(board_spec) end def is_correct? valid_rows? && valid_columns? && valid_squares? end def valid_rows? #check that the digits, when sorted, are 1 through 9 board.rows.all? {|r| r.sort ==...
{ "domain": "codereview.stackexchange", "id": 25829, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "algorithm, ruby, sudoku", "url": null }
electromagnetism, magnetic-fields, conductors $ \frac{d \nabla × \vec{J}}{dt} = \frac{ne^2}{m}\nabla × \vec{E}$ $ \frac{d \nabla × \vec{J}}{dt} = - \frac{ne^2}{m} \frac{\partial \vec{B}}{\partial t}$ $\nabla × \vec{J} = -\frac{ne^2}{m}\vec{B}$ Finding $\nabla × \vec{J}$: $\nabla × (\nabla × \vec{B} = \mu_0 \vec{J})$ $...
{ "domain": "physics.stackexchange", "id": 87530, "lm_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, magnetic-fields, conductors", "url": null }
javascript, beginner, graphics, processing.js ellipse(250,250, 70, 70); } // makes the dice face be 3 if(integer === 3) { fill(245, 242, 242); rect(100, 100, 200, 200); fill(0, 0, 0); ellipse(150,150, 60, 60); ellipse(200, 200, 60, 60); ellipse(250, 250, ...
{ "domain": "codereview.stackexchange", "id": 17358, "lm_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, graphics, processing.js", "url": null }
java, security, random private CharacterSet characterSetFromSettings(PasswordSettings passwordSettings) { CharacterSet characterSet = new CharacterSet(); if (passwordSettings.isLowerCase()) { characterSet.include(LOWER_CASE); } if (passwordSettings.isUpperCase()) { ...
{ "domain": "codereview.stackexchange", "id": 16982, "lm_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, security, random", "url": null }
gravity, time, space-expansion An observer inside the cluster could attempt to observe the faint light emitted by extra-galactic hydrogen, which has a characteristic frequency determined by quantum mechanics. What we would see is a subtle blue-shift of radiation coming from the void. This measurement is similar in pri...
{ "domain": "physics.stackexchange", "id": 5931, "lm_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, time, space-expansion", "url": null }
neural-network, deep-learning, regression, tensorflow Title: Tensorflow regression model giving same prediction every time import tensorflow as tf x = tf.placeholder(tf.float32, [None,4]) # input vector w1 = tf.Variable(tf.random_normal([4,2])) # weights between first and second layers b1 = tf.Variable(tf.ze...
{ "domain": "datascience.stackexchange", "id": 2149, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "neural-network, deep-learning, regression, tensorflow", "url": null }
javascript, html, dom, revealing-module-pattern /* DOM helpers */ const tag = (name, props ={}) => Object.assign(document.createElement(name), props); const elStyle = (el, style) => (Object.assign(el.style, style), el); const elData = (el, data) => (Object.assign(el.dataset, data), el); const append = ...
{ "domain": "codereview.stackexchange", "id": 33833, "lm_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, html, dom, revealing-module-pattern", "url": null }
c#, strings, .net, converting, formatting if ((options & Base64FormattingOptions.UrlFilenameSafeAlphabet) == Base64FormattingOptions.UrlFilenameSafeAlphabet) alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_="; else if ((options & Base64FormattingOptions.UnixCryptAlphabet...
{ "domain": "codereview.stackexchange", "id": 15723, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c#, strings, .net, converting, formatting", "url": null }
electromagnetism, refraction, dielectric Title: When exactly do we substitute $\epsilon_0 \rightarrow \epsilon$ and $\mu_o \rightarrow \mu $? If everything is embedded into vacuum, why aren't Maxwells Equations always with $\mu_o$ and $\epsilon_o$? When exactly do we have to make the substitution $\epsilon_0 \rightar...
{ "domain": "physics.stackexchange", "id": 29715, "lm_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, refraction, dielectric", "url": null }
algorithms, partitions # Initially we let all partitions start at zero, meaning that all but the # last partition gets zero elements, and the last gets them all. partition_offsets = numpy.array([0] * num_partitions) max_partition_size = sum(weights) # We now divide the weigths into two partitions that...
{ "domain": "cs.stackexchange", "id": 16137, "lm_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, partitions", "url": null }
solid-state-physics, electronic-band-theory Title: Zone unfolding for a hexagonal lattice Say that I have a honeycomb lattice and I consider two different unit cells: a hexagonal-shaped primitive cell and a rectangular cell (right part of figure).
{ "domain": "physics.stackexchange", "id": 35274, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "solid-state-physics, electronic-band-theory", "url": null }
algorithms private static void depthFirstTraversal( DefaultDirectedGraph<Integer, DefaultEdge> graph) { System.out.println("Depth-first traversal"); HashSet<Integer> cache = new HashSet<>(); Integer start = graph.vertexSet().stream().findFirst().get(); dftHashed(start, graph, ca...
{ "domain": "cs.stackexchange", "id": 5277, "lm_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 }
supersymmetry, spacetime-dimensions, definition Also, I would appreciate of one can explain the exact meaning of $\cal N$, for example in 4 dimensions, and how they are related to number of supercharge $Q$ and independent spinors. In principle, $\mathcal{N}$ gives you the number of supercharges in your theory. There a...
{ "domain": "physics.stackexchange", "id": 13425, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "supersymmetry, spacetime-dimensions, definition", "url": null }
standard-model, history, weak-interaction, electroweak Title: Charm prediction: Required electroweak or just weak? Everywhere I look it up the prediction of the charm quark is predicted by the electroweak interaction, which of course recovers the weak interaction with the spontaneous symmetry break and the Brout-Engle...
{ "domain": "physics.stackexchange", "id": 61982, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "standard-model, history, weak-interaction, electroweak", "url": null }
quantum-mechanics, energy, atoms, orbitals You have to remember that the spherical symmetry of the potential does not mean every single eigenstate has the same spherical symmetry. Not depending on $m_j$ means you are in a superposition, which will likely have a spherical symmetry. So you need to break that further by ...
{ "domain": "physics.stackexchange", "id": 90877, "lm_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, energy, atoms, orbitals", "url": null }
S-Curve Calculator - 3 parameter estimates. Plot the following exponential function for x=1 to 10 and calculate the slope of the resulting line on semi-log paper. EXAMPLE 1: a) is a polynomial of degree 4 with leading. This means the slope is undefined. Welcome to Math Nspired About Math Nspired Middle Grades Math Rati...
{ "domain": "omni-s.net", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9871787853562028, "lm_q1q2_score": 0.8330753364942812, "lm_q2_score": 0.8438950966654772, "openwebmath_perplexity": 499.20571592290446, "openwebmath_score": 0.65995854139328, "tags": null...
ros-melodic, gazebo-9 Comment by kumpakri on 2018-10-11: When I tried to attach the case to two planar joints in tandem, first I thought the y_axis_link would need its collision element to interact with obstacles at sides of the robot and the collision element of the x_axis_link needs to interact with obstacles in fro...
{ "domain": "robotics.stackexchange", "id": 4325, "lm_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-melodic, gazebo-9", "url": null }
about it. If the parametric equations were x = 3*sin(t), y = 1. Harold's Calculus Notes Cheat Sheet: Docx: My list of all of the main formulas and techniques for AP Calculus BC: Harold's Calculus BC Cheat Sheet: Docx: My rectangular, polar, and parametric coordinate equations for conics and the calculus: Harold's Busin...
{ "domain": "24-aktuell.de", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.981735720045014, "lm_q1q2_score": 0.818104519577978, "lm_q2_score": 0.8333245932423308, "openwebmath_perplexity": 942.8280130387689, "openwebmath_score": 0.6091794371604919, "tags"...
keras, tensorflow, gradient-descent How the weights are initialized. How the data is shuffled (if enabled) in each batch. Batches containing different data, will produce different gradients which might influence convergence. This means, that even when you run the same code it is actually not 100% the same and that is...
{ "domain": "datascience.stackexchange", "id": 8626, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "keras, tensorflow, gradient-descent", "url": null }
ros, laser-filters, laser-pipeline, pointcloud tf_.transformPointCloud(target_frame_, tmp_cloud, scan_cloud); } sensor_msgs::PointCloud filtered_cloud; cloud_filter_chain_.update (scan_cloud, filtered_cloud);
{ "domain": "robotics.stackexchange", "id": 6804, "lm_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, laser-filters, laser-pipeline, pointcloud", "url": null }
mechanical-engineering, structural-engineering, structural-analysis, pressure-vessel $$M = \frac{Pb^2(b^2-a^2)}{4a^2}$$ $$\sigma_b = \frac{3Pb^2(b^2-a^2)}{2t^2a^2}$$ This stress would have $b$ swapped with $a$ for the other axis, to obtain the two maximum stresses in the vessel. Note the original tangential stress wi...
{ "domain": "engineering.stackexchange", "id": 2315, "lm_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, structural-engineering, structural-analysis, pressure-v...
ros, slam, navigation, pointclouds [ INFO] [1360639708.445177201]: Pause toggled to: false [ INFO] [1360639708.445773087]: Processing. [ INFO] [1360639754.545821492]: Saving Whole Model to quicksave.pcd [ INFO] [1360639754.546213301]: Saving all clouds to quicksave.pcd, this may take a while as they need to be transfo...
{ "domain": "robotics.stackexchange", "id": 12856, "lm_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, slam, navigation, pointclouds", "url": null }
waves, harmonic-oscillator The averages $\langle \sin^2(x) \rangle$ and $\langle \cos^2(x)\rangle$ over one period are the same, because the sine function is just a phase-shifted cosine: $\sin(x) = \cos(x - \pi/2)$. But the average of the sum of these functions over one period is 1, because $\sin^2(x) + \cos^2 (x) = ...
{ "domain": "physics.stackexchange", "id": 91743, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "waves, harmonic-oscillator", "url": null }
navigation, ekf, navsat-transform-node, robot-localization, ekf-localization-node The issues / questions are: 1- How to tell robot localization that the origin of the map is at specific UTM co-ordinates? ......................................................................................................................
{ "domain": "robotics.stackexchange", "id": 28118, "lm_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, ekf, navsat-transform-node, robot-localization, ekf-localization-node...
Director Joined: 20 Feb 2015 Posts: 511 Concentration: Strategy, General Management Re: How many trailing Zeroes does 49! + 50! have?  [#permalink] ### Show Tags 08 Aug 2018, 01:24 1 dave13 wrote: CounterSniper many thanks for great explanation i have one question if after factoring out we have 49!(1+50) = 49! *51 w...
{ "domain": "gmatclub.com", "id": null, "lm_label": "1. Yes\n2. Yes\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9449947117065459, "lm_q1q2_score": 0.821036721772736, "lm_q2_score": 0.8688267898240861, "openwebmath_perplexity": 3301.3093347469166, "openwebmath_score": 0.7690377235412598, "tags...
binary-search, assembly All of that to say that you can probably improve the performance of method 2 even further by choosing more optimal instruction sequences, even if that results in larger code. Another way to speed the code up is to replace conditional branches with clever bitwise or arithmetic operations that ac...
{ "domain": "codereview.stackexchange", "id": 23750, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "binary-search, assembly", "url": null }
ant Title: How do ants transport water? All living things need water to survive. Worker ants can drink directly from the source. But a queen ant would need help from the colony to get its daily supply of food and water. I have seen ants carrying tiny bits of food, but I have not really seen them carrying water. Do the...
{ "domain": "biology.stackexchange", "id": 2961, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "ant", "url": null }
are exponentially damped. Case 3: R 2 < 4 L / C (Under-Damped) Graph of under-damped case in RLC Circuit differential equation. Let us consider our Bulb Box system in Lab 2. A slowly changing line that provides a border to rapid oscillation (the line that envelopes a dampened oscillation graph, shaped like an inverse e...
{ "domain": "gremium-franconia.de", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9820137868795702, "lm_q1q2_score": 0.8140293382511515, "lm_q2_score": 0.8289388083214156, "openwebmath_perplexity": 760.3194788120288, "openwebmath_score": 0.795654296875, "tags...
organic-chemistry, alcohols, ethers, chemoselectivity "Process for the production of symmetrical ethers from secondary alcohols", author = Brown, Stephen H. (Princeton, NJ), 1995 August The mechanism of diisopropyl ether synthesis from a feed of propylene and isopropanol over ion exchange resin, Studies in Surface Sc...
{ "domain": "chemistry.stackexchange", "id": 16357, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "organic-chemistry, alcohols, ethers, chemoselectivity", "url": null }
botany, ecology, trees, ecosystem, community-ecology Examined thinning rates based on initial stand densities -- found rates to be higher in denser stands and later densities became similar regardless of initial density (after 40 years). Further compounding all of this are issues such as invasive species, shifts in h...
{ "domain": "biology.stackexchange", "id": 7085, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "botany, ecology, trees, ecosystem, community-ecology", "url": null }
homework-and-exercises, classical-mechanics, perturbation-theory However, the author of the exercise wrote that the period can be found easily by $mr_c^22\pi/T=L$ but he doesn't explain why. My question is where does this formula come from and whether it is exact or just an approximation. I think "quasi-circular" is a...
{ "domain": "physics.stackexchange", "id": 3982, "lm_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, classical-mechanics, perturbation-theory", "url": null }
Fourier series representation in terms of sines and cosines. FTIR stands for Fourier transform infrared, the preferred method of infrared spectroscopy. In this section, we de ne it using an integral representation and state some basic uniqueness and inversion properties, without proof. We now apply the Discrete Fourier...
{ "domain": "vitadaprof.it", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9873750488609223, "lm_q1q2_score": 0.833240966180046, "lm_q2_score": 0.843895100591521, "openwebmath_perplexity": 667.7838063531566, "openwebmath_score": 0.855606734752655, "tags": nul...
fft The reasons are manifold, mainly, that both the systems you're considering and the problems you're trying to solve vary across a very large range. Problem-based aspects You say you want to do an FFT – but that's always but half of what you actually want to do! Need the FFT converted to it's abs², then mapped to co...
{ "domain": "dsp.stackexchange", "id": 4706, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "fft", "url": null }
invertible then it 's possible show! Of the product MN approximately positive definite if all it 's possible to that! Situation show that the matrix a läßt sich auch schreiben als a = LL T, wobei L untere... Group ; References contradicts our assumption about M being positive definite is to simply attempt to use chol o...
{ "domain": "ac.id", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9732407175907053, "lm_q1q2_score": 0.8473007069706442, "lm_q2_score": 0.8705972650509008, "openwebmath_perplexity": 677.2825244432767, "openwebmath_score": 0.8304567933082581, "tags": null...
beginner, assembly Title: MIPS assembly addition program I am new to assembly and have made a simple addition program to sum two integers read from the keyboard. The program outputs correctly, but I want to know if there is a way to streamline my code. It seems a bit cumbersome for such a simple program and I may have...
{ "domain": "codereview.stackexchange", "id": 12264, "lm_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, assembly", "url": null }
snakemake, orthofinder Title: Removing data from OrthoFinder output prefix I am using OrthoFinder to find orthogroups between species. I am using the latest version unpacked through tar as per their instructions. Orthofinder creates an output folder according to the current date, ie, Results_Dec25. However, I want to ...
{ "domain": "bioinformatics.stackexchange", "id": 1489, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "snakemake, orthofinder", "url": null }
ros-kinetic, rosjava [ 9%] Built target nav_msgs_generate_messages_cpp [ 9%] Built target geometry_msgs_generate_messages_nodejs [ 9%] Built target actionlib_msgs_generate_messages_cpp [ 9%] Built target rosgraph_msgs_generate_messages_nodejs [ 9%] Built target tf2_msgs_generate_messages_cpp [ 9%] Built target r...
{ "domain": "robotics.stackexchange", "id": 30198, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "ros-kinetic, rosjava", "url": null }
python, beginner, python-3.x, game #set the loop to true itemsloop = True #begin the loop while itemsloop == True: #ask for user input x = input() if x in inventory: #if the input matches something you have, find the attributes of #the item in the inventory and print them. print("...
{ "domain": "codereview.stackexchange", "id": 32573, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "python, beginner, python-3.x, game", "url": null }
python, beginner, game, multithreading, tkinter if self.direction == "left": self.canvas.move(self.canvas.gettags(endRect), int(frontCoords[0]-endCoords[0])-w,\ int(frontCoords[1]-endCoords[1])) elif self.direction == "down": ...
{ "domain": "codereview.stackexchange", "id": 15225, "lm_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, game, multithreading, tkinter", "url": null }
condensed-matter, electrons, electric-current, electrical-resistance, conductors where $E_F$ is the Fermi energy. This is incredibly fast - inserting $E_F=10$ eV gives a result that is well over $1000$ km/s. These electrons are traveling in a solid, though, which is rife with objects to collide with, including other ...
{ "domain": "physics.stackexchange", "id": 42035, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "condensed-matter, electrons, electric-current, electrical-resistance, conductors",...
lagrangian-formalism, field-theory, elasticity, continuum-mechanics, lattice-model \begin{equation} \mathscr L=\frac{1}{2}\sum _{i=1}^{n}m\dot \phi _i^2-\frac{1}{2}\sum ^n _{i=0}k(\phi_{i+1}-\phi _i)^2 \end{equation} At this point we take the continuum limit such that the number of masses in the fixed length of rod t...
{ "domain": "physics.stackexchange", "id": 40780, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "lagrangian-formalism, field-theory, elasticity, continuum-mechanics, lattice-model...
# induction question (1 Viewer) #### tutor01 ##### Member Can anyone prove by induction that n(x+a)^(n-1) = sum_{r=0}^{n} r . nCr . x^(r-1) . a^(n-r) for n=1,2,3,... Thanks. #### ultra908 ##### Active Member Uh can you send a photo or write in Latex because your equation is a bit hard to understand. #### Drdusk ...
{ "domain": "boredofstudies.org", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9658995742876886, "lm_q1q2_score": 0.8303488523844895, "lm_q2_score": 0.8596637523076225, "openwebmath_perplexity": 1340.1954915388062, "openwebmath_score": 0.6515442132949829, "t...
state-space Title: Is this model nonlinear? I have this state-space model: Is this state space model nonlinear? If it is, why is that? This is a linear differential equation . It stems from the following electric circuit : Were the resistor R, the capacitor C and the inductor L are ideal linear components. x1 is the...
{ "domain": "dsp.stackexchange", "id": 2829, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "state-space", "url": null }
java, json, spring connection should be a local variable reader and inputStream should be declared in a try-with-resources statement line should be declared within the scope of the reader mapper and typeReference should be declared right before they are needed Separate concerns Too many things are mixed together in...
{ "domain": "codereview.stackexchange", "id": 43680, "lm_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, json, spring", "url": null }
electrostatics, material-science, electric-fields, metals, debye-length Title: What is the penetration length of static electric field into conducting metals? How large is the penetration length for static electric field into good conductors? I have two versions: (1) few atomic spacings $$a\sim n_{e}^{-1/3},$$ and ...
{ "domain": "physics.stackexchange", "id": 1638, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "electrostatics, material-science, electric-fields, metals, debye-length", "url": ...
quantum-field-theory, conformal-field-theory $[H,D]=iH$ $[C,D]= -iC$ $[H,C]= 2i D$ It seems to me that you are referring to the first commutation rule that, exponentiated leads to your (correct) conclusion: the spectrum of $H$ is continuous. The same result applies to $C$ in view of the similar commutation relations. ...
{ "domain": "physics.stackexchange", "id": 44293, "lm_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, conformal-field-theory", "url": null }
quantum-field-theory, special-relativity, angular-momentum, quantum-spin, group-theory Title: A question about relativistic spin operator The question comes from Ryder's Quantum Field Theory, 2nd edition. The author was looking for relativistic spin operator. It was concluded that it cannot be $J^2:=\mathrm{J} \cdot \...
{ "domain": "physics.stackexchange", "id": 11724, "lm_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, special-relativity, angular-momentum, quantum-spin, group-th...
quantum-field-theory, mathematical-physics, symmetry, gauge-theory Is there any systematic way to identify these $q$-form symmetries in a given theory? For example, according to the reference, there is a $1$-form symmetry whenever the gauge group has a non-trivial centre and the matter fields do not transform under it...
{ "domain": "physics.stackexchange", "id": 51405, "lm_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, mathematical-physics, symmetry, gauge-theory", "url": null...
slam, navigation, kinect, laser, ros-hydro Title: Hydro kinect fake laser for slam Dear All: I have a fake laser based on the Xtion Pro. I was running Groovy and it worked perfectly. I updated to Hydro and I can not see the topic of 2D fake laser. The code in my launch file is: <include file="$(find openni_launch)/la...
{ "domain": "robotics.stackexchange", "id": 16741, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "slam, navigation, kinect, laser, ros-hydro", "url": null }
pose, rviz, path, ros-kinetic, frames path_.header.frame_id = "world"; path_.header.stamp = transform_in->header.stamp; path_.poses.push_back(pose); path_pub_.publish(path_); Surprisingly, the outcome of the orientation in RViz is different for the two corresponding frames even though I have used the same quaternio...
{ "domain": "robotics.stackexchange", "id": 32436, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "pose, rviz, path, ros-kinetic, frames", "url": null }
mean is about 57% more efficient than the median. Thus an efficient estimator need not exist, but if it does, it is the MVUE. When this is the case, we write , The following theorem gives insight to consistency. In large samples$\frac{n}{\sigma^2}\text{ Var}(\tilde{x})$approaches the asymptotic value reasonably quickly...
{ "domain": "merarera.com", "id": null, "lm_label": "1. Yes\n2. Yes\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9830850872288504, "lm_q1q2_score": 0.8394688859116965, "lm_q2_score": 0.8539127455162773, "openwebmath_perplexity": 2273.7271593255537, "openwebmath_score": 0.740706741809845, "tags...
x = 20; Plot[u[t, x] /. solv, {t, 0, 2000}, PlotRange -> All] • This looks a little better, but for some reason it keeps returning that a "stiff system" is suspected towards the greater end of t values, and tends toward infinity as t increases for me. – swolephysicist Jul 26 '16 at 20:54 • Shouldn't the function appr...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9755769078156283, "lm_q1q2_score": 0.8292122549880111, "lm_q2_score": 0.8499711794579723, "openwebmath_perplexity": 4254.047482574005, "openwebmath_score": 0.31788450479507446, "ta...
ros, tcpros, topic, ros-kinetic The radio platforms act like a HUB so endpoint nodes see each other like if they were directly connected by an ethernet cable. Our radio platforms are embedded devices that don't understand TCPROS protocol, they are just configured in promiscous mode to move traffic from ethernet interf...
{ "domain": "robotics.stackexchange", "id": 27007, "lm_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, tcpros, topic, ros-kinetic", "url": null }
frequency-spectrum, convolution, phase, equalization Title: Equalizing a temporal sound signal with a convolution This question is more or less the following of a previous question. The aim is to equalize some sounds signals. By equalizing, I mean increasing or decreasing some frequency ranges, a bit like an analogic ...
{ "domain": "dsp.stackexchange", "id": 6831, "lm_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, convolution, phase, equalization", "url": null }