Why can't I run a batch command from my java program?
How do I run a batch file from my Java Application?
Call dynamic_sidebar but include/exclude named widgets? Is it possible to include or exclude specific named widgets that are assigned to a named dynamic_sidebar call?  For example, if I've registered a sidebar named "my_sidebar" and the user had placed a "Links" widget into it, I want to be able to include or exclude it based on a custom setting in my theme options panel.  Is this possible?  Any insights much appreciated. I can’t get used to the new Unity system. I’d like to move the left Unity panel to the bottom of screen (like Windows 7 – more similar is better).  But I can't find a way. Is it possible? Chat messages should use consistent icon in iOS app It'd be nice if the chat notifications in the feed used the default Stack Exchange icon like the ones in the inbox do*:     Since items in the feed are grouped so that multiple items from the same site , the site icon helps delimit grouped items a bit less subtlely than the grey divider lines, and chat replies' lack of one causes them to sort of blend in to the previous group.  *Ideally it'd use the icon of the site the room was associated with, but I don't think that information is readily available What's the tax on a hobby orchard? On Groups of Order 315 with a unique sylow 3-subgroup . in Dummit and Foote , an exercise asked me to prove that , if $G$ is a group of order $315$ , $G$ has a normal sylow $3$-subgroup then , $G$ is abelian .  this is exercise number $27$ , section $5$ , chapter $4$  my method on proving this is showing that $ |G| = |Z(G)|$ as follows   i showed that $|Z(G)|$ $\in$ ${ 9 , 63 , 45 , 315 } $  and  showed that$ |Z(G)|$ is not $63 , 45$ or $9$   so it must be $315 $  but i showed this under two condition ,   first condition: if $X$ is the set of all elements of $G$ of order $5$ , $H$ is the subgroup generated by $X$  then $|H|$is not $315$  second condition : also , if $Y$ is the set of all elements of $G$ of order $7$ , $N$ is the subgroup generated by $Y$ then $|N|$ is not $315$   so , if those two condition are then my method of proving works .   but i don't know how to prove those conditions .   any help ? Can I use apt-get or aptitude to install software to non standard location? Playing a video in full screen after startup What is the name of an anime from 80s-90s movie/series in which there is a scene, maybe the end, where a girl (who has an​ armor) exchanges age with a dying man in a beach, so the man transforms into a baby and the girl grows to a woman? How often did Gandalf return to Hobbiton after the events of The Hobbit? It has been a while since I read the Lord of the Rings novels (don't have a copy at the moment) but I seem to recall he went to Hobbiton at least once, as the young hobbits were always excited to see him.   Did he travel there often? If $|\lbrace g \in G: \pi (g)=g^{-1} \rbrace|>\frac{3|G|}{4}$, then $G$ is an abelian group. Assume that $\pi$ is an automorphism of a finite group $G$. Let $S$ denote the set $\lbrace g \in G: \pi (g)=g^{-1} \rbrace$. Show that if $|S|&gt;\frac{3|G|}{4}$, then $G$ is an abelian group.    Anyone has any idea on how to solve this ? I have no idea how to start. Stack Exchange iOS app crashes on start Upon clicking on SE icon, blue (starting) screen appears and then I am back to home screen, SE app simply won't start. This kind of behaviour never happened before (on any other app). I tried to remove it from &quot;task manager&quot;, reinstalling and logging back in; neither did work. In Settings -&gt; Stack Exchange -&gt; Notices I found a log message:  FILE DOESN'T EXIST, WILL CREATE: users/dev/buildagent/work/{id}/pods/target support files/pods/pods-ack...plist   App Version: 1.4.0 Device: iPhone7,2 OS Version: Version 9.1 (Build 13B143)   TLDR: app starts when cellphone has no internet access. I just noticed when I am on 3G (cellular internet) it crashes ASAP, but when I am on wifi that has no internet (for LAN etc.) app starts normally but no new content, when I turn off WiFi and iPhone switches to cellular; app crashes. Note: I turn off WiFi using control center - so I never leave the app. Another thing, when I force iPhone to use EDGE (slowest possible internet) app starts, and crashes after 5 seconds or so. I assume when app downloads some data from server.  Known workaround (works for me too)  I found a workaround: turn on Airplane Mode, launch the app, then turn Airplane Mode off. – NobodyNada Is there a way to use the formatter that comes with eclipse, outside of eclipse?  I would like to format some java files using my formatter.xml file that I have configured using eclipse.  Does anyone have any code examples that would allow me to do this?  I would also like to use this standalone, so the specific jars that are used would be nice. Is "I'm being angry" ungrammatical? Storing Images in DB - Yea or Nay? 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? the slash (/) after a directory name on shell commands I have a little question here.  If I have two files, say filea and fileb, mv filea fileb would   delete fileb rename filea to fileb   Then if I have two directories, say dira and dirb, mv dira dirb would   move dira into dirb (it will become dirb/dira)   Noting that in both cases there are no notice or message, then this is pretty inconsistent to me. I think mv dira dirb should just overwrite dirb with the contents of dira (or merge the two directories under a directory named dirb).  I remember reading somewhere that a directory name with a slash (like dira/) is treated like a directory, and name with no slash (like dira) is treated like a file (to certain extents, of course). Anyway now I want to make the shell (zsh and possibly bash) respect my notation of a directory by using a slash. Is there a terminal option which enable me to enforce that?  To clarify, here is my desired behaviour:   mv dira dirb results in dirb being overwritten with the contents of dira mv dira dirb/ results in dira being moved into dirb (in dirb/dira)   Has anyone thought the same way as me? Or am I just weird? Is there a way to recognize destructible environment in XCOM:Enemy Unknown? Booking a flight without passport info I have been looking to book a bundle (hotel and flight) with Expedia to Puerto Vallarta MX. When I get to the booking section it does not ask for my passport number. Do they ask for my passport after I book? Or later when the date gets near? My passport is currently being renewed and I want to book my hotel and flight before they sell out but I am afraid it'll ask me for my passport number. Can anyone inform me about this situation? How to show that a set of discontinuous points of an increasing function is at most countable I would like to prove the following:       Let $g$ be a monotone increasing function on $[0,1]$. Then the set of points where $g$ is not continuous is at most countable.     My attempt:    Let $g(x^-)~,g(x^+)$ denote the left and right hand limits of $g$ respectively. Let $A$ be the set of points where $g$ is not continuous. Then for any $x\in A$, there is a rational, say, $f(x)$ such that $g(x^-)\lt f(x)\lt g(x^+)$. For $x_1\lt x_2$, we have that $g(x_1^+)\leq g(x_2^-)$. Thus $f(x_1)\neq f(x_2)$ if $x_1\neq x_2$. This shows an injection between $A$ and a subset of the rationals. Since the rationals are countable, $A$ is countable, being a subset of a countable set.    Is my work okay? Are there better/cleaner ways of approaching it? how to restore windows 7 to a know working state every time it boots A couple of days ago my mother asked me to set up a computer at her house, she wants to use it to basic web browsing, video chat and nothing more.  The problem is, neither my mother nor my sister know anything about using or maintaining a computer.  What I want is to have a working base install of windows 7 and just discard everything installed, downloaded, ... when it reboots. That way I can set up a partition just for saving files and whatever they do the computer will always return to a working state at start up.  can that be done?  PS: Sadly linux is not an option since my sister wants to be able to play some games with my steam account and not all of them run with wine. An explanation of Hawking Radiation Could someone please provide an explanation for the origin of ? (Ideally someone who I have been speaking with on the h-bar)  Any advanced maths beyond basic calculus will most probably leave me at a loss, though I do not mind a challenge! Please assume little prior knowledge, as over the past few days I have discovered that much of my understanding surrounding the process as virtual particle pairs is completely wrong.