Why did Jesus tell the blind man from Bethsaida who he healed to not enter the village?

Question: In Mark 8:22-26, Jesus takes the blind man outside the village and heals him. Then he sends him home saying, Do not even enter the village. Why does he tell him that?
Answer: This account of Jesus healed a blind man at Bethsaida, only appear in Mark 8:22-26. Comparing its timing with Matthew, it happened in between Matthew 16:5-20, that is, after Jesus warned His disciples against the teaching of the Pharisees and Sadducees, Jesus led His disciples to Caesarea Philippi.

Bethsaida located on the route from Capernaum to Caesarea Philippi. Earlier in Matthew 11:20-23, Jesus denounced three unrepentant towns, Bethsaida was one of them;
Matthew 11:20-24 NIV

20 Then Jesus began to denounce the towns in which most of his miracles had been performed, because they did not repent. 21 "Woe to you, Chorazin! Woe to you, Bethsaida! For if the miracles that were performed in you had been performed in Tyre and Sidon, they would have repented long ago in sackcloth and ashes. 22 But I tell you, it will be more bearable for Tyre and Sidon on the day of judgment than for you. 23 And you, Capernaum, will you be lifted to the heavens? No, you will go down to Hades.[e] For if the miracles that were performed in you had been performed in Sodom, it would have remained to this day. 24 But I tell you that it will be more bearable for Sodom on the day of judgment than for you."

In Mark 8:22-26, Jesus healed the blind man in two stages, which is an unusual occurrence in the Gospels. And there is no further explanation for this unique healing process.
It may be worth noting that blindness was often used as a metaphor to describe a person's lack of understanding. When they were on the way to Caesarea Philippi, the disciples forgot to bring bread and Jesus said;
Mark 8:17-18 NIV

17 Aware of their discussion, Jesus asked them: "Why are you talking about having no bread? Do you still not see or understand? Are your hearts hardened? 18 Do you have eyes but fail to see, and ears but fail to hear? And don't you remember?

Mark did not have an explanation to Jesus words, but Matthew provides an explanation.
Matthew 16:11-12 NIV

11 How is it you don't understand that I was not talking to you about bread? But be on your guard against the yeast of the Pharisees and Sadducees." 12 Then they understood that he was not telling them to guard against the yeast used in bread, but against the teaching of the Pharisees and Sadducees.

The blind man lived in Bethsaida, not only physically blind but also the folkways of Bethsaida had negative influence to him spiritually. Jesus told him not to go back into the village was to preserve his spirit just been restored.
Comment: + 1 ... Different from my answer but that doesn't make it wrong! I hadn't considered this possibility previously.
Comment: @DanFefferman - your answer is a typical one I learn from my teachers. With the Holy Spirit, Jesus is no fear of confrontation. It appears that this explanation is not applicable to all similar occasions. May it worth to dig deeper other possibility.
Answer: This is part of the messianic secret theme that prevails through much of Mark's account. Jesus does not want it known yet that he is the messiah, so he instructs the man to go home without even entering the village, which would draw attention. The best example of the messianic secret in Mark is found in 8:29-30:

He asked them, "But who do you say that I am?" Peter said to him in
reply, "You are the Messiah."  Then he warned them not to tell anyone
about him.

The secret is also evident in the other synoptic gospels but is particularly prevalent in Mark. In John's Gospel, however, Jesus does not ask those he heals to keep quiet about it. The messianic cat, so to speak, is out of the bag. Thus, John chapter 9 tells a similar story about a blind man whom Jesus heals, but there is no secret. Jesus heals the man "so that the works of God might be made visible through him."  The result is that the word gets back to certain Pharisees who accuse Jesus because "Jesus had made clay and opened his eyes on a sabbath." (9:14) The text also notes that "the Jews had already agreed that if anyone acknowledged him as the Messiah, he would be expelled from the synagogue." (vs. 22) This sheds light on why, perhaps in an earlier stage of his ministry, Jesus would not want to publicize his healing activities or his identity.
Conclusion: In Mark, Jesus does not want to draw attention to his messiahship, probably because such a claim was dangerous and the time was not yet right for him to proclaim himself. This is the likely reason Jesus told the man mentioned in the OP to go straight home without entering his village.
Comment: Yes, and Jesus rejected instant celebrity. We know this because after healing a leper, Jesus sternly warned him to keep his healing secret--and here's why:

But he went out and began to talk freely about it, and to spread the news, so that **Jesus could no longer openly enter a town**, but was out in desolate places, and people were coming to him from every quarter. – Mark 1:45 (ESV)

And also in John 7:3-5 (ESV), the unbelieving brothers of Jesus suggested he go to Jerusalem during the Feast of Booths to become publicly famous, which Jesus rejected.
Answer: Following His miracles, Jesus regularly told the healed person not to tell anyone about the miracle to prevent His mission being hampered, eg, Matt 8:4, 17:9, Mark 1:44, 8:30, Luke 5:14, etc.
Thus, Mark 8:22-26 appears to be another instance of Jesus trying to prevent the crippling of His ministry by being mobbed by crowds only interesting in physical healing rather than spiritual salvation and spiritual healing.


Can a dryad charm a demon?

Question: I have a concept that I want to use of a dryad soothing a demon, which shall be a demon's past as their first step to redemption. So is there any way a demon/fiend be charmed by a dryad, if this could happen in the rules. If not is there a way to get around that problem? The fiend is a yochlol, which can't return to their original plane, and is having an angry fit about it in a forest and destroying the forest with what they touch.
Comment: Welcome to RPG.SE! Take the [tour] if you haven't already and see the [help] or ask us here in the comments (use @ to ping someone) if you need more guidance. Good Luck and Happy Gaming!
Comment: Pre-empting your response to NautArch's question, I've assumed you're talking about Fey Charm, which isn't a spell but a monster feature, and have therefore replaced the [spells] tag with the [monsters] tag (a catch-all tag for monster abilities like Fey Charm, etc). If I have assumed wrong, you can [edit] your question to undo my changes.
Comment: Are you specifically asking about the Yochlol or do you want a more general answer?
Comment: And are you asking about the Dryad's Fey Charm or if they can just cast a *charm X* spell on them?
Answer: According to the written rules, no.
A dryad's Fey Charm action specifically says it

targets one humanoid or beast that she can see within 30 feet of her.

A yochlol is a fiend (and a demon and a shapechanger), not a humanoid or a beast, so it can't be targeted by the dryad's Fey Charm.
Practically, however, you can do whatever you want to make a good story.
If you are the DM you can adjust the rules or just make the rules obey your story structure. The important thing is having a good time, not maintaining 100% fidelity to the rules as written. If that means that this yochol gets charmed by this dryad, just make it happen and don't worry about it.

Can a dryad charm a demon?


Are there any statistics on the distribution of world-wide population according to the height over Sea Level

Question: Are there any statistics or publications on the distribution of word-wide population over  the height over sea level of their residence?
Comment: "[Normalnull](https://en.wikipedia.org/wiki/Normalnull) ("standard zero") or Normal-Null (short N. N. or NN ) is an **outdated** official vertical datum used in Germany."... [according to *elevation*]. Or, [height *above sea level*].
Comment: Is "word"-wide supposed to means "wor**l**d"-wide?
Comment: Where did your search engines let you down, please?
Comment: @Mazura the replacement is NHN. One would also write "über NN" = "above NN" instead of just NN
Answer: The paper Hypsographic demography: The distribution of human population by altitude by Joel E. Cohen and Christopher Small looked at exactly this.

The global distribution of the human population by elevation is quantified here. As of 1994, an estimated 1.88 × 109 people, or 33.5% of the world's population, lived within 100 vertical meters of sea level, but only 15.6% of all inhabited land lies below 100 m elevation. The median person lived at an elevation of 194 m above sea level. Numbers of people decreased faster than exponentially with increasing elevation. The integrated population density (IPD, the number of people divided by the land area) within 100 vertical meters of sea level was significantly larger than that of any other range of elevations and represented far more people. A significant percentage of the low-elevation population lived at moderate population densities rather than at the highest densities of central large cities.

Marginal frequency histograms (filled bars, left ordinates) and cumulative distributions (solid curves, right ordinates) of number of people by elevation (a); occupied land area by elevation (b); number of people by population density (c); and occupied land area by population density (d)


Restrict RDC console session for administrator only in Windows 2003 Server

Question: I have a server (Windows 2003 ) and different users connect the server via Remote Desktop Connection. All users have admin rights on it. So sometimes it becomes very difficult for me to RDC to the server because of number of session exceeds the limit.  The only solution which I am looking now to restrict console RDC session for administrator only. Is it possible?
Comment: I'd like to point out that unless you've purchased terminal server licensing, RDP can **only** be used for remote administration of the server. Anything else is a violation of the license agreement.
Comment: You can always connect under to session with ID 0 using **mstsc /admin or /console** switch. Is the server part of the domain or a standalone host?
Comment: thanks its standalone server.. i cant connect always with session ID 0. because some time another user is connected with console and if i connect his work might effect. i only want to restrict console session for administrator.
Answer: Well, this is not a good solution, but, nevertheless it's worth trying:
Method 1.
Go to Start > Run > gpedit.msc.
Then go to Administrative Templates > Windows Components > Terminal Services and enable the setting "Deny Log off of an administrator logged into the console session".
If the status is set to Enabled, logging off the connected administrator is not allowed.
Run "gpupdate.exe /force" from Command Prompt.
So, in other words, what you need to do is to log in session 0, have local computer policy configured like above and NOT to log off from machine. Others won't be able to take over your session.

Hope this helps.
Method 2.
Found a nice article that describes how to change which users or Administrators can connect to the console session:
1. To allow a normal user to connect to the console session, use the following command:
WMIC RDPermissions where "TerminalName='console'" call AddAccount "domain\UserName", 2

2. To deny administrators access to the console session, use the following command:
  WMIC RDAccount where "TerminalName='console' and AccountName like '%administrators%'" call delete

3. To restore the default setting:
   WMIC RDPermissions where "TerminalName='console'" call RestoreDefaults

