Adhoc Data processing / ETL

Question: I've just started at a new company in outsourced communications (e.g. print and mail, email, fax). One of the requirements is to process clients data and get it ready for mailing.
For recurring jobs, this is easy using an ETL tool linked in with some addressing software, but for adhoc stuff it's a bit overkill. I've used inhouse developed stuff before (clunky but usable), but I don't want to have to re-develop that here. Any recommendations?
Some features :

Basic DBMS functionality (preferably with a proper DBMS backend for SQL support)
Field concatenation (e.g. combine Firstname + Surname)
"Pushing columns" (e.g. with address fields 1 - 8, push them left so if one is blank, the next one gets pushed up)
Australia post mail sorting and dpid allocation (or can link into external tools relatively easily)
Answer: Would rolling your own with Python or Perl be acceptable?

Adhoc Data processing / ETL


What's the difference between Krav Maga and Urban Krav Maga?

Question: What focus and what kind of techniques are different?
Comment: No research whatsoever: [1](http://www.urbankravmaga.org/), [2](https://en.wikipedia.org/wiki/Urban_Krav_Maga).
Comment: I can't see the difference, Krav Maga also includes many techniques from other arts
Answer: Krav-Maga is close-combat. Originated by Imi Lichtenfeldt, however, as to my knowledge there are plenty of organisations and derivates existing.  The difference is who is teaching it, as there is no restriction to anybody to call his business in any way except there is some kind of trademark set. The main problem with this is that anybody who was in the IDF or participated in an Krav-Maga a instructors course can open a Krav-Maga school and give it his own name and apply techniques he see fit his 'business' or current needs.
My advice, stay with its roots and train in gyms that are part of quality controlled organizations like KMG, IKMF or KMA then it doesn't matter how the instructor calls it, it might be cake-krav-killer-defense but you will have at least some sort of confidence that the things you get taught have part of the idea in it of the originator.
Answer: The differences between Krav Maga (KM) and Urban Krav Maga (UKM) are probably moot if you are training to be effective at self defense in general. I trained in Urban Krav Maga (North America) in Madison, WI for 4 years before a job moved relocated me to Chicago, where I now train at a Krav Maga Alliance school (Krav Maga Force). I also spent 3 weeks at Krav Maga Academy in San Diego training with them a few years back - so it seems fair to say I can provide some perspective.
Like many other answers to similar questions, the training depends heavily on the instructors priorities and their backgrounds. The affiliation (e.g. KM Alliance, KMWW, etc.)provides some guidance to the scheduling, techniques needed to pass testing, and how students increase in rank. Urban Krav Maga was, as I learned, originally affiliated with Commando Krav Maga (CKM). When the CKM founder, Moni Aizik, was discovered to have embellished his credentials, there was a bit of an uproar and some distancing from his CKM school. His techniques were not necessarily bad, but the name had been socially 'poisoned' to some extent.
How UKM-North America (UKM-NA) and UKM-UK might differ is less clear to me. We followed the same basic curriculum with perhaps more emphasis on the types of knife attacks, and attacks in crowded spaces (such as trains and buses) in the UK, and more emphasis on gun defense in the US. Testing up a level had the blessing of UKM founder Stewart McGill (with his signature on the certificate).
Minor differences between UKM and KM I have observed include: UKM-North America emphasized the palm strikes and (vertical) stacked knuckle punch form, whereas the Krav Maga Alliance instructs their students to follow a 45 degree punch (they say it is closer to the relaxed position and thus more 'normal') to minimize metacarpal damage; there seemed to be more emphasis an precision and technique (with more practice dedicated to building muscle memory) with regard to wrist locks at UKM-NA, and less of that at the current KM school; more aggression at the KM school compared to UKM-NA. The gun defense at the current KM school follows the traditional KM techniques, but at UKM-NA there was more emphasis on getting two hands on the weapon hand quickly. KM has more light sparring with 16 oz gloves whereas UKM-NA had occasional light sparring without gloves. So overall - there are small differences which allow the more experienced practitioner to easily adjust and accommodate changes - but there are no major differences as far as I can see. From my latest information, UKM-NA will shut its doors at the end of April, 2019 - due to retirement of the lead instructor.
I've benefited from seeing how different instructors and schools approach the 'self defense problem'. People often get taken in by their instructors approach, but it's good to expand your perceptions and accommodate new approaches. I'd advise others to try the same!


SVN Password Requirements

Question: Is there a general rule of thumb when it comes to administrating SVN user passwords, should it be necessary that they must meet complexity requirements?
Comment: No. Password complexity requirements are specific to your security requirements (and some would argue that they are a waste of time).
Comment: Possible duplicate of [Recommended policy on password complexity](http://security.stackexchange.com/questions/3248/recommended-policy-on-password-complexity)
Answer: Presumably you are using svn to keep source code or configuration data or something similar, and having an unauthorized modification would be bad. Passwords are just one layer of security in protecting from an unauthorized modification.
So the rule of thumb would be to have "good" passwords. I personally dislike "complexity requirements", as most people doing this ignore that it's about entropy and not complexity:

Why do password strength requirements exist?
XKCD #936: Short complex password, or long dictionary passphrase?

But if your svn repository is susceptible to a brute force attack (eg, on the internet) you probably don't want your users to have passwords like "1234" or "password".
In addition to that though, you should consider:

Putting the svn behind a firewall, accessible only to internal network
Using SSH keys for authentication instead of passwords
Having branch permissions and a code review process to prevent unwanted changes from getting in the mainline / "trunk" source code

SVN Password Requirements


Are there any texts from the Bible that summarize the Gospel?

Question: Trying to come up with a list of essentials to center a gospel message on.  I've seen the "Roman road of salvation" used before, but I am wondering if there are any specific summaries in the Bible I can use to create my own approach.
Comment: Were we expected to 'come up with a list of essentials' would we not have been provided with such, do you think ? Rather, we are given more than threescore volumes in general and more than two dozen in particular - because that is how much the Lord has to teach us that we might be sound in the faith. Is there any purpose served by minimising the gospel ?
Comment: However you decide to present the message of God's reconciliation through the shed blood of Jesus Christ, I would recommend that the end result effectively uses Paul's approach, as he is our "pattern" (1 Tim 1:16). Paul clarifies that all humanity is born into the sin-nature and therefore guilty before God (Rom 3:9-10). Paul confirms that God still loves the world (Rom 5:6-8), and who Christ is (Col 1:15). He then states the 'good news' (1 Cor 15:1-4), and how one receives salvation (Eph 1:12-13). He reassures the eternal peace found with now being "in Christ" (Eph 4:30, Rom 5:1, Rom 7:24-25).
Comment: @ Rich - Two other common presentations are (1) the Bridge to Life (illustrated by the Navigators org), and (2) The Four Spiritual Laws (written by the Cru org.).  They cover the basics of the Gospel (or Kerygma).
Comment: @Rich - But if you "want to come up with your own approach" as you desire, just memorize Romans 3:21-26, and go over it with the seeker you encounter. (See Answer below which shows All the essentials of Christian salvation.)
Answer: Yes! 1 Corinthians 15:1-4, "Now I make known to you, brethren, the gospel which I preached to you, which also you received, in which also you stand, vs2, by which also you are saved, if you hold fast the word which I preached to you, unless you believed in vain.
Vs3, For I delivered to you as the first imp0rtance what I also received, that Christ died for our sins according to the Scriptures, and that He was buried, and that He was raised on the third day according to the Scriptures, vs5, that He appeared to Cephas/Peter, then to the twelve."
It should be noted that these text are considered to be a "creed." A Creed is a summary of what the Church teaches, and what Christians together believe, rather than a detailed statement of individual and personal belief.
Also, there are various essential teachings of the Christian faith. 1) The Trinity; There is one God in three persons, with each person possessing all the attributes of deity and personality; 2) The Person of Jesus Christ: Jesus is the unique God-man, possessing full humanity with undiminished deity; 3) The Second Coming; Jesus will one day personally return. 4) Salvation by grace according to Ephesians 2:8-9. 5) Salvation through Jesus Christ alone. 6)The resurrection of Jesus Christ.
Other essentials include "Monotheism" or the Virgin birth. You can look this stuff up yourself but I pretty much covered them.
Comment: @Kris The eternal relationship between Father, Son, and Holy Spirit is the fundamental basis of the Gospel.  Get that wrong (such as claiming the pre-mortal Jesus was created by Jehovah and is known in heaven as Michael the Archangel) and you get everything about sin and salvation wrong.
Comment: The extra biblical trinity doctrine not essential
Comment: @Lesley.   Fundamental since the Creeds were written.  But op asks for biblical
Comment: @Kris, I know that Jehovah's Witnesses are anti-trinitarian and from many discussions I've had with them, I know they reject any and all biblical arguments in favour of the Trinity. I disagree with them that the Trinity doctrine is extra-biblical. I also disagree with them that there is any biblical basis for claiming the pre-mortal Jesus is the created archangel Michael. However, comments are not the place to pursue this.
Comment: Kris The Trinity is NOT the subject. But I have stated for years now that the Trinity is not a requirement for salvation. It's the RESULT of salvation. You can't know Jesus and somehow miss the fact that he is God. (not a god). You can't have experienced the presence of the Holy Spirit of God (not an active force), and somehow miss He is God. Read Romans 8:9-11. Also, Romans 8:1, "There is therefore now no condemnation to those who are in Christ Jesus." This  relationship is akin to being married. I've been married 55 years, I know my wife intimately and she knows me intimately, we are one.
Comment: @Mr.Bond I agree trinity is not the subject here. Your answer brought trinity into the discussion.  Now you say belief in trinity is not necessary for salvation  but still call it essential.
Answer: In addition to the 1st Corinthian verses already quoted, here are some from 2nd Corinthians:

"But if our gospel be hid, it is hid to them that are lost, in whom
the god of this world hath blinded the minds of them which believe
not, lest the light of the glorious gospel of Christ, who is the image
of God, should shine unto the. For we preach not ourselves, but Jesus
Christ the Lord; and ourselves your servants for Jesus' sake." (4:3-5)
"God, who hath reconciled us to himself by Jesus Christ, and hath
given to us the ministry of reconciliation; to wit, that God was in
Christ, reconciling the world to himself, not imputing their
trespasses unto them... we pray you in Christ's stead, Be ye
reconciled to God. For he hath made him to be sin for us, who knew no
sin; that we might be made the righteousness of God in him." (5:18-21)

