text stringlengths 1 1.11k | source dict |
|---|---|
toward the center of Earth 0 and so there is no solution. Which it was dropped: K.E 9.81 m/s^2 * 0.850 s = 8.34 m/s free fall distance and with. Simplest method for determining the falling object is opposed by the air object ’ s is! S^2 = 27.1 meters, or drag of the calculation is not so simple, many! Can estimate this... | {
"domain": "gridserver.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.992654173425523,
"lm_q1q2_score": 0.9069648065443554,
"lm_q2_score": 0.9136765157744066,
"openwebmath_perplexity": 434.28879005001016,
"openwebmath_score": 0.5696633458137512,
"tags":... |
kinematics, acceleration, terminology, velocity, speed
Title: What is the difference between uniform velocity and constant velocity? I think that uniform velocity implies constant speed but not constant direction. while constant velocity implies constant speed without any changes in direction.
Both tell us that there'... | {
"domain": "physics.stackexchange",
"id": 59839,
"lm_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, terminology, velocity, speed",
"url": null
} |
statistical-mechanics, entropy
&=\ln\Big(1-\delta\lambda_1\langle f_1\rangle-\lambda_1\langle \delta f_1\rangle\Big)\cr
&\simeq -\delta\lambda_1\langle f_1\rangle-\lambda_1\langle \delta f_1\rangle
}$$
Alternatively, a faster calculation is
$$\eqalign{
\delta \ln{\cal Z}&={1\over{\cal Z}}\delta{\cal Z}\cr
&={1\ove... | {
"domain": "physics.stackexchange",
"id": 58812,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "statistical-mechanics, entropy",
"url": null
} |
c++, converting, integer
Title: Converting an integer to binary, hex, and octal I've started caring about standards and the beauty of my code. I doubt whether I've written it correctly and aesthetically. Can you please judge this simple, exemplary program? I want to know of any mistakes I've made. It converts an integ... | {
"domain": "codereview.stackexchange",
"id": 7726,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "c++, converting, integer",
"url": null
} |
quantum-mechanics, homework-and-exercises, wavefunction, schroedinger-equation, harmonic-oscillator
Can we write down the solutions to this potential in closed form?
Yes, you can, though they will likely depend on the eigenvalue, and this will likely be the solution of a transcendental equation that can only be solve... | {
"domain": "physics.stackexchange",
"id": 63588,
"lm_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, wavefunction, schroedinger-equation, ha... |
classical-mechanics, lagrangian-formalism, hamiltonian-formalism, action, variational-calculus
The boundary term vanishes because $\delta q$ vanish at the start and the end (we are only varying the arrival time). Now consider the second part:
$\int_0^1 L\frac{\partial \delta t}{\partial z} dz$.
integration by part aga... | {
"domain": "physics.stackexchange",
"id": 58081,
"lm_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, lagrangian-formalism, hamiltonian-formalism, action, variatio... |
python, optimization, programming-challenge
if __name__ == '__main__':
main() I like the way you've broken down the code into functions, I think it makes sense and avoids repetition or duplication of code and functionality.
One slight improvement to consider here is to have print_words and print_top take the diction... | {
"domain": "codereview.stackexchange",
"id": 1008,
"lm_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, optimization, programming-challenge",
"url": null
} |
thermodynamics, explosives
An approach could be a list with the relative effectiveness of benzene compared to TNT. All kind of benzene derivatives are mentioned in that list but not benzene itself. I could not find a list in which benzene itself is mentioned.
So my (much to simple) calculation is: | {
"domain": "chemistry.stackexchange",
"id": 14394,
"lm_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, explosives",
"url": null
} |
java, performance, algorithm, programming-challenge, memory-optimization
Big O notation ignores constant multiples like 3. It should be \$O(n)\$, not \$O(3n)\$.
You use Arrays#sort when you don't need to. While it uses a nicer version of quicksort than normal, it still has a \$O(n^2)\$ worst case time complexity.
If y... | {
"domain": "codereview.stackexchange",
"id": 18680,
"lm_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, programming-challenge, memory-optimization",
"u... |
php, array, wordpress
Title: Modify a WordPress loop to show posts of certain categories, based on user roles I've got some code that works as intended, but I have a feeling that it's messy. This code is modifying a wordpress loop and the goal is to check the roles of the current user and show posts of certain categor... | {
"domain": "codereview.stackexchange",
"id": 42938,
"lm_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, array, wordpress",
"url": null
} |
python, beginner, python-3.x, tic-tac-toe, ai
def intro():
""" Introduction """
global board_type
initialize()
print('Hello Player', end=', ')
changeName()
print('\nHello ' + player + ', Welcome To The Game Of Tic-Tac-Toe!!')
know = input('Are You Familiar With The Game? (y / n): ').l... | {
"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
} |
• Read carefully, $f_X$ is pdf, $F_x$ is CDF. – booksee May 28 '15 at 3:43
• "The equation above says that the cdf is the integral of the pdf from negative infinity to x. Is it fair to say that the cdf is the integral of the pdf from negative infinity to x?" ??? Indeed it is correct to say that the cdf is the integral ... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9799765592953409,
"lm_q1q2_score": 0.8348937755549299,
"lm_q2_score": 0.8519528019683106,
"openwebmath_perplexity": 128.5504064848471,
"openwebmath_score": 0.8814077973365784,
"tag... |
quantum-mechanics, operators, quantum-spin, path-integral
$$U_1\otimes U_2=(U_1\otimes I)(I\otimes U_2)$$
and therefore it is clear how to define the time evolution for the single spin: for the $j$th particle one simply needs to take the unitary operator $U_j$. | {
"domain": "physics.stackexchange",
"id": 19647,
"lm_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, operators, quantum-spin, path-integral",
"url": null
} |
electromagnetism, waves, definition, conventions, fourier-transform
Title: Wave equation boundary conditions for an engineer versus physicist The wave equation is:
$$\nabla^2 \mathbf{E} + k^2 \mathbf{E} = 0$$
Using separation of variables, we get a solution of $E = a(x)b(y)c(z)d(t)$. Say for the $x$-direction we get a... | {
"domain": "physics.stackexchange",
"id": 93032,
"lm_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, waves, definition, conventions, fourier-transform",
"url": nul... |
• The difference between the $n-1$st partial sum $S_{n-1}$ and the $n$th partial sum $S_n$ of a convergent alternating series $\sum_{k=1}^{\infty} (-1)^ka_k$ is $|S_n - S_{n-1}| = a_n\text{.}$ Since the partial sums oscillate around the sum $S$ of the series, it follows that
\begin{equation*} |S - S_n| \lt a_n \text{.... | {
"domain": "gvsu.edu",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9759464513032269,
"lm_q1q2_score": 0.802412559980857,
"lm_q2_score": 0.8221891261650248,
"openwebmath_perplexity": 257.72426550760844,
"openwebmath_score": 0.9794713258743286,
"tags": null,... |
python, object-oriented, programming-challenge, pathfinding, breadth-first-search
Outputs:
3
Inputs:
m = [ [0, 0, 0, 0],
[1, 1, 1, 0],
[1, 0, 1, 0],
[1, 1, 1, 0],
[1, 0, 0, 0],
[1, 0, 1, 1],
[1, 0, 0, 0] ]
Outputs:
10
My Algorithm
Find and store start.minDistTo, the minimum dista... | {
"domain": "codereview.stackexchange",
"id": 24154,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "python, object-oriented, programming-challenge, pathfinding, breadth-first-sear... |
c#, performance, strings
Console.WriteLine(output);
Console.ReadKey();
}
}
I'm using HashSet to lookup and add new triplets, because it's the fastest thing I know in C# that can do this.
I am not entirely sure about using a Dictionary<string, int> for storing the number of triplet occurrences. A faint voi... | {
"domain": "codereview.stackexchange",
"id": 8906,
"lm_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, strings",
"url": null
} |
ros, roscpp, rosconsole
When I launch this node, I can see both log files "rosout.log" and "my_node_name-stdout.log" growing. When "rosout.log" is around 100Mo, the file is "rolled". A new file called rosout.log.1 is created, an rosout.log continue to be feeded with the ROS_INFO...
Look in the source code of rosout, I... | {
"domain": "robotics.stackexchange",
"id": 20514,
"lm_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, roscpp, rosconsole",
"url": null
} |
electrostatics, electric-fields, gauss-law
Title: Why does a hollow conductor does not have a electric field inside it when it is enclosing a charge? When a positive charge is enclosed in a thick hollow sphere which is a conductor, the inner surface gains a negative charge distribution and due to that the outer gains ... | {
"domain": "physics.stackexchange",
"id": 66550,
"lm_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, electric-fields, gauss-law",
"url": null
} |
as Matrix. I love numpy, pandas, sklearn, and all the great tools that the python data science community brings to us, but I have learned that the better I understand the “principles” of a thing, the better I know how to apply it. But it is remarkable that python can do such a task in so few lines of code. Python Matri... | {
"domain": "beterontleden.nl",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9766692325496973,
"lm_q1q2_score": 0.8358834846807569,
"lm_q2_score": 0.8558511488056151,
"openwebmath_perplexity": 659.2288468409985,
"openwebmath_score": 0.5261455774307251,
"tags... |
fft
Current technique
The method I'm trying out at the moment is to composite sine waves corresponding to various FFT bins
So my receiver uses a 10 bit (1024 sample) FFT which will generate 512 bins
I'm using 3 adjacent bins for each bit, so bit #0 will be bins 99, 100, 101
I would energise bin 99 to 0%, bin 101 to ... | {
"domain": "dsp.stackexchange",
"id": 176,
"lm_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
} |
algorithm-analysis, asymptotics
Title: What is the relationship/difference between best/worse/expected case and big O/omega/theta? In the big O section of Cracking the Coding Interview 6th edition, I read the following.
"Best, worse, and expected case describe the big O for expected inputs and scenarios."
"Big O, big ... | {
"domain": "cs.stackexchange",
"id": 11289,
"lm_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",
"url": null
} |
A way to write the splitting field is $\mathbb{Z}_2(\alpha)$ where $\alpha$ is any one of the roots of $x^3+x+1.$ This is because $\alpha^2$ and $\alpha^4= \alpha^2+\alpha$ must then also be distinct roots of $x^3+x+1$, and these 3 then comprise a full list. Note, this isn't a special trick to notice for this problem. ... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9852713857177955,
"lm_q1q2_score": 0.8506750462443309,
"lm_q2_score": 0.8633916082162402,
"openwebmath_perplexity": 186.81982532539902,
"openwebmath_score": 0.9422818422317505,
"ta... |
python, object-oriented, array, python-3.x, pygame
pygame.init() #start up dat pygame
clock = pygame.time.Clock() #for framerate or something? still not very sure
Screen = pygame.display.set_mode([650, 650]) #making the window
Done = False ... | {
"domain": "codereview.stackexchange",
"id": 21562,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "python, object-oriented, array, python-3.x, pygame",
"url": null
} |
special-relativity, group-theory, representation-theory, lie-algebra, complex-numbers
For example, either you can try Qmechanic's complexification idea, or you can study the Dirac equation for chirality, especially in the massless case, and you will arrive at the spin-half Weyl equations. The right chiral and left chi... | {
"domain": "physics.stackexchange",
"id": 95304,
"lm_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, group-theory, representation-theory, lie-algebra, complex-numb... |
thermodynamics
How was it defined? As the Legendre transformation of U, or directly as U + pV? They may happen to be the same mathematical thing, but... what is the real origin (chemistry, thermodynamics, ... how and why)? | {
"domain": "physics.stackexchange",
"id": 60516,
"lm_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",
"url": null
} |
optics, diffraction, wavelength
$$\sin\theta=\frac{3.83}{\pi}\frac{\lambda}{b}=1.22\frac{\lambda}{b}$$
Now two neighboring Airy patterns are barely resolvable when the maximum of
one Airy pattern is at the minimum of the other Airy pattern.
Hence the resolution limit is also given by
$$\sin\theta=1.22\frac{\lambda}{b}... | {
"domain": "physics.stackexchange",
"id": 97154,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "optics, diffraction, wavelength",
"url": null
} |
algorithm, php, strings
Output
Array
(
[hello] => 1
[i] => 5
[don`t] => 2
[know] => 3
[who] => 2
[am] => 2
[but] => 2
[you] => 1
[are] => 1
[where] => 1
) You can competely avoid rolling your own code for this task. PHP offers a solution via just two native function calls.
Ask ... | {
"domain": "codereview.stackexchange",
"id": 43453,
"lm_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, php, strings",
"url": null
} |
javascript, object-oriented
queue = [];
return window.FnQueue;
},
stop: function(){
stop = true;
return window.FnQueue;
},
resume: function(){
stop = false;
if(!running && queue.length)
{
setTimeout(... | {
"domain": "codereview.stackexchange",
"id": 14895,
"lm_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, object-oriented",
"url": null
} |
ions, ionization-energy, noble-gases
Title: Can you in reality give neon a charge of +8? First off, I am currently confused about why neon can even be ionized at all. But since it can be ionized, this is the energy required to give a mole of neon a charge of +8: 207,390,000 joules!! Or ~0.5 GJ! Giving one-fifth of a k... | {
"domain": "chemistry.stackexchange",
"id": 17573,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "ions, ionization-energy, noble-gases",
"url": null
} |
gene, snp
Title: SNP-phenotype association analysis only using the SNPs on a specific gene I know that the GWAS association p-value threshold is 1e-8. This makes sense because in GWAS, you make ~1 million hypothesis (i.e. use that many SNPs in the association test). However, let's say I do not do genome-wide analysis ... | {
"domain": "bioinformatics.stackexchange",
"id": 243,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "gene, snp",
"url": null
} |
ros, ros-kinetic, ros-tutorials, learning-tf
Originally posted by gvdhoorn with karma: 86574 on 2019-06-06
This answer was ACCEPTED on the original site
Post score: 8 | {
"domain": "robotics.stackexchange",
"id": 33131,
"lm_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, ros-tutorials, learning-tf",
"url": null
} |
ros, moveit
File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 730, in load
self._load_launch(launch, ros_config, is_core=core, filename=filename, argv=argv, verbose=verbose)
File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 702, in _load_launch
self... | {
"domain": "robotics.stackexchange",
"id": 24130,
"lm_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, moveit",
"url": null
} |
ros, buiding-errors, ros-indigo
ROS indigo has only binaries for Ubuntu 14.04.
and Ubuntu Saucy (13.10) ..
Comment by nbro on 2017-03-05:
I told you. I'm not an active user of Ubuntu!! I didn't know that the different versions of ROS were because to target different versions of OS (Ubuntu), since I thought Ubuntu mai... | {
"domain": "robotics.stackexchange",
"id": 27203,
"lm_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, buiding-errors, ros-indigo",
"url": null
} |
c#
Title: This code looks really repetitive. Any way to shorten it? I have something like this in my program:
private void tspBrush_Click(object sender, EventArgs e)
{
currentTool = new Brush(tileLayers);
UncheckToolstripButtons();
tspBrush.Checked = true;
}
private void tspB... | {
"domain": "codereview.stackexchange",
"id": 560,
"lm_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
} |
quantum-computing
*Demonstration: The quantum Fourier transform is defined as follows. Take a system of $n$ particles in the standard basis, and put it in state $|k\rangle, 0 \leq k \leq 2^n-1$. Then applying the Fourier Transform $F$ yields a big superposition:
$$ F|k\rangle = \sum_{u=0}^{2^n-1}e^{i2\pi\frac{u\cdot k... | {
"domain": "cs.stackexchange",
"id": 5382,
"lm_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-computing",
"url": null
} |
javascript, jquery, functional-programming, ajax
//HTML disaply
$(".report").html("<li>" + data.name + "</li>" + "<li>" + description + "</li><li>" + wind + " knots</li>");
//Toggle Logic
$('#celsius').on('click', function() {
var celsius = temp - 273.15;
var celsius2 = Math.round(celsius... | {
"domain": "codereview.stackexchange",
"id": 18047,
"lm_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, functional-programming, ajax",
"url": null
} |
filters, signal-analysis, digital-communications, analog-to-digital, quadrature
Other than that the correction approach itself begins with structures that I have detailed in this other post. The additional complication to consider is that the correction under wideband conditions would likely be frequency selective, an... | {
"domain": "dsp.stackexchange",
"id": 11014,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "filters, signal-analysis, digital-communications, analog-to-digital, quadrature",
"u... |
sql, sql-server
I am not sure if this is the correct way to do this.
I use SQL server 2000, so PIVOT isn't an option. At first you'd choose indentation to make the whole query more easily readable:
SELECT
(
SELECT COUNT(shift) AS Expr1
FROM dbo.JadwalKerja
WHERE
(nip = dbo.JadwalDinas_Daf... | {
"domain": "codereview.stackexchange",
"id": 18099,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "sql, sql-server",
"url": null
} |
ros, moveit, abb, ros-indigo
Originally posted by karthikj219 with karma: 11 on 2016-06-01
This answer was ACCEPTED on the original site
Post score: 0
Original comments
Comment by gvdhoorn on 2016-06-01:
You shouldn't have to 'remove' those parameters if you correctly disabled the execution monitoring. Did you follow... | {
"domain": "robotics.stackexchange",
"id": 24774,
"lm_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, moveit, abb, ros-indigo",
"url": null
} |
waves, electromagnetic-radiation, photons, frequency, wavelength
Title: What role does wavelength play in the identity of a photon? According to this question:
What determines color -- wavelength or frequency?
It is the energy, and thus the frequency of a photon $E=hf$, that determines where it lies in the electromag... | {
"domain": "physics.stackexchange",
"id": 25630,
"lm_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, electromagnetic-radiation, photons, frequency, wavelength",
"url": null
} |
vba, excel
Application.ScreenUpdating = False
Application.EnableEvents = False
Application.Calculation = xlCalculationManual
End Sub
Public Sub RestoreApplicationSettings()
Application.ScreenUpdating = varScreenUpdating
Application.EnableEvents = varEnableEvents
Application.Calculation = var... | {
"domain": "codereview.stackexchange",
"id": 17368,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "vba, excel",
"url": null
} |
c#
This looks much cleaner and is easier to understand. The expression IsCalendarType(lastType) && IsCalendarType(name.Type) expresses exactly what we are looking for. | {
"domain": "codereview.stackexchange",
"id": 41793,
"lm_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
} |
homework-and-exercises, newtonian-mechanics, angular-momentum, rotational-dynamics, moment-of-inertia
$$p= MR \omega \lim_{n \to \infty} \dfrac {1}{n^2} \dfrac {n(n+1)}{2}$$
$$p=\dfrac 12 ML \omega$$
Again, we have
$$L=\dfrac 13 ML^2 \omega=pd=\dfrac 12 ML \omega d$$
If we solve for $d$, we get $d=\frac 23 L$. Why is... | {
"domain": "physics.stackexchange",
"id": 43432,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "homework-and-exercises, newtonian-mechanics, angular-momentum, rotational-dynamics... |
oxidation-state, hydrogen
Title: Does lead carry the negative charge in plumbane? It says in Wikipedia that lead tetrahydride or hydrogen plumbide or plumbane ($\ce{PbH4}$) is supposed to have lead in its -4 state and the hydrogen is in its +1 state because supposedly lead has a higher electronegativity than hydrogen.... | {
"domain": "chemistry.stackexchange",
"id": 16301,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "oxidation-state, hydrogen",
"url": null
} |
c#, generics
I'm not interested on paid third-party stuff, so sadly things like PostSharp aren't options for me. With Castle DynamicProxy, I would create an interface proxy without a target and an interceptor that would choose which implementation to use. Something like:
class OnlineOfflineInterceptor<TInterface> : II... | {
"domain": "codereview.stackexchange",
"id": 2425,
"lm_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#, generics",
"url": null
} |
special-relativity, reference-frames, mass, inertial-frames, mass-energy
Now I have a few problems with this derivation. They are: | {
"domain": "physics.stackexchange",
"id": 69960,
"lm_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, reference-frames, mass, inertial-frames, mass-energy",
"url"... |
python, neural-network, dataset
for epoch in range(1, epochs+1):
weights = Train(X_train, Y_train, lr, weights)
if(epoch % 20 == 0):
print("Epoch {}".format(epoch))
print("Training Accuracy: {}".format(Accuracy(X_train, Y_train, weights)))
if X_val.any():
... | {
"domain": "datascience.stackexchange",
"id": 8952,
"lm_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, neural-network, dataset",
"url": null
} |
ros, catkin-make, include
Title: catkin_make can't find #include files
$ catkin_make
Base path: /home/jackson/catkin_ws
Source space: /home/jackson/catkin_ws/src
Build space: /home/jackson/catkin_ws/build
Devel space: /home/jackson/catkin_ws/devel
Install space: /home/jackson/catkin_ws/install
####
#### Running comm... | {
"domain": "robotics.stackexchange",
"id": 26105,
"lm_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, catkin-make, include",
"url": null
} |
thermodynamics, carnot-cycle, first-law-of-thermodynamics
Title: Prove carnot engine is most efficient According to Carnot's theorem, Carnot engine is the most efficient engine. I wanted to know its proof. I looked up and I found a proof on Khan Academy in which he used a reverse carnot engine to prove that an engine ... | {
"domain": "physics.stackexchange",
"id": 47176,
"lm_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, carnot-cycle, first-law-of-thermodynamics",
"url": null
} |
c++, matrix, c++14, template, vectors
This is correct. But personally I think I may have gone with some form of type specialization. That would have simply done the test on integer numbers and used epsilon on floating point numbers.
So many lines for simply returning the value.
I would have had these as single liners ... | {
"domain": "codereview.stackexchange",
"id": 33082,
"lm_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++, matrix, c++14, template, vectors",
"url": null
} |
Ok, you want an intuitive proof, not a better proof. That's fine.
First note that for $x=y=z$, we have $x^2+y^2+z^2 = 3\left(\frac13\right)^2= \frac13$. Next let us show that $x^2+y+2+z^2$ is not minimal if $x\ne y$ or $y\ne z$. Indeed if $a\ne b$ then $$a^2 + b^2 - \left(\left(\frac{a+b}2\right)^2+\left(\frac{a+b}2\r... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9879462190641612,
"lm_q1q2_score": 0.8547948593085478,
"lm_q2_score": 0.8652240808393984,
"openwebmath_perplexity": 151.66039486157948,
"openwebmath_score": 0.9061225652694702,
"ta... |
space 2,818.75. Problems step-by-step from beginning to end step-by-step Solutions » Walk through homework problems from! Points ( 3, 3.5 ) and ( -5.1, -5.2 ) in 2D space homework! Integer, decimal or fraction will automatically calculate the Euclidean distance between a point X = ( Y,... L1 norm ) is a distance metric... | {
"domain": "upb.org",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.950410982634296,
"lm_q1q2_score": 0.8170338681486551,
"lm_q2_score": 0.8596637487122111,
"openwebmath_perplexity": 1277.759723674668,
"openwebmath_score": 0.43521347641944885,
"tags": nu... |
java, beginner, object-oriented, playing-cards
//Draw
if (input.equalsIgnoreCase("Draw")) {
player.addCard(deck.draw());
System.out.println("");
System.out.print(player.getHandAsString(false));
System.out.println("Total: " ... | {
"domain": "codereview.stackexchange",
"id": 40479,
"lm_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, playing-cards",
"url": null
} |
fft, cross-correlation, aliasing, peak-detection, superresolution
Title: How to find correlation between two signals regarding peaks? In a super-resolution task, I try to predict the higher frequencies of a signal.
X low-resolution (lr) is my input and Y high-resolution (hr) is the target. Where X contains only freque... | {
"domain": "dsp.stackexchange",
"id": 8506,
"lm_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, cross-correlation, aliasing, peak-detection, superresolution",
"url": null
} |
c++, c++11, sorting, benchmarking
random.push_back(r);
asc.push_back(a);
desc.push_back(d);
}
}
void sortT::testWith(void sortF(std::vector<long long>::iterator,
std::vector<long long>::iterator)) {
unsigned int i = 0;
while (i < upLim) {
auto tp1 =... | {
"domain": "codereview.stackexchange",
"id": 14906,
"lm_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, sorting, benchmarking",
"url": null
} |
gazebo, navigation, rviz, ros-kinetic, ubuntu
Title: Adding a Kinect to my Gazebo simulation
Hello All,
I have a URDF model that is working in gazebo that i copied from the book Programming Robots with ROS. I would like to add a Kinect sensor to this model so i can simulate my robot but i cant for the life of me figu... | {
"domain": "robotics.stackexchange",
"id": 33477,
"lm_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, navigation, rviz, ros-kinetic, ubuntu",
"url": null
} |
ros, ros-kinetic, android
05-24 15:03:29.469 3717-3717/? E/installd: Couldn't opendir /data/app/vmdl2062235899.tmp: No such file or directory
05-24 15:03:29.734 27146-27174/? E/ExternalAccountType: Unsupported attribute readOnly
05-24 15:03:29.735 27146-27174/? E/CSP_ExceptionCapture: Unsupported attribute readOnly
05... | {
"domain": "robotics.stackexchange",
"id": 30894,
"lm_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, android",
"url": null
} |
I've got the sum of the cube of x and the cube of 5, so: You can use the Mathway widget below to practice factoring a sum of cubes. Thus the square–cube law. 1 The result of multiplying a whole number by itself twice. When applied to the real world this principle has many implications which are important in fields rang... | {
"domain": "thecorporategiveaways.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9615338035725359,
"lm_q1q2_score": 0.8074326036380256,
"lm_q2_score": 0.8397339756938818,
"openwebmath_perplexity": 1015.8618147157688,
"openwebmath_score": 0.681921303272247... |
java, observer-pattern
A possibly too complicated brightness service
import java.util.Observable;
import java.util.Observer;
public abstract class OtherBrightnessService
{
static class MyObserver implements Observer
{
private Map map;
public MyObserver(Map m)
{
map = m;
... | {
"domain": "codereview.stackexchange",
"id": 22120,
"lm_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, observer-pattern",
"url": null
} |
heat-transfer, heat-exchanger
Title: Why do plate exchangers typically serve lower pressure fluids than shell and tube heat exchanger? According to Wikipedia http://en.wikipedia.org/wiki/Heat_exchanger, plate exchangers typically serves lower pressure fluids than shell and tube heat exchanger, why?
Tubes in plate exch... | {
"domain": "engineering.stackexchange",
"id": 3254,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "heat-transfer, heat-exchanger",
"url": null
} |
# Finding the simplest rational in a closed interval [closed]
Given a closed interval [a,b], how would you find the "simplest rational", p/q, contained in that interval. By simplest, I mean the rational with the smallest denominator q. You may, if you wish assume that the interval is very small. We can already constru... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.981735720045014,
"lm_q1q2_score": 0.807172438066151,
"lm_q2_score": 0.8221891305219504,
"openwebmath_perplexity": 282.55889941343725,
"openwebmath_score": 0.8251050710678101,
"tags... |
If you have a different question, just give me a bit more detailed version of your question and I will try to help.
mathscinotes
• Hanna says:
Hi. For some reason I never saw your reply. Thanks for getting back to me. I am observing animals from a 93-96m high sea cliff (tidal variation) with a theodolite. I get angl... | {
"domain": "mathscinotes.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9748211561049159,
"lm_q1q2_score": 0.80370293243942,
"lm_q2_score": 0.8244619306896955,
"openwebmath_perplexity": 976.3513989086459,
"openwebmath_score": 0.6087819337844849,
"tags":... |
c++, c++11, iterator
BOOST_FIXTURE_TEST_CASE(
Test_make_AdjacentElementEndIterator_returns_AdjacentElementRandomAccessIterator_for_vector,
Fixtures::VectorOfSize10) {
auto adjacentElementIterator =
make_AdjacentElementEndIterator<2>(vectorOfSize10.end());
BOOST_REQUIRE_EQUAL(
(type_name<
... | {
"domain": "codereview.stackexchange",
"id": 13742,
"lm_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, iterator",
"url": null
} |
python, performance, parsing, hash-map, pandas
Record_Report : [
File_Nb : 12221
Type_Of_Dump : DUMP
Type_Of_Test : N/A 3
Tape_Nb : 36
Tape_Label : "TD South"
Record_Type : NORMAL
Blocking_Mode : FALSE
Device_Bypass ... | {
"domain": "codereview.stackexchange",
"id": 18013,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "python, performance, parsing, hash-map, pandas",
"url": null
} |
python, combinatorics, complexity, dynamic-programming, change-making-problem
Title: Counting the number of ways to break an amount into coins I have an algorithm here that counts the number of ways that n cents can be represented using the following denominations:
quarter: 25 cents
dime: 10 cents
nickel: 5 cents
pen... | {
"domain": "codereview.stackexchange",
"id": 26672,
"lm_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, combinatorics, complexity, dynamic-programming, change-making-problem",... |
programming-languages, logic, variable-binding
Title: what is variable capture in nominal logic? While reading a paper Nominal Unification from a Higher-Order Perspective, in the abstract I noticed something feel bit confusing,
Nominal Logic is an extension of first-order logic with equality,
name-binding, name-s... | {
"domain": "cs.stackexchange",
"id": 7762,
"lm_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-languages, logic, variable-binding",
"url": null
} |
python, beginner, adventure-game, battle-simulation
player = Player(name)
a_map = Map("meadow", player)
game = Game(a_map)
game.play()
play = True
while play:
main()
play = ask_yes_no_boolean("Do you want to play again? ") This is a lot of code to run through, but I'll pick apart some sections of ... | {
"domain": "codereview.stackexchange",
"id": 21487,
"lm_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, adventure-game, battle-simulation",
"url": null
} |
lagrangian-formalism, mass, gauge-theory, conventions
For a vector field, only physical components propagate with a positive sign. The $0$'th component is unphysical, and hence it has a wrong sign. Again this is a consequence of the sign in Lagrangian and the signs in the metric tensor.
In other words, for both cases... | {
"domain": "physics.stackexchange",
"id": 38470,
"lm_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, mass, gauge-theory, conventions",
"url": null
} |
quantum-mechanics, quantum-information, quantum-interpretations, decoherence
Did we prove that such a contribution must be there? Not quite, but remember we can always express $\rho$ in any basis we choose. Let's keep the original basis but change two of the basis states, $|m\rangle$ and $|n\rangle$, to $|m,n;\phi\ran... | {
"domain": "physics.stackexchange",
"id": 96581,
"lm_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, quantum-information, quantum-interpretations, decoherence",
"... |
meteorology, climate-change, precipitation, climate-models
Usually, you run the model for some period prior to the projection period, so that you can compare that to observations (spin-up period).
You need to provide input data to the model. Mostly, this just consists of solar forcing (changes in the sun's output), as... | {
"domain": "earthscience.stackexchange",
"id": 357,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "meteorology, climate-change, precipitation, climate-models",
"url": null
} |
to form. Finding the Value of n in Permutation - Concept - Examples with step by step explanation. How many different ways can five people sit in a row? For the first spot in the row, we have five people to choose from, and as we go down the line trying to fill each spot, the number of people we have to choose from wil... | {
"domain": "tvniederrhein.de",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9805806472775278,
"lm_q1q2_score": 0.8150027796464006,
"lm_q2_score": 0.8311430394931456,
"openwebmath_perplexity": 409.6601729542495,
"openwebmath_score": 0.7891137003898621,
"tags... |
javascript, beginner, object-oriented
In this case, you have a todo block. Inside this todo block you have todo__element. If these elements have alternate states or styles from their default, you have todo__element--alternate. Simple naming convention.
This leads us to the next issue, CSS. First, the way you write CSS... | {
"domain": "codereview.stackexchange",
"id": 20697,
"lm_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",
"url": null
} |
javascript, memory-management
for (var key in obj) {
self._checkIfNeeded(obj[key])
}
}
}
should be reduced, remove the outside if statement
if (self._isArray(obj)) {
self._logTooBig(obj, obj.length);
for (var i = 0; i < obj.length; i++) {
self._checkIfNeeded(obj[i]);
}
}
else if (s... | {
"domain": "codereview.stackexchange",
"id": 7917,
"lm_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, memory-management",
"url": null
} |
ros, plugin, tutorial, compilation
Title: Impossible to make a plugin with the tutorial
Hi,
I am following the 'Writing and Using a Simple Plugin' tutorial (here) but I can't compile my code. I am on Ubuntu 14.04 and I use ROS indigo. I use C++.
When I use catkin_make the terminal returns :
/home/pierre/catkin_ws/src... | {
"domain": "robotics.stackexchange",
"id": 25072,
"lm_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, plugin, tutorial, compilation",
"url": null
} |
c, windows, winapi
HANDLE hProcess = OpenProcess(PROCESS_TERMINATE,
FALSE,
entry.th32ProcessID);
if (hProcess == NULL) {
fprintf(stderr,
"Error: could not open ... | {
"domain": "codereview.stackexchange",
"id": 39500,
"lm_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, windows, winapi",
"url": null
} |
rotation. Click and drag the red and orange arrows to change the matrix A of the linear transformation. This may require using the 2 nd button, depending on your calculator. The exponential of the block on the right was computed at the end of section 2. Matrix multiplication and composition of linear transformations Se... | {
"domain": "shopnetplus.it",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.986571747626947,
"lm_q1q2_score": 0.801951925875367,
"lm_q2_score": 0.8128673133042217,
"openwebmath_perplexity": 351.95506445665274,
"openwebmath_score": 0.8326934576034546,
"tag... |
security, bash, template, configuration
WEBROOT="/home/leonid/Web/" # root folder where subfolders for virtualhosts created
APACHEHOST="/etc/apache2/sites-available/050-" # prefix for virtualhost config file
A2ENSITE="050-" # short prefix for virtualhost config file
TMPHOST="/tmp/a2host-" # tmp prefix for virtualhost ... | {
"domain": "codereview.stackexchange",
"id": 33677,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "security, bash, template, configuration",
"url": null
} |
ros, planning-scene, arm-navigation, environment-server
Title: Is it possible to configure environment server with empty collision map?
I have a robot with an arm_navigation stack configured to use a collision map, and it works fine. However, if arm_navigation is started with no visible environment obstacles, the env... | {
"domain": "robotics.stackexchange",
"id": 9385,
"lm_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, planning-scene, arm-navigation, environment-server",
"url": null
} |
tensorflow, gan, gpu
Caused by op 'discriminator/concat', defined at:
File "cdcgan.py", line 221, in <module>
D_real, D_real_logits = discriminator(x, y_fill, isTrain)
File "cdcgan.py", line 48, in discriminator
cat1 = tf.concat([x, y_fill], 3) | {
"domain": "datascience.stackexchange",
"id": 10891,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "tensorflow, gan, gpu",
"url": null
} |
robotic-arm, raspberrypi
Originally posted by po1 with karma: 411 on 2013-07-03
This answer was ACCEPTED on the original site
Post score: 2
Original comments
Comment by jmueller on 2013-07-07:
Oh, this looks very promising- I can't believe I did not think about setting up ROS in the chroot environment, but I am insta... | {
"domain": "robotics.stackexchange",
"id": 14513,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "robotic-arm, raspberrypi",
"url": null
} |
ros2
Originally posted by osilva with karma: 1650 on 2021-11-17
This answer was ACCEPTED on the original site
Post score: 1
Original comments
Comment by rkent on 2021-11-17:
Yep that looks like it, thanks! | {
"domain": "robotics.stackexchange",
"id": 37140,
"lm_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
} |
ros, pose, moveit, ros-melodic, tf2
Not taking the inverse.
Using the self.tf2_buffer.transform directly. And afterward setting the pose.header.frame_id to the old frame (Before the transform).
Wrong pose
](/upfiles/15708151267919294.png)
Code
Main code
## Get transform between panda_link8 and gripper centre ##
t... | {
"domain": "robotics.stackexchange",
"id": 33862,
"lm_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, pose, moveit, ros-melodic, tf2",
"url": null
} |
c++, algorithm, graph, time-limit-exceeded, depth-first-search
Just a few words on coding style if I may.
Try to keep the style of the name of variables constant. Leetcode seems to use camelCase, so it's best if you stick to it (so longestPathFrom instead), or switch everything to C style (lowest_path_from).
Try not t... | {
"domain": "codereview.stackexchange",
"id": 18830,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "c++, algorithm, graph, time-limit-exceeded, depth-first-search",
"url": null
... |
newtonian-mechanics, forces, torque
But of course, if there is only water, the bowl is in equilibrium. Therefore, since the situation is dynamically equivalent, the bowl is in equilibrium also with the cube. | {
"domain": "physics.stackexchange",
"id": 81314,
"lm_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, torque",
"url": null
} |
graphics
For this reason, most modern rendering algorithms (well, the ones that attempt to solve Kajiya's rendering equation) actually work in both directions. Photon mapping, bidirectional path tracing, and the Metropolis light transport algorithm (to pick but three) use information both from the camera and the light... | {
"domain": "cs.stackexchange",
"id": 4254,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "graphics",
"url": null
} |
Assuming I get past dividing the region, I dont understand how do I change the limits of integration. If the original function is f(x,y)dxdy, then when the order is changed it will be f(x,y)dydx and the outer limits ( x in this case) will remain constant. But I am unable to get the limits for the 'inner' part(i.e y). I... | {
"domain": "physicsforums.com",
"id": null,
"lm_label": "1. YES\n2. YES\n\n",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.951142217223021,
"lm_q1q2_score": 0.8263778327949787,
"lm_q2_score": 0.8688267830311354,
"openwebmath_perplexity": 209.96306277011948,
"openwebmath_score": 0.7862080931663513,
... |
java, algorithm, breadth-first-search
Title: Breadth-first search in Java: competitive style Here my attempt was to write a graph algorithm the way a competitive programmer would write under time pressure. The problem to solve was to find a shortest path in a directed, unweighted graph using breadth-first search algor... | {
"domain": "codereview.stackexchange",
"id": 34390,
"lm_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, breadth-first-search",
"url": null
} |
## 7 Answers
$$5(\overline{a_1a_2\ldots a_n})=50(\overline{a_1a_2\ldots a_{n-1}})+5a_n=\overline{a_1a_2\ldots a_{n-1}}-2a_n\pmod{7}$$
-
So, 5 is the trick. – zfm Jun 10 '11 at 0:08
@zfm : Yes, the trick relies on $5*10 \equiv 1 \mod 7$. Similarly, you could use the same idea to derive a criterion of divisibility by ... | {
"domain": "stackexchange.com",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9843363485313247,
"lm_q1q2_score": 0.8265806694502121,
"lm_q2_score": 0.83973396967765,
"openwebmath_perplexity": 305.4411145099351,
"openwebmath_score": 0.7941253781318665,
"tags"... |
mechanical-engineering, structural-engineering, statics, finite-element-method, mechanical
Title: How to find clamping force from bolt preload? If I have a piece of rubber between two steel plates, and four bolts (at equal preload) compressing the plates, will the total compressive force on the rubber be Preload x 4? ... | {
"domain": "engineering.stackexchange",
"id": 4383,
"lm_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, statics, finite-element-method,... |
Mit Physics Phd Requirements, Sk Blue Granite Orissa, Kribensis Fry In Community Tank, Kanha Gummies Reviews, Roger Waters Is This The Life We Really Want?, Anthony Zee Inspire, Black Hat Ppc Techniques, | {
"domain": "acrylatex.com",
"id": null,
"lm_label": "1. Yes\n2. Yes",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9929882037884927,
"lm_q1q2_score": 0.8118418061651002,
"lm_q2_score": 0.817574471748733,
"openwebmath_perplexity": 451.8272016927636,
"openwebmath_score": 0.9134458303451538,
"tags": n... |
homework-and-exercises, newtonian-mechanics, classical-mechanics
Title: Power and speed I'm asked to calculate how much POWER a 1210kg car needs to drive with a 85 km/s speed up a 655 meter long slope of 4.5°. I can find how much energy and work is required to do this, but isn't POWER=WORK over TIME? I don't have any ... | {
"domain": "physics.stackexchange",
"id": 11999,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "homework-and-exercises, newtonian-mechanics, classical-mechanics",
"url": null
} |
c, strings, pointers, vigenere-cipher
Provide break for each case
Your error handler includes code like this:
switch(argIndex){
case 0:
printf("Error: Incorrect number of arguments received.\n\tPlease try again using the correct number of args.\n");
case 1: | {
"domain": "codereview.stackexchange",
"id": 29501,
"lm_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, pointers, vigenere-cipher",
"url": null
} |
electromagnetism, voltage, superconductivity, energy-storage
1 P. Tixador, "Superconducting Magnetic Energy Storage: Status and
Perspective", IEEE/CSC & ESAS EUROPEAN SUPERCONDUCTIVITY NEWS FORUM, No. 3, January 2008. Normally a superconducting magnet (a coil) is closed. If a resistor is connected at two points on th... | {
"domain": "physics.stackexchange",
"id": 74069,
"lm_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, voltage, superconductivity, energy-storage",
"url": null
} |
## Wednesday, July 3, 2013
### Robinson Arithmetic captures the "less-than-or-equal-to" relation
In this post, we'll start discussing the material in Chapter 9 of Peter Smith's book, namely up to section 9.3.
Before proceeding, review the definition of Robinson Arithmetic (denoted Q) as well as what it means for a t... | {
"domain": "blogspot.my",
"id": null,
"lm_label": "1. YES\n2. YES",
"lm_name": "Qwen/Qwen-72B",
"lm_q1_score": 0.9907319855244919,
"lm_q1q2_score": 0.8572051749767012,
"lm_q2_score": 0.865224084314688,
"openwebmath_perplexity": 587.8367039734752,
"openwebmath_score": 0.7829540371894836,
"tags": nul... |
nomenclature, research-process
Specific continent.
A feature that hasn't been used yet.
The discoverers name.
etc.
Already it's kind of brittle feeling.
Now let's say we discover a new species in the genus again. But this one is really really yellow. Way more yellow than the previous one we called yellow. And that is... | {
"domain": "biology.stackexchange",
"id": 9066,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "nomenclature, research-process",
"url": null
} |
ros, message-filter
Title: how to publish topics while using messagefilter?
Hi,
I am using an LRF and a servo for my application and need to synchrnize the position of servo and laser data in time. I looked into message_filter and trying to play with it. I was wondering whether ApproximateTime synchronizer publishes ... | {
"domain": "robotics.stackexchange",
"id": 29257,
"lm_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, message-filter",
"url": null
} |
urdf, xacro
log file: /home/roque/.ros/log/7db1f390-4d13-11e5-9277-94dbc9b65860/robot_state_publisher-3*.log
Traceback (most recent call last):
File "/opt/ros/indigo/lib/joint_state_publisher/joint_state_publisher", line 343, in <module>
jsp = JointStatePublisher()
File "/opt/ros/indigo/lib/joint_state_publish... | {
"domain": "robotics.stackexchange",
"id": 22539,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "urdf, xacro",
"url": null
} |
data-structures, linked-lists
I'm wondering what kind of list is that because I can't use it for index based access. All other basic implementations I've seen provide index based access.
When searching for an item, their implementation shows direct object comparison:
list *search_list(list *l, item_type x)
{
if (... | {
"domain": "cs.stackexchange",
"id": 8933,
"lm_label": null,
"lm_name": null,
"lm_q1_score": null,
"lm_q1q2_score": null,
"lm_q2_score": null,
"openwebmath_perplexity": null,
"openwebmath_score": null,
"tags": "data-structures, linked-lists",
"url": null
} |
electromagnetism, magnetic-fields
$F = qvBsin 90 = qvB$
The direction of this force is given by the right hand palm rule. Suppose your four fingers (other than the thumb) point in the direction of the applied magnetic field. Let the thumb point in the direction of the velocity of the positive charge. Then the force ... | {
"domain": "physics.stackexchange",
"id": 30156,
"lm_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
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.