Powering on while the lid is closed in clamshell mode

Question: For a recent MacBook Pro, lid closed, non-Apple keyboard: can I map some key (like F15) to be the same as the Apple power key so I can do a full shutdown and start up without opening the lid?
Answer: Launchers like Alfred.app allow you to assign keyboard shortcuts to run commands (it has built in ones for restart and shut down).
There is a default shortcut alt+cmd+eject for putting the computer to sleep.
Additionally, control+alt+eject will log you out, and;
shift+control+eject will sleep your displays (and keyboard lights if you have them).
As for booting the computer without using the power button, I'm not sure that's possible, as I don't think the laptop gives power to the keyboard while it's powered off.
You could setup something like scheduled startup/shutdown, to automatically boot at the set time. Find this in the Energy Saver preference pane.
Update: Newer laptops don't have an eject button, but instead the button in the top right corner of the keyboard is the power button. The above shortcuts will work with the power button i.e. shift+control+power for turning off the displays.
Comment: Welcome to Ask Different, Geoffrey! I made a few changes to your answer. Those being that the computer does not sleep when you use the A+C+E keyboard shortcut, only the display(s) do. Also, the StackExchange network has a cool HTML tag in , we use it to represent when keyboard keys are being used, so I've modified your answer to take advantage of that.
Comment: Thanks for the greetings! Those `kbd` tags are neat. But I was right about the sleeping, try it :) I've added some other combinations for further clarification.
Comment: I think my brain transposed Command for Control. Sorry about that. I also forgot that other combinations of Alt, Control, and Command have other functions. Also, my statement of "A+C+E" was ambiguous since C can mean Control or Command. We're both right, I guess :).
Answer: I do not believe this is possible.
You can schedule your Mac to power on automatically using Energy Saver or our Power Manager software. This requires setting specific times for starting up and shutting down.
If the lid is closed, your Mac should start up on schedule. It will then immediately go into sleep mode because the lid is closed. This appears to be a deliberate design choice by Apple's engineers to avoid overheating your Mac.
To run with the lid closed, you must start up with lid open and have an external display connected. Only with an external display connected can you close your MacBook Pro's lid and avoid automatic sleep; doing anything else is not supported by Apple.
The exact behaviour you will see also depends on which MacBook Pro you have. Power features and capabilities tend to change between hardware revisions.


Can I change a directive's controller for different instances of the directive?

Question: I have created a directive called modalDialog, which is basically that, a modal dialog. It uses transclude, so I can later do this in my code:

    ...
    here goes the content of the dialog

I want to use this directive in different places of my application, and for different purposes. The content of the dialogs will vary, naturally, so it would be very nice to have a way to pass the Controller to the directive, in the same way that I pass the dialog-title or any other parameter.
I thought about wrapping the modal-dialog in a div, with a controller set on it. Like this:

      ...
      here goes the content of the dialog

But I don't quite like it. Is there a more elegant way to do it?
Answer: Take a look at Angular-UI modals. They have a pretty elegant way of using modals. In short you can pass which controller you'd like to initialize when the modal opens.
$scope.open = function () {

    var modalInstance = $modal.open({
            templateUrl: 'myModalContent.html',
            controller: ModalInstanceCtrl,
            resolve: {
                items: function () {
                  return $scope.items;
                }
            }
        });

    modalInstance.result.then(function (selectedItem) {
        $scope.selected = selectedItem;
    }, function () {
        $log('Modal dismissed at: ' + new Date());
    });
};

The nice part as well is you can pass data with the resolve between controllers.


PLL : conceptual confusion

Question: In the PLL it is said that Capture range is the frequency from which the PLL starts functioning and Locked range is the frequency where the output of VCO is equal to that of reference oscillator frequency.
If that is the case why  the Locked range is greater than Capture range?
My doubt is it shouldn't get locked as it crosses capture range because it stops functioning as PLL.
Comment: Please add a link where this is discussed into your question. I don't know much about phase-locked loops but I imagine that the frequency needs to be fairly close to capture but then the device can stay locked on over a wider range.
Comment: Yes.  "It is said" should always be followed by something that answers the question "by whom?".  And -- it is not just said.  It is a real phenomenon, that you can test for yourself either by working through the math, or by building a PLL and trying it on the bench.
Comment: PLLs produce a beat-note as they try to lock. The **average** of that beat-note is what pushes the loop in the proper direction. Once in lock, all the waveform is available to support lock, and there is no beat-note.
Answer: Words don't necessarily mean what you think they mean. It is locked-in range. The range in which the frequencies remain equal and the phases in lock, not simply coincide by sheer chance.
That is the feedback loop remains in operation and the PLL is in lock.
Except for some non-linear phase-comparator designs, the loop filters will define how wide the capture range is, as the beat frequency must introduce variations on the VCO with the proper feedback polarity and gain.
But once the PLL is in lock, and the input frequency does not change too fast for the filters to follow or the VCO is not out of range, the PLL will remain in lock. That is the lock-in range.
Comment: A very loose analogy would be to hang a magnet with a rubber band and raise a piece of steel underneath it, then pull it down.  You'll need to get higher to capture the magnet as you go up than the point at which the magnet will let loose going down.  The physics are entirely different, but it illustrates that such behavior is a thing in the real world.

PLL : conceptual confusion


Writing an interview in a screenplay

Question: I'm writing an interview in a screenplay where the protagonist is being interviewed a la 60 minutes. The interview shows an interviewer, Sarah Jones, who interviews a politician, Ben Parker. It features footage that shows parts of his personal life, like showing his horse ranch in Oklahoma as part of his character profile. I'm wondering how to format this to show that the interview and personal footage happen  in the same scene.
Comment: I didn't know that Spider-Man's uncle was a politician.
Answer: 60 minutes has a very consistent style that's easy to describe.  Usually, it begins with the journalist doing the segment giving a brief interlude to hook the audience to watch the interview ("Tonight, I sit down with Ben Parker, the cattle rancher from Oklahoma. He may never have been elected to political office before, but wait until you hear why he decided to run in the biggest race in the United States:  The Presidency.")
Normally the segment opens with a voice over setting the scene (footage of the town, the ranch, Ben Parker on the Ranch and some fluffy bit displaying the humble introductions by the reporter in a voice oveer) then cut to a room, normally in a style that appeals to Ben Parker as a person, and have the reporter opposite Ben Parker.  Ask some intro softball questions ("You're running for President?" "Yes I am."  "And you've never worked in government in your life."  "Yes."  "Why?"  laughs from both "Because it's time for a change")  Cut again to stock footage and reporter narration that could sum up certain talking points.  Cut back to the interview space, where the questions get more pointed, but still a little softball.  The final softball question should be something like "Have you ever run for any office?"  "Class President... in High School."  From here the questions get a little more down to policy and politics and what Ben Parker believes in.  If the interviewer favors Ben, the good stuff will be front and center, while the stuff that makes him controversial will be pushed to the back.  If they aren't favorable to Ben, the answers will have an appearence of manipulation that pushes the unfavorable or poor answers up.  Remember that the Interviewer is going to edit this so it will be manipulated to their position, not the candidates (For a humorous poke at this, watch the Simpson's Episode "Homer Bad Man" where Homer's interview that calmly and rationally explains his side of the story, while what makes it to air is a very obvious manipulation and quote mining that clearly makes Homer out to be an absolute monster (for added humor, watch the clock in the background).   Lather and rinse these formulas until you're done with the interview piece, and then cut back to the interviewer giving some final critical information or final commentary.

Writing an interview in a screenplay


Can I legitimately get any hats for free?

Question: Are there any hats that I can get in team fortress 2 without spending money. I don't want a cheat or a hack that does this. Are there any free hats and how can I get them?
Answer: There are a bunch of hats you can get free in Team Fortress 2.
Random Drops
If you have a premium account (from either owning The Orange Box or buying anything in the Mann Co Store), you can get random hat drops.  However, keep in mind that they are rare.  You will go months without getting one.
Note: This was broken for the entire year of 2015, but appears to be working against as of January 24th, 2016.
From TF2 itself

Ghostly Gibus - Dominate anyone wearing one of these hats: Ghastly Gibus, Ghastlier Gibus, Ghastlierest Gibus, or Ghostly Gibus.  Note that only the Ghostly version is currently awarded despite what the achievement description says.
Pyrovision Goggles - Dominate someone wearing Pyrovision Goggles
Full Head of Steam - Complete 7 achievements on cp_foundry
Gentle Munitionne of Leisure - Complete 7 achievements on sd_doomsday (not sd_doomsday_event)
Party Hat - Log on to TF2 on or around August 24
Saxton Hale Mask - Craft together 1 of each of the Class Halloween Masks, which are not available most of the year.  Note: This is much more difficult starting in 2015 as the number of Halloween item drops was reduced to just 13 and they are now awarded randomly.
Mildly Disturbing Halloween Mask - Get the Candy Coroner achievement.  This achievement can be earned on Halloween maps.  Halloween/Full Moon restricted item.
Horseless Headless Horsemann's Head - Kill the Horseless Headless Horsemann for the first time.  He appears on the Mann Manor map (cp_manor_event). Halloween/Full Moon restricted item.
MONOCULUS! - Kill MONOCULUS for the first time. He appears on the Eyeaduct map (cp_viaduct_event). Halloween/Full Moon restricted item.
Bombnomicon - After killing MONOCULUS, go through the portal that appears and make it to the top of the island without getting killed.  Touch the Bombnomicon waiting there to get it.
Skull Island Topper AKA Merasmus's Skull Hat - After killing Merasmus on Ghost Fort (cp_lakeside_event), go through the portal that appears make your way to the top of the island without dying.  Touch his hat to get it.
Any hat can be gotten by using the Fabricate Headgear crafting recipe (or related recipes).  This costs at least 3 Refined metal to do and may only be available to Premium accounts.
The Spine-Cooling Skull, Spine-Tingling Skull, or Spine-Twisting Skull can be crafted if you have 4 Refined Metal and the Haunted Metal Scrap... which you get by hitting the Horseless Headless Horsemann with a melee attack during his death animation.

From other games
The Promotion Items wiki page covers this in more depth than I ever could... it even covers which are currently active and which are expired.
Halloween Exclusive
During the Halloween event each year, it is possible to get many Halloween-specific hats by finding gifts that appear on the level.
You're too late for this in 2014, but for future use:

Mann Manor (cp_manor_event) - 9 All-Class Masks.  Can be crafted to make the Saxton Hale Mask (which isn't holiday restricted).
Eyeaduct (koth_viaduct_event) - 27 cosmetics (3 per class).
Ghost Fort (cp_lakeside_event) - 26 spells, 30 cosmetics, and one melee reskin... although you may get Voodoo cursed items instead.  You can craft 7 Voodoo-Cursed items to get one of the cosmetics.
Helltower (cp_hightower_event) - 102 cosmetics.  No, that's not a typo.

The gifts containing items used to appear around every 45 minutes, but in 2014 it was raised to a much longer time... I want to say around 3 hours.
Carnival of Carnage (sd_doomsday_event) has 50 cosmetics.  However, they do not appear on the map itself.  Instead, each player can only get a max of 6: 3 for logging in during the Halloween event and 3 more for getting 4 achievements on the map.
During the Halloween event, you can do 13 Merasmissions (1 per day during the event) to get a random Halloween cosmetic.  There are hundreds of Halloween cosmetics in the game, though.
Answer: There are two ways of getting hats/cosmetics in TF2 for free.

Complete promotional actions (most are already finished or require you to spend money elsewhere)
Get one in the drop system

If you're looking for a hat through non-grindy means (waiting to get stuff from the drop system), you can try earning the Spiral Sallet, by earning Mission Accomplished achievement from Spiral Knights, for example is still an on-going "promotion".
Spiral Knights is a free-to-play game.
Alternatively, you can wait for the drop system to give you a hat. Which occurs around every 100-180 drops^.

A reminder that hats earned through promotions and achievements are untradable and unmarketable (unless in Genuine Quality, for most cases which makes them marketable AND tradable), and hats recieved through the item drop system (unless you're using a Free account) are tradable but not marketable.

^This figure is not accurate. It is an estimate from what I've received, and it DEFINITELY is not how the game calculates when you get a dropped hat.
Comment: "Get one in the drop system" You can't do that unless you either bought  The Orange Box, bought something in the Mann Co Store, or if someone else used an [Upgrade To Premium Gift](https://wiki.teamfortress.com/wiki/Upgrade_to_Premium_Gift) on you.
Answer: The easiest hat to get for free is the Ghastly Gibus. To get a Ghastly Gibus, dominate a player who is also wearing a gibus to earn the achievement and you will receive one. The gibus can be worn by all classes.
If you don't want to spend any money at all, which means continuing to play the f2p version of TF2, getting a hat from drops is extremely unlikely- most cosmetic items can't drop. To upgrade, you'd need to make a purchase from the Mann Co. store- even if it's just spending 50c on something.
Answer: Trade weapons for scrap on scrap.tf really it works well enough.Also 300 hours played on (if I'm correct) a premium account (I don't know if it works for F2P accounts.)


Are there any privacy benefits in using a separate wallet in Bitcoin Core to separate myself from my service?

Question: I currently run Bitcoin Core with the following wallets loaded in:

hot.dat. Contains the smallest possible sum of Bitcoin. Unencrypted and used by myself for various personal Bitcoin purchases, and I intend to have it double as the wallet for my Bitcoin-based website. (Unless you tell me a good reason not to.)
lukewarm.dat. Contains more than the "hot" wallet, but still not much compared to cold.dat. Encrypted with a long passphrase, but which is located on the same computer in a text document. I recon that it will stop at least automated malware which simply checks for wallet.dats and merely "sends them home". It of course won't stop somebody from manually finding the text document on my machine and figuring out that it's the passphrase to use.
cold.dat. Contains the vast majority of my satoshis. Encrypted with a long passphrase (partially stored on the same computer) with a bunch of additional parts with "hints" to myself rather than explicitly spelled out. This passphrase has never been entered to unlock the wallet outside of the dedicated Linux computer where it was created. (Not this machine.)

I'm aware that many would not consider my cold.dat to be a "cold wallet", but I thought the naming scheme fit well enough. The reason I don't use a truly "cold" wallet (where it's not stored on a "live" computer even encrypted) has to do with me fearing losing the file or having a fire or getting it seized more than I fear somebody first hacking into my machine and then somehow figuring out my complicated passphrase scheme. I consider that so unlikely that it is far more likely that I would lose access to it in other ways.
Now I wonder if I should be having a separate "service.dat" wallet dedicated to my new service, or if I can just generate new receive addresses for my existing hot.dat and use those. Is there any privacy benefit in me doing that? Or would I just be wasting yet another transaction fee to send over some satoshis from my hot.dat to my potential "service.dat"?
What if somebody who I do private business with knows who I am (because I have to give them my home address) and when I've paid them using hot.dat, those "inputs"/"outputs" are reused for my service, and suddenly they can associate me, the individual, with my service? And would that change at all if I used a separate "service.dat" wallet for the service? Won't it be the same "track" either way?
It's not something illegal or immoral. I'm simply trying to avoid any association between myself and the service, plus I'm also curious about this in general.
Answer: Yes, it's good practice to use different wallets for different mental entities that you don't want associated. Two different wallets cannot be linked from blockchain data alone.
However, that doesn't mean they couldn't be associated by different means, say someone seeing you use both of them, or monitoring transactions that are first relayed by your node.


Unfortunately, Google Play services has stopped?

Question: I recently bough an Android computer from China. However, it does not have Google Play Store on it. I've tried downloading and installing the Google Play APK. The installation appears to be successful, but it freezes each time that I try to open it, with a message saying "Unfortunately, Google Play services has stopped" The system has Android Version 6.0.1 and Kernel version 3.10.0.
Answer: Naturally, you cannot simply install Playstore as user app. First, it needs to be a system app, and second it depends on several other Google apps (GSF, Google Services Framework – see Wikipedia). For details, please check with our google-play-store tag-wiki and especially follow up to How can I install the Google Apps Package (Play Store, …) on my Android device?
Alternatively, you could e.g. use the the YalpStore app (and optionally the microG framework, an open-source GSF alternative – not really needed by YalpStore but would provide the needed services for other apps usually depending on GSF).
Comment: I have downloaded Yalp Store successfully. It seems to be working, but I'm unable to log in into one of the software I downloaded.

Do you know what this means...

"Not allowed to start service intent [act=com.google.android.c2dm.intent.REGISTER
pkg=com.google.android.gms(has extras)] without permission
com.google.android.c2dm.permission.RECEIVE"

I get this when I try to log in into a Point Of Sale software I downloaded through your Yalp Store.

I'll appreciate your insight.
Comment: That app obviously requires GCM (Google Cloud Messaging), which is only available via Google Apps or microG. See second paragraph of my answer and follow the link.


How to watch Apple keynote videos from the website

Question: I just noticed that I am unable to watch Apple's keynote videos on Ubuntu 12.10. Neither Firefox nor Google Chrome works.
I am however, able to view all the advertisement videos for all products on Apple's website. The link to the keynote video is here
Any help would be appreciated.
Comment: I'm willing to say this should be asked on the Apple Stack Exchange site. Apple doesn't want people who don't have Macs to watch it.
Comment: @MarcoCeppi I'm baffled as to why Apple wouldn't want as many people to watch this as possible.  It's probably more a web development issue than a decree from Apple to bar Linux users from watching their streams.  Anyway, it's not hard to get around; see my answer below.
Answer: Where there is a will, there is a way.  Apple changes links and their website around frequently, but in general, what you have to do is this:  open the page source.  Look for urls or javascripts that seem like they will open the video stream.  They used to have bare urls, but now there is usually some javascript that does the job.  I would look for something with edgesuite.net (or events.apple.com) in it.  I found http://events.apple.com.edgesuite.net/1210pibasdfvoihbadsv/event/url.js
I opened the js file and found:
/*snowLeopard url*/
var slURL = "http://qthttp.apple.com.edgesuite.net/1210pibasdfvoihbadsv/sl_vod_mvp.m3u8";

/* non-snowLeopard url*/
var nonSlURL = 'http://stream.qtv.apple.com/events/oct/1210pibasdfvoihbadsv/12poibnasfdvpiajbafvpihjbasfvpiubfsv10_350_vod_ref.mov';

etc.
I took the Snow Leopard URL and tried opening it in VLC (using "open network stream") and it didn't work initially.  So I tried running it via command line, got some libav error, googled around a bit, and finally tried:
vlc --ffmpeg-threads=1 'http://qthttp.apple.com.edgesuite.net/1210pibasdfvoihbadsv/sl_vod_mvp.m3u8'

which worked perfectly.
Comment: excellent. it worked. I would have loved if this could be done in easier way. think about all those who would like to try Ubuntu/Linux for the first time and get put off by the sheer amount of work they would have to do in order to get a keynote speech to play. A clever ploy by Apple.
Answer: They cant be actually..
Because, if you click on the videos, below you will see the requirements which clearly indicate the need of an apple device or atleast software(quicktime in case of windows)..
but one workaround is to install wine and install the safari browser on wine...
but that seems like a way too large workaround! rather wait for a week maybe and watch them on youtube then ;)


Can we get the gas compositions from a gas planets?

Question: Is it possible to get some gases like hydrogen from gas planets (Saturn, Jupiter,  Uranus or Neptune)?
Comment: When inserting into jupiter's orbit, Juno (https://en.wikipedia.org/wiki/Juno_(spacecraft)) was travelling at 210,000 km/h at closest approach, which on earth would be Mach 176. The gas you collect (and the scoops themselves, along wit the rest of your ship) will turn into plasma.
Comment: I think it's a really interesting question. I've voted to close as ""too broad"; the key would be to define more clearly what "get gas" means. There's currently an answer that interprets it as getting useful quantities for practical applications. Did you mean that?
Comment: What's your idea here, to swoop up gas in a fly-by? You'd be more prone to fall into the planet then, or break-up by tidal stresses. If you have a different idea how to get the gases, then I don't know. The enormous gravity of the gas giants is responsible for keeping all the gas for the age of the solar system, after all. If you have an idea how to overcome that..
Comment: Project Daedalus (1970s) would be fueled by hydrogen from Jupiter.  As to whether it's really feasible....       https://en.wikipedia.org/wiki/Project_Daedalus
Comment: As Uhoh said, title vs text made the Q really unclear.
Answer: Yes.  It's certainly feasible to obtain a sample from Jupiter or Saturn, effectively getting gas from the planet, but it's not easy.
Massive planets, as a byproduct of their high mass, create large gravity wells which require a lot of fuel to fly close enough to get a sample from and return with it to where it's needed.  It would take perhaps a ton of conventional fuel to return from Jupiter with a few pounds of gas, which isn't a good return on investment.
Collecting hydrogen from Jupiter would be expensive almost certainly not worth the cost.   It would be much easier to obtain hydrogen in space from frozen water ice, frozen methane or frozen ammonia, where hydrogen is abundant.     This can be obtained in icy comets and there's even some water-ice on the moon in craters, which has a much smaller gravity well.   Also on Mars' ice caps and inside Ceres, it's believed there's about an entire oceans worth of water, perhaps more water inside Ceres than on Earth.
That's a lot of hydrogen that would be far easier to harvest than hydrogen from Jupiter.   And while it would need to be separated from Oxygen, chemical separation would require many times less energy than collecting hydrogen from a gas planet's gravity well.   You'd also have the advantage of not just harvesting hydrogen but oxygen as well.
It's not impossible to harvest hydrogen from Jupiter or Saturn, it's just difficult to imagine it being worth the trouble.


What is a "homologous pair" of chromosomes in cross joining or cross over?

Question: I never understand if the chromatids attached at the centromere is a homologous pair, or the male and female chromosomes?
Answer: The term sister chromatids refers to the pair of chromosomes which have been produced from a single parent chromatid by DNA replication, while a homologous pair refers to chromosomes which are more distantly related (e.g. those inherited from one's mother and father, which I guess is what you mean by 'male and female chromosome').
So the two options you give are identical, and neither are joined together by a centromere. The sister chromatids are joined by the centromere, while the homologous chromosomes exchange material during recombination (cross over).


Is it Possible to Disable Feed and Topics for an Object Completely at Profile Level / Page LayOuts

Question: I need to display Case object(Detail page) in Portal Page for External users, And i need to Hide the Feed(No More "Show feed / Hide feed ") completely. Is it possible to hide feed in case object rather than creating a new page that display Case details in Portal page. i have created a new page layout with Un-checking "Feed based Layout" but i didnt achieved.Please any one clarify me,
Answer: There is no way to turn off chatter for specific profiles. You can hide it by overriding the view page with a custom Visualforce page and displaying the chatter on the detail conditionally if an internal user or external user. Something like this:
<code><apex:page standardController="Case">

<apex:outputPanel rendered="{!$Profile.Name != 'Community User'}" >
    <apex:detail subject="{!Case.Id}" inlineEdit="true" showChatter="true"  />
</apex:outputPanel>

<apex:outputPanel rendered="{!$Profile.Name = 'Community User'}" >
    <apex:detail subject="{!Case.Id}" inlineEdit="true" showChatter="false"  />
</apex:outputPanel>

</apex:page>
</code>
If the user follows the record however, chatter updates still show in their news feed.
Comment: Hi CyberJus, Thanks for your Kind reply. I have changed my detail page with this. Its working, Thanks alot!


What's the maximum number of people that have been in the TARDIS at once?

Question: What is the maximum number of people that have been inside the TARDIS at once?
Is it in the David Tennant series 4 episodes "The Stolen Earth" and "Journey's End", when all "The Children of Time" have gathered?
Comment: I can't definitively say when the *most* were, but New Who hasn't explored the TARDIS's capacities nearly so much as Old Who. [The Invasion of Time](http://tardis.wikia.com/wiki/The_Invasion_of_Time) saw a Sontaran **army** marching around in there.
Answer:
The TARDIS is capable of of being as large as she wants to be. Given the size of the spaces we have seen within it just within the episode Journey to the Center of the TARDIS, she is capable of maintaining any number of large spaces simultaneously without effort. Stacking an army within her halls or spaces seems completely reasonable.
As we have seen recently in Journey to the Center of the TARDIS, there are a multitude of various space held within. The Engine room of the TARDIS holds a collapsing star, an area which would have to be larger than an entire conventional or even Jovian sized world.

Apart from the ability to travel in space and time (and, on occasion, to other dimensions), the most remarkable characteristic of a TARDIS is that its interior is much larger than it appears from the outside. The explanation is that a TARDIS is "dimensionally transcendental", meaning that its exterior and interior exist in separate dimensions. In The Robots of Death (1977), the Fourth Doctor tried to explain this to his companion Leela, using the analogy of how a larger cube can appear to be able to fit inside a smaller one if the larger cube is farther away, yet immediately accessible at the same time (see Tesseract). According to the Doctor, transdimensional engineering was "a key Time Lord discovery".

There has been a wide array of information written on the interior of the TARDIS over the years and several fans have tracked exactly what spaces have been discussed in all forms of the show, both written and televised. A site called the Whoniverse discusses the named spaces of the TARDIS in great detail.
Comment: I am under the impression that the OP is asking for the largest number of people the show has actually portrayed as being within the TARDIS, rather than its theoretical limit. Good answer for the latter, though.
Comment: This doesn't answer the question posed by the OP, although it would be a brilliant answer for a different question.
Comment: _"The Engine room of the TARDIS holds a collapsing star, an area which would have to be larger than an entire conventional or even Jovian sized world."_ I dispute this. Immediately prior to total collapse the star could be as small as your hand. Since the star is suspended prior to collapse, there is no reason to assume that this suspension is not "_immediately_ prior" to said collapse.
Comment: If it was a collapsing star of mass > 1 solar mass, the Schwarzschild radius would be in the order of kilometers at least. And since we still see the star, we can assume it is not past that radius yet... So am not sure I agree with the assessment of hand-sized star. Then again, this is mushy-soft sci-fi, so...
Answer: I can't speak for the Old Whoniverse, but to my recollection, the largest number of individuals present in the TARDIS would had to have been during the episode "Journey's End". At the end of this episode, most of the recurring characters throughout the new series help the Doctor pilot the TARDIS (he claims that the turbulence is due to the fact that TARDISes are designed to have a six-man crew).
During this part of the episode, the following people are present inside the TARDIS: The Doctor, Donna Noble, Martha Jones, Rose Tyler, Jack Harkness, Sarah Jane Smith, Mickey (Ricky) Smith, and Jackie Tyler. This sums up to eight individuals.
Comment: I think you might have missed the MetaCrisis-Doctor. Which would bring the number up to 9 equalling the number given by @JoLori, for Earthshock.
Answer: 9 people were on the Tardis in Earthshock:  The Doctor, Adric, Tegan, Nyssa, Kyle, Scott and three of his men.
Answer: Since the existing answers seem to give numbers from 8 to 10, it's possible the latest episode "In the Forest of the Night" just set a new record.
Near the end of the episode--35:50 is when I paused--the Doctor is talking to Clara, Mr. Pink and a class of eight schoolchildren (if I counted correctly), all of whom are inside of the TARDIS, which adds up to eleven people.
Comment: Also, I really don't mind if people mention me by name (or userID :) in chat. I actually mind the reverse, as you never know who's talking about which "that droid" or "that force user" or "that character". I have enough spoilers in question subjects, meh :)
Comment: Rewatching the series. This is the episode (Forest) that made me wonder the OP's question. Came here to ask, saw it's been asked. Not so sure we have a conclusive answer.
Answer: Have we forgotten when the the doctor picked up everyone in "the devels run" he had to have picked up more than ten people in it. He had a entire army plus companions.
Comment: I think you meant _A Good Man Goes to War_, which takes place on the asteroid base _Demon's Run_. Yet we cannot really be sure how he gets them there in the first place - individually or at the same time, or if maybe the entire Silurian army just transmats in from someplace else.

What’s the maximum number of people that have been in the TARDIS at once?


Kitchen fixture pulled lose from ceiling

Question: My kitchen fluorescent fixture has pulled lost from the ceiling and is dangling just by the electrical wires. It is an older home(25years) and the anchor bolts have pulled thru the drywall. I have tried to drill new holes but the drywall just keeps pulling out from the weight of the fixture.
What type of repair person should I call because the drywall may need to be repaired also.
Electrician, handyman, kitchen remodel shop??????
Answer: A handy man that knows how to patch drywall and some carpentry should be able to install blocking between the joists that the fixture can be screwed to but if you need someone that can match texture and finish you can get a drywall professional to do that part. You need to have an electrician evaluate the wire to make sure that the wire was not damaged by the fixture hanging by it he would also know how best to re hang the fixture.
Comment: Best method, then the weight of the fixture no longer is pulling on ancient plasterboard. Anything that puts weight on the board puts weight on the nails holding it in place.
Answer: Don't use plastic anchors. Instead, use "molly bolts" or expanding steel anchors that grip from BEHIND the drywall.
For Plan B, you could cut a short slot about 2" wide where it'd be hidden by the fixture, and slip a 3"-wide piece of plywood up through the slot. Turn it crosswise to the slot and screw through the drywall into it. Now you can screw your fixture to the plywood with drywall screws.
Answer: I realize this is a month old but I'll add an answer.
A) This is a job for an electrician, NOT a handyman.
B) If this is a fluorescent then it is likely that it is big enough to have at least a few of the mounting screws hit framing above the drywall.