In his letter to the Galatians, Paul warned of the danger they were in of being lured astray by a false gospel, so this helps expose what to look out for:

"I marvel that ye are so soon removed from him that called you into
the grace of Christ unto another gospel which is not another, but
there be some that trouble you, and would pervert the gospel of
Christ. But though we, or an angel from heaven, preach any other
gospel unto you than that which we have preached unto you, let him be
accursed... it pleased God, who separated me from my mother's womb,
and called me by his grace, to reveal his Son in me, that I might
preach him among the heathen... Knowing that a man is not justified by
the works of the law, but by the faith of Jesus Christ, even we have
believed in Jesus Christ, that we might be justified by the faith of
Christ, and not by the works of the law for by the works of the law
shall no flesh be justified... For if righteousness come by the law,
then Christ is dead in vain." (1:3-9, 15-16 &2:16-21) All. A.V.
translations

The danger that Paul warned of, that was luring people away from the gospel of Christ, was how some insisted they had to retain legalism - performing legalistic 'works'. That corruption of the gospel is still at work today - legalism. Watch out for it.
The Gospel of Christ is all about the Christ of the Bible, who was born sinless of the virgin Mary, gave himself a sacrifice to God to reconcile sinners to God, and because he died sinless and death could not hold him, he arose in triumph over the grave, and it is because he lives that his resurrection power flows to believers. He is returning in great glory to usher in the Day of Resurrection and Judgment. That also belongs to the gospel message.
Comment: @ Anne - The last paragraph is a good summary of Christianity...but several of those ingredients are not found in the Scriptures quoted. I think the Questioner was seeking "a Summary in the Bible".  Is there a passage of Scripture that contains all those ingredients, and also shows how to make them real in a seeker's life?  (I enjoy reading your many Answers on S.E.!)
Comment: @raygrant The OP asks for 'scriptures', plural, that give a summary of the gospel. Some were given in other answers, I added 3 more. They were chosen by me as being fairly brief. But serious studying is required to collate ALL verses that show, between them, ALL the 'ingredients' of the gospel. It saddens me that many people today want sound-bite answers that do their homework for them. If the gospel message is treated like that, no satisfying answer will be found as the fulness of the gospel is combined via hundreds of Bible verses. Anything taken away or left out from it corrupts the gospel.
Comment: "are there any specific summaries in the Bible?"  is what was asked.  Romans 3:21-26 is one such **summary** that is comprehensive and all inclusive of the ingredients of coming to salvation. It showed that one does not have to flip pages in order to present the complete Gospel (Kerygma). Indeed, there probably are other summaries in the N.T. too. Peace!  (Acts 2:37-40 could be another such "summary".)
Answer: The core teaching of the Gospel, traditionally known as the Kerygma, is probably what you're looking for.  It's more of something someone has to internalize and use in evangelization (i.e. it's what you can say when someone asks you what does it mean to be a Christian).  It's the central four ideas, that the world was created good, then we fell from grace, Jesus came to redeem us and what is our response.
The wikipedia article on the Kerygma has a number of Biblical references.  Most notably is St. Peter's proclamation in Jerusalem on Pentecost referenced in the beginning of Acts.
Comment: I've learned something new today. Glad you posted that link.
Answer: Gospel (Good news, "ev angelos") is sometimes generalized as the entire message that constitutes the New Testament,as seen in the synonym list found in 1 Timoty 1:5-8 (law = doctrine = gospel). We also see it states very simply in Galatians 3:8 when it tells us that the Gospel was preached to Abraham, and that was in the message that "all nations would be blessed"
One of the best syntheses of the Gospel has already been mentioned, 1 Corinthians 15:1-4, speaking of the death, burial and resurrection of Jesus. There are some other passages that also are summary statements of the message of the Gospel.
Hebrews 6:1-2 mentions six "Fundamental Principles of Christ"
<code>    Hebrews 6:1 Therefore leaving the elementary teaching about
    the Christ, let us press on to maturity, not laying again a
    foundation of (1) repentance from dead works and of (2) faith
    toward God,(3) of instruction about washings and (4) laying on
    of hands, and the (5) resurrection of the dead and (6) eternal
    judgment. (numbers added for emphasis)
</code>
As well, another such simple summary is found in 1 Timothy 3:16-17 called the "Mystery of Godliness":
<code>    1 Timothy 3:16 By common confession, great is the mystery of
    godliness: He who was revealed in the flesh, Was vindicated in
    the Spirit, Seen by angels, Proclaimed among the nations,
    Believed on in the world, Taken up in glory.
</code>
Comment: As it's currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer).
Comment: @Brainardo - Your listing of two more summaries of the Christian Gospel, for use in evangelizing, are good choices! But make sure after you have "them" read them, that you ask them if they have any questions about them.  Discussions are much better than preaching at them. Keep studying the Bible; it's great for the soul!
Answer: Romans Road? We are aware of the use of the Romans Road where evangelists hop around the chapters to present a full story of salvation.  However this is quite unnecessary. The very first verse has a context that supplies all the info necessary!

Now a righteousness from God apart from the Law has been made known, to which the Law and Prophets (Holy Bible) testify. This righteousness from God comes through faith in Jesus Christ to all who believe. There is no difference, for all have sinned and fall short of the glory of God, and are justified freely by His grace through the redemption that came by Christ Jesus.

God presented Him as a sacrifice of atonement through faith in His blood. He did this to demonstrate His justice, because in His forbearance (merciful patience) He had left the sins committed beforehand unpunished--He did it to demonstrate His justice at the present time, so as to be just and the One who justifies those who have faith in Jesus!  (Romans 3:21-26)

In this passage of Scripture we have the presentation of the essentials of Salvation:

Righteousness
Holy Bible as the Source
Faith in Jesus Christ
Believing as necessary
All inclusive salvation
Sin as a problem
Free justification
Grace of God
Redemption
Sacrifice and Atonement
Blood of Jesus
Merciful patience (forbearance of God)
Justice in the universe
A Just God!

There is no need to flip pages back and forth in the book of Romans; just read the famous passage, "for all have sinned," in its contextual setting! Romans 3:21-26
Another Summary A summary of the Gospel for salvation that can be used in evangelizing is the block of verses in Romans 10:

This is the word of Faith we are preaching: That if you confess with your mouth Jesus as Lord, and believe in your heart that God raised Him from the dead, you will be saved; for with the heart a person believes, leading to righteousness, and with the mouth he confesses, leading to salvation.For the Scriptures say, "Whoever believes on Him will not be put to shame." For there is no distinction between the Jew and Greek, for the same Lord is Lord of all, abounding in riches for all who call on Him, for "Whoever calls on the Name of the Lord shall be saved." (Romans 10:8-13)

In this short summary, we have the major doctrines that lead to a certain salvation:

Confession with the mouth
Believing in the heart
The Lordship of Christ
The Resurrection of Jesus
Righteousness
Holy Scriptures as a resource for truth
Inclusive salvation for all peoples
Abounding "riches" available

Having the seeker read this summary himself is most beneficial. Then ask if there are any questions he may have. This gives an opportunity to explain fully and adequately the way of Salvation, without pressure or intimidation.
Deep in the heart of many people is the question about going to heaven when we die. So most are open to a non-offensive dialog that's based on an objective source: the Bible--not me or you, or any man, philosopher or guru.
Here again, the evangelist does not have to spend time flipping back and forth from one scripture to another. Just open the Book of Life and share a piece of Bread with the starving soul!
Answer: There can be many formulas or focus of the Gospel message other than the Western "road to salvation" Rom 3:23,6:23 Isa 64:6 which exaggerates the "all are sinners" snippet, and eliminates any natural immunity and also contradict the overall scripture, especially Rom 2. The need to find an alternative could be driven by from the fact that many do not accept a kind of negative picture of sinfulness, especially when they have not committed any. You can create a versatile approach (like Acts 17) that focus the specific need and context of your target or immediate audience, just like any marketing strategy. And focus on a positive message that liberates people from their sickness, suffering, gives them hope, peace, truth, and relationship with God, a message that touches real practical life rather than a mental gnosis or enlightenment mindset of a religion. Search for relevant verses for your key starting points.

Luke 4:18-19 ESV "The Spirit of the Lord is upon me, because he has anointed me to proclaim good news to the poor. He has sent me to proclaim liberty to the captives and recovering of sight to the blind, to set at liberty those who are oppressed, to proclaim the year of the Lord's favor."
Exo 15:26 saying, "If you will diligently listen to the voice of the LORD your God, and do that which is right in his eyes, and give ear to his commandments and keep all his statutes, I will put none of the diseases on you that I put on the Egyptians, for I am the LORD, your healer."
Ps 34:8,16-17 Oh, taste and see that the LORD is good! Blessed is the man who takes refuge in him!... The face of the LORD is against those who do evil, to cut off the memory of them from the earth. When the righteous cry for help, the LORD hears and delivers them out of all their troubles.
John 10:9-11 I am the door. If anyone enters by me, he will be saved and will go in and out and find pasture. The thief comes only to steal and kill and destroy. I came that they may have life and have it abundantly. I am the good shepherd. The good shepherd lays down his life for the sheep.
[1John 2:16-17 NRS] for all that is in the world-- the desire of the flesh, the desire of the eyes, the pride in riches-- comes not from the Father but from the world. And the world and its desire are passing away, but those who do the will of God live forever.
1Cor 2:9 But, as it is written, "What no eye has seen, nor ear heard, nor the human heart conceived, what God has prepared for those who love him"

The parables of Jesus is often overlooked though they are very succinct gist of the Gospel message you are looking for, as they are meant to convey the Gospel truth in an analogous way.

Matthew 13:32-36 ESV
[32] It is the smallest of all seeds, but when it has grown it is larger than all the garden plants and becomes a tree, so that the birds of the air come and make nests in its branches."  [33] He told them another parable. "The kingdom of heaven is like leaven that a woman took and hid in three measures of flour, till it was all leavened." [34] All these things Jesus said to the crowds in parables; indeed, he said nothing to them without a parable. [35] This was to fulfill what was spoken by the prophet: "I will open my mouth in parables; I will utter what has been hidden since the foundation of the world."  [36] Then he left the crowds and went into the house. And his disciples came to him, saying, "Explain to us the parable of the weeds of the field."
Answer: The Lord's Prayer, if you interpret God's will in its two senses:

what God wants to do in us, which I call his super-creative will, namely the creation and growing of a super-natural life - which is a partaking of the divine nature (2 Pe 1:4) - in us, and

what God wants us to do (including not to do), his normative will.

This double sense applies also to the Kingdom of God in the NT, for whose advent we ask in the previous petition. Whereas a human kingdom extends over those who do what the king commands them to do, the kingdom of God in the NT extends over (actually into) those who, first of all, allow God to do within them what God wants to do, and then do what God commands them to do.
This summary is in line with the summary by Jesus Himself of the purpose of his coming: "I came that they may have life and have it abundantly" (Jn 10:10), which together with "Now this is eternal life, that they may know You, the only true God, and Jesus Christ, whom You have sent" (Jn 17:3) explains the first place of "hallowed be your Name": the Name in question is "God the Father", and knowing (and thus hallowing) that Name requires knowing the consubstantial Son.


Is "like so" correct?

Question: Reading blog entries about computing I often see "like so" instead of "like this". Is this correct English? It sounds to me like a word by word translation from German.
Comment: I am a bit confused as to what German original you might have in mind. A word-for-word equivalent would be *wie so*, which makes no sense in German. To express *like this*, a German would typically write *(so) wie das*, *wie folgt*, simply *so*, or even *folgendermaßen*, but never *wie so*.
Comment: I wouldn't actually delete it. It *is* a valid question, whether or not the mistranslation hypothesis holds any water.
Comment: Could you give some examples?
Comment: never mind ... how do I delete this entry?
Comment: I have seen _like so_ in quite some places, and used quite frequently while talking when I was in Europe (Belgium). My impression was also the same - _perhaps_ a mistranslation from some language. Let me dig for links...
Answer: "Like so" is completely valid English, and it comes from an older sense of the word so that is gradually falling out of use in English.  It should come as no surprise that so is a Germanic word and that the German so comes from the same place.
This meaning of so in English is "in this manner/condition".  Dictionary.com touches on this meaning in the first three entries.
A lot of the places that we use so with this sort of meaning are in idiomatic phrases, for example:

If you are so inclined...
It is so.
So let it be done.

I, for one, have said "like so" from time to time throughout my life.
Comment: Don't forget "Make it so."
Comment: @Claudiu: Good one!

Is "like so" correct?


Change default picture - registration flow - AZURE - ADB2C

Question: In the ADB2C user registration flow you have an picture on the left & the form on the right. Is there an easy way to change the picture on the left? I don't want to redesign the whole page.
Answer: Full customization which includes your own HTML/CSS is available for all the Azure AD B2C user flows including the "sign-up or sign-in policies"  which offers a combined - registration and login - policy.
The "sign-in" policy type is the only one that offers the ability to customize via the "company branding" feature which needs only a picture upload.

All other flows require upload of HTML/CSS content. A template is available.  Full customization is documented here: https://learn.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-reference-ui-customization
Page UI Customization is under Policy->Edit policy->Page UI Customization->Select page->provide source URI
Answer: Update
How you get to Company Branding has changed, see this SO Answer.

Previous
Yes.  Go to Users and Groups -> Company Branding -> Edit -> Sign-in page background image.
I couldn't find an official documentation on learn.microsoft.com/azure/active-directory-b2c to reference, unfortunately.
Comment: Thanks you very much for the answer. Unfortunately this doesn't answer my question. I know that the login flow is like this. I wanted it for the registration flow.
Comment: np @JohnFinch.  It **should apply** to all policies.  It is only working on my edit policy though.  I'm going to open another SO question for that.
Comment: https://stackoverflow.com/questions/46058810/b2c-company-branding-not-applying-to-all-policies


Different between GPS and Core Locator in iphone?

Question: I'd like know what is difference between GPA and core locator in iphone. Also Whether internet needed for GPS?
Answer: Internet is not needed for GPS, however, you can improve the location process with an internet connection or an mobile network.
The first technique would be triangulation from the next cell towers where the phone is booked into, the other technique is loading the almanach used to translate the time send out by the sattelites into a position. This is a ~500b file which is send every 20 minutes so you can speed up the first position fix by up to 20 minutes when the almanach is loaded from somewhere else. However, the almanach is usually cached and can be used around one week before there is a need for a new one.
Answer: I think this sentence best sums it up, but I would add the MapKit Framework to the mix
Apple Documentation
Location-based information in iOS comprises two pieces: location services and maps. Location services are provided by the Core Location framework, which provides Objective-C interfaces for obtaining information about the user's location and heading. Maps are provided by the Map Kit framework, which supports both the display and annotation of maps similar to those found in the Maps application.


html emails - problem with  inside  tags?

Question: The following looks fine but when i test it in gmail, it opens the link twice (in 2 new tabs), it's as if there's some kind of wierd event bubbling happening....
 <button>Approve</button>

am i missing something obvious?
Answer: A link can't contain a button. Either use a button or style the link like a button (i.e. that it looks like a button).
That said: The event bubbling is probably happening because the button does it's job and then, the link processes the mouse click event, too.
Answer: The obvious thing is that this is not properly formatted [X]HTML.
An  should not include a <button>
Answer: There are browsers that will not even allow the link to be clicked.
Style the href instead
GO

html emails - problem with  inside  tags?


Verify that a function is a solution to the 3-dimensional wave equation.

Question: For $n=3$. How to verify that a smooth function
$$
u(.,t)=f*\partial_t\Phi_t+g*\Phi_t \tag{*}
$$
is a solution to the 3-dimensional wave equation
$$
u_{tt}=\Delta{u} \quad u(x,0)=f(x) \quad u_t(x,0)=g(x) \tag{**}
$$
where $\Phi_t$ is the tempered distribution given by
$$
\displaystyle  \Phi_t (h) := \frac{t}{4\pi} \int_{S^2} h(t\omega)\ d\omega
$$
for all Schwartz function $h$ and $\omega$ is just the Lebesgue measure on the sphere $S^2$?
Comment: Maybe useful: http://math.stackexchange.com/questions/177239/derivative-of-convolution.
Answer: For a tempered distribution $\,f\in\mathcal{S}'$, its Fourier transform
$\,\hat{f}=F[f]\,$ is a linear functional $\,\hat{f}\in\mathcal{S}'\,$ defined
by the identity
$$
\langle\hat{f},\varphi\rangle=\langle f,\hat{\varphi}\rangle\quad\forall\,
\varphi\in\mathcal{S}
$$
where $\,\hat{\varphi}\,$ designates a classical integral Fourier transform
$$
\hat{\varphi}(\xi)=\!\int\limits_{\mathbb{R}^3}\!\varphi(x)e^{-ix\cdot\xi}dx
$$
of a rapidly decreasing test function $\,\varphi\in\mathcal{S}(\mathbb{R}^3)$.
Denote $\,\mathbb{R}_{+}=\{t\in\mathbb{R}\colon\;t>0\}$,  and let $\,u\in C^1(\mathbb{R}_{+};\mathcal{S}')\,$ be a solution of Cauchy problem $(\ast\ast)$.
Notice that Fourier transform $\,\hat{u}\in C^1(\mathbb{R}_{+};\mathcal{S}')$
is to solve the Cauchy problem
$$
\begin{cases}
\hat{u}_{tt}+|\xi|^2\hat{u}=0, \quad t>0,\\
\hat{u}|_{t=0}=\hat{f},\quad \hat{u}_t|_{t=0}=\hat{g},
\end{cases}
$$
solution of which is of the form
$$
\hat{u}(\xi,t)=\hat{f}(\xi)\cos{(|\xi|t)}+
\hat{g}(\xi)\frac{\sin{(|\xi|t)}}{|\xi|}.\tag{1}
$$
Consider a tempered distribution
$$
\Phi_t=F^{-1}\Bigl[\frac{\sin{(|\xi|t)}}{|\xi|}\Bigr]\tag{2}
$$
and notice that Fourier transform
$$
\hat{\Phi}_t(\xi)=\frac{\sin{(|\xi|t)}}{|\xi|}=
\sum_{n=0}^{\infty}(-1)^n t^{2n+1}\frac{(\xi_1^2+\xi_2^2+\xi_3^2)^{n}}{(2n+1)!}
$$
is an entire function in $\,\xi=(\xi_1,\xi_2,\xi_3)\,$ on $\,\mathbb{C}^3$. Hence,
a distribution $\,\Phi_t\in\mathcal{S}'\,$ has a compact support
$\,{\rm supp\,}\Phi_t\Subset\mathbb{R}^3$. By the convolution theorem,
representation $(1)$ immediately implies the required representation of solution
$(\ast)$. Defintion $(2)$ of the tempered distribution $\Phi_t$ implies that
$$
\langle \Phi_t,h\rangle=\frac{1}{4\pi t}\langle\delta_{S_t},h\rangle=
\frac{t}{4\pi} \int\limits_{S^2} h(t\omega)\, d\omega\quad
\forall\,h\in \mathcal{S}
$$
— for details see
The issue of treating an inverse Fourier transform in terms of a tempered distribution.
Comment: @ mkl314: Thanks! I think I understand (and wrote correctly) the definition of Fourier transform of a distribution. Could you please see this Note Equation 5 which is in Section 3: Tempered Distributions and then the paragraph right after Exercise 30: http://terrytao.wordpress.com/2009/04/19/245c-notes-3-distributions/ where $\langle\hat{f},\varphi\rangle=\langle f,\check{\varphi}\rangle\quad\forall\, \varphi\in\mathcal{S}$.
Comment: And basically I am trying to solve Exercise 40 from this note.
Comment: @ mkl314: Would you mind guiding me to solve Exercise 40 based on the definition given in that Notes which is anti-$\mathcal{S}'$ as you called?
Comment: For tempered distributions, a definition of Fourier transform is subject to the definition of $\mathcal{S}'$ as being primary to everything else. Thus the classical definition of Fourier transform employed in the answer is subject to the classical definition of $\mathcal{S}'$ as a linear vector space of linear functionals on $\mathcal{S}$. Meanwhile, despite the fact that $\mathcal{S}'$ was defined in the
"Notes"as an antilinear vector space of linear functionals on $\mathcal{S}$, the representation of $\Phi_t$ in Exercise 40 will be the same whatever definition of Fourier transform you take.


Can I programmatically change the background color of the touch bar?

Question: Can I change the background color of the MacBook Pro touch bar programmatically (for my macOS app)?
I am afraid that there is no API for doing that, but I am asking you anyway!
Answer: This is the best I can offer you as far as customization goes:

Add buttons to the Touch Bar within apps
Add buttons to the Touch Bar Control Strip
Remove Siri and other buttons from the Touch Bar Control Strip
Hide the Control Strip completely, maximizing Touch Bar app region
Hold down the FN key to show Expanded Control Strip, not function keys
Other transient Touch Bar customizations, hide QuickType typing suggestions
Comment: Sorry, I meant programmatically. I edited my question
Comment: In that case I dont think you will be able to do that with the stock os


Query Performance Tuning

Question: When you finish writing a query/stored proc/function, what's the most informative way to quickly get some performance parameters?  Do you run the query and view the actual execution plan?  If so, what are the things you look for?  Obviously table/index scans are the bit hits, but what else?
Answer: For a quick assessment, get the execution plan out of SSMS and in to Plan Explorer.

Review the most expensive operations for anything unexpected. Sorts, worktables, inappropriate join operators (e.g. nested loop where you expect a merge or hash).
Look at the rowcounts at each stage of the plan, are they broadly within the range you expected to see?
Look at the estimated vs actual rows. If you're actuals are close to the estimates, it's more likely you have a good plan. If there are big variations, find out why (missing and/or out of date statistics for instance).
Evaluate the potential for parameter sniffing issues. Look for areas where cardinality may vary and test against a range of input parameters.

Lots of freely available reference material out there, Grant Fitchley's SQL Server Execution Plans is a good start. I also found Joe Chang's blog posts and ebook on execution plan costs very useful.
Answer: Mostly, all that I do is just run the query and find out how it executes against real-world data.  If there's a problem, then I take a look at the execution plans.
As for execution plans, Brad McGehee has an interesting article on the subject.
In it he says:

If you see any of the following in an execution plan, you should
  consider them warning signs and investigate them for potential
  performance problems. Each of them are less than ideal from a
  performance perspective.
<code>* Index or table scans: May indicate a need for better or additional indexes.

* Bookmark Lookups: Consider changing the current clustered index, consider using a covering index, limit the number of columns in the SELECT statement.

* Filter: Remove any functions in the WHERE clause, don't include wiews[sic] in your Transact-SQL code, may need additional indexes.

* Sort: Does the data really need to be sorted? Can an index be used to avoid sorting? Can sorting be done at the client more efficiently?
</code>
It is not always possible to avoid these, but the more you can avoid
  them, the faster query performance will be.
Answer: <code>SET STATISTICS IO ON
</code>
Generally, the "number of logical reads" should be as low as possible.  The few pages touched to complete the query, the better the plan as it will (typically) be faster, a lower impact on CPU, RAM and disk IO.
This will guide you when changing the indexes or re-factoring of the SQL is actually helping.  Looking at "millisecond excecution time" will vary even with the same SQL and query plan - logical reads will stay consistent for any given query plan.
Also "physical reads" should be very low (and be zero and stay zero for subsequent executions).  If this does not do this then look at your SQL Server memory usage (page life etc).
Comment: But for queries that are run when there not in the query cache the physical reads will be greater than zero, right?  I mean, you can't always get around that, as not all queries (especially ad hoc queries) are cached.  Am I correct?
Comment: @Surfer513 to take care of the data caching , you can issue a CHECKPOINT followed by a DBCC DROPCLEANBUFFERS to clear out the buffer pool (data cache). Note that this will clear out the buffers for everybody, so use it accordingly (on test systems).
Comment: @StanleyJohns, why would you want to clear the data/query cache?
Comment: This way the physical IO will be the same each time, giving the consistency required for testing. This will help in fine tuning the query.
Comment: I would ignore the physical IO stats as that is under the control of the underlying infrastructure and will incorporate SAN and OS buffering.  Logical IO's is a measure of the amount of WORK the SQL statement had to do.  If the SQL does less logical IO then it does less work.

Query Performance Tuning


How to check if graphics card driver is up to date?

Question: I have a fresh install of Linux Mint 17 xfce and I would like to check if the graphics card driver is up to date. I have a AMD radeon x1650 graphics card. How do I check if my graphics card driver is up to date?
Answer: There are two potential ways to answer the question here.  Do you want to make sure you have the most up to date driver that is in your distribution's repositories, or are you looking for the most up to date version from AMD (which is usually newer than the distribution's repositories, as it takes time for the distribution to check and verify it works well with the OS in general, etc).
From a root terminal, you can run:
apt-get update

To update (or see all updates) for packages in your distribution.
If you want to see what version you have installed, you can run:
dpkg -l fglrx-driver

This will show you some output that will include the Version string.  You should be able to compare this to what AMD's website lists to see how much newer the version is from them.  Ignore the dash and anything after it.
Note as well that fglrx is AMD's non-free binary driver.
Comment: `apt-get update` will only update the list of available packages. It will not install anything and it will not show any updates. You need to run that _and_ `apt-get upgrade` to actually install any newer versions.
Comment: I received the following command suggested by Jim : dpkg-query: no packages found matching fglrx-driver


How can I repair a ps2 ribbon cable's connector?

Question: Recently I tried to fix my old ps2 slim that didn't read disks anymore. When I removed the lid I noticed that the problem was that a ribbon cable connector was broken. Can it be repaired? If that's the case how can I reattach the connector and make sure it has a good electric connection?
Answer: That's the flex PCB which is broken not the connector. I'm not aware of a method to reliably fix flex PCBs which are breaking so close to the exposed pads where the connector goes.
You could try and scrape of the polyimid layer (the orange plastic) near the end and solder the exposed copper to the gold pads, but if you apply too much solder on the golden pad, it won't fit back into the connector. Afterwards to give back some of the stability of the polyimid layer, you can try and wrap it with some adhesive film. But the copper is likely to break off again.
For popular devices like the PS2, replacement parts for common failures are available. A quick google search for "PS2 slim drive flex" returned results which got at least my hopes up, that there is something for you available.
Lastly, you can copy the design and get it made by one of the PCB manufacturers. Prototype quantities of these things might be quite expensive - so you could try to order many and sell the rest or buying a "new" used PS2 slim could be cheaper (but might break with the same failure).
Comment: or design and make a new one
Comment: @JonRB well yes, not sure how that stacks up to buying a "new" used slim PS2. But I've added the possibility.
Comment: I second the suggestion to buy a new one. Check eBay or look for web sites on console repair.


How to limit your stored XSS payload to only target certain people?

Question: Assume that you found a website affected by persistent XSS (stored) that you want to exploit.
How do you control which target can be affected by this vulnerability?
I don't want all who enter the page affected by the payload.
Answer: An XSS vulnerability that lets you run arbitrary JS lets you do anything you can do with JS. So designing your payload is simply a programming issue.
If you want to limit on IP, just check the users IP. If you want to limit on logged in username or id, just grab that from wherever it is stored and compare to your targets. Usernames are usually displayed somewhere on the page, and if it's not just fetch a page where it is displayed and read it from there. Especially for a SPA the username is probably stored in a JS variable so you don't even have to grab it from the DOM.
It might require some searching to find where to retrieve the info from in your specific case - there is no universal solution - but it should be doable with a little bit of JS.
Answer:
I don't want all who enter the page affected by my payload

This comes down to an authorization case. Let's assume that the page in which the vulnerable parameter (now exploited) resides in an area which is open to the public. Indeed, everyone visiting that page will now be affected by your payload.
If you're trying to target specific users, one would could (please see the comment below) exploit a previous vulnerability such as stealing the targeted users session ID and authenticating it against an already-known session ID in order to craft your payload to target this specific user. Now, in order to make this happen, you need to assume that you have already captured the targeted users session ID, and that the session ID has not yet expired. (Which is the 'previous' vulnerability mentioned).
There may be other ways to identify the users in which you can target, though that strictly depends upon the application in which you are pentesting and how they authenticate with the server. Again, you will generally need to capture this information via a MitM styled attack.
TL;DR: It all comes down to the web app that you're pentesting and how it identifies its users. In your case, this is highly subjective. Unless we know exactly what that information is, that's really all that we can provide.
Comment: I don't think you'll need a MITM for this in general. Usernames and IDs are usually littered throughout webpages. And if you could do a MITM, why even bother with the XSS in the first place? Last paragraph is spot on, though.
Comment: @Anders That's a great point!


How portable is __get_cpuid?

Question: I'm using __get_cpuid() to get info on the x86 and x86_64 processors my programs run on. With GCC on Linux and Mac OS, it seems to compile and run OK without include any header, but how portable is that? Would it work with other compilers? Should I include a header for that?
Comment: You should include that anyway. Calling a function without a known prototype is illegal in C99.
Comment: @WTP: Being a built-in function, it does not require a prototype.  There is no header file to include.  The C99 standard does not apply because it is a language extension.
Comment: @Dietrich Epp My bad, I didn't know it was a language extension. That wasn't mentioned in the question.
Answer: It has two leading underscores. Any leading underscore at all is a big hint that the variable or function is not portable.
Comment: Is there a portable C code (Better as Template Library) which allows detecting CPU features? For instant if AVX is supported or not.

How portable is __get_cpuid?


How to check active transactions in SQL Server 2014?

Question: I am using SQL Server 2014 and want to know how to check my active transactions?
Answer:
Query with sys.sysprocesses
SELECT * FROM sys.sysprocesses WHERE open_tran = 1

DBCC OPENTRAN : helps to identify active transactions that may be preventing log truncation. DBCC OPENTRAN displays information about the oldest active transaction and the oldest distributed and nondistributed replicated transactions, if any, within the transaction log of the specified database. Results are displayed only if there is an active transaction that exists in the log or if the database contains replication information. An informational message is displayed if there are no active transactions in the log.
sys.dm_tran_active_transactions

Returns information about transactions for the instance of SQL Server.
Syntax

Wondering about Transaction ?

A transaction is a single unit of work. If a transaction is
  successful, all of the data modifications made during the transaction
  are committed and become a permanent part of the database.

Find more at docs
Comment: When you call `BEGIN TRANSACTION` twice, open_tran = 2. The query should be `SELECT * FROM sys.sysprocesses WHERE open_tran > 0`.
Answer: If you want to know more details about active sessions like
 session ID, Host Name,Login Name,Transaction ID,Transaction Name,Trnasaction Begin Time,Databse ID,Database Name you can use below sql query
SELECT
trans.session_id AS [SESSION ID],
ESes.host_name AS [HOST NAME],login_name AS [Login NAME],
trans.transaction_id AS [TRANSACTION ID],
tas.name AS [TRANSACTION NAME],tas.transaction_begin_time AS [TRANSACTION
BEGIN TIME],
tds.database_id AS [DATABASE ID],DBs.name AS [DATABASE NAME]
FROM sys.dm_tran_active_transactions tas
JOIN sys.dm_tran_session_transactions trans
ON (trans.transaction_id=tas.transaction_id)
LEFT OUTER JOIN sys.dm_tran_database_transactions tds
ON (tas.transaction_id = tds.transaction_id )
LEFT OUTER JOIN sys.databases AS DBs
ON tds.database_id = DBs.database_id
LEFT OUTER JOIN sys.dm_exec_sessions AS ESes
ON trans.session_id = ESes.session_id
WHERE ESes.session_id IS NOT NULL

and you will get the result something like
Comment: are there sys.dm_tran_active_transactions not in sys.dm_tran_session_transactions ?
Answer: Translation the 3. query that Tharif comments.
select transaction_id, name, transaction_begin_time
 ,case transaction_type
    when 1 then '1 = Read/write transaction'
    when 2 then '2 = Read-only transaction'
    when 3 then '3 = System transaction'
    when 4 then '4 = Distributed transaction'
end as transaction_type
,case transaction_state
    when 0 then '0 = The transaction has not been completely initialized yet'
    when 1 then '1 = The transaction has been initialized but has not started'
    when 2 then '2 = The transaction is active'
    when 3 then '3 = The transaction has ended. This is used for read-only transactions'
    when 4 then '4 = The commit process has been initiated on the distributed transaction'
    when 5 then '5 = The transaction is in a prepared state and waiting resolution'
    when 6 then '6 = The transaction has been committed'
    when 7 then '7 = The transaction is being rolled back'
    when 8 then '8 = The transaction has been rolled back'
end as transaction_state
,case dtc_state
    when 1 then '1 = ACTIVE'
    when 2 then '2 = PREPARED'
    when 3 then '3 = COMMITTED'
    when 4 then '4 = ABORTED'
    when 5 then '5 = RECOVERED'
end as dtc_state
,transaction_status, transaction_status2,dtc_status, dtc_isolation_level, filestream_transaction_id
from sys.dm_tran_active_transactions

Answer: The Most Usefull method is;
DBCC opentran()

When You check, you will get below message;

Oldest active transaction:
SPID (server process ID): 190
UID (user ID) : -1
Name          : implicit_transaction
LSN           : (500549:37333:1)
Start time    : Dec  4 2021 10:36:21:673AM

And if you run DBCC opentran several times and you always get same server process ID then system then A transaction is stuck in the database.
Therefore, it is necessary to first look at the SPID detail with the code below and then kill that SPID process.
exec sp_who2 190
exec sp_lock 190

KILL 190

Answer: or use DBCC command
DBCC OPENTRAN


Best Way to Clean Hard Drive

Question: I have an extra hard drive that I used to run Windows on before something technical went bad in the computer. The hard drive itself still works fine, however and I have attached it via SATA to my main computer and have gotten all of the files that I want off of it. I would like to clean it to just use for storage on my server. I am not really worried about safety, so I don't need anything like DBaN. What is the best way to clean all of the files off of it?
Answer: In Windows, you can use the Disk Management tool to view all your drives.
You can right-click on the drives and partitions to Delete Partitions, Format, etc.
If you format, you can choose "Quick Format" but it will not overwrite your files. If you uncheck "Quick Format", it will overwrite all your files. Note, this can take hours on large drives.
You can get there from Administrative tools, by opening Computer Management, or run diskmgmt.msc
Answer: I would just re-partition using diskmgmt.msc and re-format.  If you want to overwite each sector there's loads of disk shredders out there but you could just use linux and use "dd if=/dev/zero of=/dev/sdb" substituting the right letter in sdb.
Answer: <code>dd if=/dev/zero of=/dev/sdX
</code>
You will then need to repartition, using your tool of choice.
Comment: I would not. Sloppy work gets what it deserves.
Comment: You might want to add a warning to make sure that they enter the right drive. (Which should be obvious but....)

Best Way to Clean Hard Drive


Third law of thermodynamics and entropy

Question: Third law of thermodynamics states: "The entropy of a perfect crystal at absolute zero is exactly equal to zero". My question is why entropy at such state is $0$ ? Let say my crystal have $n$ molecules/particles, isn't third law assuming that those particels are indistinguishable? So $n$ particles at $T = 0$ form same pattern but what will happen if for me as some observer (if I could trace every single partice) it make difference whare each particular particle is positioned in pattern?
Comment: The 3rd law of thermodynamics states that as the temperature of a system approaches zero, then the entropy of the system approaches zero or some positive constant. If the ground state is non-degenerate, then the entropy approaches zero. If the ground state is degenerate (i.e., more than one state at the lowest energy level), then the entropy will approach a positive constant. As far as I'm aware, a perfect crystal can have a degenerate ground state, so it should be possible for the entropy of a perfect crystal to reach some non-zero value as it is cooled to zero, too.
Comment: @SamuelWeir Why wasn't this posted as an answer?
Comment: @AaronStevens - I wasn't absolutely certain about whether a perfect crystal can have a degenerate ground state in view of things like the Jahn-Teller effect and other possible symmetry-breaking mechanisms. I'm an experimentalist, not a theorist, and I only commented because I thought that the answer below should have explicitly mentioned non-zero entropy due to degeneracy. Also thought that someone else more knowledgable about this would eventually show up to give a proper and complete answer but it looks like no one ever did.
Comment: @SamuelWeir I am pretty sure I read what you said in your first comment in my first thermo text book, so it looks correct to me :)
Answer: The term to look up is residual entropy.
If you build a solid out of a bunch of distinguishable particles, it will indeed have nonzero residual entropy because of that. Why does the third law assume that atoms of the same type are truly indistinguishable? Because that assumption is correct†!! At least in our universe!
As for the statement "The entropy of a perfect crystal at absolute zero is exactly equal to zero", that's fine, but note that there is sort of a terminology issue here. For example, consider proton disorder in (some types of) water ice. The protons (a.k.a. hydrogen nuclei) are displaced from the symmetric position in the crystal lattice, in an irregular way, and that leads to residual entropy. I guess the question is: Does this kind of ice really count as a "crystal"? If the protons are offset in an irregular way, then the configuration no longer has translational symmetry, so according to the technical definition of a crystal, this kind of ice would not qualify as a crystal. But in an everyday sense, we do say that ice is a crystal. So be aware of that.
†Isotopes are an interesting case. A crystal of "pure" silicon actually consists of a mixture of two or three distinguishable nuclei (Si-28, Si-29, Si-30). Technically, this crystal has a residual entropy from this, but we usually ignore it because it has no practical relevance in everyday chemistry. (I've never seen a discussion of isotopic mixing entropy, so I'm guessing a bit here...) I think that textbook writers implicitly take the "entropy of mixing" for the natural isotopic mixture of every element, and the entropy numbers we tabulate and calculate are actually the entropy numbers beyond that baseline. Again, you can use terminology how you like. If you define the word "crystal" to imply isotopic purity by definition, then you can say that no crystal has any residual entropy of any sort. But this is clearly not how anyone uses the term "crystal" in practice.
Answer: The entropy is zero because if you change the state of any one or more particles it will no longer have the same total energy.
Comment: But is it a state change if I will switch place of two particles? If all particles are indistinguishable that should not change entropy?
Comment: How would you even know that you switched two of the particles? Keep in mind the wave function for the system includes the indistinguishability of the particles. So you haven't actually changed anything.
Comment: That's different from, say, if there's one particle in the first excited state, say at at $x_1$. Then there's entropy from the fact that you can switch the states at $x_3$ and $x_1$ for example, to get two different total wavefunctions that lead to the same energy.
Comment: So does it mean that 3th law don't distinguish between particles? Ok I understand that I may not have the knowledge that I switched positions of two identical particles. But isn't that just my fault (as an observer) that I can't distingus between two different states?
Comment: @ArkadiuszWojcik Sure, if you can distinguish between multiple distinct states at absolute zero, then entropy isn't zero.

Third law of thermodynamics and entropy


Redstone and Combustion engines constantly stopping and starting

Question: I have set up an oil refinery plenty of times in this world of mine, but this time, the redstone and combustion engines I'm using don't operate correctly. Instead of pumping a steady stream of energy, they pump energy then stop, then start again then stop. They never run continuously and I can't figure out why. I've tried breaking and replacing them, but that doesn't help, nor does flipping them off and on again.
Answer: Typicially, combustion engines BY DESIGN will not constantly produce power. when the engine is going down (towards the base) energy will come out. As such, it is advised to have a bunch of engines, shunted so they all begin at different times, to keep a steady stream of power.
it could also be that there is insufficient resources. combustion engines need their energy constantly.
It also could be that whatever you are powering is out of range. use a chunkloader for that.


In the Biology SE I have posted a question on may 31,2019.After some days it got deleted by community◆mod(system).Please,can you undelete it?

Question: The question which I have posted got automatically deleted on June 21,2019 at 3am IST by community◆ moderator(system).Before that it got closed as too broad.I need to answer that question which was posted by me. I was unable to use internet when these things were going on.I'm sad with this deletion. Please undelete the question so that I can answer. Do I need to edit the question first?
Comment: as the [answer](https://biology.meta.stackexchange.com/a/3978/16866) says below, you can simply repost the question (something like "Do all mammal species protect their offspring from predation?".). However, unless you were to make the post more specific and provide some explicit indication that you've researched the question on your own, the post would be closed like your now-deleted initial attempt. Please review the help pages in the [answer](https://biology.meta.stackexchange.com/a/3978/16866) below for more info for writing good questions. Thanks.
Answer: A lot of Qs are put on hold, closed and subsequently deleted. We can't possibly recover it for you after such a long time. I'm sorry to hear it makes you feel bad. You could simply ask the question again. Make sure to:

add your prior research;
make the question specific;
include references and sources;
not generate self-help posts.

See the help center here and here for information on asking good questions.
Related
- Turbocharging the Roomba: solutions for premature deletion
- How can a question deleted by community be undeleted?
Answer: First of all: This is not true, your question got automatically deleted by the system as "RemoveAbandonedClosed", 20 days after it was closed by community vote as too broad. This eventually happens to most closed/abandoned questions to avoid collecting a lot of these.
You could have edited and made the question better focussed in the almost three weeks between it has been closed and before it was deleted. You chose to not take this chance, so I see no reason to do it now.
And please: Stop posting "questions" on the main site to undelete this, as this will not happen. If you choose to ask the question again, make it more focussed to avoid another closure.
Comment: @user Please read the answers from AliceD and Chris in their entirety and follow the links for more information. Asking a 8th, 9th, even 10th time will not change the result. If you aren't willing to put in the effort on your own question, why should you expect anyone to put the effort into an answer?
Comment: Initially i told that my question got automatically deleted by community◆ but it got edited.I didn't say it was deleted by a community moderator.I'm sorry as I was unable to take the chance
Comment: I'm sorry I was unable to take the chance in those days.please undelete it if you are able to do that.i don't want to post the question again.
Comment: I know you have lot of things to do in this site.I may be disturbing you when you are busy.I'm sorry for that.I don't know how to convince you.Please undelete the question.should I send you the link? I don't want to post the question newly.


Is it possible to become a research assistant just after b.tech?

Question: I am a recent bachelor of technology graduate from India and want to become a research assistant just after b.tech at any abroad university (USA,CANADA,UK, etc). If it is possible then what kind of qualifications, GPA, academics are required? Also for becoming an RA at these universities is the GRE exam necessary?
Comment: What do you mean by "research associate"?  There isn't a standard position with this name in the U.S.  Do you mean a graduate student?  Another possibility could be working as a technician in a lab without being enrolled as a student.
Comment: FYI "RA" typically stands for "Research Assistant", and refers to one way in which a PhD student might be funded. Certainly you can gain admission to a PhD program directly from an undergraduate program.
Comment: By research associate i mean to ask for working on projects in which the professor is working upon.
Comment: @Aaron: In the US, yes. In other countries—particularly in Europe—it is not so straightforward. First you have to get a master's.
Answer: Yes.
First be admitted to graduate school.
Then convince a professor to hire you.
Comment: @mia Please read the answer carefully. You need to get admitted  to graduate school **first**.
Comment: This is a bit misleading; it seems that the poster may be looking for a job as an employee, without wanting to study for a degree.  I would call such a position "technician".  Of course, the process to get such a job is completely different than applying for admission to a graduate program.
Comment: .So if i want to apply for abroad for this position would i have to give GRE exam or directly i mail the professor in that particular field in which i want to apply.
Comment: so i have to follow the whole procedure of recommendation letters, SOP's, etc .
Comment: Yes.  You have to follow the whole procedure.
Answer: In my field is it quite common to hire recent graduates for a year or two as a research assistant. Typical duties of an RA include scheduling participants, collecting data, and doing preliminary data analysis. Depending on previous expertise and experience gained on the job RAs can also design and implement/program experiments. There is also a fair amount of house keeping work (e.g., sending equipment off to be calibrated and making sure the supply cupboard is stocked).
Most people hiring for these types of positions look at GPA and classes taken as well as practical skills. I have never heard of anyone requiring or looking at the GRE. As far as qualifications are concerned you will need to have whatever paperwork is required to allow you to work in that country. I don't know anyone who would go out of the way to get a work permit type visa for an RA.
Comment: @NateEldredge exactly. In my field an RA is an employee. Sometimes they are also doing a PhD, but not usually.
Comment: To be clear, a research assistant in your sense is an employee, but not a student?  They are not necessarily enrolled in any educational program at your institution?
Answer: Yes it is possible to become a research assistant just after completing B-Tech.
Qualifications needed for it could be categorized as:-

Good Academics
Research Papers published in International Conference that are indexed IEEE (required)
GPA of 3.6/4

Also for becoming an RA at these universities is the GRE exam necessary?
 The answer to this is Yes for some universities and NO for other universities. This is mainly because Not all the universities require GRE EXAM. It all depends upon university requirements. You need to check out their website for the details. Even they have Cut-off score for GRE and TOEFL Exam.
Advantages of becoming RA

Tuition Fee waiver
Increases chances for off-campus placement.
Exposure to Subject in depth.
Comment: .I have a query that if suppose i have one year research experience in certain field with two international publications, will this increase my chance for getting off campus placement.Please let me know.Thanks.
Comment: Yes definitely it will increase your chances. Make sure that those two papers which you are talking about are indexed in IEEE ieeexplore.ieee.org
Answer: Unfortunately there's some ambiguity in language here that I think is causing a wide variety of different answers.
"Research Assistant" means many different things to many different people. Most commonly in the U.S., this invokes the idea of a funding mechanism for a graduate student that doesn't involve teaching. If this is what you mean, then the answers about getting into graduate school apply. And then yes, in that case, it is possible to get admitted to graduate school straight out of undergrad, and work for a professor doing research - the requirements of that will vary depending on the type of school, department, etc. you're looking at.
If you just mean "Someone who works on research projects", then I'm going to suggest another title - in the "wet lab" sciences I'd say "Lab Tech", and unfortunately most of the computational researchers I know come from a biological heritage, so use "Lab Tech" even when referring to programmers and the like.
If this is what you mean, then you're talking about being a research employee of the university, paid for likely by grant money and working for a particular professor. It's certainly possible to do this - a former group I worked for regularly hired people out of undergrad to work on programming projects that made like easier for other people in the department, and we've got a researcher now who came straight out of undergrad. As for what's required? Likely not a GRE, but your academics should be fairly strong, and you should have some evidence of the quality of your work. That can be publications and independent research, or it could be a portfolio of things you've done for other people - after all, the job is "Can you do things well for other people".
It's likely a particular professor you'll have to contact, and be warned - if you're looking to come in from another country, you have to be worth more than the visa and immigration hassle, and it's going to be an uphill climb when there's likely undergraduates at their own university who probably wouldn't mind a job after graduation either.


Should the inversions of VII and VII7 in minor be seen as dominant chords in the relative major?

Question: I am doing some harmony exercises in minor keys where there are tonicizations of III approached usually by VII. By having VII7 or just VII and its inversions available as applied chords or secondary dominants of III are we supposed to see these as new chords in the minor key or as V and inverted Vs in the relative major mode? So for example in the key of A minor if I was harmonizing a bass there might be a figure of 43 on the note D. A 43 built on ^4 is new to me. I suppose it means VII43 or it can be seen as V43 of III. How should one think of these chords and more importantly, how should I learn these chords? As inversions of VII7 or as inversions of Vs in the major mode?
Answer: I think the idea is if you don't do something after harmony like VII6 III to reconfirm the minor tonic, it will sound like III is the tonic.
Or, stated another way, if the music was all natural minor scale, with a lot of VII6 III, it will probably sound like III is the tonic. Depending on the details, it might sound sort of 'modal', or sort of shifting around tonic-wise.
Handel's Sarabande from Suite in D minor, HWV 437 might be worth looking at. It starts in Dm, immediately moves to III, but the sense of tonic of Dm is perfectly clear. Dm is primary, F - the III - is only a diversion from Dm.
Similar is a stock harmonic progression passamezzo antico which plays around with the various functions in minor of VII and V in relation to i and the relation between III and VII.
In the case of the sarabande, I think the description could be the two opening moves of i V and III VII set out the two tonal centers of the key signature, it just introduces the tonal palette. Then when the music continues, Dm clearly becomes the focus.
In the passamezzo antico, it could be described as presenting the variable roles of certain chords. The dominant of i is V, but the opening progression of i VII i shows how VII can be a modal alternate dominant. Later when used in III VII we see how VII can be the dominant of III. So that's two roles, VII as modal dominant of i and also VII as tonal dominant of III.
Also, in the passamezzo antico, regarding the potential tonicization of III. Notice the structural placement of III. The first four bars |i|VII|i|V| sets up a half cadence ending, the second four bars |III|VII|i V|I| close that with a full cadence. III is not involved with a structural cadence, in fact it's the opposite, it's the beginning of phrase. That makes the structural point of III a digression from the tonic i to start a phrase that ends with a return to tonic i.
You can also make a structural observation generally about the modal versus tonal treatment of chord. The modal character of i VII i - modal progression - and III VII - secondary modal chords rather than primary tonal chords - are used at the beginning of phrases, whereas the ending of phrases uses the tonally all important V. I think you can say, in this tonal style, the interior of phrases allow a lot of harmonic liberty, but the endings are formulaic to always confirm dominant based tonality.
That structural stuff is probably the really important point. The typical analysis approach says keys are confirm through cadences. Cadences, not mere progressions. You need to analyze structure to identify cadences. So, it isn't just a matter of is there VII6 III somewhere, the question is where does it happen structurally.
Comment: I think the question has its asker seriously considering VII6-III as a tonicization of III (in a minor key) and therefore seriously considering thinking of it as V6/III-III instead. The placement of that VII6-III in the minor-key passage therefore matters a lot less, as secondary dominants typically occur mid-phrase. Try considering this in your answer.
Comment: Both tonicization and modulation _are_ considered in my answer. Post your own answer if you think you can make the point more clearly.


Enclosure Ventilation

Question: I am building an enclosure for my 3D printer (Anycubic i3 Mega) and I'm wondering about heat and ventilation for my machine. My enclosure is is build from five 50x50x50 cm Plexiglass frames glued together. Currently I'm using only PLA for printing.

Does my enclosure need ventilation so my 3D printer would not overheat?
If yes, what type of ventilation?

Is only drilling holes enough? or
Do I need to add some ventilator?

If I would print with ABS in the future would it change the answer?
Answer: When printing PLA you do not require an enclosure! PLA does not shrink as much as e.g. ABS. When printing PLA you should definitely ventilate your casing. I guess your steppers are also located in the enclosure, so you should be careful of not overheating the enclosure. Not only the steppers, but also think of the cold end cooling, too much heat in the enclosure means that the cold end cannot cool enough to prevent the filament to melt prematurely; this can lead to clogs. Also note that the printer electronics board may become too hot too (too hot stepper drivers will cause steppers to miss steps).

I once tried a towel over a Ultimaker 3 Extended to print a difficult filament to keep some heat in the enclosure; I encountered the above
  problems when I was young(er) and inexperienced :) We learn by trial and error some times!

However, ABS, requires control over the temperature during printing. Draft or uneven temperatures may lead to problems related to layer separation or heat bed separation. Many of the high-end box printers have doors available to enclose the front, this results in an enclosure with an open top (sometimes even for the top there are covers available). The heat of the bed then heats up the enclosure. A constant temperature of 45°C should not be too high to cause problems. When boxing it up completely, you could use a temperature sensor to monitor the enclosure temperature and schedule a fan to ventilate when it gets too hot.
Comment: Since the most 3D printing filaments causes particals it is not a bad idea to enclosure the printer. Also to reduce noise and smell of bad filaments.
Comment: I am building enclosement mostly to keep dust, cat fur and my cat (although he doesn't seem to be much interested in my new instrument of destruction :)) away from printer also noise reduction is a thing for me. Thank you 0scar for your answer based on this I will add to my project fan and a temperature sensor.

Enclosure Ventilation


Is MIL-PRF-5606 H flammable at 350 deg C?

Question: Is MIL-PRF-5606 H flammable at 350 deg C?
Is it a flammable or combustible hyd oil?
Answer: Both Skydrol and 5606 will burn, though the original 5606 had a much lower flashpoint. However, there are modern derivatives of 5606 such as MIL-PRF-87257 that are within 10-15C of Skydrol's flashpoint and don't suffer the major drawbacks of Skydrol. The US military has switched to MIL-H-83282 which has a flash point, fire point, and spontaneous ignition temperature more than 200°F above 5606.
There are at least 5 flavors of Skydrol (and several for 5606) so it is a bit confusing to generalize "Skydrol" but Skydrol 500B has a flash point of 177 °C (350°F) compared to 5606 at 104°C(219°F). MIL-PRF-87257 very nearly matches Skydrol with a flashpoint of 170°C(350°F).
The two main drawbacks to Skydrol is it is extremely corrosive and much more harmful to human contact. 5606 and it's derivative MIL-PRF-87257 smell nicer and are less likely to attack rubber and plastic. One major disadvantage of 5606 is over time moisture will form condensate that oxidize aluminum tubing. This is one reason aircraft owners are told to regularly fly their aircraft; this prevents long term moisture bubbles eroding a spot in the aluminum line.

source - The US military considers the 5606 derivative MIL-PRF-87257 to more closely meet it's needs than Skydrol.
Answer: Absolutely. It likes to burn and in fact its flash point is very low, not that much above the boiling point of water.  The commercial aircraft industry and the military went to higher flash point phosphate ester fluid largely for this reason in spite of it's unpleasantness to handle.


Cutting strands of wire to fit plug

Question: I am a hvac tech, but my question is I have 2awg stranded and my plug is 6awg, will it matter much if I cut some strands to fit my plug? the plug is 60amp 250vac for a piece of kitchen equipment if the matters.
Comment: I'm a bit confused about exactly what you are referring to - people often get plugs, receptacles, outlets, etc. mixed up. Do you actually mean the cord coming from the appliance and ending with a plug with prongs? Or do you mean the receptacle (which *accepts* a plug) which is wired back to the breaker? The first actually makes more sense (I answered based on the second) but not clear why a 60A appliance would include 2 AWG wire. On the other hand, if it is the appliance you can likely disconnect *at the appliance* and replace the entire cord+plug.
Comment: Then what we **really** need to know is the model # and the electrical specifications of the appliance. That will tell us (a) the minimum requirement for cordage and (b) what type of receptacle it *should* be plugged into and (c) (provided the manufacturer specified and the specifications available publicly online) what type of connection is *inside the appliance* for the cordage.
Comment: yeah, its a new power cord and new plug going to a commercial fryer and plugging into a wall receptacle. the customer damaged the power cord and plug, so the company I work for ordered a new plug and power cord, the wires in the power cord are like 2 awg stranded and the new plug looks like will only take 6 awg. I would have to cut a bunch of strands off to make fit in the new plug. im not a electrician but was always told not to cut strands off can cause issues, but my boss is telling me it wont be a issue. im thinking it would cause or could cause voltage drop or decrease resistance.
Answer: Yes, it matters a great deal.
Cutting off extra strands will create a big safety hazard, yes. Yes, it will affect the resistance of the connection.  It will cause a voltage drop and localized heating, which may melt the plug.  It could also cause arc faulting, which could ignite grease or flour residues.
But also, the plug has a built-in strain relief.  It is designed to clamp #6 cable, not #2.  It won't be able to clamp #2, which in practice means the strain relief just won't be used, and any pulls on the cable will yank on the connections directly.  That would be bad even if the terminations were proper!
The NFPA and UL don't make these rules to be a pain.  They do it because experience has proven things blow up if they don't.
There are some other problems. Plugs/sockets larger than 60A are very unusual, which means cordage larger than 6 AWG is very unusual.  I have a strong suspicion this is not cordage, but in fact is building wiring. Don't use building wire intended for in-walls or underground, in an application where a flexible cord is normally used. Building wiring can't handle the flexing  and motion of cords.
Trying to use #2 here is wrong.  Anyone with an experienced eye will spot a #2 cable going to a plug.  They could get written up on a walk-through.  If this shows up in an investigation of an injury or fire, you could really be in the soup, because the boss will swear he didn't tell you to do that.
I know you have something "on order", but the correct cable is readily available.  It's simply 6/4 or 6/5 cordage (3-phase+ground with or without neutral; number of wires = number of plug pins) and they cheerfully sell it by the foot.  Most likely there's an electrical supply house within 2 miles who stocks it.
And it's cheaper to boot. Significantly cheaper than #2.
Super easy to do it right, so do it right.
Comment: @user107060 Except this is professional trade work.  A chaffeur is responsible for hitting someone even if he works for a company. An architect is responsible for a building falling even if he works for a company.  So working for a company doesn't help.  If your supervisor was an electrician, then yes, liability would transfer to him, but he isn't. So it seems to me like it lands on your shoulders.  You could ask on law.se to be sure.
Comment: the power cable and plug was damaged by the customer, the plug was never repaired before, the company I work for order a new plug and cord, but the new cord wont work in the new plug, im assuming they ordered me the wrong cord for the new plug. my question is would cutting strands off to fit cause a voltage drop or decrease resistance? yeah im not a electrician nor play one on tv. im wondering for my own knowledge, ill do what my boss wants, hell its not my company
Answer: The proper way would be to pigtail to the proper wire size. I would expect a device rated for 60 amps to handle at least #3 awg wire. But the proper way to make the connection is to pigtail to 6 if that truly is the max wire size, I do question the plugs rating because 60 Deg table is the correct size #6 is rated for 55 amps so there is no room for a continuous load (one that operates more than 3 hours) this requires the wiring to be 125%. (Most kitchen ranges are listed for 30-50 amps) would you mind providing the type and model of the equipment?  I love Polaris connectors as one option
Comment: its for a commercial fryer for a chain restaurant, the plug is 60amp, 250vac, 3ph and the wire is 2awg stranded. the fryer says 60amp 250vac 3ph, apparently the customer shorted out the old plug and so I have to replace the plug and the wire. so I cant use a splice kit( like the idea of it) so if I cut strands off to fit the plug will it cause a issue or potentially cause one? like voltage drop, decrease of resistance, etc?
Comment: Since none of this information was in the original question  it should be edited into the question. In every state I have worked a license would be required to work on commercial installations (even for the owners in all but 1) and cutting the strands is a code violation. if you don't have room to splice a new junction box will need to be added and at that point the wire size can be reduced. What is the actual load of the fryer? This should be on the name plate. It may be in kw or amps and the voltage would be helpful to properly size the wiring.

Cutting strands of wire to fit plug


Php - Changing application root directory and keep sessions

Question: I have 2 versions of a website.
/site-v1
/site-v2

I have 1 domaine
site.com

I want to set in production site-v2 (that is going to replace site-v1), the session structure is exactly the same as the v1. Then i dont want that the people browsing the site during the prod lose their session. The file structure is too much different for just replacing the files, i need to change the root directory.
In the apache virtual host,
When site.com root directory changes from /site-v1 to /site-v2/public. Then the php session doesnt exist anymore.
When i come back to /site-v1, then the session still not exists.
Do you know how to keep the session when i'm using the same domain while changing the root directory ?
Using apache 2 and php 5.3. I checked session_save_path and both version uses /var/lib/php5

Edit
I browse the version 1
On the server I change the root directory :
a2ensite version2 && a2dissite version1 && service apache2 restart

I browser the version 2 (the session was replaced)
On the server I change the root directory :
a2ensite version1 && a2dissite version2 && service apache2 restart

The session was erased again (even the one from the first version 1 browsing)
The two virtualhost are the same (except for the root directory)
Answer: If the session related php settings are the same. (session_save_path, session_handler,... )
And the domain address also won't change.
Then you don't need to do anything. The browser will send the same cookie and the webserver will find the related session content in the same place (directory.)
Comment: Actually the session_save_path and session cookies domain are the same (also checked from chrome inspector) Look at my edit in the post
Comment: In this case you don't have to do anything.


Which buddhist traditions are typically viewed as most liberal?

Question: Yes it is asking for opinions, which i will investigate further on my own. opinions would be helpful in this particular circumstance.
Comment: Liberal in what sense? A tradition might be liberal in one way but not in another. For example, the Theravada schools is quite conservative in what texts it will accept as authoritative, but is quite liberal in rules on sex for example.
Comment: I don't think you can accurately define "liberal" or "typically" to a degree sufficient to answer this question from  facts, references, or specific expertise. I think the same goes for stereotyping a given tradition. I'm sorry, but I'm putting this on hold pending community discussion.
Comment: Can you explain or define what you mean by "liberal" in a few sentences? It's a word whose meaning is IMO quite unclear, e.g. it's an overloaded political word in the USA (see "liberalism"), or it might mean "open to new ideas", or it might mean "avoids laws which restrict individuals' liberties", it could even even theoretically (slightly archaically) mean "generous or charitable", etc.
Answer: For some (unspecified) definitions of "liberal", might Soka Gakkai International (SGI) be among the "most liberal"?
For example,
this page says,

In their Study of SGI, Phillip Hammond and David Machacek suggest that the religion is "characterized by an almost libertarian perspective on individual behaviour."

I visited some SGI meetings many years ago, and those I met seemed like nice enough people, OTOH I didn't understand (didn't get much of) their doctrine.
They call themselves Buddhist, e.g. here is the meta description from their web site,
<code><meta name="description" content="Worldwide Buddhist network which promotes peace,
culture and education through personal transformation and social contribution.
Buddhist concepts, news, links with SGI organizations around the world and more." />
</code>
Wikipedia's introductory paragraph says,

Soka Gakkai (Japanese: 創価学会?) is a Japanese new religious movement based on the writings of Nichiren and the teachings of the organization's presidents Tsunesaburō Makiguchi, Jōsei Toda and Daisaku Ikeda. It is one of the larger Japanese new religions. Originally a lay group within the Nichiren Shōshū Buddhist sect, the Gakkai reveres the Lotus Sutra and places the chanting of the name of the Sutra at the center of devotional practice. The movement is publicly involved in peace activism, education and politics. It has also been at the center of controversies.

I'm not sure whether to say it is a Buddhist tradition or whether it's from a Buddhist tradition. Here's what they write about their organization:

What is SGI?
Soka Gakkai International (SGI) is a lay Buddhist movement linking more than 12 million people around the world. SGI members integrate their Buddhist practice into their daily lives, following the Lotus Sutra based teachings of Nichiren, a 13th-century Japanese Buddhist priest.
Just as the lotus blooms in a muddy pond, all people can manifest the Buddha nature--inner resources of courage, wisdom and compassion that can equip them to overcome life's challenges and lead happy and fulfilling lives. As "engaged Buddhists," SGI members aim to create value in any circumstances and contribute to the well-being of others. Their practice sparks a process of ongoing inner transformation and empowerment known as "human revolution." The promotion of peace, culture and education is central to SGI's activities.
Answer: I have been to 3 Buddhist centres/traditions: Theravada, Tibetan Buddhist and New Kadampa Tradition.
Based on what I have seen I would say New Kadampa was the most liberal as they claim to have "a modern Buddhism for a modern world", however I choosed to go with Theravada for many reasons, I recommend you to investigate and do not choose a tradition based on who is more liberal, remember the Buddha's teachings were not about being liberal, but refraining from many things.
It is important to mention that Zen Buddhism is also known for being liberal when compared to other traditions, but I cannot confirm it as I have never checked it for myself.
Answer: If you mean liberal in the sense of non-traditional or neo-traditional the most accommodating of the modern way of life, I would look to outgrowths in the US because I am most familiar with that. Some sects practice freely to many degrees with women and men together such as Trungpa.
For instance Roshi Suzuki wrote the following:
http://www.arvindguptatoys.com/arvindgupta/zenmind.pdf
It is a very mild manner zen book. It has guidelines but not ones made of concrete, but ones that are flexible.
There are a number of liberal teachers that may be of interest. Each person must examine their own beliefs and find a path that works for them. Someones tame philosophy could be another's abomination.
This list is recommended reading. You may choose freely from this list and make up your own mind how you define liberal.
http://zmm.mro.org/training/recommended-reading/


When I update a related contact field with process builder, can I then reference that contact in the same workflow using a time based email?

Question: I'm trying to replace a before insert trigger  with a process builder.  The PB updates a contact field with a contact Id from a related Opportunity.  Can I then email that same Contact in a time base delayed action?
Answer: yes
their ia a checkbox on critera node "Do you want to execute the actions only when specified changes are made to the record?" check it. then you can have Scheduled Actions also.

n create your time based or intermediate Actions.


Workflow tool comaparison: Oozie Vs Cascading

Question: I am looking for a workflow tool to run complex map-reduce jobs. I have Oozie in mind but also want to explore Cascading. Is there any sample code or example that chains existing M/R jobs using cascading API? Also, can you provide the comparison Oozie Vs Cascading?
Answer: Cascading and Oozie are not in the same category.
Oozie is a workflow scheduler.
Cascading is an API for creating workflows. It is agnostic about schedulers, i.e., it should run with whatever scheduler system that you use.
There is perhaps some confusion because the Oozie docs mention a "DAG", and both run atop Hadoop.
Also, Cascading has a notion of "data availability" in the checkpoint support, which is supported in Oozie, albeit differently.
Answer: Personally i play around with both to some extend, what i found interesting with cascading is
1)concise and expressive in terms of simple keywords like flow,tap,pipe etc.,
2)amazing TDD based approach for local development and research
3)nice planner view(.dot file) and will be useful once the project is grown, so maintenance is ease.
4)DSL based approach using groovy,scala,cloujre. so no need to worry about learning any new language or rather hadoop.
5)simple cloud deployment(e.g. amazon support as raw jar deployment).
6)you can call anything like existing pig or hive or pure other MR jar as long as they expose java api.
7)amazing for ML and NLP related works.


