Drillers for petroleum strike gusher of blood

Question: In a brief story, offshore oil drillers strike a gusher of blood. It pulses out periodically as if they have pierced a giant subterranean heart. The ambience is Lovecraftian; clearly they have disturbed something that would better have been left alone. I may have read this story in an English-language anthology during the 1960s or 1970s.
Comment: [Project Mohole](https://en.wikipedia.org/wiki/Project_Mohole) started in 1958, so it wouldn't have been published earlier than that.  I read this story around 1980, but I borrowed it from the public library so it would have been older.
Comment: It wouldn't absolutely have to be post-mohole. Conan Doyle's "When the World Screamed, was published in 1928 and had a similar theme. Though not mentioning a heart iirc.

OTOH the Howard Fast story was published in 1970, so could well be wholly or partly inspired by Mohole.
Comment: Your story about drilling holes in the Earth prompted me to remember another like that:  https://scifi.stackexchange.com/q/216633/101407
Comment: Conan Doyle's story can be read here. It's not the one I asked for, but the story is well worth reading.
http://gutenberg.net.au/ebooks01/0100031h.html
Answer: Might be Howard Fast's The Wound. The theme is that Earth is a living organism and that human activities are penetrating through the skin to vital parts underneath, causing it pain and injury.
It is anthologised in The General Zapped an Angel and in Aldiss' Evil Earths.
Comment: Could you please describe the story further? I have no access to _The Wound_ and have found no description of it.
Comment: @InvisibleTrihedron https://books.google.co.uk/books?id=b7ZHMRwFouYC&lpg=PP1&pg=PT45#v=onepage&q&f=false
Comment: @PeteKirkham, thanks, that allowed me to see the first few pages, which was enough to tell me that this is not the story, which was more Lovecraftian in tone.
Answer: The Night Sea-Maid Went Down by Brian Lumley.
Brian Lumley went through a phase of writing Lovecraftian stories, and indeed he was very good at it and I strongly recommend them to all fans of eldritch horror™. I read this one in his anthology Haggopian.

It's written in the form of a letter describing what happened on the oil rig Sea Maid drilling in the North Sea just off the coast near the city of Sunderland.
The story tells us:

We hadn't drilled more than six-hundred feet into the sea-bed when we brought up that first star-shaped thing.

Then as they continue drilling their seismometers start picking up an odd sound:

Oh, the trouble was there all right, whatever it was, but it was showing up so regularly that we were fooled into believing the fault to be mechanical. On the seismograph it showed as a regular blip in an otherwise perfectly normal line; a blip that came up bang on time once every five seconds or so - blip … blip … blip - very odd!

Finally a freak storm starts rocking the rig and eventually destroys it killing most of the crew apart from our protagonist. But in the last few moments before the rig is destroyed:

But there, I've held off from telling the important part - and for the same reason Joe Borszowski held off: I don't want to be thought a madman. Well, I'm not mad, Johnny, but I don't suppose for a single moment that you'll take my story seriously - nor, for that matter, will Seagasso suspend any of its North-Sea commitments - but at least I'll have the satisfaction of knowing I tried to warn you.
Now I ask you to remember what Borszowski said about great, alien beings lying asleep and imprisoned beneath the bed of the sea; "gods" capable of controlling the actions of lesser creatures, capable of bending the very weather to their wills - and then explain the sight I saw before I found myself floundering in that mad ocean as the old Sea-Maid went down.
It was simply a gusher, Johnny, a gusher - but one such as I'd never seen before in my whole life and hope never to have to see again. For instead of reaching to the heavens in one solid black column - it pulsed upwards, pumping up in short, strong jets at a rate of about one spurt in every five seconds - and it wasn't oil, Johnny - oh God! - it wasn't oil! Booze or none I swear I wasn't drunk; not so drunk as to make me colour-blind, at any rate!
Like I said, old Borszowski was right, he must have been right. There was one of those great god-creatures down there, and our drill had chopped right into the thing!
Whatever it was it had blood pretty much like ours - good and thick and red - and a great heart strong enough to pump that blood up the bore-hole right to the surface!
Think of it, that monstrous heart beating down there in the rocks beneath the sea! How could we have guessed that right from the beginning our instruments had been working at maximum efficiency - that those odd, regular blips recorded on the seismograph had been nothing more than the beating of a great submarine heart?
Comment: @InvisibleTrihedron if you like this sort of story I strongly recommend you get some of Lumley's short story collections. He does them at least as well as Lovecraft himself if not better.
Comment: Dead on! This is the story I was looking for, thanks. If anyone wants to read the story, it can be found here: https://books.google.com/books?id=Yis2DwAAQBAJ&pg=PT71&lpg=PT71&dq=%22The+Night+Sea-Maid+Went+Down%22&source=bl&ots=rXA6HVMXNu&sig=ACfU3U1OYty1QF9C9seJGF9ELwz6bXmnVA&hl=en&sa=X&ved=2ahUKEwiH4MPbzdfjAhVTHc0KHdOzCHUQ6AEwDnoECAYQAQ#v=onepage&q=%22The%20Night%20Sea-Maid%20Went%20Down%22&f=false
Comment: and here
https://books.google.com/books?id=5oTM5oQlL_0C&pg=PA111&lpg=PA111&dq=%22The+Night+Sea-Maid+Went+Down%22&source=bl&ots=_0PMJLwdWy&sig=ACfU3U2jT4_3lXvCe4QiOrWQsTDye9KSCA&hl=en&sa=X&ved=2ahUKEwiH4MPbzdfjAhVTHc0KHdOzCHUQ6AEwD3oECAkQAQ#v=onepage&q=%22The%20Night%20Sea-Maid%20Went%20Down%22&f=false
Comment: It remains mysterious where I read the story to begin with, as none of its covers on the ISFDB look familiar and neither do the tables of contents. I certainly enjoyed this bit of geological fiction.


Can confirmed Ethereum transactions be reversible?

Question: I need a way to ensure that transactions coming to my non-smartcontract Ethereum wallet can't be reversed. Is it enough to check that each incoming transaction has as least N confirmations just like in Bitcoin world, or I should also ensure that the "data" field ("input" in Parity API) is empty because otherwise it can be exploited in some way?
Answer: It's enough to check that each incoming transaction has at least n confirmations.
Answer: Wait for X confirmations to ensure that the transactions are part of the cannonical chain.
For more on msg.data check out What is msg.data?


What type of electric field is created by time varying magnetic field?

Question: Example when an current carrying loop is placed in external magnetic field varying with time some emf is produced in the coil now we know that emf is due to electric field and the loop is experiencing some current so there must me some electric field responsible for it .Is the electric field present here cricular non-conservative?
Comment: https://en.wikipedia.org/wiki/Betatron
Comment: Can you please elaborate this a bit about non conservative fields essentially circular ones
Comment: If an electron can go around in a circle, returning to its starting point with an increased energy, you have a non conservative field.
Answer: Yes, the electric field $\mathbf{E}$ induced by a time-varying
magnetic field $\mathbf{B}$ is according to Faraday's law of induction
$$\mathbf{\nabla}\times\mathbf{E}=- \frac{\partial\mathbf{B}}{\partial t}$$
necessarily non-conservative.
To see this remember the definition of a conservative field.
An electric field $\mathbf{E}$ is called conservative
if it can be derived from a potential $V$
$$\mathbf{E} = -\nabla V$$
or equivalently, if it is irrotational, i.e.
$$\mathbf{\nabla}\times\mathbf{E} = \mathbf{0}$$
Answer: The electric field in the potential formulation takes the form:
$$\vec{E} = -\nabla V - \frac{\partial\vec{A}}{\partial t}$$
In the coulomb gauge;
The term $-\nabla V$ is purely divergent. ie - is only determined by the divergence of the E field
The term $- \frac{\partial\vec{A}}{\partial t}$ is purely solenoidal. ie is only determined by the curl of the E field
Faraday-Maxwell equation:
$$\nabla × \vec{E} = -\frac{\partial \vec{B}}{\partial t}$$
A changing magnetic  field coexists with a curl of the electric field, ie the component of the E field that is purely solenoid.
From the previous analysis the component of the E field that is "created" by a changing magnetic  field is:
$$\vec{E}_{induced} = - \frac{\partial\vec{A}}{\partial t}$$
Provided we are in the coulomb gauge.
This is the "type" of electric field that is due to the coexistence of a changing magnetic field.


Can we upload data on custom object owned by a managed package

Question: We installed a managed package called object converter. It is using a custom object and we want to do a data load using data loader. If we try to edit a record or update any data on the custom object, it is complaining on permissions not allowed to update or insert in custom object. How can we edit or insert records into custom objects owned by managed package?
Buyan
Comment: Have you got the right assignments set up via Manage Licenses?
Answer: Permissions on custom objects work the same with managed packages with the one addition user320 mentions - if the package is licensed per user, the user executing the update must have a licence for the package. Is there a Manage Licences link next to the package name in Installed Packages? If so, the package requires licences to be allocated to individual users.
Comment: We dont have a license yet for this managed package and is a trial version. How can we find out what permissions we have on that custom object? I am using system admin profile and yet i cannot edit data.
Comment: When you go to Installed Packages, is there a Manage Licences link? If not, they you should have a site licence, and be able to access it with normal permissions...if yes, ask the vendor for a licence


Why is hierarchical softmax better for infrequent words, while negative sampling is better for frequent words?

Question: I wonder why hierarchical softmax is better for infrequent words, while negative sampling is better for frequent words, in word2vec's CBOW and skip-gram models. I have read the claim on https://code.google.com/p/word2vec/.
Answer: I'm not an expert in word2vec, but upon reading Rong, X. (2014). word2vec Parameter Learning Explained and from my own NN experience, I'd simplify the reasoning to this:

Hierarchical softmax provides for an improvement in training
efficiency since the output vector is determined by a tree-like
traversal of the network layers; a given training sample only has to
evaluate/update $O(log(N))$ network units, not $O(N)$. This
essentially expands the weights to support a large vocabulary - a
given word is related to fewer neurons and visa-versa.
Negative sampling is a way to sample the training data, similar to
stochastic gradient descent, but the key is you look for negative
training examples. Intuitively, it trains based on sampling places it
might have expected a word, but didn't find one, which is faster than
training an entire corpus every iteration and makes sense for common
words.

The two methods don't seem to be exclusive, theoretically, but anyway that seems to be why they'd be better for frequent and infrequent words.
Answer: My understanding is this is because of the Huffman coding used when building the category hierarchy.
Hierarchical softmax uses a tree of sigmoid nodes instead of one big softmax, Huffman coding ensures that the distribution of data points belonging to each side of any sigmoid node is balanced. Therefore it helps eliminate the preference towards frequent categories comparing with using one big softmax and negative sampling.
Answer: Hierarchical softmax builds a tree over the whole vocabulary and the leaf nodes representing rare words will inevitably inherit their ancestors' vector representations in the tree, which can be affected by other frequent words in the corpus. This will benefit the incremental training for new corpus.
Negative sampling is developed based on noise contrastive estimation and randomly samples the words not in the context to distinguish the observed data from the artificially generated random noise.


Help in querying hash PK and FK

Question: I was trying to get the name of the PK and FK. However, this is the output that I get:
PK: PK__adm_lib___3214EC067E4F7CCA
FK: FK__adm_lib_S__fk_Co__7093AB15
Comment: This looks like the standard naming convention that a tool like **SSMS (SQL Server Management Studio)** uses when the keys are generated via the UI. Those are likely the correct names of the keys.
Comment: I don't understand what you're stuck on? You've correctly queried the names of the keys, there's no other names that exist.
Comment: Is there any work around in querying this @J.D? I just a newbie in terms of this
Comment: I just wondering if I can query these in a more readable way like PK_adm_lib__SampleName not PK__adm_lib___3214EC067E4F7CCA?
Comment: Are you saying you want to change the names?
Answer: The names you found are the actual names of those keys. This happens when the UI in a tool like SSMS (SQL Server Management Studio) is used to create the keys (as opposed to manually scripting them out and choosing the names). I presume the suffix of the name is a GUID of sorts to ensure uniqueness (since two keys can't have the same name in SQL Server).
If you want the names to be more readable when you query them, your only option is to change their names. You can use the system stored procedure sp_rename to rename your keys to a more readable name of your choosing like this: EXEC sp_rename 'SchemaName.TableName.OldKeyName', 'NewKeyName'.
This procedure can be used to rename most objects in SQL Server. Please keep in mind, if you have any other SQL scripts that were referencing the old key name, you'll need to update them to reference the new key name.

Help in querying hash PK and FK


How to include content of one page in another page in Sharepoint Online (modern)?

Question: I am quite new to Sharepoint and I would like to create reusable building blocks.
Lets say I create a modern Page A in Sharepoint Online and include some contact persons (created using People WebPart).
In other Pages B, C, ... I want to insert Page A as a section.
If I change Page A, the updated content should automatically be shown on Pages B, C, ...
(I do not want to manually change 20 Pages if a single contact person changes.)
=> How to insert (content of ) Page A into Page B?
a) I tried to use the Embed Component to achieve this. However:

I do not want to show the page title (was able to remove the title using a workaround).
I do not want to show the page "footer" (was not able to hide likes or skip it using the embed code).
I do not want to use an iframe with fixed size. I want the overall layout to be responsive.

b) If I would use List elements, I would be restricted to text for the content (?). However, I would like to be able to use WebParts for the content of the resusable component.
c) I could create some html file as a Document, without Title and Likes etc. However, how to use WebParts inside this html file?
=> What is the recommented way to create reusable components in Sharepoint Online "modern"?
(In classic Sharepoint it seems there have been some features like Resusable Html, Content Editor and Page viewer. In JavaScript frameworks like react or vue, reusable components are kind of the core of everything.)
Would I need to create my own WebPart to insert another page? Is there some existing one? I am really surprised that Sharepoint does not seem to support this out of the box. I am still wondering, if I fundamentally miss something?
As an alternative approach:
How to show and keep a page section for all sub sites while navigating?
Related:

