I have just designed a system which aids the interaction of AI agents with an environment. However, I am not sure whether my design is efficient, so I would like people here to point out my mistakes.  I don't plan only to ask "is my design a good one?", but put it in the context of the well-defined OOP paradigm, which most of you probably understand much better than me and could help me point out concrete problems.  Is Stack Overflow the right place to ask such a question?
There seems to be more than a few computer science/programming Stack Exchange networks (is that the correct term?). Stack Overflow, being the first, has by far the most users, questions, and answers.  What is the reasoning for creating the others, and are there clear guidelines for which kinds of questions should be posted? I can see a large amount of potential overflow, many cases of people not getting a good answer to their question, because the person who has the answer isn't browsing that particular network at the moment.  I understand that they were probably created for organizational purposes, but wouldn't it almost make more sense to just have them as categories under Stack Overflow, keep them separated but still connected, instead of making people have to create multiple 'account's, one for each network?  I am sure there was a very good reason to break them up, but as someone that is new to SE, it can be somewhat intimidating to decide which one to post in to ensure you get a good answer. For example, if I am a computer science student, my first instinct might to be to post in the computer science network, until I see that it literally has 1% of the users as the Stack Overflow network, which still seems to be for programming/computer science related questions.  So my second instinct would then to be to post it into the Stack&nbsp;Overflow site on the basis that I have a significantly higher chance of my question being seen and getting a good answer. Then I notice that there is also a 'programmers' network, and I don't even begin to know where that fits in. I, and I am assuming most people, will probably just post on Stack&nbsp;Overflow to be safe.  My question is, other than the short little description blurb of each one, is there a clear cut set of guidelines which what each network is intended for, what kinds of questions should go to each one, and is anything being done to encourage people to post in these newer, smaller (more specialized?) networks as opposed to just posting in big daddy Stack Overflow?  Now again, this is for computer science/programming/"why isn't this code doing what I want?" related questions, I am not saying that if I had a question about Linux or WordPress or something I would have the same confusion.
What does the author mean by 'back to back' and 'hidden city' ticketing hacks? How to combine two QUERY results into one column I have the following QUERY  =query(XX!A2:A;" select A where A&gt;'50' ")   and  =query(YY!A2:A;" select A where A&gt;'50' ")   how do I combine these two data sources so I don't have to have two separate columns they process data to?   best would be if the 1st row from XX is followed by the 1st row of YY, 2nd row followed by 2nd row... and so on If the above option is not easily possible, it is OK for one query to be followed by the second one (if I expect correctly that the start of the second will be moved with newly added data into the first one) You can reach this IP address  (if my computer is online). I want to assign a domain to it so I wonder how is that possible when I have no DNS? I do own my domain which is ".com". My IP is static.  Thanks If $X_n \stackrel{d}{\to} X$ and $c_n \to c$, then $c_n \cdot X_n \stackrel{d}{\to} c \cdot X$ Let $X_n$, $X$ random variables on a probability space $(\Omega,\mathcal{A},\mathbb{P})$ and $(c_n)_n \subseteq \mathbb{R}$, $c \in \mathbb{R}$ such that $c_n \to c$ and $X_n \stackrel{d}{\to} X$. Then $c_n \cdot X_n \stackrel{d}{\to} c \cdot X$.   Here is my proof: By Lévy's continuity theorem it suffices to show that $$\forall \xi: \quad \hat{\mu}_n(c_n \cdot \xi) \to \hat{\mu}(c \cdot \xi) \qquad (n \to \infty)$$  where $\hat{\mu}_n$ (resp. $\hat{\mu}$) denotes the characteristic function of $X_n$ (resp. $X$). Using the tightness of the distributions one can show that $\{\hat{\mu}_n; n \in \mathbb{N}\}$ is uniformly equicontinuous. We have $$|\hat{\mu}_n(c_n \cdot \xi) - \hat{\mu}(c \cdot \xi)| \leq |\hat{\mu}_n(c_n \cdot \xi)- \hat{\mu}_n(c \cdot \xi)| + |\hat{\mu}_n(c \cdot \xi)- \hat{\mu}(c \cdot \xi)|$$ The first addend converges to zero as $n \to \infty$ by the uniform equicontinuity and the second one converges to zero since $X_n \stackrel{d}{\to} X$.  I was wondering whether there is an easier proof - my own proof seems rather like overkill to me. Thanks! How do I install the latest  on Ubuntu? I've been looking around, and I can't find anything. Is there a Ubuntu package for node.js, or do I have to compile it myself? How to clone ArrayList and also clone its contents? Possible Duplicate:          So, in my calculus class (one I'm teaching, not taking), the sum $\sum_{n=1}^\infty \frac{\sin(n)}{n}$ has come up a few times.  Unfortunately, as someone not exactly an expert in the convergence of sums, it seems to resist the few techniques I know.  Certain none of the usual first year calculus tricks (integral test, alternating series test, ratio test, etc.) work, and the only more tricky technique, partial summation, I can think of doesn't seem to work either (one would need that $\sum_{n=1}^N\sin(n)$ is bounded, which I believe is false).  It seems like it should converge, since it switches sign quite often, but on the other hand, the harmonic series can mess with your intuition, so I don't have much trust in that.  So, I ask to you:     Does this series converge? Player looses boot after tackle I have a raster image (Sentinel-2 band 4) and a shapefile covering the same area than the image (same projection and extension). The shapefile has different polygons which are agricultural fields.   I want to create a new file where, for each polygon, the mean value of the pixels that are inside it is calculated.  Could you please help me to find an appropriate R code for that? My bibliography (made with biblatex) has all items close to each other. I would like to introduce some space between them, e.g. half a line.  How can I do this? JDK 1.4.2 - where can I download the source? I want to install Java JRE 1.4.2 or JDK 1.4.2 on a recent Amazon Linux server. The best option so far seems to install from source. However - where can I download this? I believe 1.4 is still from the Sun era, but I can't find it on the  site, and the sun site is gone.  has no 1.4 download afaik.   Where can I download Java 1.4.2 source code?   As the goal is to get the installation working, other options are welcome. I tried to install the bin file, but got an error: cannot execute binary file. What should i use for better performance, nine-patch or drawable xml resource? ubuntu 18.04 how do I install drivers for my NVIDIA GeForce GTX 1050? What are reaching fouls in the NBA? When a player tries to steal the ball from a dribbling player, the referees sometimes award a "reaching foul". I just can't see any difference between a steal and a foul How can you check for a #hash in a URL using JavaScript? Principal $n$th root of a complex number This is really two questions.   Is there a definition of the principal $n$th root of a complex number? I can't find it anywhere. Presumably, the usual definition is $[r\exp(i\theta)]^{1/n} = r^{1/n}\exp(i\theta/n)$ for $\theta \in [0,2\pi)$, but I have yet to see this anywhere. Is this because it has bad properties? For instance, according to this definition is it true that for all complex $z$ it holds that $(z^{1/a})^b = (z^b)^{1/a}$? Is there a notification mechanism for when a dependency property has changed? How do I design a 2A or more power supply for my consumer USB devices? I understand that many of my consumer devices charged by USB ports can charge at higher rates than 0.5A.  However, in testing, I've found they don't consume more than this. Test Setup  I have a power supply that outputs between 0 and 30 volts, and 0 to 20 amps. I set the voltage to 5 volts, then connected up a female USB to the wires correctly. When I plug in a Samsung Galaxy S4 Mini, it pulls around 0.44 amps. It is the same with a Samsung Galaxy Tab Pro. However, when I connect an iPad Air with an official lightning cable, it only pulls around 0.11 amps. Also, I tried connecting a ZGPAX S28 smartwatch and it was still about 0.44-0.45 amps.  The power supply is more than capable of outputting the maximum 2.1 amps, so why doesn't it to at least the tablets? What do I need to do in my test setup to convince the devices to consume their maximum charging current? How do I make all the theorem-alike environments have an ending symbol? How to re-index the values of an array in PHP?