Why did Kattappa kill Baahubali
Why did Kattappa kill Baahubali?
Update: Now that it's 2016 I'd use PowerShell for this unless there's a really compelling backwards-compatible reason for it, particularly because of the regional settings issue with using date. See @npocmaka's     What's a Windows command line statement(s) I can use to get the current datetime in a format that I can put into a filename?  I want to have a .bat file that zips up a directory into an archive with the current date and time as part of the name, for example, Code_2008-10-14_2257.zip. Is there any easy way I can do this, independent of the regional settings of the machine?  I don't really mind about the date format, ideally it'd be yyyy-mm-dd, but anything simple is fine.  So far I've got this, which on my machine gives me Tue_10_14_2008_230050_91:  rem Get the datetime in a format that can go in a filename. set _my_datetime=%date%_%time% set _my_datetime=%_my_datetime: =_% set _my_datetime=%_my_datetime::=% set _my_datetime=%_my_datetime:/=_% set _my_datetime=%_my_datetime:.=_%  rem Now use the timestamp by in a new ZIP file name. "d:\Program Files\7-Zip\7z.exe" a -r Code_%_my_datetime%.zip Code   I can live with this, but it seems a bit clunky. Ideally it'd be briefer and have the format mentioned earlier.  I'm using Windows Server 2003 and Windows&nbsp;XP Professional. I don't want to install additional utilities to achieve this (although I realise there are some that will do nice date formatting). Open Mapping Theorem: counterexample The Open Mapping Theorem says that a linear continuous surjection between Banach spaces is an open mapping. I am writing some lecture notes on the Open Mapping Theorem. I guess it would be nice to have some counterexamples. After all, how can you appreciate it's meaning without a nice counterexample showing how the conclusion could fail and why the conclusion is not obvious at all.  Let $\ell^1 \subset \mathbb{R}^\infty$ be the set of sequences $(a_1, a_2, \dotsc)$, such that $\sum |a_j| &lt; \infty$. If we consider the $\ell^1$ norm $\|\cdot\|_1$ and the supremum norm $\|\cdot\|_s$, then, $(\ell^1, \|\cdot\|_1)$ is complete, while $(\ell^1, \|\cdot\|_s)$ is not complete.  In this case, the identity $$   \begin{array}{rrcl}     \mathrm{id}:&amp; (\ell^1, \|\cdot\|_1)&amp; \to &amp;(\ell^1, \|\cdot\|_s)     \\                 &amp; x &amp; \mapsto &amp; x   \end{array} $$ is a continuous bijection but it is not open.  I want a counterexample in the opposite direction. That is, I want a linear continuous bijection $T: E \to F$ between normed spaces $E$ and $F$ such that $F$ is Banach but $T$ is not open. This is equivalent to finding a vector space $E$ with non-equivalent norms $\|\cdot\|_c$ and $\|\cdot\|_n$, such that $E$ is complete when considered the norm $\|\cdot\|_c$, and such that $$   \|\cdot\|_c   \leq   \|\cdot\|_n. $$ The Open Mapping Theorem implies that $\|\cdot\|_n$ is not complete.  So, is anyone aware of such a counterexample? I am trying to run a function from  in ArcMap 10.1; Sink evaluation. But before it can finish it returns an error message, that, frankly, I don't understand at all.  It goes System.runtime.interopservices.comexception (0x80004005): error hresult e_fail .  Can anyone help me solve this? I have tried all I can think of. Run the function from the toolbox instead of dropdown menus, shorten paths, restart ArcMap, reinstall AHT, open new map documents, restart my computer, wait till next day and see if it automagically have fixed itself...   After searching this forum I found a , although it's got no answers. Now I'm all out of ideas, can anyone please help me?!    I'm using ArcMap 10.1 SP1 basic license and Windows 7.    I think I have narrowed it down a bit, still not clear what's wrong though. Sink evaluation uses a series of functions in Arcmap, of which one is Zonal statistics as table. That's the one it gets stuck on. The input raster somehow does not exist, path unknown. I guess this is some intermediary raster.       After consulting the Arc Hydro team, I got the advice not to use grids stored in a gdb (which I didn't). I have also tried to change target locations, thanks to @G.Oxsen. Unfortunately neither of those solved the issue. According to the Arc Hydro team, GPL0 that I asked about earlier is an in-memory grid, so probably no problem there.   I am currently pursuing that it is related to the installation of SP1. Anyone out there using AHT with SP1 and got Sink evaluation working?    Uninstalling SP1 did not change anything, unfortunately. Still working on this, but with less intensity. Seems like I'll have to find workarounds...    By reducing the number of sinks in need of processing I managed to get Sink evaluation running. Having the files not stored in a gdb seem to help as well, as mentioned earlier, and using integer grids.  Changing the "Maximum number of unique values to render" in ArcMap Options (Customize menu), tab Raster --> Raster dataset is another tip that I got (from the Arc Hydro Team). Restarting ArcMap after running every one or two functions also helps keeping things stable. Does walking fast prevent eggs hatching? I have a couple of eggs that I've picked up from some Pokestops (I'm lucky enough to live above one).   I walk a lot. I get to work through a 2 mile walk / train journey every day, so I should be picking up loads of steps for the eggs I have. However, because I'm normally always running late... for everything, I have to rush everywhere, so I walk at an above average pace.   Today I've walked around 5 miles, but the game has registered 100 metres. Is this because I walk too fast, or because of something else?  It's worth pointing out that I have the app open when walking... mostly because I have to catch them all. (This made me miss a train this morning... luckily I was early :D) I recently traveled from India to USA. I am on H1B. I entered USA on 29th December 2016. As my Visa extension is due in August 2017, I was gathering documents for Visa Extension. It was required to provide a scanned copy of passport page with all entry and exit stamps.  Myself and my wife both travelled back from India. My wife's passport has a entry stamp with date as 29th December 2016. But the same is missing from my passport. I guess the officer missed putting the entry stamp on my passport. My I 94 reflects the correct date of entry as 29th December. Somehow I still have my boarding pass from this trip (usually I throw them once trip is complete).   Want to know what could be implications of missing entry stamp when I travel to India next time (somewhere towards early next year)? Does this impact my H1B Visa extension ? Also what can I do to correct this information on my passport? Qualcomm Atheros AR9462 with Ubuntu 18.10 I can't enable the Wifi (nothing happens when press enable button) and in Wifi settings it says:     "No Wi-Fi Adapter Found"   I have tried several things from other questions/answers here but nothing worked. Here some information if this is helpful for the answer:     Device: Lenovo Miix 2 11   sudo lspci:  Network controller: Qualcomm Atheros AR9462 Wireless Network Adapter (rev 01)   sudo lshw -C network:  *-network DISABLED            description: Wireless interface    product: AR9462 Wireless Network Adapter    vendor: Qualcomm Atheros    physical id: 0    bus info: pci@0000:02:00.0    logical name: wlp2s0    version: 01    serial: 48:d2:24:8a:ea:e6    width: 64 bits    clock: 33MHz    capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless    configuration: broadcast=yes driver=ath9k driverversion=4.18.0-16-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11    resources: irq:18 memory:f0400000-f047ffff memory:f0480000-f048ffff   sudo lsmod | grep ath:  ath3k                  20480  0 bluetooth             548864  12 btrtl,btintel,btbcm,bnep,ath3k,btusb ath9k                 151552  0 ath9k_common           36864  1 ath9k ath9k_hw              475136  2 ath9k_common,ath9k ath                    36864  3 ath9k_common,ath9k,ath9k_hw mac80211              794624  1 ath9k cfg80211              663552  5 wl,ath9k_common,ath9k,ath,mac80211   In system settings it shows the Wifi-Adapter Name:  Qualcomm Atheros AR9462   Edit:  lspci -knn | grep Net -A3; rfkill list:  02:00.0 Network controller [0280]: Qualcomm Atheros AR9462 Wireless Network Adapter [168c:0034] (rev 01) Subsystem: Lenovo AR9462 Wireless Network Adapter [17aa:3214] Kernel driver in use: ath9k Kernel modules: ath9k, wl 0: phy0: Wireless LAN     Soft blocked: no     Hard blocked: no 1: ideapad_wlan: Wireless LAN     Soft blocked: no     Hard blocked: yes 2: ideapad_bluetooth: Bluetooth     Soft blocked: yes     Hard blocked: yes Usage of -n and -z in test built in - Bash ZF: Difference between POW and SEP? "Thus" vs. "Thusly" I read an article that used "thusly" and was wondering if there is any grammatical credence to it.   The :     The issue started when Sokolowski quickly ran out of storage capacity in his 32GB Surface after adding media files. After poking around, he realized that while the device has a 32GB drive, only 16GB of that capacity is available for users’ data. Thusly Microsoft is being sued for false advertisement, with the suit seeking class action status.   Is thusly an outmoded form of thus, or does it have a different meaning altogether? Usage in sentence:  Person A: Ooh - look at that crow!  Person B: Well, actually, as someone who is a scientist who studies crows, I am telling you, specifically, in science, no one calls jackdaws crows. They're not the same thing. If you're saying "crow family" you're referring to the taxonomic grouping of Corvidae, which includes things from nutcrackers to blue jays to ravens. It's not one or the other, that's not how taxonomy works.  Person A: Are you always such an XXX?   "Pedant" is close, but not quite.  It would be a mix of "know-it-all", "condescending" and "arrogant". How to drive multiple LEDs from a Li-ion battery (with varying voltage)? How to see download count of an Android app on Google Play store? Where can I safely store my stuff? I'd like to find a place to store stuff while I'm out adventuring, without spending 5000 on a house (at least, until I can afford that...). Where can I safely store items without worrying about them disappearing?   There are two possible places that come to mind,  (to which I have the key and was told I could stay), and the small bedroom given to me at the  (which I was told was mine, despite seeing J'zaro sitting in it later). Can I store items safely in either of these places? Grep: unexpected results when searching for words in heading from man page I'm running into weird behavior when trying to grep a man page on macOS. For example, the Bash man page clearly has an occurrence of the string NAME:  $ man bash | head -5 | tail -1 NAME   And if I grep for name I do get results, but if I grep for NAME I don't:  $ man bash | grep 'NAME' $ man bash | grep NAME   I've tried other uppercase words that I know are in there, and searching for SHELL yields nothing whereas searching for BASH yields results.  What's going on here?  Update: Thanks for all the answers! I thought it worth adding the context in which I ran into this. I wanted to write a bash function to wrap man and in cases where I've tried to look up the man page for a shell builtin, jump to the relevant section of the Bash man page. There might be a better way, but here's what I've got currently:  man () {   case "$(type -t "$1")" in     builtin)       local pattern="^ *$1"        if bashdoc_match "$pattern \+[-[]"; then         command man bash | less --pattern="$pattern +[-[]"       elif bashdoc_match "$pattern\b"; then         command man bash | less --pattern="$pattern[[:&gt;:]]"       else         command man bash       fi       ;;     keyword)       command man bash | less --hilite-search --pattern='^SHELL GRAMMAR$'       ;;     *)       command man "$@"       ;;   esac }  bashdoc_match() {   command man bash | col -b | grep -l "$1" &gt; /dev/null } How do I enforce a password complexity policy? Easiest way to sort DOM nodes? If I have a list like this:  &lt;ul id="mylist"&gt;     &lt;li id="list-item1"&gt;text 1&lt;/li&gt;     &lt;li id="list-item2"&gt;text 2&lt;/li&gt;     &lt;li id="list-item3"&gt;text 3&lt;/li&gt;     &lt;li id="list-item4"&gt;text 4&lt;/li&gt; &lt;/ul&gt;   What's the easiest way to re-arrange the DOM nodes to my preference? (This needs to happen automatically when the page loads, the list-order preference is gained from a cookie)  E.g.  &lt;ul id="mylist"&gt;     &lt;li id="list-item3"&gt;text 3&lt;/li&gt;     &lt;li id="list-item4"&gt;text 4&lt;/li&gt;     &lt;li id="list-item2"&gt;text 2&lt;/li&gt;     &lt;li id="list-item1"&gt;text 1&lt;/li&gt; &lt;/ul&gt; For only my index pages, I am receiving this warning in Google Search Console:     Duplicate, submitted URL not selected as canonical   I know that this occurs because Google is attempting to track both the default landing "page" (i.e. www.domain.example/) and the page to which to which DirectoryIndex points (i.e. www.domain.example/index.html). They are, in fact, the same page, and so the warning is the result of a false positive.  Two questions for our community:   Why does Google not conflate these and count them as a single page? Alternately, is there something wrong with my set up if this has happened? I can easily force both pages to point to a single canonical URL. But which is preferable, "/" or "index.html"? What is the actual mechanism behind the reflection of various colored light by material of different color? When light (composed of photons with different frequency and wavelength) falls on a material, some of it gets absorbed and some get reflected depending upon the color of the material on which it strikes. And the material reflects the light of its own color only, thereby absorbing all the other colored light. So, my questions are:  How would a photon with certain wavelength (say 400 nm) decide to get reflected after striking the material of red color?   What is the actual mechanism behind the reflection of various colored light by the material of different color? Why doesn't calling a Python string method do anything unless you assign its output? How many syllables are in the word 'hour'? Does the word 'hour' have 1 or 2 syllables?