So, after performing 2nd command and then using 1st command with your account should give you what you wants. Haven't tried myself though.
Comment: thans. first solution does not fulfil my requirement as i need to logoff server some time for other reasons. method 2 is much closer to  what i was looking for. i have tried it but the issue which i am facing is,  it also restricts administrator a/c as well, and i don not want to restrict administrator a/c using console. i tried to use the other parameter in AccountName like %dba% but it throws an error. so how it is possible i can restrict users not administrator ?
Answer: First:
wmic RDAccount where "TerminalName='Console' and AccountName like '%Administrators%'" call delete

This removes the AdministratorS (group) permissions
Then:
wmic RDPermissions where "TerminalName='Console call AddAccount "Administrator", 2

This adds back the local Administrator (user)
Sources:
http://hdgtechnotes.blogspot.com/2014/04/how-to-prevent-access-to-console.html - my blog!
http://support.microsoft.com/kb/290720/EN-US


How do I bulk rename albums in iTunes?

Question: I have an online subscription to a radio program that allows me to download past episodes. However when they are opened in iTunes the album name is set in the format Apr 01 2008. The problem is that there are thousands of these and I would like to change it to a better format such as 2008 01 Apr or even 2008 Apr 01. Is there any automatic way to change an mp3's metadata - or a program like a Better Finder Rename that can edit this iTunes metadata for the thousands of tracks that I have?
Answer: I recommend Doug's Applescripts for iTunes as a great resource to keep in mind for any future questions you might have. From it I found the script that applies sed to the track names. Once you follow the instructions to install the script, put the following code in the popup box:
s/\([:alpha:]\)+ \([:digit:]+\) \([:digit:]+\)/\3 \1 \2/

N.B. This is actually the first time I've used sed, so I recommend testing this out on a few individual songs first.
(Also, if you don't have any programming experience, then it's likely that the Regular Expression above looked downright arcane. Don't worry! That's totally normal.)
Answer: You should check out Doug's Applescripts for iTunes. He's written a collection of scripts that will do most everything.
Answer: I was using Doug's Script (the one that applies sed to track names) with this pattern:
s/\([:alpha:]*\)\ \([0-9]\{2\}\).\([0-9]\{2\}\).\([0-9]\{4\}\)/\1 \4-\3-\2/

to rename stuff like Charts 01.10.2013 to Charts 2013-10-01.
However if you want to use it for Albums and not for the Title, you have to modify the AppleScript and replace name with album in the line that contains the sed command
Comment: How does this differ or improve on Josh Tilles's answer?
Comment: mine is for the european date format

How do I bulk rename albums in iTunes?


Incorrect filtering of rep events when unfolded

Question: While poking around on my profile page I noticed that the "folded" versions of rep events don't contain the proper number of individual events once unfolded. It looks like the methods used to filter the events by time isn't uniform.
folded - 5 and 4 events, respectively:

unfolded - 9 duplicated events each:
Comment: It looks like this might have been a temporary display bug. I don't currently see this on your reputation page; I see the correct 9 events that total to +45 under a single unfold-control, with no duplication or splitting like in the screenshot. Do you still see this bug when you look now?
Comment: I've removed the [status-norepro] — it appears (see answer and its link) that it's not unable to be reproduced, just *hard* to reproduce due to lack of control over the triggering conditions.
Comment: @SevenSidedDie No, I don't. It's possible that as the code used to filter events into these groups condenses the groups as time passes, thus hiding the problem when it is sufficiently far enough into the past. Maybe a temporary bug, though... I'll check back in next time I'm inundated with rep events :)
Comment: I don't think condensing is a thing it does — that seems an unnecessarily complicated UI choice and not something I've noticed before anyway. More likely that yesterday's code base contained a display bug that was fixed by the end of the day. :) In any case I've marked the bug as closed (the "no longer happens" reason); thanks for the report! If it reoccurs though, add more info and comment or flag and a mod can reopen it.
Comment: @SevenSidedDie Only a few lines of code if they're using the time functions of moment.js - the library that makes times look like "1 hour ago", "yesterday", etc. - there. Suppose it's quite possible that fell under the umbrella of the display bug, though.
Comment: I expect they have some more complex code around the twisty and collecting the lines in that report though. Note that it's not just filtering that's in error: in the screenshot, all the entries under "5 events" and "4 events" match, so somehow they failed to collect together those 9 events correctly at the twisty/header level, but they correctly showed the full 9 events under each duplicate header for the one post. Some kind of matching bug in the header code.
Answer: This problem has been reported on Meta.SE, and can be reproduced by generating a sufficiently large (~10) number of rep events over a time period of ~1 hour.
The bug has not been fixed as of July 2017.
Comment: Are you still seeing this bug though?
Comment: @SevenSidedDie - Yep. After a time the events become clustered properly, so the problem is only manifest for a short period after the events are first created.
Comment: @thedarkwanderer - Unfortunately it can't be reliably triggered by a user since we can't generate rep events "dishonestly" :). I can attest it is quite easy to reproduce; just need a sufficiently large number of rep events occurring over a period of an hour or so. Added to the answer body.
Comment: Ah, I see what's going on: it's a context sensitive bug, so though you're not seeing it now, it's just because the data has changed, not because the underlying bug is gone.
Comment: The question's tagged norepo, so if you can figure out a way to reliably trigger it, including that here might be helpful to the devs.


How to Insert Image Field in PDF?

Question: I did some Googling, and it seems that there's no way to do this with InDesign as of a couple years ago. But I'm hoping that a way to enable the recipients of my PDFs to insert their own JPEGs/PNGs/etc. has arisen, without dropping $300 on LiveCycle. Sorry if I'm omitting any important details, thanks!
Comment: Possible duplicate of [Is it possible to add a field/button to a pdf that allows a user to insert an image using Reader?](http://graphicdesign.stackexchange.com/questions/71091/is-it-possible-to-add-a-field-button-to-a-pdf-that-allows-a-user-to-insert-an-im)
Answer: If you can accept that your customer will learn how to edit PDFs, recommend to them some low cost PDF editor. Web search reveals many of them - at least, if RGB only is ok. CMYK capable ones are rare. Adobe Acrobat is the standard, but it costs a fortune. A low cost CMYK capable PDF editor is Serif PagePlus X9. It actually is a low cost rival for InDesign, but opens and saves also PDFs, both CMYK and RGB.
Warning: PDF editing easily deforms the layout to junk, if internal bindings get broken after attempting a radical tex reflow or object reordering.
Answer: Well, it really isn't an InDesign issue.  It will depend on the options for editing available in the version of Acrobat your users own.
If you place an image onto a page in InDesign, and then export to PDF, when you open the PDF in Acrobat, the user should be able to select that image by clicking on it with their cursor. Then right click, and choose "Edit Image." That will access the Edit PDF tools.  Right click on the image again, and there should be a menu option to "Replace Image."
I am running Acrobat Pro DC, so I can't test it with earlier versions of Acrobat, but I remember following a similar process to replace images using earlier versions of Acrobat Pro.

How to Insert Image Field in PDF?


Is it possible to connect a EC2 Linux instance via ssh without the key pair?

Question: I can connect to my EC2 Linux instance via ssh using the key pair (*.pem). Is it somehow possible to connect it with ssh with out the pem file?
Answer: You can create a regular user account with a password and use that to log in, but it's not as secure as using SSH keys; you'll be open to script kiddies trying to crack your passwords.  You could also enable password access for root if you're really not too worried about security.
Comment: Actually I'm very concerned about security, but I don't like to carry the pem files arround.
Comment: ssh with password auth is asking for trouble - especially if you stick with the default ec2 username. But if it's really too much of an inconvenience to carry around an encrypted pem, you can always to 2factor ssh auth with `authy` or `google-authenticator`.
Comment: i have and use just one ssh id for all the instances i launch and just one key-pair for it.  if you want to use many different ones, look at ssh-agent to secure them for you.  keys are better than passwords.
Answer: vi /etc/ssh/sshd_config

- PasswordAuthentication no
+ PasswordAuthentication yes

service sshd restart

Answer: You can configure whatever login system you like including turning off keys and using pure password authentication, however this is NOT recommended if you have any interest in keeping your box secure.
Your keys should also be pass phrase protected so that the part you are carrying around isn't a free ride if into your server in case you ever use a compromised local machine. I suggest generating your own keys to do this.
You can keep your private key file in a service like dropbox or saved as an attachment to your email if you need access to it on the road and are worried about forgetting it. The combination of password on your email or dropbox account plus the pass phrase on the key itself should be a reasonable degree of security.
Answer: # sudo adduser USERNAME
# sudo passwd USERNAME

Edit /etc/ssh/sshd_config :
PasswordAuthentication yes

Then do
# sudo service ssh restart

Comment: you should work on your formatting


Can't Determine the direction of rotation of a coil

Question: Speaking of coils and torque here,
 So I have a coil and after I did fleming's right hand rule to get the direction of the torque (let it be the positive x-axis unit vector î can't remember it correctly)
I was asked to get it's direction of rotation: whether it is clockwise or anti-clockwise.
What I tried is handling segments of the coil separately to know the direction of rotation but that didn't help me much as the coil was on xy plane,
I kept imagining it but I can't figure out if its clockwise or anti I mean it depends whether I look at it from the right or the left,
I also tried right hand screw rule but It made no sense to me,
 at last I tried to look it up on Internet but didn't really find any results so I head over here in hope I get help.
Thank you
Edit(2):
I am not allowed to post pictures, and not familiar with mathjax I use the app on my phone
 I will try to describe one of the two problems I am talking about:
Rectangular coil of 20 turns and an area of 0.005 square meters, carrying current of 10A, Its hinged along the y-axis and mounted on XY plane at an angle of 30 degrees to a uniform magnetic field of 0.5 tesla, Find the torque vector and the direction of rotation of the coil.
So the coil has one long side on y and one short side on x (axis) the direction of current is also given
So tau=NI AxB is what I did after resolution of B into a vector and what I got was 4.33*10^-3 (-y axis unit vector)
But I am struggling with the direction of rotation for the coil
Comment: Pardon me, stack exchange didn't allow me to post photos due reputation I will update with some detailed context.
Comment: Also, please format your question properly and use [Mathjax](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference) to write math expressions.
Answer: Are you familiar with the Magnetic Moment Vector?
As a thumb rule you can remember that it wants to align itself to the Magnetic Field.
Comment: Yes I do, it's the same as the direction of the torque vector , what exactly is trying to align it self? The coil plane?
Comment: This vector aligns to the magnetic field($\vec B$). You can determine Clockwise or Anticlockwise that way.
Comment: In my case the magnetic field vector has 2 component one with x and another with z so I will align with the one which is parallel to the plane which is with x  and it will seem to rotate clockwise, alright thanks
Comment: @user597368 Please accept this answer if it solved your queries.