How do I embed one SharePoint site page into another?

In SharePoint 2013, how to embed one site page into another?

https://answers.microsoft.com/en-us/msoffice/forum/all/is-there-a-way-to-embed-part-of-a-sharepoint-page/acce0881-db84-4fe2-bbc5-94c0e920f1a1

https://learn.microsoft.com/en-us/sharepoint/dev/general-development/build-reusable-components-for-sharepoint

Best practices to improve search-ability in SharePoint Online and prepare for AI usage - how to handle meta data and alternative search terms?

https://techcommunity.microsoft.com/t5/sharepoint/how-to-hide-title-from-sharepoint-page/m-p/1265432

How to disable Social media bar for site collection without global admin rights?
Answer: There is no way to do this out of the box, however you can try some workarounds depending on the type of data you want to display.
If your content is mostly text, you can use a List. You can show a specific list item on a page: https://answers.microsoft.com/en-us/msoffice/forum/all/is-there-a-way-to-embed-part-of-a-sharepoint-page/acce0881-db84-4fe2-bbc5-94c0e920f1a1
You can try to use Site Pages. Add a column to a page and insert Site Pages.
Otherwise if you need more control, you can make a custom WebPart. This needs some coding knowledge.


_spFriendlyUrlPageContextInfo undefined when anonymous

Question: I'm trying to use _spFriendlyUrlPageContextInfo to get the term ID for a friendly url. However, if we're anonymous this is always undefined. How can I get this term id while anonymous?
Comment: See if this works for you: http://blogs.msdn.com/b/pedrorod/archive/2013/01/30/managed-metadata-navigation-not-working-for-anonymous-users-in-sharepoint-2013.aspx
Comment: @uberz91 Thanks for the link, but the terms already have a url. The actual navigation is working fine, the friendly URL links to the correct page. But _spFriendlyUrlPageContextInfo is undefined
Answer: I do not have access to an anonymous access site to test, but in my Office 365 environment I can see the navigation term buried in the action attribute of the form, along with a few other goodies:

Assuming this is present in your environment as well, a little string manipulation or regex wizardry ought to get you what you need.
Comment: Nope, doesn't exist. The form's action is just the url.
Answer: There is a variable called _spOriginalFormAction  where you can find the term name and id.
Edit: It seems that this variable is not yet set when display templates are rendered. Here is the function that I ended up using:
<code>function setFriendlyUrlPageContextInfo() {
    if (typeof (_spFriendlyUrlPageContextInfo) == "undefined" || _spFriendlyUrlPageContextInfo == null) {
        var formaction = null;
        if (_spOriginalFormAction != "undefined" && _spOriginalFormAction != null) {
            formaction = _spOriginalFormAction;
        } else {
            formaction = document.forms.length > 0 ? document.forms[0].action : null;
        }
        if (formaction) {
            var termName = null;
            var termNameMatches = (/\/([^\/]+)\?/ig).exec(formaction);
            if (termNameMatches && termNameMatches.length > 1) {
                termName = termNameMatches[1];
            }
            var termId = null;
            var termIdMatches = (/TermId=([^\&]+)(?:\&|$)/ig).exec(formaction);
            if (termIdMatches && termIdMatches.length > 1) {
                termId = termIdMatches[1];
            }
            if (termName && termId) {
                _spFriendlyUrlPageContextInfo = {
                    title: termName,
                    termId: termId
                };
            }
        }
    }
}
</code>


Swapping Lat and Lon coordinates of shapefile?

Question: I have a shapefile that consists of one polygon whose boundary is defined by a large number of points.  Whoever originally made the file inverted the latitude and longitude coordinates, so the data displays at 38 degrees east of Greenwich and 122 degrees south of the equator, which is well south of the south pole, or off in space, or somewhere on the imaginary number line, or something.  How can I fix this?
I could make another shapefile and manually enter the correct coordinates, but this particular polygon is defined by several hundered vertices so I would rather not do it that way.  Is there a python script or GP tool that can help me?
Answer: You can do it easily with Python.  You can do the following in ArcMap's Python Window:
with arcpy.da.UpdateCursor("your_layer_name", ['SHAPE@XY']) as rows:
    for r in rows:
        rows.updateRow((r[0][::-1],))

You'll need to refresh the active view afterwards.  You can do that with the refresh button or arcpy.RefreshActiveView().  Then you should see the points shift.
EDIT:
Just reread your question again.  If you want to skip the point adjustment, and reverse the coordinates for all the vertices of the polygons themselves, the code becomes slightly more complicated but retains the same general principal:
with arcpy.da.UpdateCursor("your_layer_name", ['SHAPE@']) as rows:
    for r in rows:
        # reverse points within polygon (supports multipart polygons as well)
        rows.updateRow((arcpy.Polygon(arcpy.Array(arcpy.Array([arcpy.Point(p.Y, p.X) for p in part]) for part in r[0])),))

Comment: The other answers work just fine, but I guarantee this is the fastest/cleanest way as you don't have to create any intermediate data/tables.  Do not fear the coding :)
Comment: The OP asked for a Python script or GP Tool...
Comment: This IS neat.  Thanks.   Evidently I should learn some more coding.
Comment: Indeed, once you get past the initial frustrations of learning the basics, you'll find it rewarding and it definitely boosts productivity/efficiency.  Good luck!  :)
Comment: Yeah but for those beginners Editors that don't know how to use coding...They need to find around ..
Comment: See the most recent edit, I added the code you would need to run this against the original polygons.
Answer: Does the attribute information hold x and y points? If not you could try Feature to Point to create them and then switch the X and Y.
Comment: The attribute table doesn't have x and y points, and unfortunately I don't have the needed licenses for Feature to Point.
Comment: Try downloading Xtools. This is an extension for ArcGIS with some extra tools you can use with a basic license. http://www.xtoolspro.com/tools.asp
Answer: Export your shapefile as a table, right click the table and choose "Display XY Data". When you enter in the latitude/longitude fields, switch the order of your fields, and now will you have a correct X/Y event layer, which you can export into a gdb as a feature class
Answer: You can create new add two fields columns to the shapefile and then calcuate them from the old field column such as X coordinate and Y coordinate to the new field.
Then you can delete the old ones from the shapefile.
Comment: Polygon shapefiles have ***multiple*** vertices. This approach is only valid for point shapefiles.


What is the difference between NtCreateProcess and ZwCreateProcess?