How can I change the SID of a user account in the Active Directory?

Question: I accidentally deleted a user account, and need to recreate it with the same SID. I've created a new user account with the same name, but how do I edit the objectSid attribute? ADSIEDIT errors with "Access to the attribute is not permitted because the attribute is owned by the Security Accounts Manager (SAM)". Any other methods?
Comment: I'm giving rep to this question because even though it's something you can't do and shouldn't try, it's a good one and an important point to highlight. :)
Answer: You can't.  You have to do an authoritative restore of the user account in order to get a user back.  Have a look at this Technet article.
Comment: Got there before me!
Comment: Thanks, I will try this instead. Do you know of any way to perform this without rebooting the DC?
Comment: Please ignore last comment. I found a way to reboot remotely into DS REPAIR mode so it's ok.
Answer: I know this question has been answered, but for the future you may also look at the tools out there like Quest's Recovery Manager for Active Directory. If you have a system state backup it can recover the object without a reboot of the DC. They've been known to work with folks in a situation like yours to try and get you up and running in hopes of getting a sale. Better, though, is to already have it licensed and in place in case there's a major issue, like someone deleting an OU or something drastic like that.
Comment: +1, good suggestion.  Also investigate if your standard backup software can do granular AD restores.
Comment: +1 here also. I'll attest to Quest's excellent pre-sale support. I use their LiteSpeed product for SQL Server backups and my rep has bent over backward for me prior to receiving our PO.
Answer: The answer I'm afraid is "you don't".  A good writeup of what SIDs are, what they're used for and how they work is here: http://technet.microsoft.com/en-us/library/cc961998.aspx which should make the reasons why obvious.