Where are all the treasures in chapter 5?

Question: I'm trying to get a gold laurel wreath in Pandora's Labyrinth of Deceit, but I don't know where the treasures are!
Comment: I don't know `kid icarus uprising` very much *(nothing?)* But, I guess you could make your question a little more elaborated? Saying what have you tried so far, where you are struck, this kind of things. So we can provide a more complete answer for you.
Comment: @MichelAyres I'm not sure why this question got down/close voted. It's pretty clear what the OP is asking for. The OP wants the gold laurel wreath for Pandora's Labyrinth of Deceit - as per [this question/answer](http://gaming.stackexchange.com/a/60506/23580), this requires all the treasures, intensity gates and Zodiac Weapons(if applicable) be accessed, hence the question title: "Where are all the treasures in..." This is no different than [this other question](http://gaming.stackexchange.com/questions/62254/how-to-get-a-gold-laurel-wreath-at-arlons-lunar-sanctum).
Comment: @downvoters: This question's meaning is totally obvious to anyone who's played _KI:U_. It names a level and a specific goal.
Comment: @skovacs1 hmmm FYI I have up-voted this question, when someone down-vote. FYI I ask for more explanation for a **BETTER** answer. FYI don't make it looks like I down-vote something. =)
Comment: @MichelAyres **I didn't say *you* did anything**. You commented on how to improve the question, likely because of the already present down/close vote. I told you that I'm not sure why it had those and never said you were responsible. I then went on to explain that the question is clear and that there really isn't much that can be done to improve it. I'm sorry if you misunderstood that.
Answer:
There is a treasure chest in an early room with a moving wall. It is in plain sight, although a bit tricky to get to because of the moving wall.
In the first room with the Exo Tank, take the jump and land on the raised platform. Get off the tank to trigger a treasure chest. Sticking a landing on the platform while in the Exo Tank can be difficult. One way to make it easier is to jump out of the ride as you're in mid-air about half a second after launching from the ramp; your momentum should carry you onto the platform to grab the treasure, and the Exo Tank will be waiting for you when you drop down.
In the room with bouncy floors there are two intensity gates, level 4 and level 8. The level 4 gate can be found by hugging the right wall. The level 8 gate is near the bottom by a reaper.
In the second room with an Exo Tank, boost on the ramp to land on the raised bit. There's another treasure chest. If you have a hard time getting up on the ledge with the Exo Tank, you can also get up there easily by using the Sky Jump power after landing on the lower part of the platform. Just be sure to get a walking/running start before using the power, because you can't change direction in mid-jump and you need forward momentum to climb onto the ledge.
There's a treasure chest in the room with invisible floors. After reaching the platform with the cannoneer on it, shoot and reveal the invisible floor ahead to find that the path forks; take the left fork first to find a treasure chest, but BEWARE that an Orne appears near the chest on higher Intensities (5.0 or above, if memory serves)!
In the room with the invisible floors, you can keep going past the exit door. Step on the jump panels to go to another treasure chest.