Question: What is the difference between NtCreateProcess and ZwCreateProcess? In ntdll.dll, both NtCreateProcess and ZwCreateProcess point to exactly the same address
Answer: In user-mode the groups of Nt and Zw APIs are identical. In kernel mode they are different. The Nt API contains the actual implementation. The Zw API uses a system-call mechanism and ensures that it is calling in kernel-mode and that there is no need to check the parameters if they contain user-mode addresses. Otherwise you could use the API from user-mode with kernel parameters which would not be good. So it is just a safety mechanism.
Comment: Does "kernel mode" also include processes running with System integrity level?
Comment: @bytecode77 no it does not
Answer: Aside from the already given answer (which I don't want to parrot), in my opinion the best answer can be found on OSR Online: here.
Alternatively you can read books on the Native API, such as the one from Gary Nebbett called "Windows NT/2000 Native API Reference", he devotes some space to this very question, or you can use WinDbg (pronounced as "wind-bag") yourself.


Distinguish .nb that has been saved from new .nb

Question: There may be many ways to distinguish .nb that has been saved from new .nb
I found that in NotebookInformation[] may be useful.
It seems for .nb that has been saved, NotebookInformation[] start with
"FileName"

Whereas for new .nb, there is no "FileName" part.

From the experts' point of view, this may be inaccurate sometimes, or didn't considered rare, special cases. (Hyperlink or Cloud related, etc...)
If there is a better way than this(or equally good), please introduce it.
Answer: Quiet@NotebookFileName[]

returns name of current notebook in the case it was saved
or
$Failed in the case it was never saved.


How to make a DHCP server on virtual machine serves other virtual machines(on different physical machines)?

Question: I'm building a virtual cluster with VirtualBox and Opensuse. I have 10 physical machines and need several vms on each. The virtual machines are supposed to be in a "private" network, but still have internet access. I was asked to set up a virtual head node working as DHCP server. I installed DHCP server on the virtual head node and it seems works. On VirtualBox I set 2 network adapters to the head node, one bridged adapter and one internal network.
One vm on the same physical machine has been set nic as internal network adapter. The vm
 can get IP address (so DHCP works) but can't access internet. What should I do?
Specifically, what network adapter should I choose for head-node and work-nodes in VirtualBox?  What in the virtual machines should I do?
Comment: Can you define what you mean by a private network? Is physically isolated needed? Is ethernet LAN segment isolation sufficient? Is private IP isolation sufficient? Is it OK for another machine on your network to have a private IP in the same IP subnet?
Answer: Your proposed set up will be a huge pain to implement the way you describe.
You can save yourself a headache if your physical machines have 2 physical ethernet ports.  If they do, connect the 2nd port on each machine to a physical switch/router and use that physical port for the VMs. Then connect the switch/router to the internet.
Comment: Thanks for the answering, it seems promising.Yes physical machines have 2 ethernet ports. I also have a switch to connect all the physical machines. Then which VirtualBox network for VMs should be used, NAT or bridge? If I do this way, those VMs still need to access DHCP so to acess internet, right?
Comment: Bridged would have to be used.  Since you have separate physical machines and VM hosts, NAT would cause you issues (part of the pain I was mentioning).
Comment: I tried and the VMs can access internet. But since they get IP address from the router which is 192.168.x.x, I can't ssh to any of them from outside. Is there any way to change so I can ssh? Or at least let me access work VMs from the head VM?
Comment: well, you can set up a VPN server...  I told you this proposed setup is a nightmare if you want it segregated from the rest of the LAN.
Comment: If your need for isolation is an external requirement, you may need to be able to demonstrate that isolation exists. A physical isolation of the host machines would achieve that. But if you need to SSH in from some other machine, that doesn't seem so isolated.
Comment: Sorry this box doesn't have enough space, so I start a new answer as below.
Answer: Finally I figured out how to do this, and thanks to @Keltari, your answer is very helpful.
Here is how I did it:
1. Set 2 network adapter for both head node and work node VMs. The physical node that hold head VM has 2 physical NIC, I connect one of them to a router(eth1), another one to the internet(on the wall, eth0).
2. For head VM: Setup a DHCP server on head VM with virtual NIC eth1 which been set as "internal network", set virtual NIC eth0 been bridge to physical eth0(direct internet).
2. Set one of the 2 virtual NIC of work VMs be "bridge", link to physical eth1(router); another virtual NIC been "internal network".
3. Then all work VMs can get IP from head VM so they can talk to each other through ssh via internal network. The work VMs can also have internet with the eth1(through router).
Comment: Can you draw a picture? I'm not following your terminology.


Why make a Copper Snake?

Question: Why did Moshe have to make a Copper snake. Wouldn't it be simpler if the snakes went away? (or acted as they were before the plague)
Comment: Daniel sheds further light on the subject of copper.
Answer: In Likutie Torah, Parshas Chukas(61d-62b), this question is asked. The answer provided is Hashem creates nothing inherently evil,for example lets say Atheism what could possibly be good with that? the answer when someone comes for help and or charity you dont say G-d will help you, no you take it into your own hands.This point is illustrated with the copper snake there is a good Spritual source to ALL things.Moshe was telling them look upwards at the Snake look for its positive spiritual source from Hashem and recognize that the punishment was for the overall good of Klal Yisroel and when Hashem sees that you recognize this then you will be healed. (this is very much my adaption of the idea,feel free to argue if this is the intended meaning of the answer!!)
Comment: Just an addition Medrash that strengthens the point:Any Jew that was sick, and who had little time left due to the sickness, was miraculously healed completely if he was bitten by the snake and looked at the Copper Snake while thinking thoughts of teshuva!
Answer: I am going to add a more extensive answer trying to hit on all the underlying points of the question.First I will address
Why A snake was needed to cure Klal Yisroel?
The Maharal in Gur Aryeh answers that  it was all about looking upwards that meaning prayer.When somthing like a snake bites a person the person becomes fearful of it. This way when you see the snake up there, and you have just been bitten by the very same thing your prayers will be alot more focused and hence Hashem will answer your Prayers.(very practical)
He then explains why copper or נחשת:
He explains the fact that נחש and נחשת are similar names has a significance since names indicate the essence of a thing, the נחשת heals the נחש because of their similarity.(not so practical).
The Ramban has a whole different approach. He says when Hashem does a miracle he does a miracle within a miracle. He explains this based on the Medical Science of his day that normally when you look at the thing that made you ill you will aggravate the symptoms,and make you worse off. Here Hashem showing them even though normally looking at the snake should make you worse, here I am going to make it, make you better.Another Miracle within miracle  was the story of the bitter waters where a bitter tree was thrown into the bitter water and the water was sweetened again normally adding bitter to bitter makes more bitter but here a double miracle happened.[Just a note on this point today's medical science definitely does not concur with that of the Ramban's when you add an acid to a base it neutralizes-hence bitter and bitter is explained]
For the  super mystically inclined;The CHIDAH in his Sefer "CHADRIE BETEN" says The reason snakes of  נחשת where used is because the original snake was responsible for the early deaths of the children of נח until שת.Hence the cure was  נחשת.
Comment: You mean the Ramban Miracle is now standard medical science  anti-venom has snake venom in it.
Comment: Exactly where are these sources?
Comment: The Gur Aryeh is on the Rashi about the snakes as is the Ramban and the Chida I saw in toras Chidah which is a Likut.
Answer: Snakes attacked the Jews that insulted the Mann, because no matter what a snake eats, it tastes like dust.Therefore, Hashem said, "Let the creature that eats many things and tastes only one thing – punish those who eat one thing and it tastes like many things.
Comment: @YS: true (Rashi says this), but that doesn't really answer the question of why the copper snake was needed - just why Hashem chose to punish them with snakebites in the first place.
Comment: 3 answers for one question... Not bad...
Answer: I recently gave a Devar Torah on this very question, and suggested that the purpose of using a snake (which had caused them significant pain and fear) was that Bnei Yisrael had to build up some courage to "face their fears". Any time the nation had a problem with something, they would immediately come running back to Moshe to cry or complain, and often suggest running away from their problems. Before they entered Israel, they had to learn how to take care of things themselves; G-d wouldn't always continue to take care of their every need. That being the case, rather than stop the plague altogether, Hashem created a situation in which they had to learn to face their fears, which would serve them well as they moved towards Israel...

Why make a Copper Snake?


What is the advantage and disadvantage of deploying Erays on Ethereum?

Question: I have read this paper, Erays: Reverse Engineering Ethereum's Opaque Smart Contracts. They proposed this reverse engineering tool for Ethereum smart contracts. it will take as input a compiled EVM smart contract without modification from the blockchain, and returns high level pseudocoded suitable for manual analysis.
What really is the use of this Erays? what drawback it has?
Comment: "What really is the use of this Erays?": Reading Solidity is far easier than reading compiled bytecode... :-)
Answer: It has the same benefits as any reverse-engineering tool: you get to see what the code does. If you have a bunch of bytecode it's impossible to see what it does. So, if you don't have the actual source code but want to know what the code does, the only thing you can do is (try to) reverse-engineer it.
As compilers typically optimize code to make it smaller (or at least rearrange and perform some transformations) before the actual compiling the actual source code you can get from reverse-engineering is far from the original source code. But it gives the same results with the same inputs so it's programmatically equivalent.
So basically the use of reverse-engineering is to find out what the code does and its drawbacks are the difficult source code it provides. It won't be easy to read or try to figure out what the resulting source code does but it's possible.
Comment: The compiling phase can be modeled as a sort of one-way deterministic hash: it is practically impossible to go trough it back... and to find out the very original code starting from the bytecode!! But every time you compile the same code in the same environment you obtain the same bytecode. Don't resemble any sha256 routine?


windows server 2008 R2 backup issue

Question: I have configured and iSCSi drive by using iSCSi Initiator for a windows server 2008 R2 for the purpose of storing backup but when I try to run backup schedule and assign the iSCSi drive as a backup destination it shows the following error
and I I'm very sure it is not related to space. the iSCSi drive have 1.5 TB storage while the server needs less than 1 TB
I did some search on the internet there are a couple of suggestions to delete shadow copies and delete the backup catalogue I have preformed all but still no luck
any idea or help ?
Answer: I would see if the file block size is too big on the destination server.  If the 1 TB has many small files, they may consume a large number of blocks.  I would look to see if you have a large amount of virtual memory too.  If a master file table has not allocated the 1.5 TB space, the server may think there is less available space because not all of it is usable.  There may be a configuration problem.  The source may being growing when the process is happening too.
Comment: many thanks for your support ,actually I did create the VHD using dynamic disk but after you mentioned that I have recreated the disk using fixed VHD the issue has been solved !
again many thanks

windows server 2008 R2 backup issue


Java acm, GRect method, Inheritance add method doesnt show

Question: I am reading about inheritance. I tried to do the example but something is amiss.
I wrote every bit of code but a certain method which was suppose to be inherited doesnt show. the method is add(GObject arg)
Here is the code for the class:
package ExistingClasses;
import acm.graphics.*;

public class FilledRect extends GRect {

    public FilledRect(double x, double y, double width, double height) {
        super(x, y, width, height);
        setFilled(true);
    }
}

After I wrote the code above I want to use it in other class
The code is:
package ExistingClasses;

public class TestFilledRect extends FilledRect {

    public void run(){
        FilledRect rect = new FilledRect(45, 34, 34, 34);
        add(rect);
    }
}