Update for 2017
The Active Directory Recycle Bin has been a feature since Windows Server 2008 R2.  It's designed for just the scenario in the OP (recovering accidentally deleted objects - "Active Directory Recycle Bin helps minimize directory service downtime by enhancing your ability to preserve and restore accidentally deleted Active Directory objects without restoring Active Directory data from backups, restarting Active Directory Domain Services (AD DS), or rebooting domain controllers."), removes the need for third-party software (which doesn't always interoperate cleanly, and is not always robust in the face of OS updates), incurs minimal overhead, and has saved my own ass a number of times.  Highly recommended.


Fall over each other with doing something

Question: What is the correct way to interpret the expression " Fall over each other with doing something"? Not sure if this question should be posted to English Learners our Chinese Stack Exchange, asI found this definition as the explanation of the meaning of the Chinese character 争 (zheng1) in a bilingual dictionary. Thanks.
Comment: Imagine an old movie: When the beautiful woman takes out a cigarette from her purse, the rival suitors are "falling over each other" to light it for her.
Comment: See [here](http://www.oxforddictionaries.com/definition/english/fall-over-oneself-to-do-something).
Answer: It means being extremely eager to do something, especially when the haste to do it right away causes problems or errors.

When the Admiral sneezed, junior officers were falling all over each other to pass her a tissue. Two even collided with each other and had to go to sick bay.

Imagine a group of navy officers all pushing one another out of the way to get in the Admiral's good graces.

When Boeing announced their intent to open a new plant, State Governments were falling over each other to offer tax incentives and favourable legal environments.

State representatives, in their eagerness to get a big contract for their state, might find themselves offering so many incentives to the company that they end up losing money overall.

When Michelle, my high-school crush, asked for help with her homework, I was falling over myself to do it for her.

So eager to help the girl that the speaker perhaps put themselves in a bad position.
Answer: The meaning of this phrase is "to be excessively eager to do something" (ODO).
Comment: Falling all over each other - a group of excessively eager people.
Falling all over himself - a single excessively eager person


What portion of our annual deficit is financed by bonds?

Question: What portion of our annual deficit is financed by bonds?  Compared to say, treasury notes (such as checks and printed currency), or private lending?
Comment: I'm not exactly sure what you mean by this question. Treasury notes are a type of government bond. Printed money doesn't actually help finance government spending, since all federal reserve notes are backed by assets (usually US government bonds) held by the Fed. Finally, what do you mean "private lending" in this context? "Private lending" (from non-governmental organizations or individuals) finance deficits by buying government bonds.
Comment: @AndrewC Some people would say that a Treasury bond was over 10 years in original maturity, a Treasury note 1-10 years and a Treasury bill 1 year or less.  But you are right that (apart from time) they are very similar
Comment: Ah, alright, that makes more sense. So to clarify, you're wondering what percentage of our debt is financed by short term bonds vs medium term bonds vs long term bonds (or similar- debt financed over different time horizons)? Final question on that point- just to further clarify, what do you mean by "private lending" exactly? Thanks!
Comment: The wording in this question has problems. A "Treasury Note" (note capitals) is a debt instrument issued by the Treasury with a maturity from 2- to 10-years, and most people call them "bonds", although Treasury Bonds have an initial maturity greater than 10 years. Currency are Federal Reserve Notes (although I believe historically the Treasury issued some?). The other problem is that it compares a deficit (a flow) to stock variables, and it will be very difficult to align the changes to the stocks of liabilities (money/debt) to the deficit in any given period exactly.
Comment: @KevinBattleson I would appreciate you mentioning which country you're referring to.
Answer: Unfortunately, there doesn't appear to be a single site that clearly identifies the data you seek. However, that information does appear in a couple of different sources, (in a couple of different formats):
This source from the Treasury gives a list of the values of all different types of securities auctioned off at every recent treasury auction in Excel spreadsheets
This source gives the relative holdings for domestic and foreign agents, however it doesn't break down the data into as clear specifics for tyeps of debt held.
Finally, these presentations give overviews (in the "Financing" section of each presentation) of the total value of each type of bond that was issued, and the corresponding value of each typoe that matured.
Hope that helps a bit!
Comment: I'm not sure how I can clarify any further.  Its not as if when the government runs a deficit that it must finance all of its debt through bonds, otherwise the national debt would never increase.  To clarify my understanding, the national debt isn't how many bonds we've issued to private lenders, its how much currency is in circulation.  Saying that we finance all of our annual national deficit through treasury bonds is absurd, that would mean we'd have 20 trillion dollars in privately held bonds.  At least some of it must simply be added to our national debt and cause inflation.
Comment: @KevinBattleson I think your understanding of the national debt is a bit off then. The "amount of money in circulation" is the money supply, the national debt is the face value of all outstanding securities the US government has sold. And regardless of how absurd it may sound, that's exactly what it means- the total face value of all outstanding bonds sold by the US is roughly $20 trillion.
Comment: wow!  okay, well that's... terrifying.  So basically whoever holds those bonds owns our country, then?  What happens if the US issues bonds and no one buys them? So how does the government expand the money supply?  If they don't print currency or issue treasury notes, do they issue loans?  If they issue loans, are the loans backed by anything?


Using texture from substance painter (tri plannar projection)?

Question: i create texture using substance painter, then use it on blender principle BSDF, but the result so ugly different from the result on substance painter, i expect its because of the triplanar projection
any idea how to fix it?
Answer: It looks like your image texture is not mapped correctly on the surface, did you check, if your Texture matches your UVs? And add a Texture Coordinate and a Mapping node to your Material-Setup. The easiest way to do that is to use the Node-Wrangler-Addon (CTRL+T Shortcut), it should be activated by default in blender 2.8, select the Principled BSDF Node and import your maps by using the shortcut CTRL+T, the add-on should create the right Node-Setup. Then check if the texture-mapping is made by the UV-map. All the best Marco Vitale
Comment: yeah i put the wrong box instead of flat on the image texture node,
but still the texture is not seamless, i still can see some line in the object
in substance painter everything is good, what am i missing?
Comment: Can you post another screenshot, maybe one with the UV-Editor open as well? And maybe one from substance painter?


Removed background from image but it has removed the inside colour

Question: I was editing an image on illustrator (i have photoshop as well), but the after removing the background, the inside colours were taken off as well. I put the background of the page as blue so you can see the contrast. I wanted the hair, flag, face, torso, arm, hand and one of the feathers on the right wing to still be white. essentially i wanted everything outside the outline to go. the other image with the white background is what was sent to me
any help will be great.
thanks
.
Comment: How did you "remove the background" In Illustrator?
Comment: I suspect it's because of the gaps in your line drawing.
Answer: The black shape seems to be a traced bitmap image - it's too complex to be a native vector drawing. So, the black curves aren't strokes, they are areas filled with black. If these guesses are right do the following

The original shape
Gaps are filled; this is a red square (=outlined stroke) for easy removal if the gap is wanted to stay. It cannot be a stroke, it must be a filled area!
Select all, click the Shape Builder tool, select "no stroke" and the wanted fill color. Fill the areas.
The patch on the gap is removed.

The fill is a new separate new, it can have any color.
This is a test result with this method:

Your 2nd image is traced as black and white (fill only, no stroke, ignore white). Few patches were inserted to the bottom edge of a wing and top left corner of the flag. Shape Builder fill color was white. The patches are removed and a blue BG was inserted.
BTW double clicking the Shape Builder tool icon opens a dialog where one can set option"Gap detection" =ON. That can solve the problem with no gap patches. But you must click with the Shape builder tool many more times.


Transcribing as ear training

Question: My favorite thing to do is try and transcribe my favorite solo's. But what I find is that most of them actually start off easy ( and slow ) and can progress with either faster riffs or embellishments of other instruments. There's also the fact that in some of these songs, the notes are even faster than I can play.
I'm curious if you have learned to transcribe by taking simple songs like Happy Birthday and progressed from there, or done it by just trying to play the stuff you like even if you don't get it all ?
I guess I'm asking which of these methods do you feel I would progress faster.
Answer: Transcribing is one of the best ways to learn music.  It teaches ear training and how to identify technique for particular instruments.  It also challenges you to separate different sources in one recording.  When I was young we used to transcribe fast riffs by slowing down the spin rate of an LP (vinyl record player).  The pitch will drop but you car determine relative pitch to get the riff or lick then get the first note at normal speed.
In time you learn to identify entire scales, arpeggios, etc in one shot.  If the music is highly processed or has lots of effects and distortion it may be a lost cause for anyone to transcribe properly.
You are correct in assuming that transcribing simple tunes is a good start to build confidence then move on to harder things.  Other exercises might be identifying chords, inversions, modes, etc.  My guitar teacher used to quiz me by playing things on the piano and having me identify the correct interval etc.  If you aren't taking lessons or have someone to work with there is a software program called Ear Master.  It has a library of ear training exercises.  Another exercise, which is transcription, is to sit with your instrument in front of the TV or radio and (try to) play every jingle that comes on, themes for shows, commercials etc.  This really challenges you to develop a good ear.  Joe Pass claimed that his father made him do that as a kid.  It clearly paid off.
I cannot say what will help you progress faster since that depends on factors I cannot assess.  Some people do well in the deep end.  But I think trying easy stuff couldn't hurt.
Answer: Transcribing is one piece in the puzzle, one tool and one aspect of learning music. But it's not either/or, you should learn to play by ear what you hear straight away as well, without writing it down first. Sometimes if you think you heard it right, if you slow it down and spend time transcribing it, you may realize that you heard it wrong the first time. For the most difficult passages transcribing may be the only way, but after you got it nailed down, you may find that then you can identify the same elements in other contexts and hear it more easily. So, do both.
What comes to Happy Birthday ... if you can't learn to play that melody without writing it down, then maybe you should practice more. :)
Answer:
Transcribing as ear training

It seems a bit putting the cart in front of the horse.
You cannot transcribe if you can't identify pitches - chords and scales, etc.
Don't misunderstand me. Transcribing is a great exercise! But I think it benefits from first establishing some base level of ear training. If you don't have that base established already, then trying to ear train from transcribing seems to set you up for a lot of frustration.
Two thing I have done to get my ear trained are:

Play essential harmony patterns in all keys. For me that was rule of octave for classical and ii-V-I rootless chords in major and minor for jazz.
Sing various parts while playing those harmony patterns. By "part" I mean: bass, soprano, or inner voices.

Training from those pattern seems to help my ear even when transcribing music not in those particular styles or those particular progressions.
Having said all that, you specifically mention...

...the notes are even faster than I can play...

This may not really be about identifying pitch as much as breaking down brief passages.
Try a strategy that focuses on previous connecting and next connecting notes. When you get some part identified stay focused on what notes lead into it and where it next goes, one note at a time.
Different parts of a passage can stand out as clear: starting, ending, highest note, lowest note, a point where the line changes direction, etc. Focus on the note that connect to those known parts.
Try to sing those two note connections.
Don't just keep trying to fake your way through the passage. It's too easy to approximate the passage and fool yourself into thinking you have it right.
It can become tedious as you replay a short section of a recording over and over to get just two notes, but sometimes this is what it takes to get something nailed down.
Oh, it doesn't hurt to ask a friend with a better ear. My wife always bails me out, because she has better pitch than me! :-)
Comment: I began transcribing jazz piano solos before I had ever done any ear training at all, and it was the best thing for my progression. When I started, all I could do was sing the major and minor scales, and this is how I picked out notes (but singing up from the root). As I learned more jazz theory, ear training, etc., it all came way faster thanks to having transcribed so much. That said, I began with Kenny Barron and Wynton Kelly on songs like Softly As in a Morning Sunrise and There is No Greater Love. It would have been much harder to start with Cecil Taylor or on songs like Countdown.
Comment: Whatever you did to get to the point of singing those scales surely involved some basic musical patterns. That learning is ear training whether it's call that or not. My point is to say practicing common patterns _trains your ear_. You may also have a natural ability for pitch. What about a person who doesn't have a good natural sense of pitch? Transcribing with no preparation will _frustrate_ that person.

Transcribing as ear training


Dishwasher not draining water

Question: I have a Bosch dishwasher that is 4 years old. Lately it has been leaving water at the bottom at the end of the cycle. Tried running the cycle again and it cleans the dishes but leaves water in the end. Any tips as to what is possibly wrong?
Comment: If anything in the drain system is partially blocked it can cause poor draining. Have you given everything a good clean? First by hand, then a dishwasher cleaning product. Also the trap on the adjoining sink (assuming the dishwasher is connected like most I've seen) - inspect/clean or try putting a caustic soda based cleaner down it. If you've done all that it's time to start thinking about repair.
Comment: How is the drain line run?  Can you post some photos of the drain line?
Comment: @ChrisH that was it. A clogged drain pipe. Problem fixed.
Answer: The drain valve could be sticking. There is usually a solenoid that opens the drain valve at the end of the cycle and the water is pumped out instead of circulating.
If the solenoid or the valve is malfunctioning then water could be left after the cycle or the dishwasher doesn't fill as far as it should.
Experiment some more but it sounds like a repair is in your future.
Good luck!
Comment: Any pointers to what I can experiment with?
Comment: Well, my GE was not closing the drain valve all the way so when it filled at the start of a cycle it never got quite full. Then at the end of the cycle it never completely emptied. If you have the owners manual see if you can locate the drain valve. It should be close to the origin of the drain hose. Mine has a pretty simple solenoid that pulls in at the end of the cycle and then drops out and the spring closes the flapper valve. The solenoid was sticking and finally burned up. Then it wouldn't drain at all.
Comment: Usually you can advance the timer by hand to simulate the cycle until you get to the point where the drain valve opens. Then observe the valve in action to see if it is working.
Answer: It turns out the problem was not as bad as some had thought. It was a clogged drain pipe (black pipe in 2nd picture) and all I needed to do was remove it and unclog it. Apparently this is a very common problem. I found the answer here.

Dishwasher not draining water


How i can know the SQL service account for our sharepoint 2013 on-premises farm

Question: To be able to run the BackUp-SPFarm i need to create a network location/drive and grant the sql service account read/write permission. but for our sharepoint on-premises 2013 /2016, how i can know what is the SQL Server service account for our sharepoint servers, as some of these servers were created many years ago by other companies?
now when i try to do BackUp-SPFarm it always fail unless i grant Everyone read/write. but i do not want to grant everyone access to the backup folders, where i only want to grant the sharepoint farm account (i can get this account under the security >> managed accounts), but i am not sure from where i can know what is the sql service account for our sharepoint farm?
Thanks
Comment: You can refer below link and check the service account to know which account is used as SQL Server Service account.

https://docs.microsoft.com/en-us/sharepoint/security-for-sharepoint-server/plan-for-administrative-and-service-accounts#server-farm-level-accounts
Comment: @DivyaSharma in our case i can not find any accounts that start with MSSQL or sqlagent as described inside the link you provide
Answer:
Log in to SQL-Server via RemoteDesktop and start SQL Server Configuration Manager
Go to SQL Server Services
You will find a SQL Server (INSTANCENAME) service there. You might have multiple entries, please let me know if you need help identifying the correct instance
Column Log On As will show you the correct account.

SQL-Server by default gets installed with a virtual account like NT Service\MSSQLSERVER or NT Service\MSSQL$INSTANCENAME. In this case you need to give read&write permissions on the network share to the computer-account hosting SQL-Server
SQL-Server can be installed with a Domain-Account like DOMAIN\username. Give read&write permissions to this domain account on your network-share
Comment: thanks a lot for your help.  i can do this inside one farm where i login to the sql server itself and i follow your steps and the Backup-SPfarm worked well. while on other farms i can not login remotely to the database server.. so can i from sharepoint server itself know the sql service account, or by running power-shell scripts or using Central admin?
Comment: This is a SQL-Server specific setting. You cannot query it from SharePoint. If you have access to the SQL-Server via SQL Server Management Studio from any machine, you can query the required information via T-SQL: SELECT servicename, service_account FROM sys.dm_server_services
Comment: Now the backups working for You @SharePointTestDev ? So the SQL account needs to have permissions on backup folder?
Comment: Yes. The Database Backups are placed directly by SQL Server to the Network Share. So it also needs proper permissions.
Answer: If you start BackUp-SPfarm it create a job, jobs are running under SPTimerv4 so look to Windows Services and Account which is used for SharePoint Timer V4, this account should have permissions to the Folder.
Comment: the sharepoint timer job runs under the sharepoint farm account, and this account is the owner of the backup folder... seems there are additional accounts that should have read/write on the backup folder
Comment: have you mounted this folder to the SharePoint Application server or you are using UNC path? It'S this folder accessible from SP APP server?
Comment: this folder is a local folder inside the sharepoint application server, and i have shared it. again if i grant everyone read/write the Backup-SPFarm will work well without any issues.. so there is not any problem with accessing the backup folder, also if i remove Everyone from the share settings, the backup folders will be created but their size will be less that 10 MB and the backup will have errors inside its logs...
Comment: Have you tried add WPG_Admin group from APP server?
Comment: what is exactly WPG_Admin ?
Comment: This is group on SharePoint server which containing accounts for SharePoint. Look on server into "Users and Groups" and there will be 2 or 3 WPG_ groups, so try add WPG_Admin group, this should covered all SP accounts which are used.
Comment: i can not find any user/group which start with WPG? i am not sure what does WPG represents ?
Comment: Its local group on each server WSS_ not WPG at start. Go to SharePoint App server, open lusrmgr,msc, Groups > WSS_Admin_WPG group. This local group use on folder for backups.
Comment: now inside the `lusrmgr.msc` i can see a group named WSS_WPG , but i can not ad this group to the backup folder .. not sure why.. while i can add other groups such as administrators, backup operations, etc... i tried this on 2 farms and i am unable to add a user named WSS_WPG inside the file share permissions, i will get user/group not found
Comment: while you are adding this group you must change the location from your domain to the Computer name. I did this now and worked, you should have here tree groups: WSS_Admin_WPG, WSS_Restricted_WPG, WSS_WPG


Batch-Resizing images in OS X to a certain height

Question: How can I resize a batch of images using Automator, so that all images will have a fixed height, e.g. I want to resize all images to be 60px high while width can be anything.
Answer: You can also batch-resize images from Preview:

Or install ImageMagick with brew install imagemagick or sudo port install imagemagick and use something like this:
for f in *.png; do convert $f -filter lanczos2 -resize x60 -quality 93 ${f%png}jpg; done

More examples:
# modify images in place and make images larger than 1280x1280 pixels smaller
mogrify -filter lanczos2 -resize '1280x1280>' *.png

# save thumbnails to ~/Desktop and make images wider than 500 pixels smaller
mogrify -filter lanczos2 -thumbnail 'x500>' -format jpg -quality 93 -path ~/Desktop/ *.png

# make images smaller or larger and crop them so that they are exactly 200x200 pixels
-resize 200x200^ -extent 200x200 -gravity center

# use a white instead of a black background
convert transparent-bg.png -flatten white-bg.jpg

The default filter for downscaling images is Triangle, which often makes images look too blurry without additional sharpening in my opinion. Triangle is similar to the resizing methods used by Automator and sips. I usually use Lanczos2 (2-lobe Lanczos), which makes images less sharp than Lanczos (Lanczos3 or 3-lobe Lanczos). Lanczos2 is almost identical to Catrom, and it is also similar to the bicubic option in Photoshop.
A comparison of different resizing options: http://lri.me/upload/imagemagick-osx-resizing/index.html
Comment: Now, a bash two-liner more difficult than getting imagemagick set up and having it perform the desired action? Hard to believe ;-)
Comment: Wow, I've been on OS X for over a decade now and I didn't know that Preview was capable of batch editing! That's totally awesome as it's available on every Mac and dead simple to use. Even batch conversion of file formats is possible and works analogous to resizing: http://goo.gl/wQ1osW
Answer: Use (install) the Action "Save for Web" available in
http://junecloud.com/software/mac/junecloud-automator-actions.html.
Worked for me :).
You can specify a maximum with and Height for the image.


