Can someone tell me if this scenario is a bad idea and if so, why?  I am collecting an image from a video stream once every second to use as an icon on a webpage to let users select which live video stream they would like to view. This image is getting stored repetitively in the database.  Would it be better to write and overwrite these images to a system file and select them from that location?  I am using SQL Server 2014 and my thought is that this technique may cause problems with the Log File...  Any suggestions would be appreciated.  Thanks!
So I'm using an app that stores images heavily in the DB. What's your outlook on this? I'm more of a type to store the location in the filesystem, than store it directly in the DB.  What do you think are the pros/cons?
Should the number "0" be pronounced "zero" or "oh"? Should laptops remain plugged in when their battery is 100% charged? When your laptop's battery is 100% charged, should you leave it plugged in so any battery power doesn't get used, or will that cause overcharging, overheating, etc.? Should the laptop be unplugged when the battery level is 100%?  I'm asking because my laptop's screen tends to get dim when unplugged, so I don't like to run it on battery. Minimum Length Regular Expression I forgot the passcode for my iPad restrictions. How can I disable them? Why use Chef/Puppet over shell scripts? New to Puppet and Chef tools. Seems like the job that they are doing can be done with shell scripting. Maybe it was done in shell scripts until these came along.  I would agree they are more readable. But, are there any other advantages over shell scripts besides just being readable? When I capture packets using the packet analyser wireshark while visiting  I can see packets that use the HTTP protocol (e.g.a GET request). My Get request uses 4 protocols: Ethernet II, IPv4, TCP and HTTP.  For the IPv4 I can see my own local IPv4 address of my pc as the source, for the destination I see the IPv4 address 91.198.174.225. When I go to this address in my browser I get to some wikipedia related website that says'wiki does not exist'. Why am I not seeing the Hydrogen article when I go to that ip address? I think my MacBook Pro battery was replaced by Apple's service team. How do I check that? What is this Windows 8 icon for as rectangle icon in the title bar? Every Window in Windows 8 got this icon if it gots the focus. When clicking on it, nothing seems to happen.   How does this icon work? Book about mages who can harvest magical energy from the environment The cartesian product $\mathbb{N} \times \mathbb{N}$ is countable I'm examining a proof I have read that claims to show that the Cartesian product $\mathbb{N} \times \mathbb{N}$ is countable, and as part of this proof, I am looking to show that the given map is surjective (indeed bijective), but I'm afraid that I can't see why this is the case. I wonder whether you might be able to point me in the right direction?  Indeed, the proof begins like this:  "For each $n \in \mathbb{N}$, let $k_n, l_n$ be such that $n = 2^{k_n - 1} \left(2l_n - 1 \right)$; that is, $k_n - 1$ is the power of $2$ in the prime factorisation of $n$, and $2 l_n - 1$ is the (necessarily odd) number $\frac{n}{2^{k_n - 1}}$."  It then states that $n \mapsto \left(k_n , l_n \right)$ is a surjection from $\mathbb{N}$ to $\mathbb{N} \times \mathbb{N}$, and so ends the proof.  I can intuitively see why this should be a bijection, I think, but I'm not sure how to make these feelings rigorous?   I suppose I'd say that the map is surjective since given any $\left(k_n , l_n \right) \in \mathbb{N} \times \mathbb{N}$ we can simply take $n$ indeed to be equal to $2^{k_n - 1} \left(2l_n - 1 \right)$ and note that $k_n - 1 \geq 0$ and thus $2^{k_n - 1}$  is both greater or equal to one so is a natural number (making the obvious inductive argument, noting that multiplication on $\mathbb{N}$ is closed), and similarly that $2 l_n - 1 \geq 2\cdot 1 - 1 = 1$ and is also a natural number, and thus the product of these two, $n$ must also be a natural number. Is it just as simple as this?  I suppose my gut feeling in the proving that the map is injective would be to assume that $2^{k_n - 1} \left(2 l_n - 1 \right) = 2^{k_m - 1} \left(2 l_m - 1 \right)$ and then use the Fundamental Theorem of Arithmetic to conclude that $n = m$. Is this going along the right lines? The 'implicit' definition of the mapping has me a little confused about the approach.    On a related, but separate note, I am indeed aware that if $K$ and $L$ are any countable sets, then so is $K \times L$, so trivially, taking the identity mapping we see trivially that this map is bijective and therefore that $\mathbb{N}$ is certainly countable (!), and thus so is $\mathbb{N} \times \mathbb{N}$. Hence, it's not really the statement that I'm interested in, but rather the exciting excursion into number theory that the above alternative proof provides. How did Thanos know about the power of "The Snap"? In the scene on Titan with Doctor Strange in Avengers: Infinity War, Thanos said,     With all six Infinity Stones, I will simply snap my fingers and it would all cease to exist.   Then again, in the very first scene with Thor and Loki, when Maw gave Thanos the Space Stone, he said that no one has ever worn two Infinity Stones together.   So how come Thanos knew about the power of the Snap? Because as Wong puts it to Tony, the Big Bang hurled the six Infinity Stones across the universe.   So if no one had collected all the six stones before Thanos, then how did he know about the ability to "Snap"? Anchor Text code string is automatically modified by WordPress I have created an ad for a merchant wanting to rent ad space on my website home page. After creating the ad, (anchor text and pic/graphics with embedded hyperlink) the merchant has requested I remove my url from the ad code. The anchor text along with the embedded hyperlinks links to the merchant's home page.  Problem is I don't know how my url was added to the code as I never inputted it in the original code in the first place. Somehow it was added by I think, WordPress or my server (PHP).  When I view the page source I do see my url was added to the ad code.  Can anyone help explain this and tell me how I can remove the url? Also, if I am able later to remove my url, how will it affect the hyperlink and anchor text?  Thank you, -Dan  Hi s_ha_dum,  I have read your answer and have now made sure the code reads as abosolute url.  Here it is with absolute url:  &lt;strong&gt;If you are interested in helping others treat and prevent hypertension, consider a healthcare degree from &lt;a href="http://elearning.loyno.edu/"&gt;Loyola Online Courses today!&lt;/a&gt;&lt;/strong&gt;   It still shows in page source however with my url addended to the code string.  What am I not understanding? Thank you! How do I build a TRRS headphone jack with a jack that is detectable by an iPhone I have a circuit and I am trying to integrate it with an iPhone via a TRRS headphone jack's microphone input. I have a generic TRRS cord and am trying to send a signal through it. However, the iPhone does not detect that a mic is even plugged in. However, if I plug it into my Mac via line-in and record, I can record the signal I am sending perfectly.   I have read online that it needs to detect resistance between the ground and mic, which I have. Are there any other things I need to do? It seems like this is an issue that stems from Apple's proprietary technology, as the earbuds are from a Windows Phone before they were spliced.    Thanks so much! Since the  would it make sense to create a Stack Exchange site dedicated to homework help? It wouldn't have to be limited strictly to homework either, possibly including discussions of puzzles and brain teasers and possible approaches to solving them.  I have a programming background so I would be interested in helping with CS or math related homework, discussions of programming contest problems, etc. Topics don't necessarily have to be related to programming either. That's just where my interests are.  What are your thoughts? Is $\emptyset \in \emptyset$ or $\emptyset \subseteq \emptyset$? Is there a word for two persons dodging each other on the street? What is the easiest/best/most correct way to iterate through the characters of a string in Java? StringTokenizer? Convert the String to a char[] and iterate over that? Something else? How to have pidgin chat windows open up on all workspaces? How do I  prevent .xsession-errors from eating disk space? Is there any way to completely disable the .xsession-errors file?  I have it as a symlink to /tmp so that my laptop hard disk can (hopefully) go to sleep for once, but at least 95% of the stuff in the file (it fills up at about 500k an hour) is...  (nautilus:1618): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed  which is total garbage to me.  I have tried doing a symlink to /dev/null but that does not work (the resulting link is overwritten), and I also do not want the activity so that hopefully my laptop can go to sleep for once.  I am using Ubuntu 11.04, with no special add-ons to Nautilus. Importing single symbol from MnSymbol