Wikipedia:Reference desk/Archives/Computing/2015 June 21

= June 21 =

Same ASCX control in two different ASP.NET web applications
I have run into a situation at work where I would need to use the same ASCX user control (with a declarative ASP.NET source page rather than a fully programmatic C# class) in two different ASP.NET web applications. Is it possible to share the control among them or do I have to copy-paste all the code? J I P &#124; Talk 08:22, 21 June 2015 (UTC)

Turn on Mac, Install Updates, Then Shut Down (Automatically)
I'd like to have my Mac turn itself on (say, at midnight), download any updates, then turn itself off when it's done. I'd like it to download updates for other programs like Firefox or Flash Player as well, and update my MacPorts packages (which I do from the command line, and which requires admin privileges). I know it has the capabilities to do each of these things (i.e. turn itself on/off, check for updates, etc.), but I'm not sure how to put it all together in a task that runs by itself on a regular schedule. Do I use AppleScript, a shell script, something else? Thanks. OldTimeNESter (talk) 15:15, 21 June 2015 (UTC)


 * How Power Nap works on your Mac.
 * If you wanted to do some other task, you could write a custom launchd plist to define a job and set a schedule for it.
 * If you want to manually schedule a sleep or wake cycle, use Energy Saver preferences.
 * Nimur (talk) 18:08, 21 June 2015 (UTC)

Which Wi-Fi channel overlaps least with Bluetooth?
Which end of the Wi-Fi channel spectrum should I switch to in order to minimise interference with my Bluetooth headset when my router is between me and my PC (my Bluetooth device is class 1 with a good antenna)? --78.148.105.170 (talk) 23:50, 21 June 2015 (UTC)


 * Both WiFi and Bluetooth use the same frequency range. WiFi uses 1/3 of the available frequency range. So, you will have 3 choices, letting you choose which third to use. Some offer 5 or 6 choices - but it still uses 1/3 of the range with each choice. Bluetooth uses a tiny sliver of the range. But, you don't have any control over which sliver it uses. It will randomly pick a frequency and, if there is noise on it, it will jump to another frequency. So, you have no way to know what frequency your bluetooth will use. Even if you know what it is using right now, it can (and likely will) jump to another frequency in a short time. Therefore, any 1/3 of the frequency you choose for WiFi will likely be randomly chosen by Bluetooth 33% of the time - upon which Bluetooth will hopefully recognize noise and jump to another frequency. 199.15.144.250 (talk) 11:52, 22 June 2015 (UTC)


 * Okay, thanks very much for the informative answer, 199.15.144.250! :) 78.148.105.170 (talk) 13:38, 22 June 2015 (UTC)