Where can I find the old (free) version of Nik Collection?

Question: I want to use the Nik collection for some editing I am doing. As I understand it, google made this collection free, and shortly after DxO bought it, it received some updates and a price tag of $70. The free trial would probably work, but it is not an ideal solution. Is there a place to find the older, free version of Nik collection? Also, would it even work with PS CC 2018?
Comment: Because the software is available from DxO, seeking to find where to find older or unsupported free versions is akin to being a "shopping" question.
Answer: Old version is available on numerous file download sites I wouldn't trust - but found you can still get it direct from DxO:
https://nikcollection.dxo.com/nik-collection-2012/
Answer: I downloaded this free version at the time it was made available. I learned about it through the "Photo Rumors" website. It looks like the official download links listed in the article there are still live...
Nik Collection now available for free | Photo Rumors
Answer: There is a sad truth: If some company makes something freely available - unless it comes with a license that allows redistribution! - and ceases to do so, anything available on the internet after that time will be a bootleg copy in nature.
I am not commenting on the ethical issues/controversy.
Just be aware that sites where files that are legally in a gray or black area are offered, especially if that content seems to be monetized in any way (eg by banner ads), tend to be untrustworthy: Someone who doesn't respect intellectual property in order to profit from running such a site could potentially also be someone who doesn't respect the integrity of your computer or personal data if they can make a profit from not respecting it.
If nik (or a third party THEY (or a reputable publisher like a computer magazine) used to host their download link) still make it available for download even if it isn't advertised, that risk of course is not given. However, anything pointing to a generic file hosting service should be treated with suspicion.
Answer: Try this Older Version
In general searching for "older version of software installer" or "version x.x.xx version of software installer" will get you what you are looking for. There are other, less reputable ways of getting that software too.
Comment: See my answer for why this is an idea to be considered with caution.