The add method does not work. I followed the book's way of doing it. It suppose to have the add method so that anything you drew like an oval, rectangle, line will appear. Please help me.
The add method only works for me when I extend GraphicsProgram class. Please help me. Thanks for all in advance.
The book I am using is The Art and Science of Java pgs 205 - 207
Answer: GRect does not have an add method.  GraphicsProgram does have an add method.  That is why it cannot find an add method in your test above.  You would have to be in a class which extends GraphicsProgram to add a GRect to the GraphicsProgram.


Convert number to text representation with specific decimal separator in Excel

Question: I have a cell with a number (formatted as "52,9" in my locale) and I want to format it into a String in another cell with a specific decimal separator ("52.9"). I don't want to change my locale or anything, I want it to work the same no matter what locale is used. I could of course do some complex formula to strip out the whole number and the decimals and stitch them together again, but my question is, is there a function that does this?
I'm using the latest version of Excel 365.
Answer: Yes, that's pretty easy:
<code>=Substitute("25,84";",";".")
</code>
This will result in a string like this:
<code>25,84 -> 25.84
</code>
Answer: Obtain the decimal separator char in a separate cell. Use it for to replace.
Example.

Put the 1,1 number into a cell A1. It is a reference standard.
Put the formula =MID($A$1,2,1) to B1. It is current decimal separator.
Put the value which you want to convert to a string with specific decimal separator (52,9) to A2.
Put the formula =SUBSTITUTE(A2,$B$1,".") to B2. You obtain the result you need.

Of course, this can be combined into one complex formula =SUBSTITUTE(A2,MID($A$1,2,1),".") freeing B1 cell - it is safe when the amount of numbers which must be converted is low.
The reference standard and current decimal separator formula can be placed to any static cells (for example, in hidden 1st row or on service/hidden worksheet, or maybe there is some suitable static data in your workbook which can be used as a reference standard...).
Comment: This works no matter what the separator is, nice one.


WiFi-Direct on JellyBean, WPA Supplicant messed up

Question: so a couple of months ago I've started developing some WiFi-Direct applications. A few days ago, I updated both of my Galaxy Nexus to Jelly Bean (4.1.x) and tested my applications, but it seems like there's something messed up again.. It was already a pain in the ass to get the main functionality set up on ICS, but now it does not work anymore.
All i get is something like this in my logcat:
/wpa_supplicant(  392): p2p0: P2P-PROV-DISC-PBC-REQ a2:0b:ba:xy:zz:xx p2p_dev_addr=a2:0b:ba:xy:zz:xx pri_dev_type=10-0050F204-x name='Android_e9f0' config_methods=0x188 dev_capab=0x27 group_capab=0x0
I/wpa_supplicant(  392): p2p0: P2P-DEVICE-FOUND a2:0b:ba:xy:zz:xx p2p_dev_addr=a2:0b:ba:xy:zz:xx pri_dev_type=10-0050F204-5 name='Android_e9f0' config_methods=0x188 dev_capab=0x27 group_capab=0x0
I/wpa_supplicant(  392): p2p0: P2P-GO-NEG-REQUEST a2:0b:ba:xx:zz:xy dev_passwd_id=4
I/wpa_supplicant(  392): p2p0: P2P-FIND-STOPPED
I/wpa_supplicant(  392): p2p0: P2P-GO-NEG-FAILURE status=7
W/Netd    (  120): No subsystem found in netlink event
D/NetlinkEvent(  120): Unexpected netlink message. type=0x11
I/wpa_supplicant(  392): p2p0: P2P-DEVICE-LOST p2p_dev_addr=a2:0b:ba:xx:zz:xy
I/wpa_supplicant(  392): p2p0: P2P-DEVICE-FOUND a2:0b:ba:xx:zz:xy p2p_dev_addr=a2:0b:ba:xx:zz:xy pri_dev_type=10-0050F204-5 name='Android_e9f0' config_methods=0x188 dev_capab=0x27 group_capab=0x0

The "Invitation dialog" pops up correctly at the second phone, and "sometimes" (random) it even works, but only in every fifth try or something. So the logcat tells me, as I'm no professional with android-intern codes, that the negotiation simply fails, the device gets lost for a brief moment, and is then discovered again, seems all kinda messed up.
My invitation is sent out like this:
public void onPeersAvailable(WifiP2pDeviceList peers) {
    if (isInvitationSent)
        return;
    for (WifiP2pDevice dev : peers.getDeviceList()) {
        WifiP2pConfig c = new WifiP2pConfig();
        c.deviceAddress = dev.deviceAddress;
        c.wps.setup = WpsInfo.PBC;

        if (initiator
                && !isInvitationSent
                && WiFiSupport.compareMacAddressesInsensitive(MAC_ADDRESS,
                        dev.deviceAddress)) {
            isInvitationSent = true;
            sendInvitation(c);
        }
    }
}

private void sendInvitation(final WifiP2pConfig config) {
    log("Sending invitation to " + config.deviceAddress);
    mWifiManager.connect(mChannel, config, new ActionListener() {
        @Override
        public void onSuccess() {
            log("Invitation sent!");
        }

        @Override
        public void onFailure(int reason) {
            log("Invitation failed!");
            Toast.makeText(getApplicationContext(), "Could not connect to peer, reason:"+reason, Toast.LENGTH_LONG).show();
            if (!retryChannel) {
                log("Retrying to send invitation.");
                retryChannel = true;
                sendInvitation(config);
            }
        }
    });
}

I've read a lot on wifi direct on android, and it's been working fine until I updated the phones to jelly bean.. anyone knows, what could be wrong? If you need more code samples or any specific part of the code, just tell me, as I don't know what could be reliable for this.
Thank you for your help.
EDIT:
Changed the WifiP2pConfig.wps.setup method to "display", which resulted in device #1 displaying a PIN code, device #2 popping up a dialog with an input field - after entering the correct pin this is what logcat told me:
08-31 15:13:28.241: I/wpa_supplicant(384): p2p0: P2P-GO-NEG-SUCCESS
08-31 15:13:28.241: I/wpa_supplicant(384): rfkill: Cannot open RFKILL control device
08-31 15:13:29.850: W/wpa_supplicant(384): p2p-p2p0-3: Could not connect to kernel driver
08-31 15:13:30.264: E/wpa_supplicant(384): Using interface p2p-p2p0-3 with hwaddr a2:0b:ba:x:y:z and ssid 'DIRECT-ps-Android_e9f0'
08-31 15:13:30.491: I/wpa_supplicant(384): p2p-p2p0-3: CTRL-EVENT-CONNECTED - Connection to a2:0b:ba:x:y:z completed (auth) [id=0 id_str=]
08-31 15:13:43.491: I/wpa_supplicant(384): p2p0: P2P-GROUP-FORMATION-FAILURE
08-31 15:13:43.491: I/wpa_supplicant(384): p2p0: P2P-GROUP-REMOVED p2p-p2p0-3 GO
08-31 15:13:43.491: W/wpa_supplicant(384): p2p-p2p0-3: Could not connect to kernel driver
08-31 15:13:44.061: E/wpa_supplicant(384): Failed to remove interface (ifidx=15)
08-31 15:13:44.178: W/Netd(120): No subsystem found in netlink event
08-31 15:13:44.178: D/NetlinkEvent(120): Unexpected netlink message. type=0x11
08-31 15:13:44.248: W/Netd(120): No subsystem found in netlink event
08-31 15:13:44.248: D/NetlinkEvent(120): Unexpected netlink message. type=0x11
08-31 15:13:44.280: I/wpa_supplicant(384): p2p0: P2P-DEVICE-LOST p2p_dev_addr=a2:0b:ba:x:y:z
08-31 15:13:46.155: I/wpa_supplicant(384): p2p0: P2P-DEVICE-FOUND a2:0b:ba:x:y:z p2p_dev_addr=a2:0b:ba:x:y:z pri_dev_type=10-0050F204-5 name='Android_755f' config_methods=0x188 dev_capab=0x27 group_capab=0x0

Interesting would be:
    08-31 15:13:43.491: W/wpa_supplicant(384): p2p-p2p0-3: Could not connect to kernel driver