Does Google Cloud translate cost multiple or once?

Question: Google Cloud Translate costs around $ 20 per 1 million characters. If a page is translated multiple times by different users in the same language, will the translation of the characters be billed multiple times or once?
Comment: The cost is per word translated. Google Translate does not reuse your previous translation for the purpose of reducing your bill.
Answer: You are charged for the amount of text that Cloud Translation processes, such as the text that you include in a detect language or translate text request. Cloud Translation detects the source language for you, if you don't specify it for the translation method.
You are only charged for the text that you provided.There's no additional charge for the detection besides the translation. For example, if you submit 1,000 characters for translation without specifying the source language, you are only charged for the 1,000 characters.
Charges are scaled to the number of characters actually provided to Cloud Translation. For example, if you send 575,000 characters for processing within a month, you are charged $1.50. The first 500,000 characters are free for every month, and then you are charged for the additional 75,000 characters sent for detection, translation or both. Refer to the link for pricing information per month.
As suggested by @John Hanley,Cloud translation does ignore the previous translation processes and will charge per the amount of text that is requested to translate.


Charging a black hole?

Question: What would happen if we have a black hole and we start shooting at it a single electron at a time, and go on doing it forever? Would the electrons start to bounce off eventually?
Comment: Related: http://physics.stackexchange.com/q/61118/2451 , http://physics.stackexchange.com/q/6650/2451 and links therein.
Answer: There is a limit on how much charge a black hole may have: http://en.wikipedia.org/wiki/Extremal_black_hole
In general, rotating, charged black holes is described by a Kerr-Newman metric.
Intuitively, eventually the Coulumb repulsion is enough that a charged particle which does not contribute more mass than charge will be repelled.
Comment: This is not intuitive, it is exact.
Comment: Is there a reference or a theory or some place where this has been worked out in more detail?  What happens when you accelerate charge up to near the speed of light and direct them at the black hole.  Will an Extremal black hole really repulse the charge still?  Is there a point where to get the charge into the black hole you have to add so much kinetic energy that the net result is that you're increasing mass (by way of energy) faster than you're increasing charge?
Answer: The Coulomb repulsion of the charged black hole does not prevent the charged black hole from acquiring more charge.  If this were the case, then "all" that would be necessary to continue to charge a black hole would be to increase the energy of the beam of electrons that are shot at the black hole to overcome the Coulomb repulsion.  You would just need bigger and bigger accelerators to keep charging the black hole up to and beyond the extremal limit.  When the black hole exceeds the extremal limit it would become a naked singularity.
The concept or possibility of a naked singularity is controversial - it would allow actual "infinite" singularities to be seen directly in our universe - they would not be hidden behind an event horizon the way the singularity of an "ordinary" black hole is hidden.  Indeed, a cosmic censorship hypothesis has been devised to prevent naked singularities from occurring. There is good evidence for this hypothesis but I don't believe it has been convincingly proven in all cases.
The real reason why adding charge to a black hole cannot make it become super-extremal is because when you add charge, you are also increasing the electrostatic field energy of the black hole which then has the effect of increasing the mass such that the $\frac{Q}{M}$ ratio continues to stay  below the extremal limit of $1.0$.  See this question and answer for the calculation of this effect.
Comment: But the electrostatic field energy is equivalently the energy required to beam the particles into the black hole. As you approach the extremal limit, the required energy gets bigger, so that the particles always deposite at least as much mass as charge, pulling the hole away from extremality.
Comment: @Ron, By saying that it is not coulomb repulsion I am saying that the accepted answer for this question is wrong. It says the electron will be repelled away from the BH. I am saying that the electron can be made to enter the black hole but that the mass gained by the increased electrical field energy will add more mass and will prevent the black hole from becoming extremal.  You are right that the kinetic energy that you had to impart on the electron to make it to the BH horizon is where the electric field energy comes from. Do you agree that the accepted answer is wrong about being repulsed?
Comment: But this extra mass gained from electrical energy is supplied by the work required to push the electron in! This is exactly the same explanation as the usual one, in different language. I agree only that your explanation is just as correct as the usual one--- they are equivalent.
Answer: Fairly soon the electrons would repel the black hole in the newtonian area (i.e. far away). As it kept charged up, it would take more and more energy to bring the electrons close enough so that general relativity takes over and pulls them in. All this energy adds to the black hole mass, keeping it from becoming extremal.

Charging a black hole?


What cameras are lenses for a Canon EOS 300 compatible with?

Question: I'm researching various DSLRs. I've got a couple of lenses that worked with a Canon EOS 300. What cameras would these lenses be compatible with? How can I determine if they are compatible with a particular camera?
Comment: Welcome to the site! We have lots of info on lens compatibility and moving lenses from film to digital already on this site. I'd highly recommend trying our search function for more info!
Answer: The Canon EOS 300 film camera from the early 2000s uses the EF lens mount.  This same mount has been used by Canon for almost 30 years now.
Since the EF mount is still being actively used by Canon today for all of their DSLRs, you really don't have to worry about a thing. All Canon DSLRs can accept all EF-mount lenses. You can use your old lenses with no problem.
Now whether you should use your old lenses on a newer camera is a whole other question. If they were basic entry-level kit lenses 15 years ago, they might not be worth even digging out of storage. But if you did invest in them then it's worth looking further into.
Some additional topics worth reading:

How do SLR lenses connect to the body?
Can I use lens brand X on interchangeable lens camera brand Y?
What is the difference between EF and EF-S lenses?
Are Canon EOS and Nikon DSLR lenses interchangeable?
Comment: Thos is true for canon lenses, but some third party lenses (notably older sigma) have problems with auto focus.
Comment: @ths Not just AF. I have an older Sigma 70-300 I used on a film Rebel back in the 90s. It will only work on my digital EOS bodies if the aperture is manually set to the widest setting. If the aperture is set at any other setting and I press the shutter button it locks the camera up that requires a power cycle/battery removal to reset.
Comment: @dpollitt The EOS 300 obviously can't use EF-S lenses, but saying  "All Canon DSLRs can accept all EF-mount lenses" might not be properly understood by everyone to not include EF-S lenses.
Comment: @MichaelClark That would be why I linked to the entire Q&A on EF-S. I wasn't trying to reinvent the wheel here and cover a thesis in EF technology. Pretty sure the OP with 20 year old EF lenses got what he needed from my answer.
Comment: Yeah, but the OP is not the only person who might read that. People don't always read the links, either. I'd just hate to think someone with a bag full of EF-S lenses buys a FF body from someone they can't sell it back and then discovers all of their lenses are useless on it.


Gain in current but not in voltage -transistor "voltage follower" set up

Question: Suppose we have the circuit set up as shown in the image. Also suppose that  $$V_s=\overline{V_s}+v_S$$, where the smal v is for the variable component of the signal which varies much faster than the time constant of both capacitors. After some analisys we get that there's no gain in the variable component of the source voltage, that is, there's unitary gain, however from the equation of a bipolar transistor:
$$i_E\approx i_c=\beta i_s$$
thus there's a gain in current, how is it possible to hava a gain in current, and consequently a gain in power, but not in voltage? This seems to contradict Ohm's law, shouldn't a current gain be accompanied by a voltage gain?
Comment: Hmmm… Looks like you have a strong misunderstanding of electricity. Anyway, if you connect a load resistor between \$V_{\textrm{out}}\$ and ground it will drain some current. The current that is drained from \$V_S\$ may be significantly lower, hence the current gain.
Comment: @user2233709 you're right about the misunderstanding of electricity. I don't understand how we can see current and voltage as two distinct things, on the one hand they are, but they are also so strongly connected by Ohm's law that I don't see how
Comment: The input impedance and output impedance are very different.
Comment: Moreover, you'd generally want to polarize your transistor's base with a pair of resistors.
Comment: The way Ohm's law is generally taught to beginners (\$V = RI\$) assumes that \$R\$ is constant, which is true for ideal resistors. Other components can change resistance (more general term: impedance) depending on pretty much anything: voltage, temperature, frequency, input on another pin, ...
Answer: Just because 2 quantities are related by an equation does not make them the same. For example, F=ma relatesd force and acceleration by a fixed parameter, mass, but they are still distinct concepts. Ohm's law is not a general rule, Kirchoff's laws are more general and do not imply that current and voltage are thje same: apply them to more complicated circuits than a single resistor and you would see this. Ohm's law has little to do with amplifiers.  In the case of a voltage follwer, the output voltage is approximately the same as the input voltage but the available current is higher due to the current gain of the transistor.  As already noted, the input resistance of the voltage follower is much higher than the output resistance so Ohm's law does not apply since these resistances are different.
Comment: I think I see where my mistake was, I was not accounting for the difference in impedance.
Answer:
... thus there's a gain in current, how is it possible to have a gain in current, and consequently a gain in power, but not in voltage?

By having a change in impedance.
In very crude terms the base current sees a resistance of βRE whereas the output impedance is RE.

This seems to contradict Ohm's law, shouldn't a current gain be accompanied by a voltage gain?

No. A transistor isn't a resistor.
Answer: Ic =hFE*Ib  is then shared by both I(Re) and I(cout).
However for DC control,  I(Cout) can never take all of the current of Ic . As Re serves a purpose to DC pull down the emitter and so R load must always be greater than Re for full swing voltages.
The result when overloaded, is the cap current pulls up the emitter so Vbe reduces  then Ib reduces and the lower level signal cannot be reached.
Ohm's Law still works here.
One simply uses Xc for the cap being much smaller so Rload must be greater than Re for linear operation
also Vce must be Vce saturation where hFE drops significantly as a another condition.
the power gain comes from hFE * Rb/Re equivalent loads
Answer:
This seems to contradict Ohm's law, shouldn't a current gain be accompanied by a voltage gain?

A transistor is an active device.  It modulates the energy of an external power source to mimic the input signal.  While Ohm's Law can be use to describe the behavior of certain aspects of active devices in some applications, keep in mind that it was derived to describe the relationships at play in a simple resistor.  For anything beyond that you have to pay attention to the details.
By its definition, a bipolar transistor delivers current gain only.  It is the circuit architecture and components around the transistor that translate this into voltage gain- sometimes.