You are probably missing the level 8 intensity gate.
Answer: To get the golden wreath, you'll need not only all the treasures, but also the intensity gates. According to this guide, the listed treasures and intensity gate are:

The third room...tempts you with a sometimes accessible treasure chest. If you want it, just be sure to watch the floor and the wall to get your timing right. Falling down hurts.
The next room contains an Exo Tank. You can simply drive it to the other side of the room, but you can also go around and destroy enemies by simply running them over. You can also use the tank's boost ability while climbing up the ramp to get on the floating platform. Get off, and food and a treasure chest will appear.
...a few rooms after that has one that contains trampoline floors. Be sure not to jump off of a platform. If you stick to the right, you'll find a Level 4 intensity Gate.
...Keep on attacking enemies from a distance to ensure safe platforming, and then travel carefully. Next up is another Exo Tank section. Eventually, a ramp will appear. Go up it. If you boost at the very end, you'll land higher up, and will be able to open a treasure chest.
The final trial is a room with invisible walkways. ...At one point, you'll be able to go left instead of forward, and can grab a treasure chest.
Comment: @JoeWreschnig You assume it's the one the OP is missing. I don't understand the downvote though. The answer is not wrong and is still useful. It just so happens that yours is more useful and I will gladly upvote yours. Could you in the future please not downvote correct answers.
Comment: That guide is missing a level 8 intensity gate, which is probably also the treasure Rosemary is missing.
Comment: @skovacs1 Thanks for the helpful answer


What is a carpenter if he doesn't carpent?

Question: Why does "carpenter" end in "er" if "carpent" isn't a word?  Same with "butcher". (As in: "I butch for a living.")
Comment: Consider that the verbs are "to butcher" and "to carpenter", and "a butcherer" and "a carpenterer" would sound silly. (This reasoning is entirely false, since the nouns were in existence literally centuries before the verbs - but it might help you feel better about the whole situation :-)
Comment: Possibly a very short answer is "because it comes from the French".
Comment: You meant 'if "carpent" isn't a VERB', I presume.
Comment: I imagine he's a carpeter with an extra n.
Answer: Because of their etymology.

ORIGIN Middle English: from
  Anglo-Norman French, from Old French
  carpentier, charpentier, from late
  Latin carpentarius (artifex) 'carriage
  (maker),' from carpentum 'wagon,' of
  Gaulish origin; related to car.
ORIGIN Middle English: from an
  Anglo-Norman French variant of Old
  French bochier, from boc 'he-goat,'
  probably of the same ultimate origin
  as buck.
(OED)
Comment: Harrold: Any relation to Mark?