Dua for marriage

Question: Forgive me if this appears to be a dumb question but I am asking here anyway given how helpful everybody is here. Do you know of any surah/dua that will help me to marry sooner and the kind of man I want to be with? I am of marriageable age but making too little progress there. It feels like the toughest thing ever. Currently my household has become emotionally abusive so I am even more desperate to leave and start a new peaceful life. I beg my sisters and brothers on this platform, if you know any good and fruitful dua for a good and quick marriage, kindly share it with me.
Answer: ﷽
Assalaamualekum my sister in faith.
One of the most important things for a believer is to not lose hope in Allaah's(ﷻ)Mercy.
Allaah (ﷻ) says in Qur'an (93:5,6)

For indeed, with hardship [will be] ease. (5) Indeed, with hardship [will be] ease. (6)

Notice that Allaah (ﷻ), repeated it twice to reassure His believing slaves.
Another thing is to always keep in mind that we are being tested. In all situations we praise Allaah (ﷻ) and we need to adopt one of the two things for the sake of Allaah (ﷻ)
Shukr When things happen in ways such that we are pleased with them
Sabr When things do not happen in ways such that we are pleased with them
And Allaah (ﷻ) says in the Qur'an (2:153)

O you who have believed, seek help through patience and prayer. Indeed, Allah is with the patient. (153)

So make lots of dua to Allaah (ﷻ) and have patience of His sake.
Also, you mentioned

I beg my sisters and brothers on this platform,

Allaah (ﷻ) has honored the believers with Eeman. Do not beg to anyone except Him alone. Allaah (ﷻ), my Lord and yours is closer to you than any one of us could possibly be.
Coming to dua for quick marriage, we do not find specific dua in Qur'an and Sunnah. But there are a few things that you can do-

Be regular about five daily prayers.
Pray tahajjud in the last third of the night and make lots of dua after prayer, as this is the time for acceptance of dua.
Contemplate about your past sins and the ones you might be doing currently. Sincerely repent. And make lots of Istagfar, especially Syed-ul- Istighfar
Involve in extra good deeds, charity etc.
Pray for your Aakhirat more than anything else in this worldly life, (even marriage). As aakhirat is what matters at the end.

May Allaah (ﷻ) make things easier for you.
Comment: Walaikumassalam brother/sister. Many thanks for your eloquent and eye-opening answer. May Allah (ﷻ) shower His blessings upon you for the kind and informative reply.

Dua for marriage


Where/how can I find out about public breastfeeding facilities?

Question: My wife and I were going to plan our first family outing with our newborn. The easiest way for us to breastfeed is still with the breastfeeding pillow and a chair. So no hooter hiders quite yet and my wife is modest about whipping 'em out in public. We're trying to figure out online where/what stores might offer breastfeeding facilities. My google-fu is failing me.  Is there some place/way to find out (in the US) where we can breastfeed? Is there some common signage or online place where breastfeeding locations can be easily located so you can plan your day around feedings?
Comment: Ikea is very family friendly with kid-sized toilets, change tables, and supplies! They often have private rooms for nursing, complete with rocking chairs.
Comment: My wife loves the baby rooms in art museums here in Seattle.
Comment: The only stores I've noticed that offer private breastfeeding facilities are the ones tailored specifically to maternity (Motherhood, for example).
Comment: @Beofett I've heard that Nordstrom has facilities, which made me wonder whether there's some way I can know if where we're going will have them
Answer: I don't know how complete their database is, but this iPhone app provides a database of public locations with comments:
New Medela iPhone App Helps Breastfeeding Moms

With the Breastfeeding-Friendly Places feature, on-the-go moms can quickly locate a clean, comfortable place to breastfeed or breastpump. Driven by GPS navigation and Google Maps, the locator will include Medela reviewed and approved locations nationwide.  Moms can also submit their favorite public locations for breastfeeding and include comments.
Comment: Do you know if this database is accessible without an iphone through a web interface? I checked the Medela site, but nothing obvious pops out at me.
Comment: My wife tried this app out and it was basically useless for Seattle. Instead of a database of places to breastfeed it was a database of places to buy Medela stuff which I guess might also be good places to breastfeed, but there were none in downtown Seattle. An app with user generated content would probably be best for this, I hope someone writes one.
Answer: In the UK it is illegal to discriminate against women who wish to breastfeed.  So, if your wife was not shy about whipping them out in public she could go into any (open to public) business and feed.
Most places will have some kind of baby-changing room.  They sometimes have seats suitable for feeding.  As you can imagine, it's not the nicest place to feed a baby.
Comment: It's also illegal to forbid breastfeeding in the US; even so, it's very common for nosy strangers with no tie to the business whatsoever to come up to complain and criticize. That can be an uncomfortable hurdle to overcome, although practice, overfull breasts, and an hungry/angry baby are helpful incentives. However, it's also worth noting that I've had many supportive comments from random strangers as well :)
Comment: Unfortunately, the modern world is not educated enough to consider breastfeeding in public as a natural process and the breastfeeding woman may expect the criticism of the strangers. No matter, how resistant to a public opinion you are - it may still influence the sacred process. Thus, the intervention of the observers may be a significant disadvantage of public breastfeeding: [the pros and cons of breastfeeding in public](http://motherhow.com/breastfeeding-in-public-the-pros-and-cons/)
Answer: My wife's cousin just recently gave birth 5 months ago but is now back to work. She says she breastfeeds when out with the infant and pumps when at work. She said she recently found a mobile website through a Facebook moms group called MomsPumpHere (http://www.momspumphere.com/places/list/all) that loads a huge list of places in your specific city or state, where moms can breastfeed or breast pump when moving around.


Can I use my Sweden issued Schengen visa to go to France and Italy only?

Question: I am from Bangladesh and planning to visit Paris (7 days) and Rome (6 days) in August with my family. As I was a bit late in applying for a visa at the French Embassy, I got a visa from the Swedish Embassy, which takes much less time end to end. Now, if I enter the Schengen area through Paris and entirely skip Sweden, will we be allowed to enter?
Comment: How did you get Sweden to issue a visa without having plans to visit Sweden as a main destination? Did you just make something up?
Comment: It's good that you admit that you basically lied on your visa application. It's bad that you did lie.
Comment: If this comes to the attention of the border officers when you enter the Schengen area, your visa could be revoked, in which case you would be denied entry and sent home.  It is best to stick with the itinerary you presented in your visa application.
Comment: Kind of that! I submitted the itinerary to Sweden embassy with plan where I will stay more time in Sweden than Paris. The problem is, my two friends are also visiting Paris at the same time and they will not visit Sweden. If I need to catch them up, I can only spend 1 or 2 days in Stockholm which I think is not worth in terms of cost and travel hassle.
Answer: You may make minor adjustments to your itinerary after the visa is granted.
You may not present a false itinerary in order to get a visa. If you are found out, the visa will be cancelled, and getting a new one any time in the future will be difficult.
Apparently you have lied to get the visa. phoog made a good suggestion in his comment: turn the lie into a fact and to follow the itinerary which you have submitted. Sweden is quite nice in August, beautiful coasts, beautiful islands.
Comment: For **small** changes, you just do it. Bring documents like hotel reservations and return tickets with you in case there are questions at the border. For **large** changes on a single-entry visa, cancel the visa and apply for a new one.
Comment: Thanks o.m and phoog for your feedback. I also understand the situation and eventually booked hotel and flight to Stockholm accordingly though not confirmed yet. But at the same time, want to travel with a big group. So trying to give a second thought. My question is after getting visa, if I want to change my itinerary what is the procedure? After all, it is just for tourism purpose.
Comment: And for any other changes, there's Mastercard. ;)


This site is Elitist Not Buddhist

Question: This site is not inclusive. In fact, it is elitist. It is everything Buddism speaks against. When you post a question anyone who has a thought on the subject should be able to post a comment and not have to earn the privilege to have an opinion.
Sandra Lockhart- I will not return, thanks anyway
Comment: @Sandra, I hear you.  I agree elitism is not good.  However to be fair, requiring reputation for comments was not a policy proposed by anyone here.  The policy was created long ago when buddhism Q&A was not even part of the network.  There are plenty of people who don't like the policy as you can see here, but notice there is no connection to this buddhism site:  https://meta.stackexchange.com/questions/214173/why-do-i-need-50-reputation-to-comment-what-can-i-do-instead
Answer: You wrote, "When you post a question anyone who has a thought on the subject should be able to post a comment"
In fact, when you post a question, anyone who has a thought on the subject is able, to post an answer (not to post a comment).
This is intended as Q&A site. The tour (i.e. the quick overview of the site) says:

Ask questions, get answers, no distractions
This site is all about getting answers. It's not a discussion forum. There's no chit-chat.

People can eventually comment on other people's answers ... but that (i.e. commenting on other people's answers) is not the main purpose the site ... it's a "privilege" reserved for people who have used the site enough to understand the difference between an answer and a comment. See also:

What is reputation? How do I earn (and lose) it?
Comment Everywhere

Note that the "Comment Everywhere" description has quite a long list titled, "When shouldn't I comment?" One of the reason for making commenting a "privileged" operation is so that users have time to get used to policies like this, before they begin to post comments themselves.
In summary:

You are welcome to post questions and answers, and post comments to your own questions and answers.

You can post comments to other people's questions and answers after you've "earned" some "reputation" (not very much is needed, i.e. "50" ... you can get 50 by getting 5 upvotes on your answers).
Comment: There's one exception to the above: a very few questions are [protected](https://meta.stackexchange.com/questions/52764/what-is-a-protected-question), because these specific questions attracted several low-quality answers from new users. To answer one of these questions, users need a reputation of at least "10" (which you would earn from one upvote to an answer, to one other question on the site).
Comment: Thank you @ChrisW for this post.
Comment: Chris, I appreciate your valiant attempt to provide an answer when you were not even allowed the benefit of a question to start with (it seemed like only a statement).  Fwiw, I hope you don't feel too elitist now :)  I think she just didn't have enough time to understand how SE works, only having joined a day earlier.  It's easy to forget it takes some getting used to.
Answer: The SE engine is a website type that can be reused for different special interests. It was created to address the problems of forums (e.g. phpBB) and mailing lists. Those online social mechanisms have a variety of problems, such as lacking features to encourage people to stay on topic, to create high quality content and be civil.
SE started out as Stack Overflow, which was for software development questions. It was very successful in that area and the developers of SO create SE for a long list of special interests that might fit the question-and-answer format, including Religions and so on. There is nothing in particular drawn from the field of Buddhism (or Personal Finance or Parenting or whatever) to make the rules. For example, I imagine a Buddhist site might have features related to sectarianism (this SE is all sects and sometimes that works, sometimes not) or the fact that some forms of Buddhism give special status to gurus, monks or the like (this SE give special status to people who write good answers and questions as judged by votes of people who happen to visit the site)
Comment: Good answer - thank you.
Answer: I find this site amazingly helpful in so many ways.

This site is Elitist Not Buddhist


What does a quarter wave plate actually do?

Question: I know a quarter wave plate inserts a phase difference $ \Delta \phi = \frac{\pi}{2}$ or path difference $\frac{\lambda}{4}$. But how does it convert linearly polarized light into circularly polarized or elliptically polarized light?  Also, why does circular polarization become elliptical polarization when the angle between the linear polarization and the quarter wave plate is not $\frac{\pi}{4}$?
Comment: Ask yourself: what is circular polarized light? How do you describe it mathematically?
Answer: A quarter wave plate has two perpendicular axes, x and y, each with a different index of refraction.  Light polarized along one axis, Ex, comes out with a phase shifted by a quarter wave relative to the phase of light polarized along the other axis, Ey.
Now, any plane polarized light can be decomposed into components, Ex and Ey, polarized along these axes.  If the quarter wave plate optical axes are oriented at 45 degrees with respect to the plane polarization of an incoming beam, then the incoming beam has equal components, Ex and Ey, along the optical axes of the quarter wave plate.  The phase of one of these components gets shifted by one quarter wave with respect to the phase of the other component.
When you add two equal perpendicular components, Ex and Ey, and there is a phase difference of a quarter wave between the two components, the net vector sum, E, sweeps out a circle.  This is circular polarization.
If the quarter wave plate is not oriented at 45 degrees to the polarization of the incoming beam, then the incoming components, Ex and Ey, are not equal.  One component is still shifted with respect to the other.
When you add two unequal perpendicular components, Ex and Ey, and there is a phase difference between the two components, the net vector sum, E, sweeps out an ellipse.  This is elliptic polarization.
Comment: Thank you verrrry much Daddyo... I am very much thankful to you and your answer helped me a lot.


How can i use A star pathfinding algorithm

Question: How would i implement an A star algorithm for a game that i'm making on the android in java? i'm looking for a pre-made A star API in java with classes and methods to call. i don't want to have to code from scratch.
Comment: Not sure why this got a down-vote, it's a pretty straightfoward question to answer. Anyway, while I'm sure there are plenty of existing A* implementations done in Java, I implemented it pretty easily just by following along with this explanation http://www.policyalmanac.org/games/aStarTutorial.htm
Comment: Incidentally, I did it in ActionScript 3, which may be easy to port to Java http://www.newarteest.com/flash/astar.html
Comment: thanks i'll read over the articles, crack my knuckles, and get it done !
Answer: Like others have commented, it might be easier (not to mention fun) to write your own implementation of A* (use the link jhocking provided, I learned it from there, and highly recommend it - Link).
However if you definitely want a pre-existing library, here are some alternatives:

http://www.stackframe.com/software/PathFinder (scroll to the bottom for the download)
http://www.ludumdare.com/compo/2011/12/16/java-pathfinding-library/ (probably not an ideal solution, but it would help you in writing your own)

But the one I like best is Critter AI, which is a port of Recast for .NET and Java. The one for Java is more intended for study, but is still awesome.
http://www.critterai.org/
Good luck! :)
Comment: thanks, the reason i want a pre existing api is because, as my game gets heavy,and i am implementing my own algorithm,im sure it will become error prone ; where as code that has already been implemented various times by others is well, go to go.
Comment: yeah i agree with you on that! - When i was learning about pathfinding I wrote my own simple class. But now that im working on a pretty big project, its nice to use a well-known and tested library like recast. Documentation + help from others is so good
Comment: The biggest problem I find when simply posting links which is the situation with this post in particular is that it becomes useless once those links are no longer available. The provided link from policyalmanac.org is dead.
Answer: Ignore, if you are done.
I have implemented "8-puzzle" using pure A* implementation. You can follow the same searching pattern for your game.


Why did Tyler yell at Mackenzie?

Question: In S2E10, Tyler inexplicably yells at Mackenzie and tells her she's boring. It appeared to me that he was making sure Cyrus' friends saw him do it but I don't understand what his motivation was and am wondering if I missed something.
Comment: Tyler yells at Mackenzie more than once.. the first time is at school [at his locker], and the second time is at punk concert. In both cases though, the reason for him yelling and being upset is because he was trying to cover up the embarrassment of what happened to him during their date at the movies.
Answer: Tyler had prematurely ejaculated while kissing Mackenzie in the movie theater and this news got circulated in the school, so this was the Tyler's way of responding in his defense.
Comment: No that happened after the yelling. I rewatched it again and I guess I'd missed the part where she said "it's totally natural" which explains why he freaked out.
Comment: @heath3n having seen series 2 twice now, i can safely say that no, the cinema scene didnt happen after the yelling. The argument was in episode 10 whereas the cinema scene was episode 8 or 9
Comment: @heath3n then I will rewatch that scene and update answer later
Comment: Yeah I meant the circulation happened after the yelling.

Why did Tyler yell at Mackenzie?


How should one practice Dhamma in order to overcome loneliness?

Question: Loneliness is an obsession of a person when facing old age and death. How should one practice the teachings of the Supreme Buddha in order to overcome this obsession?
Answer: Samatha (tranquility) meditation using anapanasati (meditation with in & out breathing) can be used as a method to overcome loneliness & distress.

I tell you, monks, that this — the in-&-out breath — is classed as a body among bodies, which is why the monk on that occasion remains
  focused on the body in & of itself — ardent, alert & mindful —
  putting aside wanting & distress with reference to the world.
Anapanasati Sutta

~~~

So if a monk should wish: 'May neither my body be fatigued nor my eyes and may my mind, through lack of clinging, be released from
  fermentations,' then he should attend carefully to this same
  concentration through mindfulness with in-&-out breathing.
If a monk should wish: 'May my memories & resolves related to the household life be abandoned,' then he should attend carefully to this
  same concentration through mindfulness with in-&-out breathing.
