FOR BEGINNERS, what is HIGHLY recommended ? storing image(profile picture, at least 1MB?) to database or through filesystem? if each user is storing a profile-picture size image (max 9 pictures per user) what is better to use store it ? I can't find related to my question and I can't comment yet.
Store pictures as files or in the database for a web app? My question is fairly generic and I know there might not be an 100% answer to it. I'm building an ASP .NET web solution that will include a lot of pictures and hopefully a fair amount of traffic. I do really want to achieve performance.  Should I save the pictures in the Database or on the File system? And regardless the answer I'm more interested in why choosing a specific way.  Many thanks, Stefan   DUPLICATE: , ,  and probably some others.    COMMENT: Thanks for many good answers. I will go for a file based solution even if I like the idea of having a 100% database driven solution. It seems that there are today good solutions to do what I want with databases etc but I have a few reasons for not doing it.   I will be on a hosted solution, I have huge amount of storage(10gb) but only 300mb for the database. It will cost a lot for extra storage in the DB. I'm not an DB expert and as well not in control of settings of the DB. A DB based solution might need custom configuration as it looks like.   If we will move to run the site on our own server I might consider a DB based solution. thanks, Stefan
Holomorphic function $f:B(0,1) \to B(1,4)$ with $f(0)=3$ and $f(\frac{1}{2})=1$ Problem  Find all holomorphic functions $f:B(0,1) \to B(1,4)$ that verify $f(0)=3$ and $f(\frac{1}{2})=1$.  I have no idea how to attack this problem,since it comes after an exercise related to Schwarz lemma, I thought that maybe the idea is to somehow apply the lemma in this problem as well, but if that is the case, I don't know how could I use it. I would appreciate suggestions. Review counts in top-bar and /review don't match Are $T\mathbb{S}^2$ and $\mathbb{S}^2 \times \mathbb{R}^2$ different? I have seen the claim that $T\mathbb{S}^2$ and $\mathbb{S}^2 \times \mathbb{R}^2$ are not diffeomorphic, but I have only ever seen the proof that they are not isomorphic as vector bundles (which is a cute application of the hairy ball theorem). How would I prove that they are indeed not diffeomorphic (or better, not homeomorphic)? How to Select Hyperlink Text in Google Chrome? I am running Google Chrome 5. How can I select hyper link text using the mouse with, for example, CTRL or ALT keys? Convert UTC/GMT time to local time "I wish I didn't do" vs. "I wish I hadn't done" Deploy a project using Git push Is it possible to deploy a website using git push? I have a hunch it has something to do with using  to perform a git reset --hard on the server side, but how would I go about accomplishing this? Cycles : shadows on smooth shaded mesh, strange behavior Sorting hashmap based on keys Cross-site inbookmarks:mine search inbookmarks:mine was fixed for searching within a particular Stack Exchange site, but often I find myself wanting to search for a question I favorited/bookmarked, but not remembering which site it was on when it could conceivably have been on a number of different sites. On the cross-site search at  it does not work, presumably because we have different user ids on each site. Is there a way it could be made to work? Note that this request is for searching, not just viewing, so it's not a duplicate of . Just viewing is not very helpful when you have a huge volume of bookmarks across Stack Exchange sites. Proving that $a \mathbb{Z} \cap b\mathbb{Z} = \operatorname{lcm}(a,b)\mathbb Z$ Given $m \in \mathbb{Z}$, let $m\mathbb{Z}$ denote the set of integer multiples of $m$, i.e. $m\mathbb{Z} := \{mk\mid k \in \mathbb{Z}\}$.   Now let $a,b \in \mathbb{Z}$ with $a,b$ not both $0$. Prove that $a\mathbb{Z} \cap b\mathbb{Z} = \operatorname{lcm}(a,b)\mathbb{Z}$.   I am trying to write a proof for this, but I am unsure of what method to use. Also I am confused by $mk\mid k$, because wouldn't $m=1$ for this to be true. How I can automatically add a page if the total number of pages is odd? I need automatically add a blank page (also without document header, numbering and footer) at the end of the document, if the total numbers of pages is odd. How I can do that? And preferably without using any additional package. :) What's a good word for a person, or a state, when a person is constantly waiting for life to get good, but does nothing to actually make it happen I've written a song about people who constantly wait for something good to happen to them and am looking for a word to describe this state/paradox/condition.   The song is about people who expect life to get better for no reason, talk about moving to a bigger city or a different place as if that would magically make them rich, famous and happy, and keep talking about how they are going to do this or that, but never do it. I was under the impression that there's a psychological term for this state, but can't google it up, so I probably made it up.  This is essentially a song about myself, I keep talking about how I love to make music, or shoot videos, but I never actually produce anything, yet it's the only thing I can think of. When it comes to the moment to take action – I just stay at home watching tv shows.  I know it's a broad question and list of topics, but I guess I'm looking for a word that describes this state – of doing NOTHING. I am using cURL to insert data into salesforce. It works with single record but I need to insert multiple records at a time. Is it possible to do so and is it possible via a REST interface? NB: Nvidia has released an official fix; please see ,  and/or .  Upon waking up Ubuntu 16.04 from Suspend, the following graphical glitches appear around all windows, context menus, and similar:      This is currently known to affect the following NVIDIA cards running the proprietary drivers:  NVIDIA GeForce 610M, driver version 375.39, 340.102 NVIDIA GT 630M, driver version 375.39 NVIDIA GTX 650, driver version 375.39 NVIDIA GT 740M, driver version 378.13 NVIDIA GTX 745, unknown driver version NVIDIA GTX 850M, driver version 375.39, 378.13 NVIDIA GT 940M, driver version 375.39 NVIDIA GTX 950M, unknown driver version NVIDIA GTX 960M, driver version 378.13 NVIDIA GTX 970, driver version 375.39 NVIDIA GTX 970M, driver version 375.39 NVIDIA GTX 980 TI, unknown driver version NVIDIA GTX 1060, driver version 375.26, 375.39, 378.09 NVIDIA GTX 1070, driver version 378.09  The above above list has been sourced from reports from other users here on AU,  thread, and  thread. NB: This is be no means an exclusive list. It probably effects nearly all Nvidia cards.  Furthermore, this issue has been replicated on a clean install where the only change was a software update and the installation of the latest NVIDIA drivers.  What is going on, and how can it be resolved? If I go to pickpocket a person who's recently caught me, I get an error saying I can't do it because they've already caught me.  How long does this last?  Is it indefinite, or will they "forget" after a certain amount of time? Suggested improvements to badges index page ()  Currently,  shows the possible badges, number of total recipients, and brief descriptions. However, I have a few suggestions (mostly minor changes) that could make it a bit nicer.   There is no way to see (on that page) which badges I've earned multiple times — they all appear with a green checkmark. It would be nice to show something like "x 4" like in the badges section of the user profile page. For example:      There is no way to see which badges can be awarded multiple times — you have to click on a specific badge to see yea or nay. It would be nice to have a small, simple icon next to badges that can be earned multiple times, similar to the checkmark showing which badges I've earned. The layout would be nicer if the number of recipients for each badge were in a separate column — since the badge images are different sizes, the overlap and ragged right alignment makes the numbers harder to read. An alternative view that groups badges by "achievement level" (gold/silver/bronze) would be nice, as would a view that groups progressive degrees of the same accomplishment. (e.g. Nice Answer &rarr; Good Answer &rarr; Great Answer OR Popular Question &rarr; Notable Question &rarr; Famous Question) What is the definition of a symmetric distribution? How can I increase the JVM memory? Why is a Hyperplane called a "Hyper"plane? I just had this curious question. In other fields, the word "hyper" is actually used to refer to something which is "over; beyond; above" as defined by Google. An example of such terms would be Hyperglycaemia, defined by Wikipedia as:     a condition in which an excessive amount of glucose circulates in the blood plasma.   Or Hypersonic, defined by Google as:     relating to speeds of more than five times the speed of sound.   So, my question is, what would be the motive to give a Hyperplane such a name when it is defined as :     a subspace of one dimension less than its ambient space