I think. Looks like a bug in Android's own wifi-direct-framework to me?
Comment: Seems like group formation only fails if you're in another wifi network, like in your home wifi or such.. so Android fails to disable it - thus fails to connect via WiFi Direct.
Comment: Did u find any solution for this?
Comment: I developed on two HTC One Vs (which couldn't update to Jelly Bean due to ram restrictions) and an HTC One X+ (which has 4.1). In my experience, the One Vs worked most of the time where as the One X+ would fail more frequently.
Answer: To mark this question as answered, I'll just copy my "solution" to this problem:
Seems like group formation only fails if you're in another wifi network, like in your home wifi or such.. so Android fails to disable it - thus fails to connect via WiFi Direct.
I had to make sure the devices were not in a wifi network.
Answer: Android updated Wi-Fi Direct API with Jelly Bean in API level 16. As you already know the core API was first added along with ICS in API level 14. Here you can find the added classes regarding Wi-Fi Direct,
WifiP2pDnsSdServiceInfo
WifiP2pDnsSdServiceRequest
WifiP2pServiceInfo
WifiP2pServiceRequest
WifiP2pUpnpServiceInfo
WifiP2pUpnpServiceRequest

Some classes here use WifiP2pManager class as parameter. You better take a look at them yourself:
http://developer.android.com/reference/android/net/wifi/p2p/nsd/package-summary.html
IMO your application might be corrupted, manipulated or what-so-ever after this update in API 16. I see that you have created your own method for sending invitation to other peer, altough this is not really needed. Peers get invitation automatically in Wi-Fi Direct. Thus, you can leave it handle the invitation process itself. Once again, I suggest you take a look at here unless you did it before.
Comment: Nope, my application still works like a charm.. But in the new JB API it's getting better, some of the errors are not showing up anymore. Especially those driver-related which were really hard to "catch".


Can a question be considered as a oral contract?

Question: Let's say that you are asking someone: "Let's meet at 5pm at place X?" and the person replies: lets meet at 5pm but at Y. Then if you are stuck on an emergency and cannot reply until 5pm. If you contact the person again at 5pm and they say "we agreed to meet at 5pm, why did you change plans?" Where you bind to that oral contract if you didn't agree to Y?
Answer: The four key elements of a contract, which are all required to make it valid, are: agreement, capacity, consideration, and intention.
Agreement
Agreement is achieved by offer and acceptance. And that is where it already falls flat. Even if you count "Lets meet at 5pm at place X" is an offer, the reply "Lets meet, but not at X but at Y" is not an acceptance, its a counter-offer. If both parties just offered to meet and there was no other communication, then there has been no agreement at all. So you are already in trouble on the first point.
Capacity
I am sure both you and the other person were capable of entering into a contract. If you are 18 years or older and you both understood the terms of the contract, that is.
Consideration
Parties must exchange some value for a contract to be binding. That is why you see sale contracts for a symbolic € (or $). And that is the second point where this situation fails to meet the standard of a contract. Nothing of value was ever exchanged, thus there is no contract.
Intention

Not all agreements between parties are contracts. It must be clear that the parties intended to enter into a legally binding contract. [...] In social situations, there is generally no intention for agreements to become legally binding contracts (eg friends deciding to meet at a specific time would not constitute a valid contract).

Thus, the agreement to meet fails this test as well.
In short, no, there is no valid contract. The promise to meet fails to meet three of the four properties a contract needs to have.
References:

How to form a valid contract?
Comment: There is consideration- each party promised to be at a certain place at a certain time, that's something of value and meets the normal very low threshold for consideration.
Comment: (1) The OP is not the one in trouble on the issue of *agreement*. The interlocutor would be the one unable to establish that element. (2) Not all contracts require an exchange of considerations; an exchange of *promises* thereof is enough for the formation of a contract. (3) A meeting is not exclusively a "social situation" (example: a student and an instructor/advisor meeting for tutoring/mentoring), and there is no indication of that being the case in the OP's description.
Comment: @IñakiViggers  (1) Of course the OP isn't in trouble, thats figurative speech.  (2) There is no promise of considerations, either. Nothing has changed hands and nothing will. Thus my description of "never" is correct. (3) A meeting even between advisor and student isn't a contract.
Comment: Obviously nobody means the OP himself (not even you despite writing "*So you are already in trouble on the first point*"), but in reference to the parties just in the way he formulated his question. My remarks are in the sense that your conclusion that there is no contract entails assumptions which neither your answer nor the OP's question state, whence your depiction of contracts conveys inaccurate generalizations. For instance, it is wrong to automatically presume that a meeting is merely a "social situation" and deny therefrom the existence of a contract.
Comment: @IñakiViggers You realize that I am quoting the referenced text, right? I included the part about social situation because it seemed relevant, but the first part -- clarity of intending to enter a contract -- is sufficient.
Answer: I will set aside the problem that as posed, there is no exchange of valuable consideration so there's no contract. I assume the core question is whether silence (and no behavior that resembles acceptance) in the face of a counteroffer constitutes acceptance. The linguistic form is, b.t.w., not a question, it is an exhortation (a sub-type of of declaration).
You might call a tree surgeon in to size up a job and suggest that they come on Friday. The tree guy counters with Saturday, and you don't say anything, but you mentally reject that option. In the meantime you have another tree guy cut the tree down on Friday. The Saturday guy shows up, and suffers a loss because the tree is gone and he had to spend money on equipment and a crew. He reasonably relied on your apparent "acceptance" of the counter-offer.
In highly formal contracts with pages of clauses and signatures, the question of whether there is acceptance is reducible to the signature. Casual oral contracts are judged on the basis of "ordinary behavior".
Answer:
Where you bind to that oral contract if you didn't agree to Y?

No, provided that the difference between places X and Y is material.
The interlocutor's choice of place Y constitutes a counter-offer. As such, it (1) constitutes a rejection of your original offer, and (2) requires your acceptance for there to be a cognizable agreement. The interlocutor is unable to establish (2). In fact, the interlocutor's reproach simply in terms of "we agreed to meet at 5pm" reflects his awareness that there was no agreement as to place.
You would be likewise precluded from alleging that you and the interlocutor agreed to meet at place X. That is because either your unforeseen emergency prevented you from ascertaining the interlocutor's response (be it an acceptance, plain rejection, or counter-offer), if any, or having read his counter-offer made you aware of the interlocutor's rejection of your offer/proposal.


Continue aborted cp

Question: Is it possible to run cp again after it was aborted and make it start where it ended last time (not overwrite data that's already copied, only copy what's still left)?
Answer: It's cases like this that have taught me to use rsync from the start. However in your case, you can use rsync now. It will only copy new data across, including if cp stopped half way through a big file.
You can use it just like cp, like this:
rsync --append /where/your/copying/from /where/you/want/to/copy

Comment: Or `--append-verify` to compare checksums at the end just to be sure.
Answer: In case the aborted cp was a recursive copy, you might want to resume with rsync including the option --recursive.
Example
Aborted copy command:
cp -r source-directory destination-directory

Let us assume that destination-directory already existed, so that this copy command created a directory named source-directory within destination-directory. This can be resumed via:
rsync --recursive --append source-directory destination-directory

Note that trailing slashes have a precise meaning in rsync path options.
In this case, the copy command could have gotten the argument source-directory or source-directory/, it does not make a difference. In the rsync command, however, it must be source-directory without trailing slash.
Answer: Use the -u switch, and see the cp man page.
Comment: the -u is for 'update' only...
ie: it wont overwrite the existing files in the destination _if_ they are same or newer...
Comment: If you use -u, then it will copy the same big file again. -u only helps if you're trying to resume a large recursive copy.
Comment: This answer was helpful for me because in my case it was many small-ish files and no problem to just delete the incomplete files before running my initial `cp -a` as `cp -au` again.
Comment: Should I be worried about unfinished files from the previous `cp`? Or the `-u` will take care of that?
Comment: but source files didn't changed or anything
Answer: rsync is a great tool also: man page at -> http://www.manpagez.com/man/1/rsync/

Continue aborted cp


How do I add a text area to my 3D android world

Question: i am learning 3d game development on android , i was wondering is it possible to add text areas or any thing that allows a user to enter a text in a 3d world ? and how ?
Comment: it seems may seems a bit difficult and i'm not sure if it's possible but you can try using input service of android but the text it returns to the 3d world.
Answer: Your problem have a two part answer :
1 : First you have the problem of letting the user input some text. This can be easily done using the virtual keyboard available in Android. Something like this should do the trick.
<code>    InputMethodManager imm = (InputMethodManager) getSystemService(INPUT_METHOD_SERVICE);
    imm.showSoftInput(v, InputMethodManager.SHOW_FORCED);
</code>
Of course if you want something with your own look and feel you can create your own input service (look here for more info http://developer.android.com/resources/articles/creating-input-method.html)
2 : Then, you need to give the user some kind of feedback, meaning write the text the user is typing in 3D. To do this, the basic idea is to create one quad per character, and map it to a texture containing your font, and place the quads in 3D where you wan't them to be.
Answer: On android, there are many ways to read strings input:

As gameloft, develop your own widget and code your own Virtual Keyboard; that is probably the better to way for an immersive experience
Or use the Android Libraries to do it.

About the second solution:

in your Layout, there is probably a GLSurfaceView but you can add others views. So you can use an EditText to read input. Just show or hide it when you need it.
otherwise you don't want use Android View because you have your own GUI. Use only the Virtual Keyboard when needed.

You can read my old tutorial with code and the phil hassey blogs about porting its game from IOS to Android.

use a dialog box and give the string to your code
enter link description here
Phil hassey blog

we're talking about JNI (Java bridge with C) because our engines are C/C++ code...


Order of kernel upgrade commands for gentoo

Question: I have simple bash script to update the kernel. It includes building the kernel, rebuilding external modules, building initramfs with genkernel and updating grub config, here is the script:
#!/bin/bash

set -x
set -e

cd linux

# mount boot if not mounded
mount | grep "/boot type vfat" > /dev/null || mount /boot

# build the kernel
make -j16

# install modules
make modules_install

# prepare modules (for @module-rebuild)
make modules_prepare

# rebuild external modules (nvidia, etc)
emerge --ask=n @module-rebuild

# install kernel
make install

# build initramfs
genkernel --lvm --luks --install initramfs

# make grub config
grub-mkconfig > /boot/grub/grub.cfg

# umount boot
umount /boot

this script is working fine, but with one exception: I always need to call it twice, if I don't I'll get error on boot (failed to load initramfs), I think that some steps in script has wrong order, but I can't figure out what steps exactly. Oficial docs doesn't cover rebuilding with initramfs: https://wiki.gentoo.org/wiki/Kernel/Upgrade
What's wrong with my script? How to update it to fix?
Answer: I think you have to switch
make modules_install and
make modules_prepare.
First prepare the modules and then install them.


Witness directory location in a two-server Exchange 2010 scenario with DAG

Question: I am going setup a DAG in a brand new single-site two-server Exchange 2010 SP1 configuration, with both servers running CAS/HUB and MAILBOX roles and hardware-balanced CAS (no Edge roles nor Unified Messaging at all). I have read about this configuration on the Internet and everybody agree that it is a supported scenario, allowing HA using only two servers, but I see now that DAG need also a Witness folder and it hasn't to be located on a server partecipating into DAG.
So, how it could be possible to use only two servers if both are giung to be added into the DAG?
Answer: It is a supported configuration, however you will need a third server as MadBoy points out.
A better option is to have three servers and place the hub role along with the witness share on it. The hub role doesn't require anywhere the resources that you are already placing on the other two servers.
Comment: Maybe in companies where another 500-1000 euro doesn't matter this isn't an issue but for companies that want to put everything on 2 servers to be able to use everything you can safely assume money is an issue. Having additional license just for HUB to give control to Exchange team is a bit out of scope for SMB.
Comment: Except that you need 3rd Exchange license and if the Hub goes down you can stick your head in your laps and cry ;-)
Comment: You would still leave the hub roles on the other two servers as well. As long as both members of the dag are up the witness share can go offline. The idea is that the exchange team has control of all of the servers required for the infrastructure.
Comment: You are correct. However if you give answers based on what the minimum requirements for a product are then you will usually end up with a minimally efficient system. Microsoft best practice is to have all components, including file witness, under the exchange team. Your accidental exchange admin might not notice the xyz department server has been down for two days till suddenly their dag looses quorum and doesn't fail over.
Comment: We all want to use best practice from Microsoft. This means each role should have its own server to really meet them. I would love to have 10-12 exchange servers but in reality SMB can't afford it.
Answer: You need a 3rd server for this. This can be any server with any other roles installed (Fileserver for one).
Good tutorial for your case.


James 1:11 "no sooner"

Question: Says "for the sun is no sooner risen with a burning heat". Is this saying when Jesus returns these worldly things will burn away? More so, what is the meaning of "no sooner "
Answer: In the context, James is developing the metaphor of the previous verse, when he says about the rich man "like the flower of the grass he will pass away" (RSV). Your quotation continues "and withers away the grass", which is exactly what happens in nature (not quite instantly, though). James in Palestine would be in a good position to know that and will have seen it happen. V11 ends by returning to the original verdict; "So will the rich man fade away in the midst of his pursuits".
At the same time, James is likely to be referring to, and expecting his readers to be aware of, the prophecy in Malachi ch4 v1; "For behold, the day comes, burning like an oven, when all the arrogant and all evildoers will be stubble; the day that comes will burn them up, says the Lord of hosts, so that it will leave them neither root not branch". The same metaphor.
In practice, the idiom "no sooner.. than" is an equivalent of "as soon as", sometimes used in reports like "No sooner had he walked in the door than the boss started shouting at him." In other words, the event which follows on so sharply from the first event is likely to be an unwelcome one. The Authorised Version, which you are evidently quoting, says "no sooner... but" in this verse, but the effect is the same.
Answer: The text in question:

James 1:9  Let the brother of low degree rejoice in that he is exalted:
1:10   But the rich, in that he is made low: because as the flower of the grass he shall pass away.
1:11   For the sun is no sooner risen with a burning heat, but it withereth the grass, and the flower thereof falleth, and the grace of the fashion of it perisheth: so also shall the rich man fade away in his ways.

The lowly...
Most people fall in that category, with not a lot of money, not in a social position, basically struggling to make it in life.
These lowly Christians see other people, who may not even be that devoted to God,  seemingly much better off and more blessed with temporal things.
They seem to ask the same question as we find in Ps. 73:10-18, what's the use of living a godly life, if we have to toil so hard just to make ends meet, while the worldly have an easy and prosperous life?
But the lowly Christian is exalted in Christ, while the worldly rich will lose it all.
The present life is like the flower or grass, here today and dead tomorrow.  But those in Christ will life forever!
But both, rich or lowly, can be in Christ, if they chose Him.
The lowly is exalted in Christ
The rich is humbled as he too, needs a Savior, just as much as the lowly.
Life is very short.  All die, like the plants in the field, some bloom, some not so much, but all live only a short while and then die, no matter if they are lowly, or rich.
No sooner does a person reach the full sunshine and strength of their prime, the heat of responsibility upon them, and they start to whither away. Their splendor, and all on which they built up their security, shall vanish.

Isaiah 40:6-8 All flesh is grass, and all its loveliness is like the flower of the field.
7The grass withers, the flower fades,
When the breath of the LORD blows upon it;
Surely the people are grass.
8The grass withers, the flower fades,
But the word of our God stands forever.

The comparison of people to grass, is usually used to describe the brevity of life, not the final destruction, yet the thought that it is more important to prepare for the here after, not on the temporal is implied.
Answer: "No Sooner" of James 1:11
The phrase "no sooner" is not part of the Greek text, but was inserted for some inexplicable reason by th KJV translators.  Here is a very literal rendering of the Greek from BLB:

For the sun has risen with its burning heat and withered the grass,
and its flower has fallen, and the beauty of its appearance has
perished. Thus also the rich man will fade away in the midst of his
pursuits.

The meaning of this verse is rather simple - James is using a simple, common metaphor to say that the wealthy and their wealth with wither like a flower/blossom used the hot sun.
There is nothing about judgement nor any eschatological meaning here.  It is simply saying that wealth is ultimately transitory.  James is simply discussing the trials of this life and how they effect the Christian.

James 1:11 "no sooner"


mstsc /admin for Microsofts RDP for Mac OS X

Question: How do I access the reserved admin session using Microsofts RDP client on my Mac? The equivalent to mstsc /admin on the Windows client.
Answer: I don't have my Mac in front of me however in a version prior to 2.1.0, there is an tick box option on the Remote Client Connection setup for an admin connection. It is labelled connect as Administrator if I remember correctly.
For version 2.1.0 and greater, see Christian Muggli's article Microsoft Remote Desktop Connection Console or Admin Session shows how you can put the /console or /admin directly at the end of server name of the RDC client (Mac or Windows).
Official confirmation on how to do this is via this Microsoft Help Article: How to connect to the Server Console
Comment: Awesome, the /console bit did the trick. Thanks a bunch :)
Comment: Can't finde the checkbox, this is the software I'm using: http://www.microsoft.com/mac/products/remote-desktop/default.mspx
Comment: Unfortunatly I can only confirm this when I get home, but I do recall it's an option somewhere in the settings screens. I don't have access to a Mac at work but use it regurlarly. Either way the second solution I provide is to official Microsoft method of connecting using the RDC client. However you need to ensure your running the latest version.
Answer: There are two programs I know of that are good for this.
The offficial : RDC
The better option : CoRD
Edit:
To connect to the console in cord you can open it up and select; "connect to console session".
Diago's answer works for RDC
Comment: His question is not what to use but how to use it.
Comment: Yeh sorry; just noticed that one; was editing it to actually add in the instructions to connect to the console.
Answer: Microsoft Remote Desktop Connection Client for Mac
Version 2.1.0 (100825)
Computer: computerName.school.edu /console
This is similar to PC syntax: C:\Windows\System32\mstsc.exe /v: computerName/admin
Comment: This answer doesn't quite make sense. Can you edit it to clarify how it resolves the original question?


