I am developing an app which opens links, I started with always showing the 'Open As' dialog, but now adding the ability to specify a default in the program.  I pulled a  from the registry, but the noticed some strange behavior with IE.  If you Process.Start a URL with IE (eg. Start > Run > www.superuser.com) it will open in an existing IE window. (I have my Tabbed Browsing Settings set to Open links from other programs in: a new tab in the current window).  If you Process.Start IE with a URL (eg. Start > Run > iexplore.exe "www.superuser.com") a new instance of IE will open with the URL.  As every other browser had the same behavior, I suspected it may be explained in the registry I checked my HKEY_CLASSES but couldn't find anything to explain the behavior.  I've looked at a few   and even the .  Have I missed anything in trying to open IE links in an existing browser without having to override the default program?
When IE10 is set as my default browser, double-clicking an internet shortcut (*.url file) opens it in a new tab of the existing IE window. However, when it is not the default, every way of opening a *.url that I've tried brings up a new IE window per file. Is it possible to keep opening files in new tabs of the same IE window when it's not set as the default browser, and how?  What I've tried and it didn't work:   "C:\Program Files (x86)\Internet Explorer\iexplore.exe" "C:\Dir1\file.url" (opens a new window every time) C:\Windows\System32\rundll32.exe "C:\Windows\System32\ieframe.dll",OpenURL C:\Dir1\file.url (opens the default browser) classexec "C:\Dir1\file.url" --class htmlFile (using  utility, opens a new window every time)   I use Windows 7 x64.
Synchronize Clocks I need to develop a system where there are 4 sensor boxes powered by USB and they have their internal clock. Each of these boxes are connected to a Linux pc and all these PCs are linked with WiFi. API of the sensor box allows me to read their internal precision clock (uSec accuracy).   I like to synchronize all four clocks of the sensor boxes as close as possible. Hopefully within a few micro seconds of each other and compensate for drift over time. The idea is to use the sensor data that is collected at the same time (The data I receive is time stamped with the boxes' internal clock). The latency on usb bus, WiFi, pc timing are all indeterministic.  Is this possible given my setup? Why does chown report "Operation not permitted" on OS X? I am trying to do the following on my Mac (10.6.7):  sudo chown myusername:wheel ./entries   but Unix/Mac is returning "Operation not permitted". When I ls -lash the culprit file, it looks as follows:  8 -rwxrwxrwx   1 myusername  staff   394B Apr 26 23:26 entries   I've tried sudo and sudo su; nothing works. Any ideas what's up?  I'm trying to chmod files I've copied from my old Ubuntu box. Most of the files have successfully chmod'ed recursively; just this one is stuck and I don't understand why. X Server for Windows? Counting invertible $0$-$1$ matrices that remain invertible under negating the diagonal There is an invertible $n×n$ matrix with each entry $0$ or $1$. Now we negate ($x\to 1-x$) the diagonal of the matrix, and it is still invertible. How many such matrices exist for a given $n$?  Can we derive a general formula? If $n=2$ there are $2$ such matrices, if $n=3$ there are $48$. But I have no idea whether a formula exists for higher $n$. Compact vs Mirrorless - why pick one over another? What would be a reason for one to pick the compact (whatever it'd be P&amp;S or something more advanced) over mirrorless compact system camera  ?  Right now market is quite confusing — we have huge market of tiny-sensor compacts, we have mirrorless that use sensors in a size of these from P&amp;S cameras (Nikon 1 being notable example), we have compacts with sensors bigger than most popular mirrorless system (Canon G1X vs m4/3), we have lot of APS-C sensor mirrorless which are matched by some of the compacts (Fuji X100 being most notable example, but even Leica has its X2),  and to make it even more confusing — Sony released RX1 with full frame sensor, beating crap out of every mirrorless on a market.  So what are your arguments to pick compact over a mirrorless?  Why are they better, what's the reason behind logic of companies like Fujifilm which at the same time offers P&amp;S and X-mount mirrorless using same sensor size? Prove: If $a\mid m$ and $b\mid m$ and $\gcd(a,b)=1$ then $ab\mid m$ Prove: If $a\mid m$ and $b\mid m$ and $\gcd(a,b)=1$ then $ab\mid m$  I thought that $m=ab$ but I was given a counterexample in a comment below.  So all I really know is $m=ax$ and $m=by$ for some $x,y \in \mathbb Z$. Also, $a$ and $b$ are relatively prime since $\gcd(a,b)=1$.   One of the comments suggests to use , i.e., $aq+br=1$ for some $q,r\in\mathbb{Z}$. Any more hints?  New to this divisibility/gcd stuff. Thanks in advance! Update iOS 5.1.1 on iPad 1 to at least iOS 6 I can already scroll left and right with two-finger swiping, however, in Windows I can use the same gestures to go forward and back in browsers and such. Is this possible in Ubuntu? Is there a option to search within manpages? Making a (simple) directory tree Title tag different from title appearing in Google? I'm just wondering how it is possible that IGN.com has this in its title tag:      Video Games, Cheats, Walkthroughs, Game Trailers, Reviews, News, Previews &amp; Videos at IGN   while on Google its title is simply "IGN".   How can one achieve such a thing? Does it use some special meta tag I can't see? Repeatedly taking differences on a polynomial yields the factorial of its degree? Why is the wild card character * so different between the zip and rm commands? I put together a script to do some file operations for me. I am using the wild card operator * to apply functions to all files of a type, but there is one thing I don't get. I can unzip all files in a folder like this  unzip "*".zip   However, to remove all zip files afterward, I need to do   rm *.zip   That is, it does not want the quotation marks. The unzip, on the other hand, does not work if I just give it the * (gives me a warning that "files were not matched").   Why is this different? To me, this seems like the exact same operation. Or am I using the wild card incorrectly?   in Unix do not really go into this, and I could not locate anything in the rm or zip docs.  I am using the terminal on a Mac (Yosemite). How can one show there is no holomorphic function $f$ on the open unit disc $\mathbb{D}$ such that it extends continuously to $\frac{1}{z}$ on $\partial\mathbb{D}$? I mean $f$ takes value $\frac{1}{z}$ when $|z|=1$ and continuous here.  Thank you. My java code has an obvious error. Why does it compile and run? Why is the Star Trek 2009 reboot called a reboot? Doctor Who (2005) isn't called a reboot. It is called a continuation of the old series. This was made possible by that regeneration ju-ju and stuff.  On the other hand, Star Trek 2009 reincarnation is often called a reboot. Nobody dared call it continuation. I don't think I need to do citation because it's common.  Now, if we actually go into the details:   The new universe contains two Spock. One is from the original timeline. The Spock Prime even gives data from the original timeline like trans-warp equation, Khan etc. We see other past data from before the timeline diverged. For example, Scott told that he transwarped Admiral Archer's dog. "Archer's dog" existed in Star Trek: Enterprise TV series.   So, why didn't the legacy survive in-universe? Why isn't it considered a continuation of the old Star Trek TV shows and movies?  Or, is the reboot word used by mistaken fans and media only?  Update: After the release of Star Trek: Beyond (2016), this is no longer a confusion as the movie showed a photo from original timeline. Get terms that contain posts that in turn belong to other terms? So I have custom taxonomy called "shape" and another one called "color". If I want to get the list terms under shape that contain posts that are also present in terms under color, how do I do that?   Example, I have a post under custom post type toy called Ball which is present in both shape Circle and color Red. I want to retrieve the term name Circle via $wpdb query. I'd like to emphasize that I want to retrieve the list of terms and not the posts. This tiny little script deletes all small features in all layers. This works fine but the size of .shp files are not reduced. Please tell me why...  canvas = iface.mapCanvas() expr = QgsExpression("$length&lt;100") for l in canvas.layers():     l.startEditing()     it = l.getFeatures(QgsFeatureRequest(expr))     for ft in it:         l.deleteFeature(ft.id())     l.commitChanges() Is GNOME Terminal a type of non-login shell? How to have colors in Milky-way? Many photos of Milky-way show it in nice colors instead of just the black of sky and white of the stars. Is the key to having those colors in the capturing of the image or in the post processing, or both? Or am I just doing it in a wrong time of year when the visible part of Milky-way is simply not showing color?  Here is a sample photo of how Milky-way looks like in Finland in September:    APS-C sensor camera, 18 mm, 30 sec, f/3.5, ISO 3200 - captured in pitch-black darkness of Finnish countryside, far far away from any citylights, at time when moon was still below visible horizon.  What I'd like to achieve is something like the photo in Vivek's answer to   I've just bought a wireless shutter release for longer bulb exposures, and have plans to build a barn-door tracking mount. But is longer exposure the needed trick, or what is?