Dipa Sutta
Answer: This is actually an interesting problem that is personal to me, how do you introduce the teaching of the Buddha to a person who has no inclination in practicing the Dharma. While a practitioner might recognize the power of meditation to alleviate distress, your average person has no clue what it is and no interest to learn it.
This is where the cultivation of Upaya skillful means comes in.
My own paternal grandmother for example, passed away after experiencing a lot of suffering in her final days. One of her regrets was not taking up a more vegetarian diet (my relatives consume a lot of meat) and believed it to be one of the cause of her pain. One of the things we did in her final days were to play recordings of Buddhist music, which seems to help calm her somewhat.
So one could suggest to the person to start a basic practice, for example chanting the name of a buddha or bodhisattva or mantra for a certain number of times.
Example:
Namo Amitabha
Namo Sakyamuni Buddha
(x100 every day)
You can couple this with buddhist prayer beads to aid counting.
If they find this too simple, you can add more challenging tasks such as longer dharani or even a short sutra.
Sukhavati Vyuha Dharani (往生咒)
Great Compassion Dharani (popularly known as Great Compassion Mantra)
These are highly effective form of meditation, and is a lot easier than telling someone to do sitting meditation.
Buddhist music are also easy and good gentle introduction cheer up lonely souls. In Chinese culture we actually have something called a 'chanting box', which is a music player with chanting installed. This is also great for someone who is sick.
Ideally you would want this person to participate socially at a community temple if possible.
Comment: I take care of elderly relatives too, and I find the main problem is they don't want to truly end suffering. They find their depressive cycles of thought very fascinating and identify with it, and turn to TV and sense entertainment when it gets too hard. Encouraging them to chant, or practice meditation is often of no avail. Truly suffering without end.
Answer: "Loneliness is the poverty of self, solitude is the richness of self." May Sarton (1912-1995) "We seem so frightened today of being alone that we never let it happen. Even if family, friends, and the movies should fail, there is still the radio or television to fill up the void. We can do our housework with soap-opera heroes at our side. Now, instead of planting our solitude with our own dream blossoms, we choke the space with continuous music, chatter, and companionship to which we do not even listen. It is simply there to fill the vacuum. When the noise stops there is no inner music to take its place. We must re-learn to be alone." - Anne Morrow Lindbergh
As Aristotle has rightly stated that man is a social animal, Men wish to live in society, enjoy companionship, and happy to be crowded by fellow beings. Brahmajala sutta maintains that the initial feeling the first being to reappear in the present age of world reformation felt was loneliness. He wanted company. So, according to the Buddhist story also, the need of company and consequential necessity of interpersonal relations is ingrained in living beings.
The Buddha's practised (and, of course, made the followers also practice) seclusion only till they attained spiritual heights. After the attainments, they return to society to be in service for the benefit of many (bahujana). The Buddha once said "I, Udayi, sometimes, stay crowded by monks and nuns, lay disciples both men and women, by kings and chief ministers, by leaders and disciples of other sects." (Majjhima Nikaya 11.8) According to Balakrishna Govinda Gokhale, the Buddha's refusal of Devadatta's five proposals is evidence to the fact that he did not want to make monks totally outside the social relationships.
Making those conditions compulsory would have meant a complete termination of all inter-personal relations even among the members of the Sangha.


GFCI Tripped - Cannot Reset

Question: I went to plug in my outside XMas lights yesterday for the first time - my exterior outlets (with GCFI test/reset button) is tripped and does not work. The test button does not push in, the reset button does, but does not pop the outlet back on. I have gone thru my whole house with a fine toothed comb pushing every RESET button I have.. They are all working.
This house was built 10 years ago, so it is not like there is old wiring. I have no idea how long the outlet has not been working - I only use it at XMas. Worked fine last year. Not only that but when I check my circuit panel there is not a breaker for the outlet ???? Please Help !!
Thanks!!
Comment: Did you unplug the Christmas lights then try to reset?
Answer: I had a GFCI go bad in a bathroom. The only thing we could ever come up with is that it shared a circuit with the lights. All new wires, no ground faults. Hired an electrician to swap it for me (as I was deployed) and it hasn't faulted since.
Protection circuits do break- like they're supposed to.
Answer: GFCI outlets do go bad especially outside. There should be a breaker some place in the house if not in the main panel there could be a sub panel. I would be amazed if you throw the main breaker if there is still voltage. Non contact voltage testers may indicate a live circuit When the breaker is turned off because of induced voltage from another cable run in close proximity to the circuit you are testing. With the main turned off you won't get the phantom indication on a non contact tester.
Answer: What you are describing is exactly what you would expect if the GFCI is not receiving power.
If it were just tripping because of an actual ground fault the reset would work with a click then it would pop again.
I would recommend you go measure the voltage on that line at the breaker box just to make sure the breaker itself is good.
Then if it is, pull the GFCI out and measure the voltage on the wires there.
From that you can determine whether the problem is at the GFCI itself.  Like @Ed says, they do sometimes just go bad.
If there is voltage at the wire, then you can replace it and see if that's all it was.
If all that doesn't work, time to call your best electrician friend.

GFCI Tripped - Cannot Reset


Cordova Inappbrowser cannot display websites with authentication dialog (username and password)

Question: When the target of inappbrowsers is set to "_blank" it is not possible to show embedded website authentication dialog. This happens on android and iOS.
Cordova inappbrowser uses one of the three target parameters: "_blank", "_self" and "_system".
When the target is set to "_blank" or "_self", website authentication dialog is blocked. This makes it impossible to use the login credentials (username and password).
With the target set to "_blank",  it is possible to use the event listeners and the embedded website runs as as expected. All test websites without authentication login work well.
When the target of the inappbowser is set to "_system", the authentication dialog is displayed. However, the authentication dialog and website open in the system browser. The website is not embedded in the app.  The app functionalities are useless in this case.

I have tried using the deeplink plugin as described in one of the inappbrowser issues on github: https://github.com/apache/cordova-plugin-inappbrowser/issues/342
I modified the plugin as described: Open InAppBrowser with Authorization Header

I expect the app to show the authentication dialog of the embedded website in the inappbrowser so that I can enter the username and password. Only a white screen is currently shown.
Answer: Modifying the plugin as described in Open InAppBrowser with Authorization Header actually works. Don't forget to define your user and password variables in the InAppBrowser.java file.


When there is a holding pattern assigned by a civilian airports ATC, do military aircraft get first priority over landing?

Question: When a military aircraft is landing at a civilian airport, and a holding pattern is in place, do military aircraft get to skip the que, or join in earlier in the holding pattern?
Comment: "It depends". Your question is unfortunately too broad to be answered. You should specify what you mean by "military aircraft". Is that simply aircraft owned by the military, or aircraft on an active military mission? If so, which mission? Are they exempted from ATFM? What is the reason for the airborne delays being enforced? And finally, which country or area are you interested in?
Comment: @J.Hougaard we already added the caa-uk tag
Comment: I can offer this data point. I was an A7E driver for the US Navy and had the chance to do many cross countries. Only a few civilian airfields were ever used on these. There were several reasons for not using civilian fields. One had to do with contract fuel prices, and another with the lack of the starting units our aircraft required. The last reason was there was almost always a military base where we needed one. I landed at 3 civilian airports, one an international airport, and we were handled like any other aircraft. This is just my limited experience though.
Comment: @Aaron: OTOH, when we kept the Cherokee at an FBO at RNO, it wasn't uncommon to share the ramp with everything from F-14s to C5-As.
Answer:

Do military aircraft get landing priority?

If the government so wishes, yes. ICAO Doc 4444 says:

7.6.3 Priority for landing
22.214.171.124 If an aircraft enters an aerodrome traffic circuit without proper authorization, it shall be permitted to land if its actions indicate that it so desires. If circumstances warrant, aircraft which are in contact with the controller may be instructed by the controller to give way so as to remove as soon as possible the hazard introduced by such unauthorized operation. In no case shall permission to land be withheld indefinitely.
22.214.171.124 In cases of emergency it may be necessary, in the interests of safety, for an aircraft to enter a traffic circuit and effect a landing without proper authorization. Controllers should recognize the possibilities of emergency action and render all assistance possible.
184.108.40.206 Priority shall be given to:

a) an aircraft which anticipates being compelled to land because of factors affecting the safe operation of the aircraft (engine failure, shortage of fuel, etc.);
b) hospital aircraft or aircraft carrying any sick or seriously injured persons requiring urgent medical attention;
c) aircraft engaged in search and rescue operations; and
d) other aircraft as may be determined by the appropriate authority

Or c), if by military it's a search and rescue C-130 (for example) wanting to land to refuel and be on alert ASAP.
Now is it wise to put d) ahead of a)? Of course not. So if there is a prioritized government VIP, they will have to wait for the low-on-fuel emergency or the rogue-in-distress (first two paragraphs).
If it's a fighter, say an F-35, why would it land in Heathrow for example among civilian Jumbos? Unless of course it's been coordinated beforehand, or there is an emergency, then yes it will land first.
In the documentary Jetstream, RCAF F/A-18's flew from Canada to KLAX and landed there during heavy traffic, they were treated as normal planes when it came to the sequencing. It was part of their training to manage the complex aircraft in the heavy traffic environment of the civilian world.
You can watch it here. The narrator says (around 3:40):

In Cold Lake an F-18 coming in to land is top priority, but here you are just another plane in a long queue.
Answer: In the absence of any extenuating circumstances (emergency, min fuel, or operational requirements), all aircraft are treated equally and are sorted as per ATC requirements.  If ATC establishes a hold, aircraft will be stacked in (typically) 1,000' increments down to the altitude depicted on the approach plate.  The lowest altitude aircraft is the highest priority, military or civilian.


Create subdirectory in Finder tree view

Question: Currently, I am only able to create a subdirectory in Finder by double-clicking the parent dir so that it becomes the top level selected in the main panel and creating it there by right-clicking and then selecting New Folder.  However, I like to always view my directory structure from a very high level in the hierarchy, most often my home directory and would like to be able to create a subdirectory of a subdirectory without being in it, i.e. from the tree view.  When I right click it, I do not get an option to create a new folder, like I do when I actually have it selected in the main panel.  Is there any way to enable this feature without installing any plugins?
Answer: Not to my knowledge, but ⇧⌘N creates a new folder in the same manner.

Create subdirectory in Finder tree view


I have to get a family tatoo but in the future i might have to convert to islam?

Question: So Im a female Maori and my boyfriend is muslim and in my family we have this tradition/cultural thing to get a a tattoo to represent us, our family and the things closest to us when we turn 18/21, but i know thats against his religion. i do not want to let my family down nor his but personally since i have never been a really big part of my original tribe or culture i would love to get this tattoo. i am planning for this relationship to last so i really dont want to mess things up by getting this tattoo bc i love him deeply and i love his family. i would really just love some advise or thoughts from other muslims or converters. please share every bit you think about this bc i really need the help
  thank you xx
Answer: Salam alaykum
Regarding this there are two matters that you should be considerate of:

You do not have to convert to islam to be with your boyfriend (although it would be amazing if you could learn about islam and fall in love with the religion as I did, eventually converting). If you do convert to islam, make sure that your reason is pure and that you do not do this out of love for your boyfriend but solely out of love for Allah and His prophet.
If you do get this tattoo then it does not prohibit you from later coming to insight and converting to islam. All your sins are forgiven upon conversion. However, you must discuss with your boyfriend as well and see if he would be fine with you having such a tattoo. I think it isn't very wise to show up with it suddenly...

Good luck!
Comment: i really appreciate this, its' help more than you think . I am trying to learn more about it when i have the time and i am slowly starting to love it. i have talked to him about it and he said that he doesn't really mind if i i get it but he said his parents might not accept it and thats what i'm worried about.