Can I shoot through Deathtrap?

Question: Due to Deathtrap's love of melee attacks and extreme speed, he very often blocks one or more targets from my sight. Can I shoot through him and damage enemies? I tried a few times and while I confirmed I'm not hurting Deathtrap I couldn't tell if my bullets can actually go through his model or not.
Comment: My guess would be that no, you cannot, given that one of Gaige's skills allows her to "charge up" Deathtrap by shooting it with elemental guns. However, this is just a guess and I don't have physical evidence to back this up. Would love an actual answer to this as well.
Answer: Bullets do not go through Deathtrap. However, rockets and other things that explode on contact (glob gun shots for example) do go through deathtrap.
How I tested it:

I cleared an area of enemies and summoned Deathtrap.
I then positioned him between myself and a corrosion barrel.  Close enough that even if I missed him due to Anarchy I couldn't hit the barrel.
I then unloaded several clips into him, aiming at the barrel on the other side of him.
The barrel didn't go off.
To double check that I wasn't mistaken in my aim; I waited for him to disappear and then shot once, blowing up the barrel.

Additionally, to try to rule out ricochets off of Deathtrap I performed another test:

I have 5 points in Close Enough (50% chance to ricochet)
I summoned DeathTrap and positioned him in front of me, with the barrel off to my side.
I unloaded several clips into him, aiming at different points and strafing to ensure that if I was ricocheting that it shouldn't have been able to miss.

I noticed that no ricochet trails were appearing on screen, and the barrel did not explode.
Comment: I am specced in Close Enough; I'll modify my answer to rule out ricochets.
Comment: Were you specced into Close Enough during the test? If so, that would conclusively rule out DT as being a ricochet-able surface as well, as Close Enough bullets *will* strike and destroy barrels. Edit: If not, I'd re-run the test and fire at a 90 degree angle to the barrel with Deathtrap as the "corner", so to speak.
Comment: Good stuff with the re-resting for the ability to ricochet off of DT! :) Consider the upvote fully earned.
Answer: In regards to it being a moving object like any other NPC. I recently was in fight for your life mode as Zero, and between Deathtrap and I was a grouping of baddies to be shooting at. I had the bore spec, so thought nothing of shooting through deathtrap, but no bullets went through, and damaged the ones behind deathtrap. Thus I died, and well yeah, bullets don't go through Deathtrap, no matter the circumstances.
Comment: Interesting that even Bore doesn't go through him
Answer: I think since it's a moving object like any other NPC in the game,the bullet won't go through until it's dead. It's like when you kill a monster and another is right behind it. If the one in front is dead, you'll be able to shoot through it to reach the one behind.
So since DT is considered an alive object, you can't shoot through it :(

Can I shoot through Deathtrap?


Minecraft Invisible Blocks

Question: I am using Minecraft Pocket Edition and I have been trying and working on this for quite a while and I only got items and players to become invisible, but not blocks and I do not mean barrier blocks. What I mean is to have a command that can turn a block invisible, like a potion, except without any particles showing. Does anyone know what command I can use to help? I am really confused and I need your guys' help.
Answer: You can't turn blocks invisible. You could use a workaround such as giving the player blindness or setting the blocks around them to black concrete (It's fairly close to pure black) but there's no way to make blocks invisible other than breaking them.
You might be able to make all opaque blocks black by referencing this video, but this is most likely a bug and might be fixed in future versions.
Answer: Repeating Command Block:
/execute @e[type=armor_stand,name=invisible_block] ~ ~ ~ clone ~ ~-1 ~ ~ ~-1 ~ 0 50 0
Chain Command Block (Conditional, Always Active, Next to repeating command block):
/execute @e[type=armor_stand,name=invisible_block] ~ ~ ~ setblock ~ ~-1 ~ barrier
Repeating Command Block:
/execute @e[type=armor_stand,name=visible_block] ~ ~ ~ clone 0 50 0 0 50 0 ~ ~-1 ~
To make a block invisible, place an armor stand above it and name it invisible_block. To make an invisible block visible, place an armor stand above it and name it visible_block. This only works for one block at a time.

Minecraft Invisible Blocks


Incomplete word

Question: This is in an astronomy book from 1672. I would need help please identifying the word that ends the second line and begins the third. There seems to be a misprint and a word missing its beginning but ending in "isdem."
Answer: The word seems to be iisdem. (Ricciolus avails himself of the same etc.) Not much of it appears to be missing.
Comment: @PierrePaquette yes, a part of the 'I' appears to be missing from the print or scan.
Comment: Oh! Great! Thank you. I was thrown off by the large spacing before, by the fact that I didn't know this word, by the fact that I didn't even think that a word could begin by two successive "i"s, and by the fact that the top left of the first "I" seems to be missing.

Incomplete word


Can employer see your posting content on a public site when using their network on their hardware

Question: Can the employer identify you as the person that posted on a website (you logged onto the system using their computer) if the computer is replaced by a new one?
Comment: I'm not sure why you tagged this as "passwords". Were passwords supposed to come into the question?
Comment: Why does a change in computers come into play? Are you interested in them tracking you down or the computer you used?
Answer: This question is very broad and thus I can only provide a more or less broad answer instead of something specific to your unknown actual use case:
If the employer has or had access to the old computer or if you used the computer while being in the company network then all the necessary information might be available to the employer. This does not actually mean that they will be available in all use cases and that the employer actually has the knowledge and time (or money) to track you and your postings down, but only that the chance is very high that the employer could do it if he actually cared that much.


How can i find admin panel URL of my prestashop

