EJB example for stateless and stateful beans difference
When to use Stateful session bean over Stateless session bean?
Where to or how to ask "Best of" Questions for what software tools to use I am wondering where is a good place or how is a good way to ask a question on what software tools to use for a specific task.  A lot of the time when searching for information on these types of problems stackoverflow comes up with the top and actually useful discussions and answers, but the question is locked.  I completely understand the point of discouraging "best of" or list questions as discussed in this question () and agree they often aren't constructive enough to justify the effort in moderating them.  What I am wondering is where is the right place to have a discussion like this? Stackoverflow has a good and active community so perhaps there is another section or related site I can ask less specific questions. And I do find some value in reading people's opinions, even if subjective on issues like this.  Here are some examples of the kind of questions I mean:    and   First results in google when searching for those subjects and some useful discussion.  Perhaps asking a question like this but with a strict and detailed specification it might be considered a valid and reasonable question to ask on stackoverflow; perhaps it's just a case of re-thinking how to ask a question. Or perhaps there's a more relevant place for this kind of discussion. Please let me know what you think. This post pretty much summarizes my question :   I know for a fact that Mac and Linux are both Unix based  And the commands for Linux should work for Mac, but with limited knowledge for programming I couldn't get it to work.  EDIT: Just saw this -  currently working on it I've just been downvoted. How should I react? The problems that appear in difficult math competitions such as the IMO or the Putnam exam are usually very difficult and require some ingenuity to solve. They also usually don't look like they can be solved by simply knowing more advanced theory and the such.  How do people typically come up with these problems? Do they arise naturally from advanced mathematics (the somewhat infamous 'grasshopper problem' from the 2009 IMO comes to mind - to my not exactly knowledgeable mind this problem looks like it popped out of basically nowhere)? What is the perspective that mathematicians take when seemingly "inventing" these problems with no theoretical motivation to them whatsoever? Overnight charges for brokers holding stocks? I'm trying to learn about stock markets. I eventually want to invest a small amount over a long period. Yet, I notice on a lot of broker sites that they tend to charge an overnight fee for any stocks held over night. I presume this is every night thereafter?  I just wondered because it seems like a wall when you want to let your stock price grow, and an overnight charge eats into this. or, is this only the case for "CFD" stocks? I'm confused.  Any help?  Cheers Running the minimal example  \documentclass{article} \usepackage{filecontents} \begin{filecontents*}{\jobname.bib} @ARTICLE{example,   author  = {Other, Anthony Norman},   title   = {Some things I did},   year    = {2014},   journal = {J.~Irrep. Res.},   volume  = {1},   number  = {1},   pages   = {1-10} } \end{filecontents*} \usepackage[backend=biber]{biblatex} \addbibresource{\jobname.bib} \begin{document} Hello\cite{example}. \printbibliography \end{document}   I get the warning There were undefined references.  I have read  and know that I need to run:   LaTeX Biber LaTeX   However, my editor is only set up to run BibTeX. How do I go about setting up my editor/IDE to be able to run Biber, and how do I run the LaTeX/Biber/LaTeX cycle?  Answers (sorted alphabetically by editor name)                    Answer guidelines   Each answer should be for one editor. If the editor is cross-platform, if possible give a single answer with notes covering the minor platform variations. Please edit the question to include new answers in the 'link list' Each answer should be 'stand alone', i.e. don't say 'It's almost the same as editor Y but ...' for the editor part Instructions for 'build tools' such as arara or latexmk are welcome but should explain how to set up the editor in question as not all editors allow simple addition of arbitrary tools How do I disable DVD auto eject in Windows 7? I just discovered an incredibly annoying "feature" of Windows 7 tonight.  If you click on your optical drive in Explorer, and there is no disc in the drive, Windows 7 is kind enough to open the tray for you.  I'm finding it hard to contain my rage over this idiotic design decision.  WTF?  According to , this behavior was apparently introduced in Vista.  The author posted a workaround, but I don't want a workaround.  I want it to stop doing this.  Like he, I have a case with a door that covers the drive bays.  If it's closed, and I accidentally click on that optical drive, it knocks on that door 10 or 12 times before giving up.  Can this behavior be turned off in Windows 7? Kill process after it's been allowed to run for some time I want to limit the time a grep process command is allowed to run or be alive.  For example. I want to perform the following:  grep -qsRw -m1 "parameter" /var   But before running the grep command I want to limit how long the grep process is to live, say no longer than 30 seconds.  How do I do this?  And if it can, how do I return or reset to have no time limit afterwards. How to create csv files in controller method from list What's the best way to deal with hot/stuck pixels in long exposure night photographs? I discovered red/blue/white pixels on my night photographs tonight. Trying to confirm this, I took a black image with the lens on and indeed I saw a whole lot of them (I didn't count them but at least a good fifty on the whole picture).   I'm not exactly sure if they are hot pixels, stuck pixels or anything else.  I quickly gave a check to my last exported JPEG files (I get RAW out of the camera) and couldn't find anything. After a quick search, I've seen that Lightroom is caring about those pixels after RAW conversion.  I've read that, with Canon DSLRs, there is a software process that could take care of that directly on my camera. I don't know if I can use it without getting things even more messy.   My question is: Considering my crazy pixels are not visible on my pictures, should I get too emotional about them? My camera is under warranty but is it really worth it to return it to Canon? If it's only to receive it back 1 month later after Canon just used the very same menu to map out the pixels, it's a bit ridiculous. Could this be a sign that my camera has a bigger problem?  It seems related to shutter speed. When shooting a black image at 1/250s I get nothing. When shooting the same setup but 1s, I get a few of them. The more I increase the shutter speed, the more crazy pixels I get. I have an old PowerMac G4 that I installed Lubuntu 16.04 on a while ago. I've been getting notifications in the terminal that 18.04 is available to upgrade, but the upgrader fails to run, saying that the package ubuntu-minimal is not available. I haven't seen any ISOs for PowerPC available, and ports.ubuntu.com doesn't have any bionic distributions available for architecture  powerpc. But while searching I found  that suggests that there is/was a version of Ubuntu 18.04 for PowerPC. Is this just a pre-generated page, or is there somewhere I can get Ubuntu Bionic for PPC? Can somebody help me to prove this identity?     $$\prod_{k=1}^{n-1} \left(\;\cos\theta-\cos\frac{k\pi}{n}\;\right) = 2^{1-n}\sin(n\theta)\csc\theta$$   I was thinking of using the properties of the complex numbers and the binomial theorem, because I found this problem in the Complex Variables book from Schaum's, but it did not solve my problem.  Does anyone have an idea?  Thanks in advance! We know that the "Harmonic Series" $$ \sum \frac{1}{n}$$ diverges. And for $p >1$ we have the result that the series converges $$\sum \frac{1}{n^{p}}$$ converges.   One can then ask the question of testing the convergence the following 2 Series:  $$\sum\limits_{n=1}^{\infty} \frac{1}{n^{k + \cos{n}}}, \quad \sum\limits_{n=1}^{\infty} \frac{1}{n^{k + \sin{n}}}$$ where $ k \in (0,2)$.  Only thing which i have as tool for this problem is the inequality $| \sin{n} | \leq 1$, which i am not sure whether would applicable or not. Is there a simple, constructive, 1-1 mapping between the reals and the irrationals? Is there a simple, constructive, 1-1 mapping between the reals and the irrationals?  I know that the Cantor–Bernstein–Schroeder theorem implies the existence of a 1-1 mapping between the reals and the irrationals, but the proofs of this theorem are nonconstructive.  I wondered if a simple (not involving an infinite set of mappings) constructive (so the mapping is straightforwardly specified) mapping existed.  I have considered things like mapping the rationals to the rationals plus a fixed irrational, but then I could not figure out how to prevent an infinite (possible uncountably infinite) regression. PHP regex delimiter, what's the point? I have seen many softwares such as Update Manager and Synaptic Package Manager, they wait if some other program is using the /var/lib/dpkg/lock and is locked. How can we do this through the Terminal? I saw apt-get's manual but didn't find anything useful. CPU Speed stuck at 0.78 GHz, How do I increase it to its base speed of 2.30 GHz? My 1yr old laptop, HP Pavilion 15 has it's CPU, Intel i5-8300H stuck at 0.78 GHz whenever it's plugged and charging, and the moment I remove the charger plug or switch it off, it increases suddenly and keep fluctuating freely, with good utilisation percentage more than 1-2GHz or more as I experience Thermal Throttling. I tried sneaking into the BIOS to see if I can do anything, but found nothing. I also downloaded Intel Extreme Tuning Utility (XTU) but couldn't control it. My question is how do I increase the speed to say atleast 2 GHz (fixed, not fluctuating) when it's charging, irrespective of getting thermal throttle, and also maybe even control the fan speed if it does get hot? Why only light nuclei are able to undergo nuclear fusion not heavy nuclei? Is it because of the binding energy or the binding energy per nuclei .  I am having trouble with this whole binding energy and nuclear fusion concept. I have been given the task to rewrite a function as a sum of an even and an odd function. But when I went to analyze the parts of the original function I noticed that one part was neither even nor odd.   The original function was: $g(x) = (x + 1) / (x^2 - 3x + 4$)  After analyzing I realized that when using f(-x) to determine symmetry it produced a 'neither' result. How would I go about writing a function that is neither even nor odd as an even function. (It would have to be an even function as the (x+1) part of the original function is odd and since I need to write it as a sum of even and odd, the denominator would need to be even. We all know that in an idealised world all objects accelerate at the same rate when dropped regardless of their mass.  We also know that in reality (or more accurately, in air) a lead feather falls much faster than a duck's feather with exactly the same dimensions/structure etc.  A loose explanation is that the increased mass of the lead feather somehow defeats the air resistance more effectively than the duck's feather.  Is there a more formal mathematical explanation for why one falls faster than the other?