text
stringlengths
1
1.11k
source
dict
gpt LLaMA-65B can be run on a CPU with 128GB of RAM, although this is unlikely to be efficient compared to renting data centre GPUs. GPT-4 is reported to be a much larger model than LLaMA-65B, with support for a 32K context window. Since the amount of fast GPU memory required scales with the size of the model, and inf...
{ "domain": "ai.stackexchange", "id": 3817, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "gpt", "url": null }
ros, ros-kinetic, ardent // dynamic arrays must be resized ros1_msg.currents.resize(ros2_msg.currents.size()); // convert primitive array elements std::copy( ros2_msg.currents.begin(), ros2_msg.currents.end(), ros1_msg.currents.begin()); // convert array field // ensure array size // dynamic ar...
{ "domain": "robotics.stackexchange", "id": 31315, "lm_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-kinetic, ardent", "url": null }
• That is correct. There are $$\binom{5}{2, 2, 1} = \frac{5!}{2!2!1!}$$ possible sequences of two ones, two threes, and a six. Oct 12, 2019 at 9:29 The probability that the dice show up in the specific order 1,1,2,2,6 is certainly $$\frac1{6^5}$$. But you can arrange those five rolls in multiple ways so that the same r...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9886682461347528, "lm_q1q2_score": 0.8128722856641941, "lm_q2_score": 0.8221891305219504, "openwebmath_perplexity": 261.3841768914825, "openwebmath_score": 0.6963955163955688, "tag...
programming, qiskit, shors-algorithm Values for $a$ Anyways, now regarding your specific question. The code snippet that you shared is for factorizing the number 15. I first refer to this post to explain your question of the values of $a$. In there, the first three steps for the algorithm are detailed as:
{ "domain": "quantumcomputing.stackexchange", "id": 2971, "lm_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, qiskit, shors-algorithm", "url": null }
javascript, beginner, object-oriented, dom Title: Tasks organizer app I've created my first complete JS app, which lets you add tasks and control how much time you spend on them. I posted this to get some ideas how to improve readability, efficiency and the speed of my code. The first table shows tasks that you add vi...
{ "domain": "codereview.stackexchange", "id": 20562, "lm_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, object-oriented, dom", "url": null }
slam, navigation, ros-kinetic, rtabmap, astra Originally posted by enthusiast-robotics on ROS Answers with karma: 41 on 2017-02-06 Post score: 0 Original comments Comment by gvdhoorn on 2017-02-06: Cross-posting like this (to the pkg's issue tracker) is not really nice: we run the risk of duplication of effort and re...
{ "domain": "robotics.stackexchange", "id": 26934, "lm_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, ros-kinetic, rtabmap, astra", "url": null }
c++, stack template<typename T> class Stack { public: // constructor for class Stack() { count = 0; last = NULL; } // destructor for class ~Stack() { if (count > 0) Clr(); } // push item at last of stack void Push(T item); // pop item from last of stack T Pop(); // get size of stack s...
{ "domain": "codereview.stackexchange", "id": 15549, "lm_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++, stack", "url": null }
c#, rational-numbers I think the new logic is far more understandable to Sam the Maintainer. Other, etc I fixed a math error in my division operator. Despite Mat’s comments, I kept: public int Numerator { get; private set; } public int Denominator { get; private set; }
{ "domain": "codereview.stackexchange", "id": 14952, "lm_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#, rational-numbers", "url": null }
### Testing Homogeneity of Variances Here, our null hypothesis is $\sigma^2_1 = \sigma^2_2$, and our alternative hypothesis is $\sigma^2_1 \neq \sigma^2_2$. Under the assumption that our samples were drawn independently and that for each sample, this distribution is approximately normal, we can look at the test stati...
{ "domain": "emory.edu", "id": null, "lm_label": "1. Yes\n2. Yes", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9936116779552554, "lm_q1q2_score": 0.8236432781589963, "lm_q2_score": 0.828938806208442, "openwebmath_perplexity": 193.55120444472286, "openwebmath_score": 0.8257817625999451, "tags": null...
newtonian-mechanics, error-analysis, approximations, models, laws-of-physics Empirical observations Laws of thermodynamics are a good example of the laws that were deduced phenomenologycally, as a result of many observations. Yet, statistical physics shows that they hold up to very high precision ($\sim 1/N\sqrt{N_A}$...
{ "domain": "physics.stackexchange", "id": 77512, "lm_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, error-analysis, approximations, models, laws-of-physics", "...
Consider the infinite series $$S = \sum\limits_{n = 0}^\infty {{u_n}}$$ where $${u_n} = \int_{nx}^{(n + 1)\pi } {\frac{{\sin t}}{t}{\text{d}}t}$$. Explain why the series is alternating. [1] a. (i)     Use the substitution $$T = t – \pi$$ in the expression for $${u_{n + 1}}$$ to show that $$\left| {{u_{n + 1}}} \righ...
{ "domain": "iitianacademy.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9923043510009422, "lm_q1q2_score": 0.8203497102801243, "lm_q2_score": 0.8267117940706735, "openwebmath_perplexity": 1986.0596788137618, "openwebmath_score": 0.9119042158126831, "ta...
java, inheritance, spring, hibernate, jpa @JsonView(JsonViews.DetailedList.class) @Column(name = "ultima_linha") private String ultimaLinha; @JsonView(JsonViews.DetailedList.class) @Column(name = "numero_paginas") private Long numeroPaginas; @JsonView(JsonViews.DetailedList.class) @Column...
{ "domain": "codereview.stackexchange", "id": 26957, "lm_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, inheritance, spring, hibernate, jpa", "url": null }
algorithms, graphs, minimum-spanning-tree Title: Proof that any algorithm who builds a spanning tree using Cut and Cycle properties is an MST The Kleinberg and Tardos Algorithm makes the following claim without proof: Any algorithm that builds a spanning tree by repeatedly including edges when justified by the Cut Pr...
{ "domain": "cs.stackexchange", "id": 19046, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "algorithms, graphs, minimum-spanning-tree", "url": null }
java, thread-safety, tree, swing, event-handling // Misc methods /** * Notifies the listener that the structure below a given node has been * completely changed. * * @param path * the sequence of nodes that lead up the tree to the root node. */ private void fireStructureChanged(TreePath path) { T...
{ "domain": "codereview.stackexchange", "id": 6768, "lm_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, thread-safety, tree, swing, event-handling", "url": null }
In the comments to my original post, Christopher Olah and a former student, Bryan Spellman, solved the problem via factoring and an Excel document, respectively.  Given my algebraic tendencies, I hadn’t considered Bryan’s Excel “search” approach, but one could relatively easily program Excel to provide an exhaustive se...
{ "domain": "wordpress.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9825575157745542, "lm_q1q2_score": 0.8010128117217957, "lm_q2_score": 0.8152324915965392, "openwebmath_perplexity": 1362.606677623701, "openwebmath_score": 0.8408210873603821, "tags": ...
coding-theory, polynomials, error-correcting-codes, crc $-----------$ 0110011000010100011 $ \hspace{0.36cm} $ 10001000000100001 $ \hspace{0.15cm} $ XOR $-----------$ 0100010000010000010 $ \hspace{0.15cm} $ ERROR $-----------$
{ "domain": "cs.stackexchange", "id": 7550, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "coding-theory, polynomials, error-correcting-codes, crc", "url": null }
aerodynamics, viscosity, vortex, lift, potential-flow A video of the above experiment can be seen here. The Kutta condition is completely artificial. The potential equations are completely artificial. The potential equations are a mathematical construct we use because it's much simpler than the full Navier-Stokes se...
{ "domain": "physics.stackexchange", "id": 16265, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "aerodynamics, viscosity, vortex, lift, potential-flow", "url": null }
• What if you haven't arrived to the solution of f(n)? Would you be able to simplify g(n) enough to get you to f(n)? – Mario Drouga Jan 13 at 4:19 • @MarioDrouga The most basic of "simplifications" are the numeric values themselves, just like $2$ is usually consider simpler than $1 + 1$. With the set of values you got,...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9637799441350252, "lm_q1q2_score": 0.8153023549706473, "lm_q2_score": 0.8459424373085146, "openwebmath_perplexity": 183.70035592120306, "openwebmath_score": 0.7677123546600342, "ta...
organic-chemistry, resonance, amines Title: Amine group - electron donating or withdrawing group? Is the amine group a donating or withdrawing group? I think it depends on resonance. If the amine group can participate in resonance, the amine group is inductively donating. Resonance depictions below. When the atome of...
{ "domain": "chemistry.stackexchange", "id": 1790, "lm_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, resonance, amines", "url": null }
c++, performance source code (bleeding-edge without build automation) is available here. Thank you for help! This problem is solved very elegantly by Boost.Variant. Not only is it easier and more efficient, it’s also completely type safe (meaning, you cannot accidentally retrieve a wrong type) when using the boost::ap...
{ "domain": "codereview.stackexchange", "id": 1735, "lm_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 }
ros2 robot_state_publisher_node = launch_ros.actions.Node( package='robot_state_publisher', executable='robot_state_publisher', parameters=[{'robot_description': Command(['xacro ', LaunchConfiguration('model')])}] ) joint_state_publisher_node = launch_ros.actions.Node( package='joint_state_publ...
{ "domain": "robotics.stackexchange", "id": 36808, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "ros2", "url": null }
c#, asynchronous EDIT: As an example of how to write this code using a queue, see the following. Note that I didn't need to spin up a thread because I can just make use of the EndRead/EndWrite callbacks and have the original thread wait for a signal to be raised. Also, this is a lightly-tested first draft, so beware...
{ "domain": "codereview.stackexchange", "id": 85, "lm_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#, asynchronous", "url": null }
matrix to … this project was created with Explain Everything™ Interactive Whiteboard for.... The transpose of transpose of transpose matrix, we will look at this property and some other important idea with!, C be three matrices … Best Videos, Notes & Tests for your Most important Exams all entries... 8. det a = 0 exact...
{ "domain": "track-it.nz", "id": null, "lm_label": "1. Yes\n2. Yes\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9914225156000334, "lm_q1q2_score": 0.9457834668207633, "lm_q2_score": 0.9539660961284018, "openwebmath_perplexity": 360.7558924577382, "openwebmath_score": 0.7671064734458923, "tags"...
php, object-oriented Now that we have refactored/redesigned the class, you can see that it actually doesn't do anything that isn't already provided by PHP itself. All you do is create an object that is basically an array and allow the caller to get values from that array based on an array of keys, which is already pos...
{ "domain": "codereview.stackexchange", "id": 20573, "lm_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, object-oriented", "url": null }
homework-and-exercises, thermodynamics, fluid-dynamics, convection Are those assumptions correct? If not, what’s the correct thing to do ? $2$-If I am going to consider it a flat plate should I assume that the length of this plate is the total length of the path of the water inside the box or the maximum straight leng...
{ "domain": "physics.stackexchange", "id": 44815, "lm_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, thermodynamics, fluid-dynamics, convection", "url": null...
beginner, php function dateSort($date1, $date2, $format = null) switch ($format) { case DATE_FORMAT_EU_SLASHES : // DateTime::createFromFormat() offers us flexibility $datetime1 = DateTime::createFromFormat('d/m/Y', $date1); $datetime2 = DateTime::createFromFormat('d/m/Y...
{ "domain": "codereview.stackexchange", "id": 33080, "lm_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", "url": null }
javascript, beginner, html, animation, d3.js For instance, instead of doing... d3.select("svg") ... all the time, you can do: var svg = d3.select("svg") And simply use svg whenever you need. That's a good practice in a D3 code, so you can latter on refer to your selections without relying on classes or IDs. Also, re...
{ "domain": "codereview.stackexchange", "id": 29636, "lm_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, html, animation, d3.js", "url": null }
regular-languages, automata The exact same reasoning works for NFAs as well, although you need to replace Nerode's theorem with a suitable "exchange lemma" in order to show that any NFA for the language of all palindromes of length $P_1$ requires $\Omega(|\Sigma|^{P_1/2})$ states (for even $P_1$). If you insist on $D_...
{ "domain": "cs.stackexchange", "id": 7043, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "regular-languages, automata", "url": null }
agi Title: Are there any approaches to AGI that will definitely not work? Is there empirical evidence that some approaches to achieving AGI will definitely not work? For the purposes of the question the system should at least be able to learn and solve novel problems. Some possible approaches:
{ "domain": "ai.stackexchange", "id": 3083, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "agi", "url": null }
I may be missing something, but I don’t see any proof of the “$\Leftarrow$” direction. Here it is: If $\alpha$ is not algebraic over $F$, then it’s transcendental, and the evaluation $F[T]\to F[\alpha]$ has zero kernel (that, in effect, is the definition of transcendentality) and is onto by construction. So $F[\alpha]...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9766692311915194, "lm_q1q2_score": 0.8138824857721627, "lm_q2_score": 0.8333245891029456, "openwebmath_perplexity": 141.3733123119239, "openwebmath_score": 0.9228617548942566, "tag...
mentors for this project are: @dpshelio @mbobra @drsophiemurray @samaloney. Since I like math and I have more time to dedicate to my projects, I've started an open source linear algebra library for javascript, just for fun and for learning new stuff. Tibshirani, J. Boost your data science skills. Y et because linear al...
{ "domain": "cfalivorno.it", "id": null, "lm_label": "1. Yes\n2. Yes", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9840936073551713, "lm_q1q2_score": 0.9126122943990052, "lm_q2_score": 0.9273632991598454, "openwebmath_perplexity": 1063.9791517497667, "openwebmath_score": 0.2879904508590698, "tags":...
Element set B, which consist of elements, no bijection between the sets using every of! To itself when there are 2 choices in set B this can be written #. One set to another: Let X and Y are two sets, a. A different example would be the absolute value function which matches both -4 and +4 to number. This can be written...
{ "domain": "getreal.life", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9697854103128328, "lm_q1q2_score": 0.8425755234502921, "lm_q2_score": 0.8688267677469952, "openwebmath_perplexity": 397.9488539658122, "openwebmath_score": 0.8408044576644897, "tags...
information-retrieval If we find a one document that contains the phrase (qwe asd) and another that contains the single word (zxcrty) which one should be ranked higher? This completely depends on the ranking function and how you choose to weight each thing. How common are qwe and asd? How common is zxcrty? Would you ...
{ "domain": "cs.stackexchange", "id": 6834, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "information-retrieval", "url": null }
c++, c++11, c++14 Usage example: int arr[128]; ZeroArray(arr); struct S { int x; float y; }; S s; ZeroStruct(s); I'd like to further improve those functions with C++11/14 features. I think it would be a good idea to static_assert with std::is_pod to ensure they are never called on a class instance. Do you ...
{ "domain": "codereview.stackexchange", "id": 9842, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c++, c++11, c++14", "url": null }
c++, beginner, game, c++11 #endif//MENU_H menu.cpp #include "menu.h" #include <cstdlib> int menu::get_input(){ display(); int index; std::cin >> index; if(!std::cin){ std::cin.clear(); std::cin.ignore(256, '\n'); return get_input(); }return index; }; void menu::display()...
{ "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 }
connected non isomorphic graphs and test some properties cubic Cayley graphs partial transpose on graphs sequences (! Synthesize 2-DOF displacement graphs shown below, non-fractionated parent graphs and rotation graphs non-isomorphic and signless Laplacian cospectral graphs disconnected. B ) Draw all non-isomorphic sim...
{ "domain": "bahaiweddings.com", "id": null, "lm_label": "1. Yes\n2. Yes\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9615338057771059, "lm_q1q2_score": 0.8301802155443084, "lm_q2_score": 0.8633916047011594, "openwebmath_perplexity": 704.4373446039751, "openwebmath_score": 0.4816943109035492, ...
gazebo-2.2, ros-indigo, gazebo-7 Originally posted by nkoenig with karma: 7676 on 2016-03-14 This answer was ACCEPTED on the original site Post score: 0 Original comments Comment by baila on 2016-03-14: I have used "sudo apt-get install gazebo7". But it is giving me errors like: The following packages have unmet depe...
{ "domain": "robotics.stackexchange", "id": 3886, "lm_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-2.2, ros-indigo, gazebo-7", "url": null }
webots Title: How to convert Gazebo SDF worlds to Webots? We are in the process of moving our warehouse simulation from Gazebo to Webots. We would like to set up a "realistic" warehouse environment in Webots. The factory sample already provides a lot of props for this, but we have not yet found warehouse shelf models ...
{ "domain": "robotics.stackexchange", "id": 2669, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "webots", "url": null }
special-relativity, photons, reference-frames, speed-of-light, observers For the massive particle, we can simplify the computation by choosing to do the calculation in its rest frame. There the space part of the interval is zero, and we have $$ \Delta s^2 = (c\Delta t_\text{rest})^2 - (\text{zero}) $$ which you used t...
{ "domain": "physics.stackexchange", "id": 99185, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "special-relativity, photons, reference-frames, speed-of-light, observers", "url"...
mobile-robot, servomotor 18 motors on such a small robot is overkill, isn't it? I have thought of a couple of ideas, but not having a strong mechanical background, I cannot tell whether they are doable/sane. One of my ideas is to use a magnet on the end of the limb (the end inside the chassis) and a small permanent ma...
{ "domain": "robotics.stackexchange", "id": 608, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "mobile-robot, servomotor", "url": null }
java, algorithm, bioinformatics return cost; } String[] getSequenceArray() { return sequenceArray; } private Alignment tracebackPath(Map<LatticeNode, LatticeNode> parents, Integer cost) { List<LatticeNode> path = new ArrayList<>(); LatticeNo...
{ "domain": "codereview.stackexchange", "id": 33144, "lm_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, bioinformatics", "url": null }
php, mysql, pdo, authorization Sure, this needs a lot more vertical screen space than before. But in return, the list of selected columns is now very easy to read. Every reader can immediately say how many fields are returned and from which table each field is. The most important part though is that the SQL keywords s...
{ "domain": "codereview.stackexchange", "id": 30310, "lm_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, mysql, pdo, authorization", "url": null }
quantum-mechanics, electrostatics, nuclear-physics, fusion, exchange-interaction The Coulomb repulsion alone is not a particularly high barrier to fusion. For example, the fusion of two deuterons will occur at temperatures an order of magnitude lower than the fusion of protons inside a star, despite identical Coulomb ...
{ "domain": "physics.stackexchange", "id": 93918, "lm_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, electrostatics, nuclear-physics, fusion, exchange-interaction",...
motor, quadcopter, pid, pwm, esc Here is my unmodified code for this. My throttle is in the -100:100 range, and my PIDs are already in the appropriate range. I'm sure you can translate to your own specifications easily. uint16_t motor[4]; float base = MOTOR_IDLE + (THROTTLE_K * throttle); motor[MOTOR_FRONT] = base + p...
{ "domain": "robotics.stackexchange", "id": 362, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "motor, quadcopter, pid, pwm, esc", "url": null }
python, python-3.x, datetime, formatting print('The script {} {}'.format(status, time_string))
{ "domain": "codereview.stackexchange", "id": 32560, "lm_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, datetime, formatting", "url": null }
zoology, entomology, metabolism, digestion Orthoptera Blattaria Phthiraptera Hemiptera Coleoptera Hymenoptera This doesn’t seem to me to include Lepismatidae (which Wikipedia tells me is the family), but what do I know. (I only know the genes aren’t present in fruit flies.) However some earlier indirect experiments s...
{ "domain": "biology.stackexchange", "id": 10747, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "zoology, entomology, metabolism, digestion", "url": null }
>function V(h,r,w) &= integrate(S(x,r,w),x,0,h) Answering "Is h positive, negative, or zero?" with "positive" Answering "Is r zero or nonzero?" with "nonzero" 2 r - h 2 r (- (3 r asin(-------) - 3 r asin(-------)) w mabs(r) mabs(r) 2 2 3 - (3 r - 3 h) sqrt(2 h...
{ "domain": "rene-grothmann.de", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9863631631151011, "lm_q1q2_score": 0.8064253420362382, "lm_q2_score": 0.817574471748733, "openwebmath_perplexity": 977.15680755081, "openwebmath_score": 0.9682578444480896, "tags":...
First, imagine the scene as you're on the ground, standing, looking at the runners. You see that they're 35 m away and running at the same direction at 1.85 m/s and 1.65 m/s. Now, imagine the scene as you are Runner #2. You're 35 m behind Runner #1. You both start running. Ignore the grounds. What do you see? You see ...
{ "domain": "mathhelpforum.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.975946451303227, "lm_q1q2_score": 0.8024125684851093, "lm_q2_score": 0.822189134878876, "openwebmath_perplexity": 2087.0141052244594, "openwebmath_score": 0.4319912791252136, "tags...
neural-network, deep-learning, keras Title: Keras input dimensions for a MLP I have been training a multilayer perceptron using Keras to make a prediction on a function similar to that of a normal distribution. I have input variables , and I have one output value . When I set my input layer to have neurons as such m...
{ "domain": "datascience.stackexchange", "id": 3878, "lm_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, keras", "url": null }
• I see that in retrospect, but I always am pretty cautious when it comes to saying "directly implies" since I'm just starting to write longer proofs. I know that since the point $a$ is a limit point of $\{a_n\}$, it should be in $A$ since it's closed, but that is convergence in $X$. I was afraid it might not directly ...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9658995713428385, "lm_q1q2_score": 0.8090567615741932, "lm_q2_score": 0.8376199613065411, "openwebmath_perplexity": 123.43994393561078, "openwebmath_score": 0.9366132020950317, "ta...
image-processing, discrete-signals, dct, video-compression One might wonder why the PCA is not used more often in image or audio compression, because of its adaptivity. There are two reasons :
{ "domain": "dsp.stackexchange", "id": 705, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "image-processing, discrete-signals, dct, video-compression", "url": null }
human-biology, biochemistry, neuroscience, physiology, brain For a more in-depth explanation, see this paragraph from Wikipedia: Directed attention fatigue occurs when a particular part of the brain’s global inhibitory system is overworked due to the suppression of increasing numbers of stimuli. This temporary condit...
{ "domain": "biology.stackexchange", "id": 6269, "lm_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, biochemistry, neuroscience, physiology, brain", "url": null }
java, performance, algorithm, a-star, sliding-tile-puzzle private void reconstructPath(Node current) { Stack<Node> path = new Stack<>(); path.push(current); int l = 0; while (current.previous != null) { current = current.previous; path.push(current); ...
{ "domain": "codereview.stackexchange", "id": 34466, "lm_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, algorithm, a-star, sliding-tile-puzzle", "url": null }
php, laravel 5) If you take a look at the PhishingController class, you will note a lot of repeated code. It seem like really there are maybe 3-4 lines of code that is truly specific to each method (to generate SQL and parameters). Outside of that the code commonly instantiates the DB, queries the DB, and handles DB e...
{ "domain": "codereview.stackexchange", "id": 20913, "lm_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, laravel", "url": null }
python, beginner, python-3.x, tic-tac-toe, ai # Random names names = [ 'Jacob', 'Michael', 'Joshua', 'Ethan', 'Matthew', 'Daniel', 'Christopher', 'Andrew', 'Anthony', 'William', 'Joseph', 'Alexander', 'David', 'Ryan', 'Noah', 'James', 'Nicholas', 'Tyler', 'Logan', 'John', 'Christian', 'Jonathan...
{ "domain": "codereview.stackexchange", "id": 34241, "lm_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, tic-tac-toe, ai", "url": null }
quantum-mechanics, atomic-physics, schroedinger-equation, gauss-law, hydrogen One caveat: don't pay attention to the numerical values of $E$ or $R_{m=0}$ in the following figure, the units are probably a bit confused. Also, I normalized the peaks of $R_m$ to 1 for comparison across $m$'s. Nevertheless, for qualitative...
{ "domain": "physics.stackexchange", "id": 72866, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "quantum-mechanics, atomic-physics, schroedinger-equation, gauss-law, hydrogen", ...
array, vba, excel log.logEntry (logMessage) PostBuildResultsAndCleanup strThirdFile Application.DisplayAlerts = True End If ExitNow: On Error Resume Next Exit Sub ErrorHappened: MsgBox Err.Description, vbCritical, "Main:btnBuildImportFile_Click" Resume ExitNow Resume End Sub Functio...
{ "domain": "codereview.stackexchange", "id": 17935, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "array, vba, excel", "url": null }
quantum-field-theory, conservation-laws, supersymmetry, spinors, yang-mills $$(\gamma_{\mu})_{a[b}(\gamma^{\mu})_{cd]} \sim (\gamma_{\mu})_{a[d}(\gamma^{\mu})_{cb]} + (\gamma_{\mu \nu})_{a[d}(\gamma^{\mu \nu})_{cb]}$$ Since the LHS is already antisymmetric if I contract with three anticommuting spinors as in the case ...
{ "domain": "physics.stackexchange", "id": 60570, "lm_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, conservation-laws, supersymmetry, spinors, yang-mills", "u...
algorithm-analysis, asymptotics, quicksort In the while loop of partition(a, 0, n-1), the first element greater than $p$ in the front segment is exchanged with the last element smaller than $p$ in the back segment. Then the second element greater than $p$ in the front segment is exchanged with the second last element ...
{ "domain": "cs.stackexchange", "id": 16494, "lm_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, asymptotics, quicksort", "url": null }
biochemistry, microbiology Another point could be energy requirement. The third ionization enthalpy of magnesium ($ Mg^{2+} \rightarrow Mg^{3+} + e^-$) is 7732.7 kJ/mol. On the other hand, the third ionization enthalpy of manganese ($Mn^{2+} \rightarrow Mn^{3+} + e^-$) is only 3248 kJ/mol (which is still higher than o...
{ "domain": "biology.stackexchange", "id": 7034, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "biochemistry, microbiology", "url": null }
$$\frac{ a \pm \sqrt{a^2 -4b}}{2}$$ Check this page out for more information: Quadratic Equation. - Short version: it's the Vieta formulae for the quadratic case. –  J. M. Sep 22 '10 at 23:54 Since I'm not so smart to imagine that the solution has anything to do with Vieta formulae or roots of polynomials, ;-) I'd t...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9648551556203814, "lm_q1q2_score": 0.8312595814183973, "lm_q2_score": 0.8615382076534742, "openwebmath_perplexity": 697.5783286369059, "openwebmath_score": 0.9562147259712219, "tag...
- This is probably not elementary enough for someone taking precalculus and trigonometry for the first time :-) –  oldrinb Apr 2 '13 at 21:56 $\sin$ is the vertical position. $\cos$ is the horizontal position. If you add 90 to the angle $\theta$, that's equivalent to rotating the coordinate system by 90°: the axes swi...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9773707960121134, "lm_q1q2_score": 0.8165772057101464, "lm_q2_score": 0.8354835330070839, "openwebmath_perplexity": 637.1940461827063, "openwebmath_score": 0.9766234159469604, "tag...
measurements, error-analysis, metrology Yes. A cleaner way to write it is $$N_A=6.022\,141\,29(27)\times10^{23}{\rm mol}^{-1}$$ where the $(27)$ indicated the uncertainty in the last $N$ digits (where $N$ is the number of digits inside the parenthesis). If I have a meter stick that is demarcated down to the 1mm mark, ...
{ "domain": "physics.stackexchange", "id": 12244, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "measurements, error-analysis, metrology", "url": null }
python, keras, tensorflow, regression # tidy up plt.gca().set_aspect('equal') plt.gca().get_yaxis().set_visible(False) plt.gca().get_xaxis().set_visible(False) plt.savefig(f'{prefix}sample{i:04}_angle_{int(angle*100):05}.png',dpi=20) plt.close() Each filename will also contain...
{ "domain": "datascience.stackexchange", "id": 10402, "lm_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, keras, tensorflow, regression", "url": null }
performance, vba ElseIf bestDiff4 < dLowValue Then dLowValue = bestDiff4 resultCell = Range("D" & i) Name = Range("E" & i) End If 'Check if the ratio1 of the Supplier is between the 5th and 6th percentile of listed companies ...
{ "domain": "codereview.stackexchange", "id": 17044, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "performance, vba", "url": null }
c++, homework, template, vectors And as t is never deleted you will leak memory. But the leak is inside of this function and the user cannot and must not delete the returned object as it is not dynamically allocated, it's a temporary object on the stack. You should implement the function like this instead: template <...
{ "domain": "codereview.stackexchange", "id": 25099, "lm_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++, homework, template, vectors", "url": null }
neural-networks, reinforcement-learning, deep-rl In the weak sense specific NNs can be considered contractions, but in general contractions must be uniformly continuous and it's not clear that in the strong universally true sense for all cases of NNs. There may be some Networks, that for some set of inputs may reveal ...
{ "domain": "ai.stackexchange", "id": 3349, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "neural-networks, reinforcement-learning, deep-rl", "url": null }
java, optimization for (String s : input) { if (hashSet.contains(s)) { continue; } else { count++; for (int i = 0; i < s.length(); i++) { permutation = s.substring(1) + s.substring(0, 1); s = permutation; hashSet.add(s)...
{ "domain": "codereview.stackexchange", "id": 3000, "lm_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", "url": null }
ros2, plugin And here is your launch file: from launch import LaunchDescription, LaunchContext from launch.actions import DeclareLaunchArgument, IncludeLaunchDescription from launch.substitutions import Command, FindExecutable, LaunchConfiguration, PathJoinSubstitution from launch.conditions import IfCondition from la...
{ "domain": "robotics.stackexchange", "id": 36791, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "ros2, plugin", "url": null }
java, strings, reflection builder.append(field); } builder.append(')'); return builder.toString(); } } I'm not entirely sure why I separated getFields into it's own method, however it might be better to move it back into toString. If you are using Java 8, you can do: private String[] get...
{ "domain": "codereview.stackexchange", "id": 16297, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "java, strings, reflection", "url": null }
soft-question, perturbation-theory, models, approximations The point of theory is to make the initial standpoint as simple and understandable as possible, and to try and get some intuition for how that standpoint implies experimental results. It is a fact that most simple models will in general not be solvable. More i...
{ "domain": "physics.stackexchange", "id": 10602, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "soft-question, perturbation-theory, models, approximations", "url": null }
quantum-mechanics, resource-recommendations, computational-physics, wigner-transform Title: Good source for numerical simulations of Wigner function? I'm interested in simulating the time evolution of a Wigner function for a harmonic oscillator (and possibly some other potentials) and I can't seem to find a good resou...
{ "domain": "physics.stackexchange", "id": 24836, "lm_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, resource-recommendations, computational-physics, wigner-transfo...
electrons, orbitals, ionization-energy Please don't tell me I am wrong, direct me to getting right. I think the confusion stems from a misunderstanding of the meaning of the orbital energies. Consider the hydrogen atom and its orbitals. You can obtain the energy of the electron in its groudn state using the Schrödinge...
{ "domain": "chemistry.stackexchange", "id": 16685, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "electrons, orbitals, ionization-energy", "url": null }
information-theory, quantum-optics, quantum-fisher-information Title: What are the antisymmetric terms in $\sigma_{mn}$ in the expression for the Fisher information? Given a parameter-dependent density operator $\hat\rho^\lambda$ and its spectral decomposition $\{\rho_m^\lambda, |\psi_n^\lambda\rangle\}$, Eq. $(17)$ f...
{ "domain": "quantumcomputing.stackexchange", "id": 4863, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "information-theory, quantum-optics, quantum-fisher-information", "url": ...
c#, .net, xna case Framework.Windows.Forms.Keys.OemPeriod: return '.'; case Framework.Windows.Forms.Keys.Oemcomma: return ','; case Framework.Windows.Forms.Keys.OemQuestion: return '/'; c...
{ "domain": "codereview.stackexchange", "id": 15266, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c#, .net, xna", "url": null }
quantum-mechanics, homework-and-exercises, statistical-mechanics, density-operator, quantum-statistics Combine the results of steps 2 and 3 to show that \begin{align} \langle n_j\rangle = \frac{1}{e^{\beta(\epsilon_j-\mu)}+1} \end{align} which is the desired result.
{ "domain": "physics.stackexchange", "id": 12185, "lm_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, statistical-mechanics, density-operator...
# How to tell if the relations R, S and T are reflexive, symmetric, anti-symmetric or and transitive? Let $R$, $S$ and $T$ be binary relations defined as follows • R is defined on $P(\mathbb{N})$ by $ARB$ if and only if $|A∪B| ≥ 2$ • $S$ is defined on $Q$ by $xSy$ if and only if |$x$|=|$y$|. (Note that |$q$| is defin...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9715639661317859, "lm_q1q2_score": 0.8117256969560936, "lm_q2_score": 0.8354835350552603, "openwebmath_perplexity": 180.59194115814427, "openwebmath_score": 0.8529894351959229, "ta...
1. In this case the shear force is constant throughout the length of the cantilever. The bending moment diagram indicates the bending moment resisted by the beam section along the length of the beam. Similarly a bending moment diagram is a graphical plot which depicts how the internal bending moment M' varies along the...
{ "domain": "lotoblu.it", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9678992932829918, "lm_q1q2_score": 0.8107317627032639, "lm_q2_score": 0.8376199552262967, "openwebmath_perplexity": 963.8127792262379, "openwebmath_score": 0.6833874583244324, "tags": nul...
algorithm-analysis, asymptotics, runtime-analysis Title: Why do Tarjan's and Kosaraju's algorithms for finding strongly connected components have the same running-time complexity? I followed an explanation of Kosaraju's and Tarjan's strongly-connected components algorithms, and they say that both have O(|V|+|E|) time ...
{ "domain": "cs.stackexchange", "id": 7214, "lm_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, asymptotics, runtime-analysis", "url": null }
civil-engineering, design, standards Warning! - Do not rely on these for digging! Call 811 to have utilities marked before you dig!
{ "domain": "engineering.stackexchange", "id": 149, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "civil-engineering, design, standards", "url": null }
recursion, json, formatting, enum, rust Title: Basic JSON Representation in Rust This week I started reading "The Rust Programming Language". As I reached the chapters on enumerations and pattern matching I felt I had enough material to put together a simple representation of JSON in Rust, just to play around and get ...
{ "domain": "codereview.stackexchange", "id": 18609, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "recursion, json, formatting, enum, rust", "url": null }
general-relativity, gravity, newtonian-gravity, mass If gravity is mediated by a spin two field in which negative masses attract, how can the Schwarzchild solution with negative mass repel a negative mass test particle? In a spin-2 theory, you can prove that the direction of the force between like-charged particles is...
{ "domain": "physics.stackexchange", "id": 97512, "lm_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, gravity, newtonian-gravity, mass", "url": null }
quantum-field-theory, variational-principle \begin{equation} \hat{S}=\int \left(\frac{1}{4}\hat{x}^{a}A_{ab}\frac{d\hat{x}^{b}}{dt} -\frac{1}{4}\frac{d\hat{x}^{a}}{dt}A_{ab}\hat{x}^{b}-\hat{H}\right)dt \end{equation} The dynamical variables $\hat{x}^{a}$ are Hermitian. They stand for all the dynamical variables of a s...
{ "domain": "physics.stackexchange", "id": 35697, "lm_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, variational-principle", "url": null }
electromagnetism, general-relativity, black-holes, charge and an ansatz for the $U(1)$ field: $$A_{a} = (-\phi(r),0,0).$$ Maxwell's equations can be immediately integrated to yield: $$ \phi(r) = c_1\ln(r) +c_2 $$ I cannot find any mistakes in my calculation, neither any paper on 2+1D charged black holes without cosmol...
{ "domain": "physics.stackexchange", "id": 71175, "lm_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, general-relativity, black-holes, charge", "url": null }
kinematics, acceleration, velocity Title: If you're accelerating and you drop a ball, why does the ball keep your velocity, but not your acceleration? There was a question in my physics text book which says, "A boy is running with velocity $5m/s$ and acceleration $2m/s^2$ north, and drops a ball while running at the h...
{ "domain": "physics.stackexchange", "id": 96002, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "kinematics, acceleration, velocity", "url": null }
javascript, jquery Use Date.now() instead of new Date().getTime() to avoid an extra allocation and also to make the code more readable. Or rather, don't rely on classes to identify your buttons. In lines 16-68 you create a canvas, paint a static image to it, then rotate it using CSS and return the canvas. Instead, con...
{ "domain": "codereview.stackexchange", "id": 9322, "lm_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 }
electrostatics, charge, history, coulombs-law, physical-constants In Coulomb's experiment, the torsion balance was an insulating rod with a metal-coated ball attached to one end, suspended by a silk thread. The ball was charged with a known charge of static electricity, and a second charged ball of the same polarity w...
{ "domain": "physics.stackexchange", "id": 65752, "lm_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, charge, history, coulombs-law, physical-constants", "url": null ...
c# foreach (string _Item in TaxList) { i2++; LineChanger(_Item, Path, 19 + i2); } LineChanger(" ----------------------------------", Path, 20 + i2); LineChanger(" Proccessed by WinTest", Path, 21 + i2); LineChanger(" Certif...
{ "domain": "codereview.stackexchange", "id": 26848, "lm_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 }
python, python-3.x, tkinter Label(self, text="Enter third number:",bg="black", fg="white", font="none 12 bold").grid(row=8, column=0, sticky=N) self.textentry3 = Entry(self, textvariable=self.num3, width=20, bg="white") self.textentry3.grid(row=9, column=0, sticky=N) Label(self, text="Enter fo...
{ "domain": "codereview.stackexchange", "id": 34665, "lm_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, tkinter", "url": null }
ros, velodyne-pointcloud, timesynchronizer, velodyne Try using sensor_msgs::PointCloud2 instead of VPointCloud.
{ "domain": "robotics.stackexchange", "id": 25157, "lm_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, velodyne-pointcloud, timesynchronizer, velodyne", "url": null }
biochemistry, cell-signaling Title: Effect of testosterone hormone on cell signalling and behaviour? A steroid, testosterone was injected in female body which led to development of secondary sexual characters but these characters were not developed over night (Response was very slow). What could be possible explanatio...
{ "domain": "biology.stackexchange", "id": 2520, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "biochemistry, cell-signaling", "url": null }
ros, queue, ros-kinetic Title: remove old messages from topic Hi all, I am using ROS kinetic on Ubuntu 16.04. I have a topic that I publish movement instructions to. At some point in my code I want to make a long rospy.sleep but sometimes I will publish to the topic right before I will go to sleep, and thus when I co...
{ "domain": "robotics.stackexchange", "id": 31137, "lm_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, queue, ros-kinetic", "url": null }
gazebo, joint, rviz, urdf, p2os <gazebo reference="front_sonar"> <material value="Gazebo/Yellow"/> </gazebo> <joint name="base_front_joint" type="fixed"> <origin xyz="-0.198 0 0.208" rpy="0 0 0"/> <parent link="base_link"/> <child link="front_sonar"/> </joint>
{ "domain": "robotics.stackexchange", "id": 12330, "lm_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, joint, rviz, urdf, p2os", "url": null }
E o /| / | / | / | / | B / | _,o | _,-' | _,-' | _,-' | _,-' | A o------------------------o C By construction EC = EF = AB, and <A = <E, so two opposite sides are equal and two opposite angles are equal, but this is definitely NOT a parallelogram, because EB ...
{ "domain": "themathdoctors.org", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.970687766704745, "lm_q1q2_score": 0.8046407564823322, "lm_q2_score": 0.8289388040954683, "openwebmath_perplexity": 615.89503108271, "openwebmath_score": 0.6805437803268433, "tags"...
math, generative-adversarial-networks, papers, notation Title: What does equation in the "related work" section of the GAN paper mean? I was going through the paper on GAN by Ian Goodfellow. Under the related work section, there is an equation. I cannot decipher the equation. Can anyone help me understand the meaning ...
{ "domain": "ai.stackexchange", "id": 1824, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "math, generative-adversarial-networks, papers, notation", "url": null }
quantum-mechanics, electromagnetism, electromagnetic-radiation Title: Why don't charges move transverse to an EM wave? Image we have an ultra-high intensity, ultra low frequency laser, with wattage on the order of terawatts and a wavelength on the order of a lightsecond. We rotate it that the electric field component ...
{ "domain": "physics.stackexchange", "id": 9590, "lm_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, electromagnetism, electromagnetic-radiation", "url": null }
reference-request, graph-theory, co.combinatorics, graph-minor This is easy to show once we have the previous result. Since paths and subdivisions of claws have maximum degree 3, if $G$ is a minor of $H$ it is also a topological minor of $H$. This means there is a subgraph of $H$ that can be obtained from $G$ by only ...
{ "domain": "cstheory.stackexchange", "id": 963, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "reference-request, graph-theory, co.combinatorics, graph-minor", "url": null }
acoustics, air Title: Can thunderstrikes cause any form of wind Considering that thunderstrikes makes sound, which is a form of movement in the air, it will generate some form of wind as well (following my logic). But can thunderstrikes cause/generate wind? And more importantly: Will the wind be noticeable? Yes, kinda...
{ "domain": "physics.stackexchange", "id": 40678, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "acoustics, air", "url": null }
c++, c++11, pointers, interface std::vector<std::shared_ptr<Space>> spaces { space1, space2, space3, space4, space5, space6, space7, space8, space9 }; Board bowsers_bigbad_laddersnake; for(auto space : spaces) { bowsers_bigbad_laddersnake.add_spa...
{ "domain": "codereview.stackexchange", "id": 34254, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c++, c++11, pointers, interface", "url": null }
thermodynamics, coordinate-systems, entropy, physical-chemistry, equilibrium The only reasonable way to interpret the principle of maximum is that we start from an isolated but non-equilibrium state and follow the evolution of entropy as we keep the variables $X_0,X_1, X_n$ constant. But that just means that either no...
{ "domain": "physics.stackexchange", "id": 97491, "lm_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, coordinate-systems, entropy, physical-chemistry, equilibrium", "...