Question: I am new to prestashop. 2 days before i installed prestashop Version 220.127.116.11 in my localhost. But now i forgot its admin panel URL. Is there any way to find out the URL. Any one please help me.
Answer: View the folder where you installed prestashop and from there you can see all the folders.
Default rename the admin folder with admin plus 4 random numbers, ess admin1234.
If you customized the directory differently compare your folders with the default ones.
By default there are:
Adapter, cache, classes, config, controllers, Core, css, docs, download, img, js, localization, log, mails, modules, override, pdf, themes, tools, translation, upload and webservice.
the remainder is the folder admin.
Answer: if you want to know the url of admin page from where you can manage your products
Just go to the "administration" (e.g 127.0.0.1/administration) page
You can also check the installation directory for admin or administration folder
If you find any folder named admin or administration then type same name after the   hostname of your website.
Now you will reach to login page if you found admin page of the Prestashop.
Then type the email address and password you provided while installing the Prestashop.


Can i have multiple login methods for WSO2 IS/AM?

Question: Currently i am using SSO(single sign on) based user authentication from a primary user store - LDAP. I want to shift to tenant-based authentication keeping my LDAP authentication active. Can these both work together? I did not find any documentation from WSO2 regarding this.
Comment: Do you mean to have multiple sessions in the same browser for different tenants?
Comment: No sir, I want to make authorization via 2 methods: that is from Primary user store as well as tenant based.
Answer: Although you have moved to a tenant mode. You can still create users in the primary user store that you are currently using in the super tenant. When using single sign on you will have to specify the tenant domain to identify the user.
example:
Let's say you have created a tenant named abc.com and a user named kim under that tenant but in the primary user store. When logging in you will have to use the user name as.
username: firstname.lastname@example.com
Also, your service provider application should provide the tenant domain as a query parameter in the request.
Comment: Currently i have configured LDAP as my primary user store. I can login with my username & passwd. In addition to this, i want tenant based login. Is it mandatory to assign LDAP under one of my tenants? Can these 2 methods be set up independently?
Comment: what do you mean by tenant based login? If it is just separating your users based on tenant domain yes it is possible. The LDAP will be the primary user store across all tenants. But you can add users specifying their tenant domain to ldap. When logging also you can use the tenant domain as i mentioned in the answer. Are you refering to something like second factor authentication based on the tenant domain?
Answer: Adding to the answer by @Buddima, if you want users from different tenant to login to your application you need to enable SaaS Application option in the respective Service Provider. Note: if you didn't enable this option you cannot use the one tenant users to log in to other tenant applications.
To have more complex multiple login methods, it is better to use adaptive scripts. There we can have more conditions based on tenants and user stores. To learn more, follow the doc https://is.docs.wso2.com/en/latest/learn/configuring-tenant-based-adaptive-authentication/


Word for someone who has experienced the hardships of life too young

Question: What is a word for someone concerned when they should be innocent or oblivious to hardships? I.e. a child worrying about money or when their next meal is.
Answer: One idiomatic expression that is sometimes used for the phenomenon you ask about is that the person missed out on childhood. The earliest Google Books match for this phrase is fairly recent (1979), but the expression has subsequently generated enough matches to generate an Ngram graph, and a Google Books search for the phrase yields 30 unique matches from 1979 forward.
The expression sometimes comes up in connection with child celebrities, as in this exchange from "Modelling's Just Fun for 12-year-old Brooke," in The Australian Women's Weekly (November 9, 1977):

I asked Brooke [Shields] if she sometimes felt as though she'd missed out on childhood.
"Nope," she answered. "I've had a great childhood — friends and fun and stuff."

But it can also apply to people who missed out on a carefree youth as a result of family- or society-related turmoil and privation, as in Neerosh Mudaly & Christopher Goddard, The Truth is Longer Than a Lie: Children's Experiences of Abuse and Professional Interventions (2006):

Eliza found various ways to cope with the confusions of her life [trapped in an abusive family]:

Yeah, I have a habit of blocking things out. I think I'm an expert at that. ... Sort of maybe it was born in me... {I also} turned to ways of denying all the pain and the issues and whatever. I went through a stage with drinking and the drugs and that didn't particularly help. I was a great one for the old self-mutilation as well.
I think what happens with most kids, is they grow up so quick, I had to grow up too quickly and I just feel like I missed out on childhood pretty much. Which is a pretty huge thing to cope with. Yeah, at times I still feel like I'm sort of stuck there, back in childhood. I didn't really have a choice, you have to grow up pretty fast in that sort of situation, otherwise you don't survive. It's as simple as that.


What is Buddhism's view on past lives?

