Lets say i powered a led strip rated at 5V and 3.6A by my laptop usb port via usb cable, what will happen?  -will it just be limited to 900mA since thats max current for usb 3.0  -or will it try draw out 3.6A from the usb port and break it  extra: what if i wired the led strip to an arduino that has a max current of 1A  and powered it with usb port, what will happen then?
One of the products being shown a CES is a  intended to let you charge a tablet from a laptop USB port that normally wouldn't work because it didn't provide enough power.  The CNET writeup implies that it's actually boosting the power output from the port beyond the normally available amount.  This seems improbable to me because the ports should have current protection to protect themselves from shorts.  Also, if it was possible to bypass the current limit externally, I'd've expected at least some tablet vendors to have included the ability to do so directly in their cables.  One possibility that occurs to me is that the dongle is just spoofing responses to the tablet when it queries the laptop about the maximum power it can deliver while only providing a trickle charge that the tablet would otherwise reject as too slow to bother with.
Is re-projection needed from SRID 4326 (WGS 84) to SRID 4269 (NAD 83)? I have US census data against state boundaries stored as  SRID 4269, in an MSSQL DB.  The input data used for calculations against that dataset is stored as SRID 4326.  As far as I can infer from the , SRID 4269 is just a subset of SRID 4326 and no coordinate re-projection is necessary.  Do I actually need to re-project from SRID 4326 to SRID 4269, provided that the input data is always within the bounds of the SRID 4269? iOS: Compare two dates Prove that for all integers $n$, $n \geq 1$,   $$1 + 3 + 5 + \cdots + (2n - 1) = n\cdot n$$   How would I go about proving this? It appears that on Server Fault and Super User, the navigation bar and question title have suddenly become misplaced. The same does not occur on SO and mSO, nor on any of the other SE sites I spot-checked.  This is being seen in both Chrome and Firefox and just began occurring within the last few minutes.      What it should look like:      While this was fixed for a few hours, it has returned as of 22:05. Why am I not getting a java.util.ConcurrentModificationException in this example? Maximal ideals in the ring of real functions on $[0,1]$ Let $S$ be the ring of all continuous functions from $[0,1]$ to $\mathbb R$. How to prove that all maximal ideals of $S$ have the form $M_{x_0}=\{f\in S \mid f(x_0)=0\}$?   Thanks in advance. TeX Live 2016: minted doesn't work with LuaLaTeX (bug fixed in June 2016) I've installed TeX Live 2016 as it was released today (thanks to the developers for that).  Now I have the following MWE:  \documentclass{article} \usepackage{minted} \begin{document}  \begin{minted}{ruby} class Foo   def init     pi = Math::PI     @var = "Pi is approx. #{pi}"   end end \end{minted}  \end{document}   When running pdflatex --shell-escape test.tex it runs through the file and produces the PDF as expected. Doing the same with lualatex --shell-escape test.tex fails with  This is LuaTeX, Version 0.95.0 (TeX Live 2016)   system commands enabled. (./test.tex LaTeX2e &lt;2016/03/31&gt; Babel &lt;3.9r&gt; and hyphenation patterns for 1 language(s) loaded. (/opt/texlive/2016/texmf-dist/tex/latex/base/article.cls Document Class: article 2014/09/29 v1.4h Standard LaTeX document class (/opt/texlive/2016/texmf-dist/tex/latex/base/size10.clo)) (/opt/texlive/2016/texmf-dist/tex/latex/minted/minted.sty (/opt/texlive/2016/texmf-dist/tex/latex/graphics/keyval.sty) (/opt/texlive/2016/texmf-dist/tex/latex/oberdiek/kvoptions.sty (/opt/texlive/2016/texmf-dist/tex/generic/oberdiek/ltxcmds.sty) (/opt/texlive/2016/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty (/opt/texlive/2016/texmf-dist/tex/generic/oberdiek/infwarerr.sty) (/opt/texlive/2016/texmf-dist/tex/generic/oberdiek/etexcmds.sty (/opt/texlive/2016/texmf-dist/tex/generic/oberdiek/ifluatex.sty)))) (/opt/texlive/2016/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty Style option: `fancyvrb' v2.7a, with DG/SPQR fixes, and firstline=lastline fix  &lt;2008/02/07&gt; (tvz)) (/opt/texlive/2016/texmf-dist/tex/latex/float/float.sty) (/opt/texlive/2016/texmf-dist/tex/latex/base/ifthen.sty) (/opt/texlive/2016/texmf-dist/tex/latex/tools/calc.sty) (/opt/texlive/2016/texmf-dist/tex/latex/ifplatform/ifplatform.sty (/opt/texlive/2016/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty (/opt/texlive/2016/texmf-dist/tex/generic/oberdiek/ifpdf.sty) (/opt/texlive/2016/texmf-dist/tex/generic/oberdiek/luatex-loader.sty (/opt/texlive/2016/texmf-dist/scripts/oberdiek/oberdiek.luatex.lua))) (/opt/texlive/2016/texmf-dist/tex/generic/oberdiek/catchfile.sty) uname -s &gt; "test.w18"  ! Package catchfile Error: File `test.w18' not found.  See the catchfile package documentation for explanation. Type  H &lt;return&gt;  for immediate help.  ...                                                l.93     \CatchFileDef\@tempa{\ip@file}{}  ?    As mentioned, it's a freshly installed TeX Live 2016; I've also checked the installed Pygmentize version, which is 2.1.3 (installed via pip). Testing with TeX Live 2015, the above code, however, works without problems with both pdflatex and lualatex.  Does anybody have a hint for me on how to fix this, or is it a bug in lualatex or minted (or whatever other package) that should be reported?  Update: With minted version 2.2 (2016-06-08), the package loads the shellesc package automatically, as mentioned by @David Carlisle and @egreg in the comments; therefore, the problem should not occur any more, if you have this version installed. "std::endl" vs "\n" Many C++ books contain example code like this...  std::cout &lt;&lt; "Test line" &lt;&lt; std::endl;   ...so I've always done that too. But I've seen a lot of code from working developers like this instead:  std::cout &lt;&lt; "Test line\n";   Is there a technical reason to prefer one over the other, or is it just a matter of coding style? How can we make First letter Capital while using trigonometric functions. eg: \cos (60^\circ) gives simple cos (all in small). What is needed is 'Cos' (with initial capital). For italics in mactex i used \it but it didn't italicized 'cos' only the number '60'. So how to do that? Using Moq to determine if a method is called It is my understanding that I can test that a method call will occur if I call a higher level method, i.e.:  public abstract class SomeClass() {         public void SomeMehod()     {         SomeOtherMethod();     }      internal abstract void SomeOtherMethod(); }   I want to test that if I call SomeMethod() then I expect that SomeOtherMethod() will be called.   Am I right in thinking this sort of test is available in a mocking framework? How can I install an app given only its APK file? An increasing number of funding organizations require publications on the research that they fund to be open access, i.e. available to the public without having to subscribe to a journal or pay a fee. Does anybody know where I can find a list of journals/publishers that do not allow material that they publish to be published this way? Why can rm remove read-only files? I was using my MacBook Pro (with 16GB of RAM) as usual and out of blue I've this popup that:  Your system has run out of application memory. To avoid problems with your computer, quit any applications you are not using.   I've obviously closed few which I could, but it didn't help. After checking on memory, it seems kernel task ate 7GB and 22.36GB swap memory was used of total 23GB (which obviously was the case). However I've still 20GB of space free on my SDD.  Activity Monitor didn't help much whilst my OS X was heading to the destruction.    My top stats before my kernel freeze: Processes: 344 total, 2 running, 5 stuck, 337 sleeping, 2580 threads                                                                                                                         19:23:56 Load Avg: 1.56, 1.62, 2.09  CPU usage: 3.51% user, 8.47% sys, 88.1% idle   SharedLibs: 46M resident, 0B data, 6572K linkedit. MemRegions: 757970 total, 2139M resident, 56M private, 907M shared. PhysMem: 9410M used (6198M wired), 556M unused. VM: 1155G vsize, 1311M framework vsize, 112872658(320) swapins, 122668389(0) swapouts. Networks: packets: 299419263/363G in, 142126838/14G out. Disks: 58970173/1079G read, 20012389/1120G written.  At the end my OS X frozen and I had to do hard reset, repair my SDD in recovery mode and fixing afterwards (recovering lost work, fixing application conflicts, checking my lost+found folder, Chrome/Terminal tabs gone, headache, etc.). My question is, how do I check on high memory usage of kernel task or how to properly deal with that kind of situation? I've tried to take Sample with Activity Monitor, but it's greyed out.  My MacBook Pro details: 2.3GHz Intel Core i7 (late 2013) with 16GB RAM. OS X: 10.9.5 How can the pixel values of a raster image be extracted under a polygon fishnet? How can I run the following xrandrcommand on startup?  xrandr   cvt 1368 768  xrandr --newmode "1368x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync xrandr --addmode VGA1 1368x768_60.00 xrandr --output VGA1 --mode 1368x768_60.00 What techniques, tricks or otherwise have you used to get upgrades on flights? I've travelled a lot.  Living in New Zealand or the UK means anywhere is likely a flight, but I've always flown economy.  Twice between LA and Auckland I managed to get the exit row after talking nicely to the check-in girl, but apart from that, nothing.  I've spoken to ticket agents, tried 'check in chicken' (where you wait until the last minute before checking in, hoping there's an overbooking of economy) but have never managed to get an upgrade, while others I know seemingly get them quite often.  What strategy have you used or do you suggest to achieve this?  My next flight is from Melbourne to Tokyo, and I plan on trying all of these ;)  (Related questions on  and  upgrades) Tangential component of Electric field The above question i'm trying for so long but failed. This is from my class $12$ book(india).First of all i'm confused with tangential component of electric field, I mean why this? So far I've studied that electric field(Whether its own or someone's else) is always perpendicular to a charged body. So, there shouldn't be any tangential component. Could someone please explain me visually what's happening?  Strict Note: A class $12$ answer required. No complex statements please. Only for school childs. I want to better understand why the construction something + [adjective] makes grammatical sense. Background: I was recently reading a Washington Post article and came across the following sentence.  So if you fall in that category, [the movie] feels more like magic than repetitive.  (Note: I've copied the relevant spoiler-free sentence above; following the link to the article will open you up to movie spoilers! ) The phrase more like magic than repetitive struck me as odd, presumably because it was non-parallel (more like [noun] than [adjective]). I would have expected &quot;...more like magic than something repetitive.&quot; (Actually, that needs to be rewritten to flow better, but the point is that at least it appears to be grammatical.) Thus, one would have the noun phrase &quot;something repetitive,&quot; of the form &quot;[noun] [adjective].&quot; This got me to thinking about the use of adjectives after nouns. There is a great Stack Exchange article  that involves the characteristics of the adjective that indicate it should come after the noun. But I haven't been able to find examples of how the word &quot;something&quot; requires a postponed adjective. Consider the following sentences:  I want to buy something red. I am looking for something sweet to eat.  You cannot say:  *I want to buy red something. *I am looking for sweet something to eat.  But you can say:  I want to buy something (that is) red. I am looking for something (that is) sweet to eat.  So, my question:  Do the above examples mean that the &quot;something [adjective]&quot; construction is an example of the ellipsis of &quot;that is&quot;?  Is there something special about the word &quot;something&quot; that requires the postponed adjective? Note that I am NOT looking for details about adjectives that are postponed; I'm interested in the word that precedes the adjective (either &quot;something&quot; or similar words).   By the way, I am not interested in the following constructions, which are different:  I want to paint the house red. I tried to build the brick house taller.  Thanks in advance! Where were the Avengers during Iron Man 3?