Why is some ocean on continental crust?

Question: While most ocean crust is formed from oceanic plate formations there are areas of the ocean (much of the Gulf of Mexico, Eastern US coast, North Sea, Arabian coast of India) which appear to be continental "land" for hundreds of miles before the shelf to the oceanic crust. How does this occur?
Answer: It's a geology question more than a geography question. These crusts are components of tectonic plates. Continental crust is less dense than oceanic crust, so it tends to ride higher than the denser oceanic crust. Typically the deeper parts of the world are oceanic crust and where the oceans are by virtue of water running downhill - thus the name. It's not named based on the presence or lack of water on top of it, but on the chemical composition of the rock that makes up the tectonic plate. So you can have exposed oceanic crust on like volcanic islands and submerged continental crust in the areas you described.
This is coming off from terrible memory from my geology undergrad like 15 odd years ago, FYI.
Comment: Ok, so it's just like the edges of an ice cube, which though lighter than water still end up underwater, just because they are also connected to a large mass (the ice cube), some of which is above water. (also I updated Tags)
Answer: The reason why there are lands comprised of continental crust submerged far away from the coast is we are in an interglacial period inside the Pleistocene cycle.
There are extensive continental shelves that were formed during glacial periods when the sea level was lower.
For more information.

Why is some ocean on continental crust?


Microsoft Edge spell checker language selection

Question: How do I select the language for the Microsoft Edge spell checker using www.hotmail.com? It seems to ignore the MS-Office settings. It displays the language in use at the left bottom, however I cannot change it the way MS-Office apps do. I cannot change the Windows10 settings.
It looks like automatic language detection does not work in Edge/Hotmail.
Answer: You can change the language or add languages in the Internet Options panel. You can reach this by doing a Windows Search for "Internet Options." Under the General tab and heading "Appearance" find the button "Languages." There you can adjust the language settings.
Note that this requires a restart of the browser, so copy text you have already written into forms to some text file for backup.
Answer: There is a unnecessary step of going to Internet Options. Just windows search for Time & Language, thats is configurations Internet Options shortcut opens.


How to highlight text in lyx?

Question: I want to highlight some text in lyx just like in word/docs.
I can't find the way to do this in lyx, how do I do that?
Answer: you can use \colorbox to do it (you will need the \usepackage{color} in your LaTeX Preamble to use this). To do so you need to follow this pattern:
\colorbox{<colorname>}{text or math}

in order to do this quickly you can use this shortcut (works for hebrew but you can change the langue to your convenience):
command-sequence ert-insert; self-insert \colorbox{green}{ ; escape;unicode-insert 0x0020; ert-insert; self-insert } ; char-right;char-right;unicode-insert 0x0020; language Hebrew;

How to highlight text in lyx?


2007 Ford Taurus Starter spins sometimes doesn't engage

Question: This problem been going on for 180,000 miles. Starter first replaced in warranty "Twice" under 20,000 miles at a Ford dealership. Ford dealership said there was nothing they could do after warranty was over. It still been happening for 12 years, every 10 to 50 times when started starter will not engage. Turn key on and off 2 or 3 times and it will finally engage. It been a nuisance That I've lived with for 180,000 miles. I know it will start but no one has an answer what to do to make it work correct every time. I've had independent garages look at it and replacing the starter was the only answer. What little item has everybody been missing?
Answer: The pinion gear on the starter meshes with the flywheel. I was taught in college that an engine tends to stop with the flywheel in approximately the same spot. I don't remember the whys of it. But at any rate you may have damaged teeth on the flywheel. Removing the inspection plate the teeth can be inspected while turning engine by hand.


Get some eth on testnet ethereum waller

Question: Hello iam newbee in blockchain, i install ethereum wallet on my windows and create wallet in testnet network. Can i somehow get some eth for free for testing contract? I trying to mining but its not working yet.How many time i should to wait?
Answer:
Can i somehow get some eth for free for testing contract?

You can also use a faucet, instead of worrying about trying to mine.
See the answer to this previous question for details, but it basically boils down to visiting http://faucet.ropsten.be:3001/
Answer: You have to wait for the block syncing to complete.
Once the syncing is complete you can start mining.
On the console you can execute "eth.syncing". When it is set to false it means syncing is done. Otherwise it will show you the difference of the block number for your syncing process to complete.
You can also check your data folder to see the increase in block syncing data whether happening or not.
Default Testnet Data folder

C:\Users\(user id)\AppData\Roaming\Ethereum\testnet\geth\chaindata

Block syncing does take some time.

Get some eth on testnet ethereum waller


How do tyre pressure sensors in aircraft work?

Question: I am specifically interested in the sensors used on the B777 and B787.
Answer: On a Boeing 777, a tire pressure sensor/fill valve is installed on each of the 12 main gear wheels and two nose gear wheels. There is an in-axle transformer in each of the axles.
The tire pressure sensor/fill valve is made of an air fill valve and three independent pressure sensing channels which provide accurate tire pressure.
The tire pressure sensor/fill valve is installed in the wheel.
A relay transformer hubcap assembly connects to the tire pressure sensor/fill valve. The left 28V DC MAIN bus supplies the electrical power to operate the tire pressure indication system.

(Image source: 777 AMM)
You can see the sensor in these images:

(Source: airliners.net)

(Source)
Answer: They both use a tire pressure monitoring system (TPMS) from Crane. Crane's marketing materials on the system are available on its site, and this newsletter from Boeing confirms it:

The software group helped with testing on a new  tire pressure and brake temperature monitoring system on the 777 for  Boeing  supplier  Crane  Aerospace  &  Electronics.

