text
stringlengths
1
1.11k
source
dict
c#, algorithm Title: Airline seating algorithm: how to seat a passenger in mirror image to previous allocated seat I have a seat allocation algorithm for an airplane 30 x 6 seats. The plane is 'split' front (1 - 15) and back (16 -30), right (A,B,C) and left (D,E,F). I am placing passengers in window seats front right ...
{ "domain": "codereview.stackexchange", "id": 12833, "lm_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", "url": null }
mechanical-engineering, combustion, diesel Title: Does a diesel-like (ignition by compression) engine running on gaseous fuel exist? I think, it could lead to, for example, very environment friendly and very efficient urban traffic. But I also think, it required very precise part construction. Do such things exist? At...
{ "domain": "engineering.stackexchange", "id": 623, "lm_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, combustion, diesel", "url": null }
# To prove an elementary statement I have an elementary doubt, Sorry for disturbing you all. I have a statement of this sort. $$r^2-1=p^a(f(p))=(r+1)(r-1). \tag{1}$$ Where $r$ is an even number, and $p$ is an odd prime. $f(p)$ is a degree $n$ polynomial in $p$ with integer coefficients ( Courtesy : André Nicolas ) , $...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9859363710972001, "lm_q1q2_score": 0.8237336107219587, "lm_q2_score": 0.8354835411997897, "openwebmath_perplexity": 270.5615808290201, "openwebmath_score": 0.9147803783416748, "tag...
c, object-oriented, array I would like to know if there are any flaws in the style of implementing the abstract data type of the dynamically expanding array. My 2 cents: I believe createDynArray should return something. The returned value of createDynArray might have a special value of NULL in case that one of the ma...
{ "domain": "codereview.stackexchange", "id": 2420, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c, object-oriented, array", "url": null }
electromagnetism, charge So, net charge between the ball and the plate = $0+(-x) = 0-x = (-x)$ $e$, so after contact, both of them will have a charge of $\Big (\dfrac {-x}{2} \Big )$ $e$. And then, the ball would move towards the metallic plate on the right with a charge of $\Big (\dfrac {-x}{2} \Big )$ $e$ because th...
{ "domain": "physics.stackexchange", "id": 67521, "lm_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, charge", "url": null }
Conversely, suppose that $T$ is an invertible positive operator. We show that $\langle \cdot,\cdot\rangle_T$ is an inner product on $V$ by checking definition 6.3. Positivity: Note that $T$ is positive, we have $$\langle v,v\rangle_T=\langle Tv,v\rangle \geqslant 0.$$ Definiteness: If $v=0$, then $$\langle v,v\rangle_...
{ "domain": "linearalgebras.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9859363754361599, "lm_q1q2_score": 0.8060764113250789, "lm_q2_score": 0.817574471748733, "openwebmath_perplexity": 280.0290386114009, "openwebmath_score": 0.9965819120407104, "tag...
ros, gazebo7, ros-kinetic, gazebo-ros-control (1) At present I can use a velocity controller, monitor the position, and then stop at some desired point/position to mimic my physical system. Is there some other way? (2) How do I write code that can run on both my physical machine and the Gazebo simulation? Any tips? I ...
{ "domain": "robotics.stackexchange", "id": 34421, "lm_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, gazebo7, ros-kinetic, gazebo-ros-control", "url": null }
c, linked-list, console, database, edit-distance /******************************************************************************* * Returns a C string representing the full path to the telephone book record * * file. * ***************************...
{ "domain": "codereview.stackexchange", "id": 22181, "lm_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, linked-list, console, database, edit-distance", "url": null }
newtonian-mechanics, classical-mechanics, rotation Let us take the group $SE(3)$ the special Euclidean group in three dimensions. Here we will denote group multiplication as $(\tilde{\mathcal O},\tilde{r})(\mathcal O,r)=(\tilde{\mathcal O}\mathcal O,\tilde{\mathcal O}r+\tilde{r})$. Translations in the subgroup $\mathb...
{ "domain": "physics.stackexchange", "id": 27002, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "newtonian-mechanics, classical-mechanics, rotation", "url": null }
standard-model, collision, accelerator-physics, quarks, experimental-technology Although the results have yet to be independently verified as of February 2010, scientists at Brookhaven RHIC have tentatively claimed to have created a quark-gluon plasma with an approximate temperature of 4 trillion degrees Celsius.[4] A...
{ "domain": "physics.stackexchange", "id": 3881, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "standard-model, collision, accelerator-physics, quarks, experimental-technology", ...
java, algorithm break; } } if (!isSlotAvailable) { final TimeSlot newSlot = new TimeSlot(slots.size()); newSlot.addModule(module); slots.add(newSlot); } } return slots.toString(); }
{ "domain": "codereview.stackexchange", "id": 30678, "lm_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", "url": null }
general-relativity, newtonian-gravity, inertial-frames, free-fall, equivalence-principle He illustrates this by saying that an apple in free-fall is an inertial frame while the surface of the earth is not, and really it is the surface that is accelerating upwards relative to the apple. This leads me to think about the...
{ "domain": "physics.stackexchange", "id": 66870, "lm_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, newtonian-gravity, inertial-frames, free-fall, equivalence-pri...
buoyancy, fluid-statics Title: buoyant force basics If I consider a system give like this
{ "domain": "physics.stackexchange", "id": 45949, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "buoyancy, fluid-statics", "url": null }
electromagnetism, electromagnetic-radiation Title: Skin depth and cross section area I am really confused by a paragraph i am reading about skin depth. It gives the example of a conducting strip with height $a$, length $L$ and thickness $d$. It states that for a direct current the area for the resistance is $A = ad$ g...
{ "domain": "physics.stackexchange", "id": 87596, "lm_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, electromagnetic-radiation", "url": null }
I remark that one can use Solve instead to get an exact solution. It will in general be long and probably not of great interest to look at. - re hair: Pics or it didn't happen. –  Yves Klett Oct 13 '13 at 13:45 @Yves Klett I also have new glasses. You'd hardly recognize me. –  Daniel Lichtblau Oct 13 '13 at 15:21 InSp...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.97112909472487, "lm_q1q2_score": 0.8175213748778275, "lm_q2_score": 0.8418256432832332, "openwebmath_perplexity": 4465.657842382342, "openwebmath_score": 0.2686893045902252, "tags"...
strings, powershell [string] $OutputDirectory, [string] $BasePath, [ValidateSet("normal", "quiet", "detailed", IgnoreCase = $true)] [string] $Verbosity, [switch] $Symbols ) # format parameters for NuGet.exe If ($BasePath) { $basePathParam = "-BasePath ""$BasePath"...
{ "domain": "codereview.stackexchange", "id": 7089, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "strings, powershell", "url": null }
Yes, it's rather trivial. You might note the following fact: if $f$ is measurable, $\mu$ is complete, and $f = g$ $\mu$-a.e., then $g$ is measurable. This is valid for functions from any complete measure space to any other measurable space. (Proving it is a good exercise.) Essentially, when you have a complete measure,...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9833429604789206, "lm_q1q2_score": 0.8062363358866029, "lm_q2_score": 0.8198933315126791, "openwebmath_perplexity": 96.80433963027328, "openwebmath_score": 0.9709847569465637, "tag...
c#, inheritance, unity3d Keep self-initialisation code in Awake, because that's where Unity developers would expect it, and it also ensures that the component is usable as soon is its game object is active. (As opposed to putting initialisation code in Start for example, which wouldn't happen until the next frame, or ...
{ "domain": "codereview.stackexchange", "id": 30986, "lm_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#, inheritance, unity3d", "url": null }
thermodynamics, temperature, entropy But how can this be so? Surely every increase of say $1\text{ K}$ increases the number of available microstates by the same multiplicative factor, and thus the same additive amount of entropy? Edit: I've been reading a text which states quite clearly that $\frac{\partial\log{\Omega...
{ "domain": "physics.stackexchange", "id": 18935, "lm_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, temperature, entropy", "url": null }
java, programming-challenge private TestCase(String courseData, String studsData) { /*This is the "power" but also "the weakness" of this approach: It does everything (possible) in one loop/line/routine - it saves lines of code (and maybe little exec. time)! But it is less flexible...
{ "domain": "codereview.stackexchange", "id": 12917, "lm_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, programming-challenge", "url": null }
javascript, ecmascript-6, event-handling, dom, animation .joy__left { background-image: url('https://raw.githubusercontent.com/baeharam/Redvelvet-Fansite/master/images/photo-joy1.jpg'); } .joy__right { background-image: url('https://raw.githubusercontent.com/baeharam/Redvelvet-Fansite/master/images/photo-joy2.jpg'); }...
{ "domain": "codereview.stackexchange", "id": 35537, "lm_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, ecmascript-6, event-handling, dom, animation", "url": null }
python, pdb, rna pdb = PDBParser().get_structure("2bh2", "pdb2bh2.ent") io = PDBIO() io.set_structure(pdb) io.save("seqprotest.pdb", ProtSelect()) io.save("seqRNAtest.pdb", RNASelect()) EDIT: I managed to do it: class RNASelect(Select): def accept_residue(self, residue): return 1 if ((residue.id[0] != 'H_...
{ "domain": "bioinformatics.stackexchange", "id": 1046, "lm_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, pdb, rna", "url": null }
forces, classical-mechanics, energy Title: Length of supporting ropes in a two-pulley system
{ "domain": "physics.stackexchange", "id": 74739, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "forces, classical-mechanics, energy", "url": null }
makefile, kernel all default target Variables definitions "Functions"/macros definitions Files declarations What I'd like to know is: What would you do differently (apart from "use $(YOUR_PREFERRED_MAKE_GENERATOR) instead")? Is there anything that seems wrong/hardly maintainable? Is this Makefile easily modifiable t...
{ "domain": "codereview.stackexchange", "id": 41828, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "makefile, kernel", "url": null }
general-relativity, gravity, spacetime, quantum-spin, interactions Title: Why is the gravitational force always attractive? Why is the gravitational force always attractive? Is there another way to explain this without the curvature of space time? PS: If the simple answer to this question is that mass makes space-tim...
{ "domain": "physics.stackexchange", "id": 99153, "lm_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, spacetime, quantum-spin, interactions", "url": null...
java, optimization, database After you set IsGood = true, add a break; IsGood is a bad name for 2 reasons: Variables should be camelCase It doesn't explain it self foundMatch would make more sense. Simplify and clean up removeObject The "file clearer" is completely pointless. Instead of this: BufferedWriter filecle...
{ "domain": "codereview.stackexchange", "id": 9647, "lm_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, database", "url": null }
ruby If given a Regexp, .try_convert will return it. If given an object that responds to #to_regexp, .try_convert will return the result of that method. Otherwise, it returns nil. Consider allowing procs It's trivial to allow the caller to pass in a callable object, such as a method: counter = Counter.new("That was ...
{ "domain": "codereview.stackexchange", "id": 7499, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "ruby", "url": null }
I solved it again in high school when quadratic equation is discussed: $x+y=4 \implies y =4-x$ $z=x^2+y^2 \implies z = x^2+(4-x)^2 \implies 2x^2-8x+16-z=0$ $\Delta = 64-4 \cdot 2\cdot (16-z) \ge 0 \implies z \ge 8\implies z_{min} = 8$ In my freshman calculus class, I solved it yet again: $x+y=4 \implies y=4-x$ $z...
{ "domain": "wordpress.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9857180656553328, "lm_q1q2_score": 0.81268701314862, "lm_q2_score": 0.8244619242200082, "openwebmath_perplexity": 874.8258982034189, "openwebmath_score": 0.8976935148239136, "tags": nu...
c#, wpf, rubberduck, xaml <WrapPanel> <controls:LinkButton Margin="4" Visibility="{Binding CanExecuteIndenterCommand, Converter={StaticResource BoolToVisibility}, UpdateSourceTrigger=PropertyChanged}" Command="{Binding IndenterCommand}" ...
{ "domain": "codereview.stackexchange", "id": 20242, "lm_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#, wpf, rubberduck, xaml", "url": null }
(B) Estimation by the Error Principle. We calculate p1(9. 2) = 2 (B) Estimation by the Error Principle. We calculate p1(9.2) = as before and then p2(9.2) as in Example 2 but with 5D, obtaining The difference p2(9.2) – p1(9.2) = is the approximate error of p1(9.2) that we wanted to obtain; this is an approximation of th...
{ "domain": "slideplayer.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9927672374804856, "lm_q1q2_score": 0.8022226552973304, "lm_q2_score": 0.8080672135527632, "openwebmath_perplexity": 1697.246070172658, "openwebmath_score": 0.8605360388755798, "tags"...
ros, catkin, service, rosservice, ros-groovy Originally posted by fmarques on ROS Answers with karma: 92 on 2013-03-13 Post score: 0 The other machine needs to know the service definition as well. Originally posted by dornhege with karma: 31395 on 2013-03-14 This answer was ACCEPTED on the original site Post score: ...
{ "domain": "robotics.stackexchange", "id": 13357, "lm_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, service, rosservice, ros-groovy", "url": null }
general-relativity, black-holes, coordinate-systems, event-horizon, geodesics For ingoing geodesic the affine parameter $\tau \in (-\infty$,$+\infty$) generates geodesic $r(\tau)\in (+\infty,~ r_{s})$. Thus, Schwarzschild vacuum solution represents a geodesically complete manifold with null geodesics that never cross ...
{ "domain": "physics.stackexchange", "id": 94737, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "general-relativity, black-holes, coordinate-systems, event-horizon, geodesics", ...
When searching graphs, there are two easy algorithms: breadth-first and depth-first (Usually done by adding all adjactent graph nodes to a queue (breadth-first) or stack (depth-first)). Now, are ... 14k views How can we assume that basic operations on numbers take constant time? Normally in algorithms we do not care ...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9433475715065793, "lm_q1q2_score": 0.8036876067750314, "lm_q2_score": 0.8519528019683105, "openwebmath_perplexity": 925.1388511953751, "openwebmath_score": 0.6425694227218628, "tag...
Proof (by contradiction) Assume that $\lim_{x \to 1^-} f(x)=L$ with $L\not=2$. Then for every $\epsilon>0$ there exists $\delta>0$ such that for all x with $0<1-x<\delta$: $|f(x)-L|<\epsilon$. Since $\forall n\in\mathbb{N}:v_n<1$ and $v_n\rightarrow 1$ (as $n\rightarrow\infty$) there exists $N_1\in\mathbb{N}$ such that...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9621075755433747, "lm_q1q2_score": 0.8099268305984559, "lm_q2_score": 0.8418256452674008, "openwebmath_perplexity": 138.46473550155463, "openwebmath_score": 0.9756125211715698, "ta...
page on the chain rule. Exponents quotient rules Quotient rule with same base. Now we can apply the power rule instead of the quotient rule: \begin{align}g^{\prime}(x) &= \left(\dfrac{1}{5}x^{-2} – \dfrac{1}{5}\right)^{\prime}\\ &= \dfrac{-2}{5}x^{-3}\\ &= \boxed{\dfrac{-2}{5x^3}}\end{align}. Try the free Mathway calcu...
{ "domain": "laurentbompard.com", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9591542829224748, "lm_q1q2_score": 0.80135761292398, "lm_q2_score": 0.8354835371034369, "openwebmath_perplexity": 793.3395182882508, "openwebmath_score": 0.899865448474884, "t...
optics, material-science, microscopy Title: Look of steel under a microscope Short question: Why is it that steel looks grey/silver on a macroscopic scale, whereas under a light microscope it appears white, yellow or brownish? (C. f. https://de.wikipedia.org/wiki/Perlit_(Stahl)#/media/Datei:Perlit07.png or https://de....
{ "domain": "physics.stackexchange", "id": 73379, "lm_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, material-science, microscopy", "url": null }
n <- 1e4 n.sample <- 6 # One larger than the number of beeps # # Generate data. # This is a fast way to generate uniform[0,1] order statistics, # avoiding an explicit sorting operation. # x <- matrix(rexp(n*n.sample), nrow=n.sample) # IID exponential x <- apply(x, 2, function(y) cumsum(y)) x <- t(x) / x[n.s...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.976669234586964, "lm_q1q2_score": 0.841437867044612, "lm_q2_score": 0.8615382129861583, "openwebmath_perplexity": 2593.037301965224, "openwebmath_score": 0.6912132501602173, "tags"...
electrostatics, gauss-law Title: The electric field from an infinite plate without using Gauss's law Using Gauss's law it is quite straightforward, but how to do it without using it? My idea is to calculate the potential $$V(r)=\int \frac{\sigma }{r}da$$ and then calculate the gradient, but I don't know how to begin. ...
{ "domain": "physics.stackexchange", "id": 42557, "lm_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, gauss-law", "url": null }
c#, xml, winforms, serialization CreateUserSetting(newSetting); } private static string UserConfig { get { string configDirectory = new Uri(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\CVS\\ICMQuery").LocalPath; return new Uri(configDirec...
{ "domain": "codereview.stackexchange", "id": 8541, "lm_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#, xml, winforms, serialization", "url": null }
homework-and-exercises, general-relativity Title: Effect of a rotating disk on a grandfather clock The question is as follows: A grandfather clock is placed on a rotating disk. Given the disk rotates once every minute, how long does it take for the clock to be one second out? Am I correct in thinking that the clock wi...
{ "domain": "physics.stackexchange", "id": 20141, "lm_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, general-relativity", "url": null }
vba, excel 'End If Dim lastcell As Range Dim wsStore As Worksheet Set wsStore = ThisWorkbook.Worksheets("Store") Set lastcell = wsStore.Cells(wsStore.Rows.Count, 1).End(xlUp) With ThisWorkbook.Worksheets("Sheet1").Range("F2") 're-set F2 when last cell of the Store sheet is no longer...
{ "domain": "codereview.stackexchange", "id": 44303, "lm_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 }
python, algorithm, homework, ai, sliding-tile-puzzle estadoN[ind] = temp return estadoN else: # No se puede mover (None es el NULL de Python) return None elif dire == 2: # Revisamos si es posible trabajar hacia la izquierda, estos valores if ind not in [0...
{ "domain": "codereview.stackexchange", "id": 19188, "lm_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, algorithm, homework, ai, sliding-tile-puzzle", "url": null }
c#, object-oriented, bitwise Title: Console app to teach bitwise operators I'm creating a console app that has the purpose to teach you how to use C# bitwise operators. I have several classes which contain info about the different operators and I instantiate/add them in the main class like this: var trainingDefinition...
{ "domain": "codereview.stackexchange", "id": 19330, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "c#, object-oriented, bitwise", "url": null }
c#, wpf, linq-expressions { case OrderBy.Name: colView.SortDescriptions.Clear(); colView.SortDescriptions.Add(new SortDescription("Name", ListSortDirection.Ascending)); break; case OrderBy.Rating: colView.SortDescriptions.Clear(); colView.Sort...
{ "domain": "codereview.stackexchange", "id": 26504, "lm_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#, wpf, linq-expressions", "url": null }
algorithms, algorithm-analysis, quicksort, divide-and-conquer, selection-problem Any Insights will be appreciated. Hint: Suppose $k$ is a power of two at first, for simplicity. Find the $n/2$th element in the array. Then.... (you fill in the next part)
{ "domain": "cs.stackexchange", "id": 21798, "lm_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, algorithm-analysis, quicksort, divide-and-conquer, selection-problem", "u...
GMAT Question of the Day - Daily to your Mailbox; hard ones only It is currently 15 Oct 2019, 14:20 ### GMAT Club Daily Prep #### Thank you for using the timer - this advanced tool can estimate your performance and suggest more practice questions. We have subscribed you to Daily Prep Questions via email. Customize...
{ "domain": "gmatclub.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9518632288833653, "lm_q1q2_score": 0.832001982479805, "lm_q2_score": 0.8740772384450968, "openwebmath_perplexity": 1930.506441581238, "openwebmath_score": 0.7060635685920715, "tags": nu...
javascript, memory-management, datetime, animation A new alternative is window.requestAnimationFrame(), which is less resource-intensive, disabled on page blur, and does not slow down other stuff. This makes it the perfect substitute for a modern setTimeout() and setInterval(). Description These functions use requestA...
{ "domain": "codereview.stackexchange", "id": 7204, "lm_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, datetime, animation", "url": null }
c#, beginner, programming-challenge The algorithm Your approach works, but it's not the easiest approach. If I put your approach into words: Add every multiple of 3 to the sum. Also add the multiple of 5, but only if it's still below 1000, and it's not already divisble by 3. The issue here is in how you handle the m...
{ "domain": "codereview.stackexchange", "id": 35037, "lm_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, programming-challenge", "url": null }
quantum-field-theory, special-relativity, inertial-frames, fourier-transform, klein-gordon-equation In my course we have rewritten it as $$\phi (x) = \int \frac{d^3p}{(2\pi)^3 2E_p} [\alpha(p) e^{-ipx}+ \alpha(p)^\dagger e^{(ipx)}], $$ where $\alpha(p) = \sqrt{2E_p}$. So, the effect of a Lorentz transformation is $\ph...
{ "domain": "physics.stackexchange", "id": 85586, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "quantum-field-theory, special-relativity, inertial-frames, fourier-transform, klei...
continuum-mechanics PS: my original question has an error in equations that led to an incorrect interpretation of physical behavior. The correct equation for 2D plane stress is: \begin{equation} K = \begin{array}{ll} \frac{E_Y}{2(1-2\nu)} & \mbox{for 2D plane stress} \end{array} \end{equation} Wit...
{ "domain": "physics.stackexchange", "id": 60736, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "continuum-mechanics", "url": null }
• @Snoop If any of these measure-theoretic concepts are unfamiliar, my best advice is invest in an analysis book. Two good options are Real & Complex Analysis by Walter Rudin or Real Analysis: Modern Techniques and Their Applications by Gerald B. Folland. They are written for a graduate student in math and assume basic...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9873750507184357, "lm_q1q2_score": 0.8488105392605297, "lm_q2_score": 0.8596637505099168, "openwebmath_perplexity": 206.97597023424953, "openwebmath_score": 0.9482621550559998, "ta...
speed-of-light, space-expansion, universe, observable-universe Title: Why can't we see past the observable universe? Why can't we see light from beyond the observable universe? I've done a lot of research on this and all I've found is unsatisfactory answers and straight up nonsense. Some claim that the universe "expan...
{ "domain": "physics.stackexchange", "id": 98374, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "speed-of-light, space-expansion, universe, observable-universe", "url": null }
biochemistry, medicine, medicinal-chemistry Title: Why is methanol poisonous? What should we do when someone is diagnosed with the methanol poisoning What harm does methanol cause on our body, such as the harm to some proteins? What first-aid measures should we take? Methanol is highly toxic in humans. As little as 10...
{ "domain": "biology.stackexchange", "id": 7115, "lm_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, medicine, medicinal-chemistry", "url": null }
electricity, electric-circuits Where's the loop in my argumentation, or am I just right? In idealistic schematics of circuit theory conductors with no voltage drop guide electrons to and from the elements. Electrons don't lose or gain speed here, that is they obey Newton's first law. In resistors there is an accelerat...
{ "domain": "physics.stackexchange", "id": 8336, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "electricity, electric-circuits", "url": null }
ros, ide, clion, ros-kinetic CLion should work properly now. Always start CLion from terminal unless you changed the .desktop file! Rename Project/Workspace: At the restart of CLion the Project will be shown at the recent projects with the name "src". The project/workspace can be renamed by renaming the <your workspac...
{ "domain": "robotics.stackexchange", "id": 30237, "lm_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, ide, clion, ros-kinetic", "url": null }
beginner, haskell, file-system -- | The name of the folder containing the file, without its parent folders. bottomFolder :: FilePath -> String bottomFolder path = last $ splitOn "\\" $ takeDirectory path -- | A list of all unique directory names which appear in the list of videos. getDirectories :: [Video] -> [String...
{ "domain": "codereview.stackexchange", "id": 31522, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "beginner, haskell, file-system", "url": null }
• what is the relevance of $C$ in your problem? – ZeroTheHero Jan 8 '17 at 1:50 • well the first part of the question asked what are the possible values resulting from measurement of C and with what probabilities. that was simple enough – Blitz Jan 8 '17 at 2:12
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.975576912786245, "lm_q1q2_score": 0.8065209314930665, "lm_q2_score": 0.8267117855317474, "openwebmath_perplexity": 240.49646344915672, "openwebmath_score": 0.9735682606697083, "tag...
gazebo, ubuntu, ros-fuerte, rosmake, ubuntu-precise [rosmake-2] Finished <<< std_msgs ROS_NOBUILD in package std_msgs No Makefile in package std_msgs [rosmake-2] Starting >>> roslib [ make ] [rosmake-3] Finis...
{ "domain": "robotics.stackexchange", "id": 9517, "lm_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, ubuntu, ros-fuerte, rosmake, ubuntu-precise", "url": null }
javascript, html, css, html5 You are using width > 249 and width > 499. Consider using width >= 250 and width >= 500 so the numbers match the clause above. This is particularly useful if you are using with floating point numbers rather than integers. Blasphemy Your description meta-tag says "SigmaCubes is the best web...
{ "domain": "codereview.stackexchange", "id": 30370, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "javascript, html, css, html5", "url": null }
quantum-field-theory, quantum-electrodynamics, renormalization, propagator Cancel those divergences by choosing the counter-term $Z_3$ appropriately. Finiteness of the loop-corrected photon propagator implies that there will be a contribution in the counter term $\mathcal{O}(\varepsilon^{-1})$ to cancel the divergent ...
{ "domain": "physics.stackexchange", "id": 95453, "lm_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, quantum-electrodynamics, renormalization, propagator", "ur...
here is a picture: When x>0 and y>0, the function y = f(x) = x 2 is bijective, in which case it has an inverse, namely, f-1 (x) = x 1/2 Now we see further examples. Part (a) follows from theorems 4.3.5 Y X The figure shown below represents a one to one and onto or bijective function. A function f: A → B is: 1. injectiv...
{ "domain": "boomingacademy.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9525741254760638, "lm_q1q2_score": 0.8019013259538508, "lm_q2_score": 0.8418256432832333, "openwebmath_perplexity": 595.4966914799656, "openwebmath_score": 0.9115529656410217, "ta...
erlang reducer( { Key, [Cnt] }, Dictionary ) -> case dict:is_key( Key, Dictionary ) of true -> dict:store( Key, dict:fetch( Key, Dictionary ) + Cnt, Dictionary ); false -> dict:store( Key, Cnt, Dictionary ) end. readlines(FileName) -> {ok, Device} = file:open(FileName, [read]), ...
{ "domain": "codereview.stackexchange", "id": 264, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "erlang", "url": null }
electromagnetism, electric-fields, magnetic-fields note that a net force of zero doesnt mean that the electrons are all spread out normally, it just means they stopped moving (no net force, no acceleration). where they stopped is a matter of how strong the Lorentz force (how fast the rod is being moved) is. the higher...
{ "domain": "physics.stackexchange", "id": 9666, "lm_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, electric-fields, magnetic-fields", "url": null }
In a similar vein, I see no problem with teaching the "SOHCAHTOA" approach to trigonometry, either. While that is perfectly adequate for calculating many trig functions of well-established ratios, it is somewhat inadequate for calculating the values of the *continuous* function $\sin(x)$, and when one acquires the math...
{ "domain": "mathhelpboards.com", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9825575147530351, "lm_q1q2_score": 0.8654337848652092, "lm_q2_score": 0.8807970748488297, "openwebmath_perplexity": 484.89271278881665, "openwebmath_score": 0.8424057364463806, ...
is that it doesn't give the desired output to the above-mentioned input. Whereas the correct answer is 3 + 3. Each step it chooses the optimal choice, without knowing the future. , Sm} valued coins. 22-23 of the slides), and suppose the available coin denominations, in addition to the quarters, dimes, nickels, and penn...
{ "domain": "incommunity.it", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9886682458008671, "lm_q1q2_score": 0.8983216524778994, "lm_q2_score": 0.9086178870347122, "openwebmath_perplexity": 631.4589835219829, "openwebmath_score": 0.6997814178466797, "ta...
php, object-oriented, exception, error-handling You don't know what code is going to handle the problem. Returning an error-indicator is all well and good, provided that return value is caught, and indeed returned all the way through to the code that will eventually deal with it. An exception just keeps going until it...
{ "domain": "codereview.stackexchange", "id": 7050, "lm_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, exception, error-handling", "url": null }
structural-engineering Location and angle of orientation of the building with respect to sun rays, wind direction and snow drift. The climate. Moderate Climate gives flexibility to have more surface to take advantage of natural light. The extreme conditions the building envelope will likely be exposed to.
{ "domain": "engineering.stackexchange", "id": 2870, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "structural-engineering", "url": null }
python, python-3.x, networking # Create a list of domains currently in the user's hosts file def get_cur_dmns(hosts_dir): os.chdir(hosts_dir) dmns = set() hosts_file = open('hosts', 'r') for entry in hosts_file: if entry.startswith(('0.0.0.0', '127.0.0.1')): dmns.add(entry.split()[1...
{ "domain": "codereview.stackexchange", "id": 14636, "lm_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, networking", "url": null }
c++ Hardware deficiencies A more stable algorithm will fix the cases where no configuration was found; but for some worst-case values like 1836 Hz nothing can be done because the hardware doesn't have very good resolution. 1836 is in fact not a coincidence; it's the average of the gap between the second and third rang...
{ "domain": "codereview.stackexchange", "id": 41954, "lm_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 }
machine-learning, python, neural-network, classification, supervised-learning Which basically takes each string, converts it into vectors of numbers, converts these to one-hot encoding and feeds them to a recurrent network (plus an output layer). In this particular case it pads the strings with null characters at the ...
{ "domain": "datascience.stackexchange", "id": 3563, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "machine-learning, python, neural-network, classification, supervised-learning",...
plt.plot(g_x, g_kde_values, label="scipy") plt.plot(x, kde, "o", label="by hands") plt.legend(); There are several methods embedded in the gaussian_kde class in order to integrate or sample using the new kernel. Depending on the bw_method argument, the class can compute an estimator of the bandwidth which could be o...
{ "domain": "gitlab.io", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9752018434079934, "lm_q1q2_score": 0.8018003514661395, "lm_q2_score": 0.8221891261650248, "openwebmath_perplexity": 6749.983393401551, "openwebmath_score": 0.5839259624481201, "tags": null...
mobile-robot So, why there is no real robot in our day to day life? No investment in the domain? No market yet? Not enough knowledge in the domain? A missing technology? Any idea? First of all, everything is not as perfect as you think. A lot of algorithms (AI included) work well in theory, but in practice there are w...
{ "domain": "robotics.stackexchange", "id": 922, "lm_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", "url": null }
- Sorry, I'm afraid I'm going to need a bit more of a push. I can't think of how/where to use your hint. Am I supposed to say that $a_n=1+\frac{1}{2^2}+\frac{1}{3^2}+{…}+\frac{1}{n^2}\leq 1+\frac{1}{2^2}+\frac{1}{3^2}+{…}+\frac{1}{n-1}-\frac{1}{n}$ and do something further with that? –  user66807 Mar 18 '13 at 4:02 try...
{ "domain": "stackexchange.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9748211582993981, "lm_q1q2_score": 0.8648658184177647, "lm_q2_score": 0.8872046026642944, "openwebmath_perplexity": 359.25799202759464, "openwebmath_score": 0.9259559512138367, "ta...
physical-chemistry, gas-laws, pressure The molar mass of this $\ce{CO2}$ is: $$M = \frac{m}{n} = \frac{0.2227\ \mathrm g}{4.956\times10^{-3}\ \mathrm{mol}}= 44.8\ \mathrm{g/mol}$$ This is nearly the expected value for the molar mass of $\ce{CO2}$. If you take into account the fact that the volume $122\ \mathrm{mL}$ is...
{ "domain": "chemistry.stackexchange", "id": 14469, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "physical-chemistry, gas-laws, pressure", "url": null }
electromagnetism, differential-geometry, metric-tensor, coordinate-systems, vector-fields I have read the reason in classical mechanics these labels does not appear since both of the are the same, but I still see they transform differently, therefore they should be mentioned somehow. I would like to see your clarifica...
{ "domain": "physics.stackexchange", "id": 58552, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "electromagnetism, differential-geometry, metric-tensor, coordinate-systems, vector...
# Find the image: F: N * N -> R , F(x) = m^2 + 2n #### KOO ##### New member F:N*N -> R, F(x) = m^2 + 2n I think the answer is N. Am I right? #### Chris L T521 ##### Well-known member Staff member I think the answer is N. Am I right? Based on your title, we have that $F:\mathbb{N}\times\mathbb{N}\rightarrow \mathbb...
{ "domain": "mathhelpboards.com", "id": null, "lm_label": "1. YES\n2. YES", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9875683469514965, "lm_q1q2_score": 0.8934042404998782, "lm_q2_score": 0.9046505421702797, "openwebmath_perplexity": 214.78032173086706, "openwebmath_score": 0.8860371112823486, "t...
file-system, windows, powershell, active-directory # Create initial ACE # Create the initial Object # Set domain - This could also be changed to prompt for domain if we decide it is needed # Define local Administrators group by Well Known SID # Set additional ACEs for the new AD File Share Groups #...
{ "domain": "codereview.stackexchange", "id": 20195, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "file-system, windows, powershell, active-directory", "url": null }
python, algorithm, django except Exception as e: official_receipt = '30000' else: pass finally: official_receipt = or_from_default_company if or_from_default_company else or_from_last_transaction stop = True duplicate_add = 0 if any(c.isalpha() for c in official_receipt): ...
{ "domain": "codereview.stackexchange", "id": 21298, "lm_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, algorithm, django", "url": null }
python, scikit-learn, multilabel-classification Title: Understanding `get_combination_wise_output_matrix` when investigating a multi-label classification problem I am currently working on a multi-label classification problem. I am using the scikit-multilearn library (further reading here) I understand that train / tes...
{ "domain": "datascience.stackexchange", "id": 7553, "lm_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, scikit-learn, multilabel-classification", "url": null }
beginner, kotlin if (!passwordCharsIncluded.isBlank()) { var tempPassword = password.toCharArray() for (i in tempPassword.indices) { if (passwordLength.toShort() < 10) { var randomNum = generateRandomNumber(0, 2) if (randomNum > 1) { var r...
{ "domain": "codereview.stackexchange", "id": 42677, "lm_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, kotlin", "url": null }
If the questions were: 1. In how many ways can 5 identical fruits be distributed in 4 different baskets? Consider five stars and three bars: *****|||, where stars represent fruits and three bars (one less than the baskets) will help us to divide them among the baskets. How many permutations (arrangements) of these 5+...
{ "domain": "gmatclub.com", "id": null, "lm_label": "1. Yes.\n2. Yes.\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9433475715065793, "lm_q1q2_score": 0.8091734570432362, "lm_q2_score": 0.8577681031721325, "openwebmath_perplexity": 1783.2244966437977, "openwebmath_score": 0.6732640266418457, "tag...
rviz That pulls in all dependencies already, so you don't need to run rosdep or rosmake, just rosrun rviz rviz. Originally posted by Lorenz with karma: 22731 on 2012-08-23 This answer was ACCEPTED on the original site Post score: 1 Original comments Comment by sai on 2012-09-02: Yes..it worked on ubuntu 10.04 initia...
{ "domain": "robotics.stackexchange", "id": 10726, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "rviz", "url": null }
complexity-theory, turing-machines, oracle-machines Title: Is the set of languages recognized by a Turing machine with an oracle countable? I am currently taking a class in complexity theory and I am struggling with this question. We define a TM with Oracle per. Sipser 6.18 as: "An oracle for language $B$ is an exte...
{ "domain": "cs.stackexchange", "id": 10161, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "complexity-theory, turing-machines, oracle-machines", "url": null }
javascript, interview-questions, angular.js support of this campaign will put books into the hands of people who need them.","funding_days":18,"funding_type":"flexible","baseball_card_image_url":"http://res.cloudinary.com/indiegogo-media-prod-cld/image/upload/c_fill,h_220,w_220/v1425308941/lzedz5wntxzop0zs80aj.jpg","r...
{ "domain": "codereview.stackexchange", "id": 12537, "lm_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, interview-questions, angular.js", "url": null }
transform // make the quaternion geometry_msgs::Quaternion odom_quat = tf::createQuaternionMsgFromYaw(_yaw); // make the tf geometry_msgs::TransformStamped odom_tf; odom_tf.header.stamp = _current_time; odom_tf.header.frame_id = _odom_frame_id; odom_tf.child_frame_id = _base_link_frame_id; odom_tf.transform.translati...
{ "domain": "robotics.stackexchange", "id": 5652, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "transform", "url": null }
generative-adversarial-networks Title: GAN model predictions before training is predictable I have a dataset of 3000 8x8 images, and I would like to train a GAN for an image generation purpose. I am planning to start with a simple GAN model and see if it overfits. Before training, I try to do a comparison of the discr...
{ "domain": "ai.stackexchange", "id": 2427, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "generative-adversarial-networks", "url": null }
c, opengl, c11 glGetShaderiv(vs, GL_COMPILE_STATUS, &compile_ok); if (compile_ok != GL_TRUE) { glDeleteShader(vs); return 1; } GLuint fs = glCreateShader(GL_FRAGMENT_SHADER); glShaderSource(fs, 1, &fs_source, NULL); glCompileShader(fs); glGetShaderiv(fs, GL_COMPILE_STATUS,...
{ "domain": "codereview.stackexchange", "id": 21150, "lm_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, opengl, c11", "url": null }
a nonnegative function over the interval [ a, b ]. Choose from 500 different sets of definite integral flashcards on Quizlet. RIEMANN SUM (SPREADSHEET OPENS ONLINE WITH EXCEL, iWORK-NUMBERS, IBM LOTUS SYMPHONY, NEOOFFICE, OPENOFFICE CALC, ETC. 3: Compute the definite integral as the limit of Riemann sums. Example Quest...
{ "domain": "frolaidraulica.it", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9918120891302208, "lm_q1q2_score": 0.8243377268107551, "lm_q2_score": 0.8311430520409023, "openwebmath_perplexity": 318.61580506382603, "openwebmath_score": 0.9720377326011658, ...
catkin, ros-fuerte Originally posted by tfoote with karma: 58457 on 2012-06-03 This answer was ACCEPTED on the original site Post score: 1 Original comments Comment by bener suay on 2012-06-03: Thanks for the answer Tully. Looking forward to it.
{ "domain": "robotics.stackexchange", "id": 9616, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "catkin, ros-fuerte", "url": null }
decomposes into paths of length 2. Example. This blog post deals with a special ca… its degree sequence), but what about the reverse problem? Collection of 2 trees is a simple gra[h and 2 different components. Oxford, England: Oxford University Press, 1998. Parallel Edges: If two vertices are connected with more … 2. A...
{ "domain": "forfur.com", "id": null, "lm_label": "1. YES\n2. YES\n\n", "lm_name": "Qwen/Qwen-72B", "lm_q1_score": 0.9566341999997378, "lm_q1q2_score": 0.8072989219496426, "lm_q2_score": 0.8438951084436077, "openwebmath_perplexity": 656.0075029038798, "openwebmath_score": 0.5356816053390503, "tags":...
quantum-mechanics, quantum-information, density-operator, open-quantum-systems $$\mathbb{I}_{SB}= \mathbb{I}_S\otimes\mathbb{I}_B= \mathbb{I}_S\otimes\sum_l |l\rangle \langle l|. $$ Let's insert the identity between the time evolution operator and the full density matrix $$\sum_{k}\langle k|U_{SB}(\rho_{S}(0)\otimes|...
{ "domain": "physics.stackexchange", "id": 69110, "lm_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, density-operator, open-quantum-systems", ...
javascript, php, jquery <input type="submit" name="submit" class="button radius text-center" value="Click to Book"> </form> Use a closure, so everything will be only inside it's scope. Additionally you can use $ now! (function ($) { var now = new Date(); var date = $('.form-dat...
{ "domain": "codereview.stackexchange", "id": 4965, "lm_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, php, jquery", "url": null }
complexity-theory, np-complete, np, computer-games Added: A follow-up paper also by Erik Demaine (et al.) which shows that a generalized level of SMB is PSPACE-complete. One reason why it is not obvious that reachability of SMB is NP is that we would need a complete formalization of SMB, which the paper does not provi...
{ "domain": "cs.stackexchange", "id": 14096, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "complexity-theory, np-complete, np, computer-games", "url": null }
soft-question, astronomy, resource-recommendations, stars but nothing that would move each star individually according to: the motion of the star's orbit, relative to our position as observers on Earth, as we orbit the Sun and as our solar system orbits the Milky Way across the elapsed time it took for the light to l...
{ "domain": "physics.stackexchange", "id": 32102, "lm_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, astronomy, resource-recommendations, stars", "url": null }
php, array [3] => Array ( [v] => 3757.38 [f] => $3,757.38 ) [10] => Array ( [v] => 0.0...
{ "domain": "codereview.stackexchange", "id": 5604, "lm_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", "url": null }
noise, bpsk, snr $\frac{E_b}{N_0}$: This is the most common measure of signal to noise ratio used for digital communications. Referred to in the comments above by Dilip as the "BEND" ratio, Eb/N0 is the ratio of the energy per (information) bit ($E_b$) to the (assumed to be white) noise power spectral density ($N_0$) ...
{ "domain": "dsp.stackexchange", "id": 66, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "noise, bpsk, snr", "url": null }
quantum-mechanics, operators, momentum, mathematical-physics, observables I do not know And, more importantly: what are good, complete and readable references where one can go and get more information about this? I do not know, many results are spread in the literature. It is difficult to collect all them. A good re...
{ "domain": "physics.stackexchange", "id": 52126, "lm_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, momentum, mathematical-physics, observables", "url...
data-mining, dbscan, research, implementation I've read through an existing implementation on Github which does not have this logic implemented either, which leads me to believe either this section is trivial and does not need to be implemented, or that I am not the only one who has had issues implementing this last s...
{ "domain": "datascience.stackexchange", "id": 5965, "lm_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-mining, dbscan, research, implementation", "url": null }
gazebo, gazebo-plugin Update: I have attached the image after View->Collisions Update 2: It turns out that even if I have only the sensor (no mobile robot), I get the same inaccurate laser scan. So, I think the type of sensor is wrong because when I change the type of sensor to "ray" from "gpu_ray" and plugin to libR...
{ "domain": "robotics.stackexchange", "id": 3729, "lm_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, gazebo-plugin", "url": null }
electrochemistry, electrons Title: What happens when we connect a external emf (having emf greater than that of emf of a galvanic cell) to a galvanic cell? I read a statement given in the book and I did not understand it "If any external battery is connected whose emf is more than the emf of galvanic cell ,then it wil...
{ "domain": "chemistry.stackexchange", "id": 6801, "lm_label": null, "lm_name": null, "lm_q1_score": null, "lm_q1q2_score": null, "lm_q2_score": null, "openwebmath_perplexity": null, "openwebmath_score": null, "tags": "electrochemistry, electrons", "url": null }