Question: I have often come across this - our past karma will bear its fruits in the present life or in the future one. So how does one identify the events is the because of past karma? Where is information about previous life stored? Is it recorded in the soul? Does soul have answers of all our questions? How do I access this information? Am I delusional? I wonder.
Comment: A [search of this forum for past lives](http://buddhism.stackexchange.com/search?q=past+lives) reveals several questions on this subject, might be useful to read those.
Answer: So how does one identify the events in the present life caused by karma of previous lives?
The Buddha was able to do so (able to see in detail the consequences of karma); but it's an unusual ability.
See Wikipedia's Enumerations of special knowledges, which includes,

"Remember one's former abodes" (pubbe-nivāsanussati), that is, recalling ones own past lives;
"Divine eye" (dibba-cakkhu), that is, knowing others' karmic destinations;

and which ends with,

The three knowledges are mentioned in numerous discourses including the Maha-Saccaka Sutta (MN 36) in which the Buddha describes obtaining each of these three knowledges on the first, second and third watches respectively of the night of his enlightenment. These forms of knowledge typically are listed as arising after the attainment of the fourth jhana.[11]
While such powers are considered to be indicative of spiritual progress, Buddhism cautions against their indulgence or exhibition since such could divert one from the true path of obtaining suffering's release.

Where is information about previous life stored?
I think that's not explained in the (relatively early) Tipiṭaka.
I think that maybe later schools of Buddhism introduced various theories, for example:

Ālaya-vijñāna ('storehouse-consciousness')
Citta-santāna ('the stream of mind')
Antara-bhāva or bardo ('intermediate state')

I think this subject causes much discussion and different opinions, perhaps because it's not clearly explained by the Buddha.
In his article titled Rebirth and the in-between state in early Buddhism, Bhikkhu Sujato wrote,

So right away we get a good sense for the soteriological significance of rebirth within Early Buddhism. But we have learned little of the mechanics of it: How does it happen? What makes it work? How do we analyze the process in detail? We must admit that the Āgama Suttas do not offer us a detailed explanation of such matters. But this itself has its own significance: for the Āgama Suttas, the underlying basis of rebirth is not the issue. The issue is that rebirth is suffering, and practice is needed to find freedom. A detailed 'scientific' understanding of rebirth is marginal to the liberative teachings of the Āgama Suttas.

Is it recorded in the soul?
Actually, talk about a "soul" doesn't sound like conventional Buddhist doctrine.
Buddhist doctrine includes Anatta.
Here are a couple of quotes about Anatta.

Egolessness (Anattaa)

There are three teachers in the world. The first teacher teaches the existence of an eternal ego-entity outlasting death: that is the Eternalist, as for example the Christian. The second teacher teaches a temporary ego-entity which becomes annihilated at death: that is the annihilationist, or materialist. The third teacher teaches neither an eternal, nor a temporary ego-entity: this is the Buddha.

Miln III.5.6: Soul

The king asked: "Venerable Nagasena, is a soul to be found?"
The elder replied: "According to ultimate reality, your majesty, a soul is not to be found."
"You are clever, venerable Nagasena."
Note:
Vedaguu: a "knower," permanent subject of experience, soul. Vedaguu is an interesting word, originally a brahmanical term related to mastery of the Vedas. The Buddha appropriated it to mean "one who has attained highest knowledge," i.e., synonymous with "arahant." However, as the PED notes: "A peculiar meaning of vedaguu is that of 'soul' (lit. attainer of wisdom) at Miln 54 & 71."

Buddhist doctrine teaches not to view, as permanent 'self', what's found in the present six consciousnesses (i.e. what we see, hear, taste, smell, touch, and think about).
If there is no ego-entity (self-entity) now, then "rebirth" becomes kind of moot.
And in this answer Yuttadhammo Bikkhu wrote,

The Buddha never, afaik, used a term that could be translated as "rebirth". In fact, the idea of anything being reborn goes against orthodox early Buddhist teachings. Throughout the Buddha's teachings, it is made clear that at the breakup of the body there is birth, not rebirth - as in birth of new things, not the return of anything old. etc.

Does soul have answers of all our questions?
Therefore probably not: 'soul' doesn't have answers to all our questions.
The later schools of Buddhism do introduce ideas like Buddha-nature (however I don't know whether that corresponds at all to what you might want to call "soul", and I won't try to describe it here).
In the (earlier) Pali suttas, the Sabbasava Sutta warns that there are questions which should not be attended to:

This is how he attends inappropriately: 'Was I in the past? Was I not in the past? What was I in the past? How was I in the past? Having been what, what was I in the past? Shall I be in the future? Shall I not be in the future? What shall I be in the future? How shall I be in the future? Having been what, what shall I be in the future?' Or else he is inwardly perplexed about the immediate present: 'Am I? Am I not? What am I? How am I? Where has this being come from? Where is it bound?'
As he attends inappropriately in this way, one of six kinds of view arises in him: The view I have a self arises in him as true & established, or the view I have no self... or the view It is precisely by means of self that I perceive self... or the view It is precisely by means of self that I perceive not-self... or the view It is precisely by means of not-self that I perceive self arises in him as true & established, or else he has a view like this: This very self of mine — the knower that is sensitive here & there to the ripening of good & bad actions — is the self of mine that is constant, everlasting, eternal, not subject to change, and will stay just as it is for eternity. This is called a thicket of views, a wilderness of views, a contortion of views, a writhing of views, a fetter of views. Bound by a fetter of views, the uninstructed run-of-the-mill person is not freed from birth, aging, & death, from sorrow, lamentation, pain, distress, & despair. He is not freed, I tell you, from suffering & stress.

You asked in the OP, "Am I delusional?" Maybe this is an explanation: i.e. attending to questions about self-in-the-past and soul, is a recipe for becoming "inwardly perplexed" and "a fetter of views".
(The antidote, i.e. what should be attended to instead, is the four noble truths etc.)
See also The unanswered questions.
Answer: As of my understanding,
There is no such a thing called 'soul', which we take from this life to next life ans so forth. There is only continuous thought sequence.
How I thinks these Karma works on our lives is this. Once we did a thing which cause to a Karma, immediately it generates it's fruits which we will experience either this life or in future. It's like Newton's third law. If we did something, there are counter forces which generated.
Let's say I offered a flower to the Blessed one. First I think I should do this and then I do it. this action has a power which generates a counter power as well. Our thought sequence will experience this counter power in someway. All the incidents, situations to experience this counter power will done by the world/universe.
What lord Buddha said about this is, We as normal people can't think how this happens with our normal minds. But we can think that it happens (like if we did a good thing, a good thing will happen to us. If we did a bad thing a bad thing will happen to us. like wise).
Comment: We are all talking about things according to Buddhism here. So according to Buddhism, there is no soul.
Comment: If we have a something called 'soul' which remains all the time and comes with us for all our lives, then Buddha's word of saying that everything is Anitta' will be false. and hence whole foundation of Buddhism will be scattered.
Comment: @Theravada, please don't be offensive to other members. If someone has doubts about Buddha-Dharma, they are very welcomed on this site, to ask and clarify their doubts.
Comment: We don't know if there is a soul or not! After all, this is all belief, at least ours...
Comment: Hey @draks...  we know there is no soul because we are Buddhists! If you have any doubts about Lord Buddha's teaching what are you doing in Buddhism SE?
Comment: yeah i agree. But i don't understand why people don't use this site to clear their understanding.They just post it. What happens if another newcomer learns that and follow it? People should be more humble to seek out and straighten their views before answering a question that actually has some value to someone.
Answer: As we Buddhists believe there is no Soul. Karma is a universal force that is not yielded or governed by anyone but acts alone in its own right.
There is no personal Karma,Karma is an Universal entity that effects every living thing with the exception of an "Arahant(A one who has reached nirvana)"
So when you do things that generate karma your future immediately changes.
As to Lord Buddha there is no Soul.
The six receptors (eyes,ears,tongue,body,nose,mind) take in preferred forms of input (light,sound,taste,touch,smell,thoughts).Then the mind recognize them and start making thoughts and logic.
This process ends with death.
Lord Buddha said that a dying mind creates a copy of itself when it dies in the next place of birth of this being (Just like you backup your phone or computer).So this new mind will be what this being will recognize as itself.
so there is no soul, it is a backup process of a dying mind. all the memories and karmas get copied.
Please note this is a loose interpretation of a deep "Abhidhamma" teaching. So please refer a good "Abhidhamma" book for further understanding.
The confusion you are in is normal once you learn the right teachings you will get out of it.
Comment: "Lord Buddha said that a dying mind creates a copy of itself" -- Can you reference this statement, i.e. say where it comes from?
Comment: Thanks for the reference. There is a word "*Javana Citta*" described in the Abhidhamma (see e.g. [this answer](http://buddhism.stackexchange.com/a/5144/254) and [these posts](http://buddhism.stackexchange.com/search?q=Javana)). And there's something called "maranasañña-javana" and "cuti-citta" (mentioned in [section VI of this](http://www.accesstoinsight.org/lib/authors/gunaratna/wheel102.html)) ... but although these are Buddhist beliefs, I suppose I don't think of the Abhidhamma as something which the Lord Buddha said -- https://en.wikipedia.org/wiki/Abhidhamma_Pitaka#Origins
Comment: I can give you some guidance to find it but i am sorry i do not remember the name. This is in "Tipitaka". There is a teaching on the last few steps of a mind that is about to die. Refer this word it might help (Javan / Jahan sitha). I heard this in a sermon and if you ask a Sri Lankan you will find it right away. @ChrisW
Comment: We as Sri Lankan Buddhists believe Abhidhamma as a  part of Theravada Buddhism. By the way if we accept it as a theory doesn't it fill in the blanks? I mean  this is the only explanation I've ever found as an answer to the question "what happens to memories when we die". Now when i think of it this might be a great question to ask form our friends. By the way Abhidhamma may or may not be Lord Buddha's but no one has ever proven it wrong or misdirecting (Not even an arahant) @ChrisW
Answer: From what I understand, the concept of soul does not  exist in Buddhist teachings.
It helps to define it properly in English:

Self (there is a self)

No self (there is no self)

Non-self / Not-self
Excerpt below quoted from Strategies of Self & Not-self:

Tonight I'd like to talk more about why the Buddha refused to get involved in the issue of whether there is or is not a self. This will involve discussing in more detail two of the points I made last night.
The first point is that the Buddha's teaching was strategic, aimed at leading to a specific goal: total freedom in the minds of his listeners. The second point is that, as part of this larger strategy, the Buddha had strategic reasons for putting questions of the existence or non-existence of the self aside.
Part of his teaching strategy was to divide questions into four types, based on how they should be best approached for the purpose of putting an end to suffering and stress [§9]. The first type includes those that deserve a categorical answer: in other words, a straight "yes" or "no," "this" or "that," with no exceptions. The second type includes questions that deserve an analytical answer, in which the Buddha would reanalyze the question before answering it. The third type includes questions that deserve a counter-question. In other words, he would question the questioner before answering the original question. And the fourth type includes questions that deserve to be put aside as useless — or even harmful — in the quest to put an end to suffering. And, as I said, the questions, "Is there a self? Is there no self?" are ones he put aside.

Here's the passage where the Buddha explains why:

"Then Vacchagotta the wanderer went to the Blessed One and, on arrival, exchanged courteous greetings with him. After an exchange of friendly greetings and courtesies, he sat down to one side. As he was sitting there he asked the Blessed One, 'Now then, master Gotama, is there a self?' When this was said, the Blessed One was silent. 'Then is there no self?' The second time the Blessed One was silent. Then Vacchagotta the wanderer got up from his seat and left.
"Then not long after Vacchagotta the wanderer had left, Venerable Ānanda said to the Blessed One, 'Why, Lord, did the Blessed One not answer when asked a question by Vacchagotta the wanderer?'"
And here's the Buddha's response: "Ānanda, if I, being asked by Vacchagotta the wanderer if there is a self were to answer that there is a self, that would be conforming with those brahmans and contemplatives who are exponents of eternalism [the view that there is an eternal, unchanging soul]. If I, being asked by Vacchagotta the wanderer if there is no self were to answer that there is no self, that would be conforming with those brahmans and contemplatives who are exponents of annihilationism [the view that death is the annihilation of the self]. If I, being asked by Vacchagotta the wanderer if there is a self were to answer that there is a self, would that be in keeping with the arising of knowledge that all phenomena are not-self?"
And Venerable Ānanda said, "No, Lord."
Then the Buddha said, "And if I, being asked by Vacchagotta the wanderer if there is no self, were to answer that there is no self, the bewildered Vacchagotta would become even more bewildered: 'Does the self that I used to have now not exist?'"
— SN 44.10
Comment: That talk and that sutta are also in the topic, [How is it wrong to believe that a self exists, or that it doesn't?](https://buddhism.stackexchange.com/q/15898/254)

What is Buddhism's view on past lives?


Grant access with Apex Manage Sharing

Question: If OWD for an object is "private" and the permission set for the user is "Read only" can I assign the "Edit" permission with Apex Manage Sharing?
Answer: No, you can't provide edit privileges to records using apex manual sharing. As Apex Manual Sharing just share record which act like record level sharing but user should have edit privileges to object and field to perform edit operation on it.

Grant access with Apex Manage Sharing


Wordpress with Haml/Sass

Question: Having used Haml and Sass for a few Rails side projects, I've found that they speed up my frontend development tremendously.  However, I haven't found a Rails blogging platform that's as robust or familiar to clients as Wordpress, so that's still generally my go-to for projects that require a light website with basic CMS / blogging functionality. (I've looked into Radiant, Mephisto, etc, and while I certainly appreciate suggestions of Rails blog engines, that's not really the question I'm looking to answer here.)
I'd really like to be able to use Haml and Sass in the context of a Wordpress site, and while I'm aware of the existence of various PHP implementations, most seem inactive or buggy.  Has anyone here had success using Haml and Sass with Wordpress sites?  I'm asking this both in the context of Wordpress template files (the .php files that power a Wordpress theme) and in the HTML editing mode of the Wordpress editor, though the latter is far less important.
Note:  I'm aware that I can just install the appropriate ruby gems and compile my own HTML/CSS from the Haml/Sass source; what I'm looking for is something more along the lines of the functionality I'm used to in Rails, where the compiled HTML/CSS is autogenerated on a per-request basis (caching behaviour would also be nice, but is certainly not required).
Thanks in advance!
Answer: You probably want to check out WORDLESS
https://github.com/welaika/wordless
It's a Wordpress plug-in that comes with compass/SASS, CoffeScript, and Haml.
Answer: I'm in the same boat with respect to the sites with a low demand for customization. I'm so used to Haml and Sass that going back to HTML and CSS seems painful. PHamlP has gotten some good reviews, especially because it supports Sass: (http://code.google.com/p/phamlp/). Still, there's no substitute for the real thing.
If it were my project, I'd consider Compass and just do a compass update when I made changes. Sass is too good to pass up. Haml is your daily bread and butter, but Sass can really help you make pages sing. It suggests stylesheet refactorings you might never have thought of otherwise.
Answer: Here is a new plugin I just released: http://wordpress.org/extend/plugins/wordpress-sass/
It does use PHamlP, with all its warts, but at least it doesn't require Compass on the server.
The plugin is very simple to implement and automatically regenerates your style.css whenever the style.scss file (or whatever you choose to name it) is updated.
More info: http://blogrescue.com/2011/12/sass-for-wordpress/
Ed
Answer: I created a development toolkit to make using HAML, PHP, and SASS a breeze with WordPress themes. It also compiles your JavaScript! Everything ends up compiled together into a WordPress theme. When I came across this question, this was my solution. I hope this helps a bit:
https://github.com/zachfeldman/wordpress-haml-sass
Answer: Haml requires Ruby at runtime. So you will not be able to use that for Wordpress templates. Thus, you have to rely on a PHP implementation.
For Sass, you can use the console tool Sass --watch for auto-compilation. See this blog post. Additionally, there is the Compass App, which gives you all the Compass features in a convenient OSX app.
Answer: For HAML there is http://haml-to-php.com now. phamlp is too broken. Without rewrtiing it from scratch you can't make it work. See github.com/MarcWeber/phamlp. Eventually a decent SASS implementation will be created as well.
Answer: If you don't afraid of edge, you can try this plugin for Wordpress: https://github.com/sxua/HAML-SASS-for-Wordpress.
More details soon at Github.
Answer: Not as cool as running it on the server on a per-request basis, but FWIW, I built a script to auto-compile my haml/sass on my dev machine so at least I can use haml/sass to easily generate my Wordpress templates and CSS: https://gist.github.com/1169586 Enjoy!
Answer: I realise this is an older thread, but I landed here so others might too. There are a number of gulp and grunt plugins that will do this, however if you're on OSX, CodeKit is super convenient.
And the folks over on this SO thread, offer suggestions on how to compile haml in php files.

Wordpress with Haml/Sass