(Since Boeing confirms that they work with Crane at all, I that doubt Crane would lie about its involvement in the 787 -- that seems like a good way to tick off what I'm sure is a major customer!)
Crane doesn't describe the system in great detail on its site, but from the name ("SmartStem") and description ("wireless tire pressure
sensor with integrated fill valve") it appears to be a Direct TPMS sensor installed in the tire's valve stem. From Wikipedia:

In most current designs of direct TPMS, a small electronic assembly which is rugged enough to be mounted inside a tire, measures the pressure using a microelectromechanical system (MEMS) ...

In short: there is a sensor on the valve stem that translates the air pressure to a mechanical process, probably using a piezoelectric sensor or similar. This information is then wirelessly transmitted to the rest of the plane's systems.
Comment: I worked on the TPIS and BTMS during the years 1992//1993, but the manufacturer and designer was LABINAL the french company located near Paris !


Hide search box on site settings and Add an app page

Question: I am creating a custom master page and I have a default search box in the header. I will be using same master page as site and system master page. Currently search box is visible on all pages. But "seattle.master" doesn't show a search box on the 'site settings' and 'Add an App' page. Can I hide search box on site settings and "Add an App" page?
Answer: The probably simplest method would be to add the following CSS to your masterpage, assuming your custom searchbox has an HTML element ID of #Searchbox:


Different Site name and slogan for Organic Groups based multisite architechture

Question: I am using OG based multisite in Drupal. I need to override sitename and slogan of default values so that each organic group has its own set of system values like Sitename and slogan etc.Also I am using Variable and OG Variable modules which seem to be for this purpose, but changing variable Realms in Organic groups variables doesn't save the values, the admin form for changing variable values doesnt save values. What am i missing?any help?
Answer: Open Atrium (6.x) uses spaces to save different configuration for each og, this may be helpful.

Spaces is an API module intended to make configuration options
  generally avaliable only at the sitewide level to be configurable and
  overridden by individual "spaces" on a Drupal site. It has been
  described as:
A way to make one Drupal site act like several sites A way to provide
  much more configurable, full-feature Organic Groups or user homepages
  A generalized API for contextual configuration
Answer: You can use og_context() in preprocessing or page.tpl to check if the node is a group or groupcontent and override slogan/name that way.
(this is for og 2 /drupal 7 btw. You didn't mention your version)


Always use :set paste, Is it a good idea?

Question: In a terminal vim, pasting clipboard data often messes up the code indent.
I just knew if I uses :set paste the indent is not broken.
Though, after pasting data, should I do :set nopaste again? What if I don't, what problem comes?
Comment: @romainl  I find it quite plausible that both 1) trying and waiting to see if there are negative consequences of always using set paste (+- nopaste), and 2) rtfm-ing (as a lower or intermediate level user like the OP), are less useful than asking those who have experience with the options.  Asking here seems a smarter approach, and documenting this will help others.
Comment: See also "Bracketed Paste Mode" in my answer to "Pasting code into terminal window into vim" http://stackoverflow.com/a/7053522/754997. If your terminal emulator supports it, you can arrange for it to tell Vim to switch to/from paste mode automatically whenever you paste text into the terminal.
Comment: What about trying for yourself? Or [reading the documentation](http://vimdoc.sourceforge.net/htmldoc/options.html#'paste')?
Answer: This post has my favorite answer, https://coderwall.com/p/if9mda/automatically-set-paste-mode-in-vim-when-pasting-in-insert-mode
Basically if you start in Insert mode and use Ctrl+Shift+V or right click paste with your mouse, Vim detects that this came from a terminal and automatically sets paste mode, then unsets it once done, so you don't lose remapped keys (which can't work in paste mode because its writing raw data) and you are back to a "sane" state when it is done.
For just vim (put in your .vimrc)
let &t_SI .= "\<Esc>[?2004h"
let &t_EI .= "\<Esc>[?2004l"
inoremap <special> <expr> <Esc>[200~ XTermPasteBegin()

function! XTermPasteBegin()
  set pastetoggle=<Esc>[201~
  set paste
  return ""
endfunction

If you use vim under Tmux (still goes in .vimrc)
function! WrapForTmux(s)
  if !exists('$TMUX')
    return a:s
  endif

  let tmux_start = "\<Esc>Ptmux;"
  let tmux_end = "\<Esc>\\"

  return tmux_start . substitute(a:s, "\<Esc>", "\<Esc>\<Esc>", 'g') . tmux_end
endfunction

let &t_SI .= WrapForTmux("\<Esc>[?2004h")
let &t_EI .= WrapForTmux("\<Esc>[?2004l")

function! XTermPasteBegin()
  set pastetoggle=<Esc>[201~
  set paste
  return ""
endfunction

inoremap <special> <expr> <Esc>[200~ XTermPasteBegin()

Comment: I assume one of the `let &t_SI .= "\[?xxxxx"` lines is detecting the keyboard paste shortcut?  Does this work for mac as well given the different shortcut?
Comment: @doub1ejack These are actually detecting the Xterm escape sequences, not how they were called (ie 2004h is a paste begin) so as long as your terminal supports the Xterm keycodes and passes them through to Vim it should work fine on Mac.
Comment: omg. you are my hero.  I've typed so :set nopaste so many g'd times.
Answer: As others have written, you don't want to leave 'paste' set. I just wanted to point out that with a good terminal emulator and a properly compiled and configured vim, you shouldn't need to change 'paste'. You need a good terminal emulator such as xterm or GNOME Terminal, vim with the X11 feature included, and the 'mouse' option set to 'a'. Then vim will "know" when you're pasting with the mouse and will effectively set and unset the 'paste' option for you.
One way to get a vim with the X11 feature is to run gvim with the -v option or create an alias,
alias vim='gvim -v'

Then put
set mouse=a

in your ~/.vimrc.
Comment: When I set mouse=a, I cannot copy text. "Copy" is grayed out in the right-click menu and in the app menu.
Comment: @LeeDanielCrocker: `Copy` will be grayed out or not visible at all unless some text has been selected. How are you selecting the text to be copied?
Comment: Just with mouse. FYI, "y" works fine...yanks the text and copies it to system keyboard. It's just the menus that don't work. If mouse is set to "r", then the menus work, but the mouse includes the line numbers. So all in all, I can live with mouse=a, I just have to remember to yank instead of copy.
Answer: As romainl suggested, the documentation explains that setting the 'paste' option disables several other options, and you will certainly find that sooner rather than later it will cause problems for you.  For this reason, there is the 'pastetoggle' option.  See:
:help 'paste'
:help 'pastetoggle'

Answer: If something exists, it must have its meaning. You should take a good look at vim documentation which is very useful.
  :help 'paste'
  :help 'pastetoggle'

Once you read, you may want this :
" Toggle paste mode
"   (prefer this over 'pastetoggle' to echo current state)
nmap <leader>p :setlocal paste! paste?<cr>

I hope you find this post useful :)
Answer: IIRC when you paste into vim, it essentially thinks that you typed all those characters yourself.  So if auto-indent is turned on, it will indent stuff for you, but the pasted text usually contains indentation already so the indent indeed gets "messed up".  Switching to paste mode turns off stuff like auto-indent.
If you like auto-indent as-you-type, you should switch it back to nopaste after you're done pasting.  Try it and note how you have to do all indentation manually in paste mode.


Is it reasonable to mention being shortlisted for a prize in CV?

Question: The Open Mind Prize, and presumably many other prizes in mathematics and different fields, makes the list of a few (in this case: three) nominees public before the prize is awarded. Suppose that a person was among the shortlist of nominees but was not awarded the prize. Is it reasonable to mention this on their CV? On one hand, being on the shortlist is presumably a form of recognition. On the other hand, being nominated but not winning may be seen as negative.
Comment: At what career stage are you? What other accomplishments do you have? Just to get some context...
Comment: There is a difference between nominated, and shortlisted.
Where not all nominees get shortlisted.
Being shortlisted is the most common name I've seen for this.
Consider saying shortlisted rather than nominated in the title.
Comment: Being nominated for an Oscar is an achievement worth listing. Is your award of relatively comparative prestige in the field? It sounds like it's rather competitive. On the other hand, in case of an internal department/faculty award, with 5 candidates total, it would be silly to mention it in a CV. In case you actually win such a _local_ award, it's worth considering, as it shows that you are recognized at your work place, and are not there just because there were no other candidates for the position. But it's impossible to say without more details
Answer: It is fine to list your presence on the shortlist, since that list was published by the awarding group. I would say otherwise if there was no clearly public record and the finalists were merely privately notified.
But the group itself has seen to honor a few candidates separately from all nominees and you can make a note of that.
Not essential, but reinforcing, is the fact that the three "finalists" are asked to present a special lecture at the conference. Congratulations.


OEM unlock for Android phones

Question: What is the purpose of OEM unlock?
What would happen to my device if I enable that option? Will it mean that my bootloader is unlocked?
Comment: Not the question but the answer addresses your question
Comment: When you think that option in developer options you just make your bootloader unlockable not unlocked. Unlocking can be done from fastboot
Answer: The purpose of an oem unlock is 2 flash custom roms and or root your device along with a few other things just because you switch the OEM unlock in your developer settings does not unlock your bootloader. To unlock your bootloader you have to enabled developer options select OEM unlock the make sure you have USB debugging enabled and then depending on manufacturer there be different steps take to actually unlock it.

OEM unlock for Android phones


Colors in Chinese with 很

Question: I have learned (是+color+色+的)pattern to describe colors. I am told that "Color" is a quality that cannot be compared. (you can't say this is bluer than that) Because of this, one should use the 是+...+的 pattern.
But recently I came across 天空很蓝:The sky is blue.
Is this pattern correct for talking about colors?
Answer: In short, yes. 天空很蓝 and 天空是蓝色的 are essentially of the same meaning, and the former expression is more common in conversation. We usually do not use colors for comparison, but it is common to use them as descriptive words.
Some more details:
天空很蓝 uses 蓝 as a descriptive adjective. The emphasis is on the appearance of the sky: What does the sky look like today? It looks really blue. You can feel certain emotions from the sentence with this descriptive tone.
You need to be careful about one thing though: 很 is a very important connected word in this expression. 天空蓝 would be referring to the kind of blue that is similar to the blue of the sky.
天空是蓝色的 is more like a statement. The emphasis is on the fact that the sky is of the color blue rather than other colors: What is the color of the sky? The sky is blue.
Hope that helps.
Comment: Yes, I think you are right.
Comment: 性质形容词 is a better and more professional name than "descriptive adjective", I think.
Answer: I don't know why you have been told that "cannot be compared", you might need to show some examples. Here are examples of color Comparision: "今天的天空比昨天(要/還/更)蓝" - Today's sky is bluer than yesterday. "大海的蓝是深蓝色的而天空是淡蓝(的), 所以大海比天空色深." - The color of the ocean is deep blue, the sky is light blue, so the color of the ocean is darker than the sky.
"天空很蓝" is correct, it says  "the sky is very bluey", a descriptive sentence, as opposed to "天空是蓝的" that says "the sky is blue", a general statement.

Colors in Chinese with 很


what happens to sql server if the active directory server goes down?

Question: What happens to sql server if the active directory server goes down and the sql agent services is logged on as a windows user.
Answer: It will continue running, as its already authenticated.
Are you asking because you need to restart an AD server, or has your one and only AD server failed?
Comment: Yes the one and only AD server would be down for an hour and i am trying to understand the effects that the sql agent services would have on sql server. Would there be excessive error logging/any other effects?
Comment: Since the agent is authenticated, jobs should run without issue.


iPhone 4 Won't Turn On or Wake Up?

Question: My lock button is broken and i have been using assist to lock my iPhone , but early today i pull my iPhone out of my pocket it I couldn't turn it on. I tried plugging it into the wall charger, nothing. I Tried plugging it up to my Mac , NOTHING and I'm not on a plan so I cant't get a new iPhone . So what do I do, I'm desperate for answers on how to fix this .
Comment: Does iTunes recognize it as an iPhone?
Comment: No @RedEagle2000
Comment: It may be the battery. Have you tried a different USB cable?
Answer: Unfortunately, it sounds like your iPhone 4 has had it. If iTunes can't recognize it, then something is seriously wrong. The only thing I can think of is that the battery got disconnected, but that's not likely. The best thing to do is to sell "For Parts or Repair" on easy to pay for part of a used iPhone, but older models can be pretty inexpensive. A used iPhone 4 should cost only about  $75-$100, while a 4S should run $110-$130, a 5 for about $200, and an iPhone 5S for about $350.
Comment: Actually, before you sell it, have you tried to connect it with other charging cables?
Comment: No i will try though

iPhone 4 Won’t Turn On or Wake Up?


Is it possible to move a logic brick/re-order the logic stack?

Question: I have a fair number of logic bricks on one specific object, but recently had to add a condition to a very early part of the logic stack. This makes the trace cross almost all of the other traces and makes it look extremely cluttered. Is there some way to move it up above some of the logic bricks? Basically I want to be able to change the logic stack order.
Answer: Minimize the logic brick (the down pointing arrow in the top left corner), then click on the up or down arrows to move it through the stack.
Comment: As far as I know that is the only way to reorder the bricks. Looking in to possibly scripting a solution.
Comment: That is cumbersome . . . but works. Thanks. Any idea how to do it without minimizing? I hate chasing the logic brick around with my cursor :P Or any info or thoughts on implementing it? Drag and Drop would be handy!
Comment: @NoviceInDisguise nope, you need to minimize it and move it one step at a time. - I usually just leave it a mess.
Comment: lol, I guess that is one solution . . . **#OCDHell**
Comment: I suggest to close the bricks anyway. Collapsed bricks look much more organized then expanded once.
Answer: If you have "Repeat Last" listed at User Preferences » Input » Screen » Screen (Global) check what keyboard shortcut it's bound to. It can zip an individual brick around incredibly quickly (after you've explicitly moved the brick once with its up/down arrow). I dare say it could make the difference between a complex project being editable or not.
I noticed, however, that "Repeat Last" is completely deleteable in my Blender 2.78a, which suggests I inserted it myself somehow, I don't remember. The exact syntax inside the entry is just "screen.repeat_last" to create it from scratch.
To impress girls, a double-speed variant can be created by assigning separate "Repeat Last" entries to the press / release phases of your chosen key. This terrifying configuration can storm through 43 bricks in about 3 seconds (tested) and should probably be banned! Happy days.
Comment: I never thought to use the `Shift`+`R` command in that way, great tip!


What exactly does a TestNG Thread Count do?

Question: So I use the thread-count in all of my xml files that run parallel tests. I have noticed some things... When I increase it I generally get better results however more space is taken up on the Selenium Grid. If I lower it to 10 or so, I get a lot of time outs and my tests fail. What exactly does the number of threads do? Is each Test class a single thread or each @Test a thread? Whats really going on in the background?
Comment: Did you read the according documentation? http://testng.org/doc/documentation-main.html#parallel-tests
Answer: It's the number of tests that are run at the same time. It takes up more slots in the grid because is uses one grid slot per test run. It's like saying how many cars in a fleet that you want on the highway at the same time. If you say you want them to take up three lanes, then they will take up no more than three lanes, but it will take longer to get all cars through. If you say five lanes, then they will take up no more than five lanes, but it will take less time to get all cars through.


GeoServer hexagonal grid?

Question: I am trying to use GeoServer to deliver a hexagonal grid layer much like it will do using SLD heat map and cluster layers. While searching the web, I find several examples using OpenLayers (which is client side, not server side), QGIS, and a few others, but nothing addressing GeoServer. Can someone point me to instructions on how to use GeoServer to generate a hex grid for counting items in a region?
Answer: GeoServer does not have a hex binning functionality yet (it can be implemented, given enough dev resources).
Last time I had to do hex binning on the cheap, I delegated everything to PostGIS using a GeoServer SQL View. There are multiple blogs on the topic, here is one, but you can look for more ways to do the same:
http://blog.cleverelephant.ca/2020/12/waiting-postgis-31-2.html
Answer: GeoTools (the underlying library of GeoServer) does have Hexagonal Grid support available via the Vector Grid extension. So you could develop a WPS process that used that.

GeoServer hexagonal grid?


What does the term maximum-bottleneck (s,t)-path in the context of maximum flow optimization?

Question: I was reading the following notes on maximum flow and it said the term "maximum-bottleneck (s-t)-path" but I couldn't find were it precisely defined it, so I am left guessing what it means. I am assuming it means a path from s to t with maximum total capacities once you sum the capacities across the path. However, I am not sure what the term bottleneck adds to the definition nor was I sure if that was correct. Is that the correct definition?
Comment: A maximum bottle neck (s-t) path usually refers to a path from s to t that maximizes the capacity of the edge with the smallest capacity on the path (a quick google search could have told you that as well https://en.wikipedia.org/wiki/Widest_path_problem)
Comment: @DennisKraft did google but ignored it cuz of the title Widest path problem seemed weird...guess I should have clicked it...
Answer: While I suspect that the notion of "bottleneck" has been introduced in an earlier lesson, it's all in the document you link.
Page 8:

Edmonds and Karp's first rule is essentially a greedy algorithm:

Choose the augmenting path with largest bottleneck value.

Page 11:

For any flow network $G$ and any vertices $u$ and $v$, let bottleneck
  $G(u,v)$ denote the maximum, over all paths $\pi$ in $G$ from $u$ to $v$,
  of the minimum-capacity edge along $\pi$.

This sentence is a bit hard to parse. Unfolded:
Let $P_G(u,v)$ be the set of all $u$-$v$-paths in $G$, and $E(\pi)$ the set of edges that comprise a path $\pi$ in $G$. Then,
$\qquad\displaystyle G(u,v) = \max_{\pi \in P_G(u,v)} \quad \min_{e \in E(\pi)} c(e)$.
Note that $\min_{e \in E(\pi)} c(e)$ is the bottleneck (capacity) of $\pi$.
So Edmongs-Karp picks the $s$-$t$-path with the largest bottleneck (in the residual network), which means it picks the path it can send the most flow over (while maintaining conservation of flows).


Should I use @ in my PHP code?

Question: If I use @ in my code, will it affect performance?
Comment: I've never come across a situation when I would absolutely need to use it. Have you?
Comment: possible duplicate of [Reference - What does this symbol mean in PHP?](http://stackoverflow.com/questions/3737139/reference-what-does-this-symbol-mean-in-php) - all the questions regarding the error suppression operator linked in the reference will tell you that you should not use it. The comments on the Manual page have some comments regard performance as well.
Answer: This article is helpful for answering your question: http://anvilstudios.co.za/blog/php/how-to-ignore-errors-in-a-custom-php-error-handler/
Specifically the section "@ has its uses":

Now one really should use the @ operator very sparingly, handling
  errors instead of suppressing them. But there are a small number of
  situations I can think of where one might need to suppress some PHP
  errors. Let me offer two examples :

You could be using some large external library which has made use of the @, and so need to be able to ignore those errors as the author
  of the library intended, otherwise your program is going to trip up
  where it doesn't need to. You could edit the library, but it might
  take a lot of time, and your changes would again have to be applied
  each time the author releases an update to the library.
Another example might be when the fopen function is used to open an external URL, and the URL cannot be opened for one of many possible
  reasons. The function returns false to indicate a fail, which is
  great, but to quote the PHP manual, "an error of level E_WARNING is
  generated" too, not so great — it should really result in an exception
  being thrown instead, as this is an irregular situation, but one which
  should be expected.
  In this case one would like to be able to ignore
  the error, and continue with the program execution, explicitly
  responding in an appropriate way – exactly what exceptions are for!
  There is, however, a way to convert the error to an exception and so
  avoid using the @ in this situation. In your custom error handler
  (which is where we find ourselves in this post), throw an
  ErrorException – this then requires you to explicitly catch and handle
  it in the code that was using the @ before, which is a better way of
  handling errors.
Comment: Of two situation described there, the first one has some merit. You're stuck with poorly written library, you need to deal with it. The second one however can be solved in a more elegant manner by using custom error handler to throw `ErrorException`s, and then handling these. http://www.php.net/manual/en/class.errorexception.php
Comment: I second this answer, especially as I wrote the [How to ignore @ errors in a custom PHP error handler](http://anvilstudios.co.za/blog/php/how-to-ignore-errors-in-a-custom-php-error-handler/) article. =) @Mchl's comment is valid, and is exactly what we do in our custom framework. I've updated the article to reflect this, thanks.
Answer: You should not use the error suppression operator.
In a production environment, no PHP error messages should be shown to the user. They are not useful, because they are full of technical details and do not tell the user how to proceed. Instead, log the error and show your own error message.
In a development environment, all PHP error messages should be shown to the user. They are a vital clue as to the cause of the problem and should be noticed early.
Use the Errors and Logging Configuration Options to distinguish between theses two. Performance is not a useful criterion to decide whether to use @ or not.
Answer: "A foolish consistency is the hobgoblin of little minds." :) To say "never use it" is a bit of an amateurish stance, IMO.  I much prefer $var = @$_POST['key'] to $var = isset($_POST['key'])? $_POST['key'] : null;
Answer: Yes, it does affect performance of your script in a (significant) way.
Read the article PHP Error Suppression Performance.
Comment: I didn't read that in the article at all.  The errors are the performance problem.
Answer: The @ itself is not the cause of performance problems (which, btw, are mostly unnoticable in profiling graphs). Missing array indicies and undefined variables cause notices/warnings and that's where a slowdown occours. The error suppression operator itself is not at fault.
Using @$var in lieu of the fugly isset($var)?$var:NULL has the advantage of still being able to log debug notices, where isset completely hides them.
Comment: @Mchl: Quite a lot, still quite insignificant. It's a micro optimization topic. Eschewing @ is as senseful as using single quotes (unless you have a billion strings or error sources in your app, of course).
Comment: That's what I'm saying. Write code in such a way, it raises no error messages of any level (E_ALL | E_STRICT). It's totally doable.
Comment: @Mchl. Nope. Real errors (E_ERROR and maybe E_WARNING) should be avoided (exempt race conditions with the file API). But E_NOTICEs aren't errors. Likewise E_DEPRECATED and E_STRICT are cargo cult programming error levels, where eschewing peculiarities without making educated choices is not universally sensible.
Comment: @Mchl. You can also ignore E_NOTICEs by using `isset` to suppress it syntactically. But that doesn't affect the behaviour nor does it raise quality. It's a myth that "error"-free code is more robust. --You likewise overgenerilize the implications of E_DEPRECATED. For example `var = & new Xy` is obsolete and **should** be removed - but only **where unneeded**. The syntax will never be disabled, because it would break the overall language behaviour. And assigning a reference can very well still have practical purposes. Unverified relying on E_DEPRECATED notices is inadvisable.
Comment: Actually, what error suppresion operator does is quite more than that. It stores the current error reporting level, switches error reporting to 0, executes the statement it's in front of and finally restores previous error reporting level. Quite a lot I'd say.
Comment: The point is to not have these error sources in the first place, so that you don't need to supress them ;)
Comment: @Mchl: There's a difference between errors levels. And having more debug messages is usually advantageous. Supressing and avoiding isn't always the best method.
Comment: I just don't know how to respond to that... Sure you can code ignoring E_NOTICEs. Your scripts will work anyway. However coding in such a way, that your code don't raise those is 1. easy, 2. makes your code more robust, 3. helps avoid simple, yet hard to find mistakes. E_DEPRECATED: sure, you can ignore that. Worry about it when the features are actually removed from PHP and you have to revisit legacy code to fix that. I guess that's cheaper.
Comment: How does using isset() suppress E_NOTICE? If you mean the snippet you posted in your answer, it's a stupid example to begin with!. If you need this variable to be set, and it is not, you need to throw an exception or react otherwise. Assigning an object reference by reference? Show me where it could possibly be needed.
Answer: Yes, it will decrease your performance when hunting for bugs. So no, you shouldn't use it unless you're sure you won't cause more problems that way.

Should I use @ in my PHP code?


Can i set two different cookie for two different countries for the same website

Question: I have a website where I show the cookie consent bar with some message on it.
I wanted to show a different message to a different country for the same website. Is it possible?
Comment: This question is more appropriate under https://webmasters.stackexchange.com/
Comment: How important is it to you that the country information is correct?  i.e. how bad is it if you show the message for the wrong country?  There are some ways to tell where a user is from but they are not 100% accurate and it's always possible for the user to fake it.
Answer: Yes. You need to detect country/region by IP address and then open the corresponding consent bar. So you'll need to make a script to get IP address and sort that and then another to display the content according the previous determination.
Note that your question is not really about security, it would fit more on a different stackexchange site. /Migrated.


Is switching my C/C++ compiler for security testing generally reliable?

Question: If I am shipping a program to my customers which is compiled with GCC, but I want to test the security of the program using Clang, is this generally okay, or will I miss certain security bugs because I am not testing the exact same output/build as the one shipped? Clang has more useful security testing utilities. I understand both implement the C standard but are technically different programs. Please elaborate your answer to include what the specific issues could be.
Answer: Each compiler covers the basics. GCC and Clang also have unique warnings that one compiler does and the others don't. You'll want to turn on as many warnings as possible, treat warnings as errors. Create unit twsts, run ASAN and ThreadSAN, valgrind. Ideally you would run these automatically in CI, even better if you can run all the checks in both compilers. If you have any network or file parsing tunning it through fuzz testing would be good too.
Generally either compiler should be fine, they both implement the C/C++ standards. It's more about code coverage, correct, well written code. The warnings and tests help you get there.


ML Code throws value error when transforming data

Question: Data source can be found here.
Hello all,
I've hit a stumbling block in some code I'm writing because the fit_transform method continuously fails. It throws this error:
Traceback (most recent call last):

  File "/home/user/Datasets/CSVs/Working/Playstore/untitled0.py", line 18, in <module>
    data = data[oh_cols].apply(oh.fit_transform)

  File "/usr/lib/python3.8/site-packages/pandas/core/frame.py", line 7547, in apply
    return op.get_result()

  File "/usr/lib/python3.8/site-packages/pandas/core/apply.py", line 180, in get_result
    return self.apply_standard()

  File "/usr/lib/python3.8/site-packages/pandas/core/apply.py", line 255, in apply_standard
    results, res_index = self.apply_series_generator()

  File "/usr/lib/python3.8/site-packages/pandas/core/apply.py", line 284, in apply_series_generator
    results[i] = self.f(v)

  File "/usr/lib/python3.8/site-packages/sklearn/preprocessing/_encoders.py", line 410, in fit_transform
    return super().fit_transform(X, y)

  File "/usr/lib/python3.8/site-packages/sklearn/base.py", line 690, in fit_transform
    return self.fit(X, **fit_params).transform(X)

  File "/usr/lib/python3.8/site-packages/sklearn/preprocessing/_encoders.py", line 385, in fit
    self._fit(X, handle_unknown=self.handle_unknown)

  File "/usr/lib/python3.8/site-packages/sklearn/preprocessing/_encoders.py", line 74, in _fit
    X_list, n_samples, n_features = self._check_X(X)

  File "/usr/lib/python3.8/site-packages/sklearn/preprocessing/_encoders.py", line 43, in _check_X
    X_temp = check_array(X, dtype=None)

  File "/usr/lib/python3.8/site-packages/sklearn/utils/validation.py", line 73, in inner_f
    return f(**kwargs)

  File "/usr/lib/python3.8/site-packages/sklearn/utils/validation.py", line 620, in check_array
    raise ValueError(

ValueError: Expected 2D array, got 1D array instead:
array=['Everyone' 'Everyone' 'Everyone' ... 'Everyone' 'Mature 17+' 'Everyone'].
Reshape your data either using array.reshape(-1, 1) if your data has a single feature or array.reshape(1, -1) if it contains a single sample.

To put short:
ValueError: Expected 2D array, got 1D array instead:

I've done some searching on this online and arrived at a few potential solutions, but they didn't seem to work.
Here's my code:
import pandas as pd
from sklearn.preprocessing import OneHotEncoder
from category_encoders import CatBoostEncoder,CountEncoder,TargetEncoder

data = pd.read_csv("/home/user/Datasets/CSVs/Working/Playstore/data.csv")

oh = OneHotEncoder()
cb = CatBoostEncoder()
ce = CountEncoder()
te = TargetEncoder()

obj = [i for i in data if data[i].dtypes=="object"]
unique = dict(zip(list(obj),[len(data[i].unique()) for i in obj]))
oh_cols = [i for i in unique if unique[i] < 100]
te_cols = [i for i in unique if unique[i] > 100]

data = data[oh_cols].apply(oh.fit_transform)

It throws the aforementioned error. A solution I saw advised me to use .values when transforming the data and I tried the following:
data = data[oh_cols].values.apply(oh.fit_transform)
data = data[oh_cols].apply(oh.fit_transform).values
encoding = np.array(data[oh_cols])
encoding.apply(oh.fit_transform)

The first and the third threw the same error which is below,:
AttributeError: 'numpy.ndarray' object has no attribute 'apply'

While the second threw the first error I mentioned again:
ValueError: Expected 2D array, got 1D array instead:

I'm honestly stumped and I'm not sure where to go from here. The Kaggle exercise I learnt this from went smoothly, but for some reason things never do when I try my hand at things myself.
Answer: The fix
data_enc = oh.fit_transform(data[oh_cols])
This is much better than the apply approach anyway, because now the object oh has lots of useful information in it when you want to inspect the results, you can later oh.transform your test data, etc.
Explaining the errors
Your data is in a pandas DataFrame object.  The pandas function apply is trying to apply oh.fit_transform to each column, but OneHotEncoder expects a 2D input.
Using .values or np.array() casts your dataframe to a numpy array, but numpy has no apply method.
Comment: Thanks. I'll try it and get back to you.


Disable Gnome on boot in Antergos

Question: I use Antegos (a distribution based on Arch Linux) and I installed GNOME in my system.

How can I disable GNOME running at system boot?
After booting without GNOME, how can I start it again?
Answer: What you mean by GNOME auto starting is, most likely, actually gdm (GNOME Display Manager) which provides the login screen. Just disable the service to stop it from autostarting. Arch uses systemd, so you want to do:
# systemctl disable gdm

Reboot and gdm won't automatically start. You can then manually start it whenever you want with:
# systemctl start gdm

Answer: If you want to disable completely the graphical session and boot into rescue mode edit the kernel line in grub at startup and add an s at the end of it. Alternatively you can also add systemd.unit=rescue to that line. See this thread
To start gnome from commandline it depends on the login manager. If you have gdm for example try sudo gdm.
If it's just that you installed gnome and want to switch to a previous desktop manager, look for a menu named "sessions" or something like it at the login screen.

Disable Gnome on boot in Antergos


Frame size of Cannondale Synapse

Question: I need to sell my husband's Cannondale Synapse. Can anyone tell me how I identify its frame size, please?
Answer: Usually, there is a decal/sticker on the frame in the bottom bracket area  that will tell the size if it wasn't removed, typically in the range of 50 centimeters, or sizing like XS-XL. (Some brands also have it on the top tube or further up the seat tube, it depends).

Alternatively, you can go to a page featuring geometry data, look up the measurements for a bike and compare against the actual frame.
For example, here are the numbers for a 2022 Synapse: https://geometrygeeks.bike/bike/cannondale-synapse-2022/
You would need to know the approximate model year and model of the bike since there might be changes in geometry over the years.

I think, the safest measurement is the top tube or seat tube, these are often featured in small increments but it should usually get you to the correct ballpark of size if measured correctly.
Comment: The sticker on a cannondale is towards the top of the seat tube, above the 2nd bottle cage mount
Answer: It should have a sticker on the frame, something like this:
  This example is a 60 cm frame.

Frame size of Cannondale Synapse


Choosing grind size should be considered for older coffee beans?

Question: I have heard that if you have some 2-week to 1 month old coffee beans (since roast date), you should grind the beans finer as time passes. This is for the pour over method. Is this necessarily true and why? And of course, there could be possible secondary factors/combinations based on equipment used and type of coffee.
Answer: The reason this is suggested is because beans essentially lose flavor over time. They go stale and their oils go rancid. Grinding finer exposes more surface area of the bean to the brew and helps you eke out a bit more flavor when the bean is old and stale.
However, doing this for pour over can backfire as pour over is highly sensitive to grind. Too fine and your pour over won't drain; the filter will clog.
Try it first with your normal grind, and if that's no good, dial it one or two clicks finer. Much past that and you're in no go territory for the brew method most likely.
Answer: Roasted coffee changes its flavour over time - you might notice changes in acidity and bitterness. If your coffee gets too bitter you can compensate that by grinding coarser and if it gets too acidic you can compensate it by grinding finer. Also, while the coffee degases its density and also the availability of soluble material inside the bean change.
Don't worry too much about the time it takes for your pour over to be finished, try to adjust by taste.


Running Ubuntu on UEFI mode

Question: I tried installing Ubuntu 11.04 on physical machine selecting UEFI mode. It displays GRUB menu and nothing gets displayed. Any idea if Ubuntu 11.04 supports UEFI mode? if yes, how shall I make it work. When I am trying the default BIOS mode, it works fine.
Comment: Why 11.04, just out of interest?  It'll cease to be supported relatively soon.
Comment: Even 11.10 dint work.
Answer: Ubuntu does support EFI-mode booting, but this support is still relatively new, and EFI implementations vary greatly from one machine to another. Without further details, it's impossible to say why you're having problems. I recommend you post the following information:

What hardware are you using (computer or motherboard make and model)?
How large is your hard disk?
What firmware are you using, if you know (InsydeH20, Award, AMI, etc.)?
Are you trying to install from an optical disc or a USB flash drive?
Were you able to install, or does your description ("it displays GRUB menu and then nothing gets displayed") refer to booting the installer?
What precisely do you mean by "...and then nothing gets displayed?" That is, were you able to select an item from the GRUB menu, or was the system unresponsive at that point? If you could select an item, what happened? (Did the screen clear and then nothing happened, did the GRUB menu not disappear, etc.?)

Another point: Ubuntu 12.04 makes significant improvements in its EFI support vs. 11.10 and earlier. I can't recommend you try to use 11.10 or earlier in EFI mode.
One more point: It's relatively easy in Linux (compared to Windows) to switch between EFI-mode and BIOS-mode booting. Thus, you can install in BIOS mode and then switch to EFI-mode booting. This is most easily done if you install to a GPT disk and if you partition it with both an EFI System Partition (ESP) of 100-500 MiB and a BIOS Boot Partition of ~1 MiB.

Running Ubuntu on UEFI mode


What's the principle of ollydbg's memory breakpoint?

Question: It seems only 1 memory breakpoint can be set, and it seems doesn't matter at which line the memory breakpoint is set,very weird,anyone can explain?
Answer: Memory breakpoints in Ollydbg apply to a block of memory. Note the smallest possible block is typically 4096 bytes (page size). You can select a chunk of code from the disassembler view and set a memory breakpoint on it. You can set Memory Breakpoints on either access or on write. This is internally implemented by using guard pages, which use the PAGE_GUARD modifier. When the memory is accessed (read/write), a STATUS_GUARD_PAGE_VIOLATION exception occurs, which is handled by Ollydbg.
Example
You want Ollydbg to break when a module is loaded at a particular address (or range). You can goto the Memory view in Ollydbg and select the address range and set a memory breakpoint on it.
Answer: OllyDbg use int 3 to set the breakpoints, and you can set as many breakpoints as you want.
Check if you're really defining breakpoints in the code segment, not in data.


List of apps I can delete/uninstall on my S4

Question: Can someone please give me a list of apps that are safe to uninstall or disable on my Galaxy S4?  Thanks!
Comment: This depends on the amount of applications installed by you and by your carrier (if in US/UK) and there is no exact answer for these kind of questions. Please mention the android version and carrier variant along when asking a question.
Answer: As stated it may not be possible to build a complete list, due to carrier bloatware. You may need some of these for functioinality you need also. There is also variants of the S4, to confuse matters further. This is not a complete list, but trying to keep one exactly up to date is like trying to build your house beside a boat, before you get the foundation poured the boat has moved on down the river.
 XDA Bloatware List I must again emphasise that there can be roll on effects and you can lose functionality you MAY need on your device.
E.g.:  AllSharePlay15.apk Removing will impact Wifi-Direct function.  You CAN remove it, but you will lose WiDi and so on.
The alternative option is to find a Slim or Ultra-Slim ROM for your device. An example of this would be Echoe Illusion ROM for the S4 which has a SLIM and ULTRA SLIM variant of some of their ROMS. There is also the Google Edition 'Stock' ROM that you can use, which is 450 Mb approx, while Touchwiz Variant is about 1.6 Gb.  There is also the Echoe Debloater which can remove bloatware from recovery, but the caveat of losing functionality still applies. There are many other ROMs out there too so shop around if this option appeals.
 XDA Forum for S4
Note: Any mods/themes/firmeware must be for the EXACT variant of your device, such as GT-I9505, GT-I9505G, GT-I9500, GT-I9506 etc. Using the wrong ones can and most likely will brick your device.


Can I use a Esri geocoding service with my custom basemap?

Question: I am looking at the JavaScript samples in here. I am searching some street by search bar. But not zooming to street, it only viewing city. I have a custom tiled map service layer in my server. Can I use this geocoding service and my custom basemap?
Answer: You can use the free Esri service on any map, but you can't do batch geocoding (requires a subscription). If you are not using the 102100 standard web mapping projection for your custom tiles, you can ask for a different projection from the service.
Documentation
http://resources.arcgis.com/en/help/arcgis-online-geocoding-rest-api/#/Overview_of_the_World_Geocoding_Service/02q000000008000000/
Example
http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/find?text=380+New+York+Street%2C+Redlands%2C+CA+92373&f=pjson


Create New Modern Landing Page

Question: I'm working on creating a new page that I want to be my new landing page. The landing page and the new modern page are a bit different. Mainly, pages have your name at the top and the title of the page. If I remove all of that, it still keeps a white space at the top. Is there anyway I can remove that? Or set the page template to be a landing page that you get when you build a new site?
Answer: The question is how to create a new page using the Home layout, not how to set it as the new home page.
The easiest way is to go into the Site Pages library and create a copy your existing page, this will set the right layout.
Another way would be to create it using PowerShell:
Add-PnPClientSidePage -LayoutType Home -Name "New home!"

Comment: This is exactly what I was looking for! PNP to the rescue again. Thanks so much!
Answer: You can set your new page as home page in modern SharePoint online site, follow the below steps :
Go to the "Site Pages" library -> select "select your new page .aspx" ->click on "Make homepage"
Details steps here:
In 2 steps convert a classic SharePoint page to modern using PnP
Answer:
Go to site settings -> Welcome Page under Look and Feel -> Set your Welcome Page
Go to site content -> Site Pages -> select the new page -> Right click -> Click "Make homepage".
Go to SharePoint Designer, set home page in the ribbon.

Create New Modern Landing Page


How to Get Villagers To Breed Again

Question: So I got my villagers to make about 10 babies. However, my younger sister killed all the babies, and they won't breed again. Do I need to give the villagers more bread? Break and replace the beds? (The symbol that the villagers un-linked from the beds showed up on all the beds)
Comment: She didn't actually kill the babies. I digured out what happened the next day. I found out why they weren't breeding.
Comment: I will delete this question in 2 hours.
Answer: There is no "Symbol" that appears when a villager unlinks from a bed, but rather green particles that appear when a villager links to a bed. All you need to do is give the villagers bread, or any other type of vegetable (Potatoes, beetroot, etc.) and they should breed again, given that there are enough beds for them to do so.
Comment: There are enough beds, and they already have bread from the first time they bred.
Comment: If a villager dies, does the game open up those beds again?
Comment: Yes. I had a couple of villager disappeared (due to a chunk border glitch) and villagers were keep breeding to fill the empty beds.
Comment: I found the villagers.
Answer: A few thing could be happening the villagers could not have enough beds, not enough food, there isn't enough space above the bed (you need at least 3 blocks above the bed, or the villagers are unhappy and you need to either trade with them or win a raid.

How to Get Villagers To Breed Again


Infopath Button

Question: I created several forms in InfoPath that have date fields.  I'm trying to create a button that will add a date from [datefield1] to an Outlook calendar.  Can it be done?
Answer: If you are an outlook Admin, yes you can.
Go to Account setting -->Click change button-->More setting-->Advance-->Add-->Ok

Infopath Button


Plural magazine title = plural verb?

Question: If the title of the magazine is plural, eg "Reflections", "Homes and Gardens" - should I write:
"Reflections" explore the issue ...
or: "Reflections" explores the issue...
Is a singular or plural form correct?
Comment: We Brits wouldn't normally treat a *magazine* title as plural, but in the case of a *company* such as ***Boots*** (the chemists) we might. Though even I would balk at [*Boots **are** a company who listens to **it's** customers opinions*](http://customersurveyreport.com/category/uk-surveys/) (and that's not just because of the extraneous apostrophe! :).
Answer: "Reflections" as in here addressed by you is an entity say "a magazine", it has to be used as a singular form. So to be correct, it has to be: "Reflections" explores the issue.
Comment: My pleasure, Alex! :)
Answer: I don't believe I've ever heard a native English speaker use the plural in a case like this.
Answer: The main grammatical rule is that a title stands in for the thing it's the title of. The magazine is singular regardless of the title being singular/plural, and for that matter regardless of whether the title is even a noun at all! It could be a verb (Shoot magazine) or could be completely ungrammatical.
The case where you might use the plural, is if the title of the magazine was a plural that somehow described the magazine itself or its authors/contributors.
I expect it would still widely be held incorrect to use it in the plural, and that the magazine itself would formally use the singular. But no doubt also some native speakers would use the plural and feel justified in doing so, especially in speech. I'm thinking of something like, "The Proceedings Of The Mathematical Society explore the issue". In effect, you're using the title as a plural noun phrase. In writing therefore maybe technically you shouldn't italicise/quote it, on the grounds that this becomes use not reference. I mean the actual Mathematical Society's actual proceedings.
But even then, if the title is taken to describe the contents of the magazine, not the magazine itself, we use the plural. You'd say, "Amazing Stories was good this month", not "were good this month".
You can also reasonably argue that whether I mean the AMS or a different Mathematical Society, The Proceedings Of The Mathematical Society isn't/aren't a magazine. It's/they are a different sort of publication: a journal. I invite suggestions for better examples to replace it.

Plural magazine title = plural verb?


Trying to combine all my materials into one with my UV maps being seperate

Question: So Im trying to export my materials into one texture which I could then use in Unreal engine for that object. The problem is that I only have 1 object and I have unwrapped it multiple times at different parts. I have only one UV Map in the Data Tab next to the modifiers one. Already hating UV mapping and texturing this problem has made me hate it with passion. Thanks for all the help.
Answer: I had the same issue, when exporting my model to unity. Here is how I handled it:

create a new UV-Map for every object. It's easier later if they all have the same name.
select all your objects in object mode and unwrap them. With the new created UV-Map selected for every object, all objects UV-Maps now should all be in the gray square of the UV-Editor.
Bake your textures from all the objects to a new image with the new UV-Map.

Hope this works for you :)


What are the differences between PSD and TIFF files saved from Cinema 4D?

Question: I was wondering which format is most appropriate to save for print and digital applications?
I was originally taught to save as TIFF for print. When I save out a still from Cinema 4D (R13), the TIFF file is always considerably larger than the PSD file format. When I try to closely inspect the images side-by-side, I see no difference in quality.
Is there any reason to save in TIFF format over PSD?
Comment: Compression not enabled in the tiff file?
Answer: joojaa's guess is correct: C4D saves PSD with lossless compression, but TIFF without any compression.
The lossless compression in the PSD case is the standard method, which is fast but not super-efficient in terms of space savings. Adobe's docs only claim about ⅓ savings, whereas an algorithm like PNG can shave ½ or more off the size of a file, at the cost of some additional compression and decompression time.
There are similar compression methods available for TIFF — LZW and Zip — but for historical reasons, a lot of programs that read TIFFs only support uncompressed TIFFs. Consequently, many programs that write TIFFs don't even offer the option to compress TIFF output. This is what's going on with C4D in this case.
(Others, like Photoshop, include TIFF compression but turn it off by default, for the same reason.)
The actual image content of the resulting rendered frames should be the same in both cases, even when you're doing something tricky like multi-pass renders with all the layers and alpha channels for each frame set to go to layers in a single file, rather than separate files for each pass. C4D can use either TIFF or PSD for this purpose.
I would choose TIFF over PSD purely based on file format support in the app I was going to open the frames in after rendering. If that "next" app is Photoshop or After Effects, by all means, use PSD. If your app of choice won't read a layered PSD but will read a layered TIFF, C4D makes that option available to you. Or, you might choose instead to go the traditional route, and render each pass to a separate file, then use a compositor to assemble the passes into finished frames.
Adobe has been the custodian of the TIFF format ever since they bought Aldus, many years ago. They have since extended TIFF so that it supports many things you might think of as PSD-only, such as layers. So, even though C4D supports more PSD file format features than most other non-Adobe programs, it also does the same for TIFF.
If you aren't doing tricky things like multi-pass renders or separate compositing passes, you might want to think about using something like PNG for your rendered frames. If you can live with PNG's limitations as compared to TIFF — or PSD for that matter — it will save a considerable amount of disk space with no quality loss over PSD.