I basically want to save state of some object to restore it later, these objects are not attached to the DOM and are not html elements, just objects in Javascript. I am not interested in a debugger/visualization tool.  But I need the actual code of the custom event listeners that are also attached to the object.   These event listeners were attached via jQuery and the functions were anonymous and provided by the user.  Is there anyway to accomplish this?
I have a page where some event listeners are attached to input boxes and select boxes. Is there a way to find out which event listeners are observing a particular DOM node and for what event?  Events are attached using:    Event.observe; DOM's addEventListener; As element attribute element.onclick.
How can I use color in a mathematical expression without losing horizontal spacing? How do you get to the Secret Room in the Tavern? My friend and I noticed that there seems to be an inaccessible room in the Tavern with something behind it. We saw that there was a Treasure Chest seemingly floating somewhere off the map.     In addition, if you walk up to the second floor of the Tavern and position your camera through the wall just right, you can highlight something called the Defender's Forge.   Confirmation of the speculation was confirmed in the notes for the 7.07 patch, which had a note that said the following:     Moved bonus-item crates back into the main section of the Halloween Tavern, out from the Secret Room.   What is this Secret Room? How do I get there? Do I need to beat the campaign first or something else? GR. Einstein's 1911 Paper: On the Influence of Gravitation on the Propagation of Light I wonder  whether there is a function $f\colon\Bbb R\to\Bbb R$ with the folowing characteristic?   for every two real numbers $\alpha,\beta,\alpha\lt\beta$,  $$\{f(x):x\in(\alpha,\beta)\}=\Bbb R$$   I can't  say such a function does not exist, neither can I construct a example  Thanks a lot! Is it possible to create 3D red/cyan anaglyphs in a hand drawing? There are plenty tutorials online on how to create 3D red/cyan anaglyphs from existing photos in Photoshop or similar software. However, I'm wondering if it is possible to draw a 3D image by hand on for example a whiteboard using markers.  My plan is to tape together a red and blue marker and draw with it using the same rotation/inclination of the marker across the drawing. Will this give a 3D effect when viewed through red/cyan glasses? Or is the 3D anaglyph method more complex than just offsetting red and cyan lines? Is JavaScript a pass-by-reference or pass-by-value language? What documents to show if I'm a US citizen with no US passport to re-enter the US? Suppose I am a naturalized citizen of the US, but also a citizen of another country, "XYZ". I then boarded a plane and left the US to another country (maybe not necessarily to XYZ), without first getting a US passport, but using my old, but valid XYZ passport.   In this case what would be the best documents to have for me to gain entry back into the US as a US Citizen without a passport?  Would I need to contact the US Embassy for help in order to be able return?  If the airline does let me aboard to return to the US, even without the US passport, what are the best documents could I show at the border to prove I am a US citizen but that I just don't have a passport, for whatever reason? After beating the final boss, can I return to the original castle? -I'm not a religious person so this is not a denial. I'm just trying to understand the most fundamental topic about Universe.  -I know the Big Bang cosmological model is not a law but it's a theory.  -I'm a non-Native English speaker so please let me know if the question is not clear for you.  -This question came to my mind after watching How to get from Heathrow Airport to King's Cross, London? My wife and I will be arriving in London via Heathrow Airport (LHR) and are staying at a hotel near King's Cross station. So, we were wondering what the best (which means fastest but also easiest when carrying two large pieces of luggage and two carry-ons) way to get from LHR to King's Cross?  I gather that, with only one changeover, we can take the Tube. However, in the interest of other passengers, we thought it would be best to take a taxi, or maybe a bus?  Thoughts? Accidently deleted boot option on Dell laptop I have a Dell laptop in which I have dual booted Ubuntu with Windows 10. Usually the laptop loads the Grub menu first.  Recently I had some problems with Windows Bitlocker: every time I open Windows I am prompted to enter the Bitlocker password. In trying to solve this, I accidentaly clicked Ubuntu in the "Delete Boot" option in the boot sequence. Now the laptop boots directly to Windows without first loading the Grub menu.  Luckily, when I restarted the system and clicked "add boot option" I found the efi folder in which the Ubuntu folder is present. In Ubuntu there is fwgrupx64.efi, grubx64.efi, grub.cfg, shimx64.efi, mmx64.efi, and BOOTX64.CSV. On clicking grubx64.efi it shows "Boot name not found".  How can I recover the Grub boot menu? Why is Facebook missing from the list of ways to share a page in Safari?  That option used to exist before the latest update.  When I'm directed to the extensions box Facebook is not there. Training on the full dataset after cross-validation? TL:DR: Is it ever a good idea to train an ML model on all the data available before shipping it to production? Put another way, is it ever ok to train on all data available and not check if the model overfits, or get a final read of the expected performance of the model?    Say I have a family of models parametrized by $\alpha$. I can do a search (e.g. a grid search) on $\alpha$ by, for example, running k-fold cross-validation for each candidate.   The point of using cross-validation for choosing $\alpha$ is that I can check if a learned model $\beta_i$ for that particular $\alpha_i$ had e.g. overfit, by testing it on the "unseen data" in each CV iteration (a validation set). After iterating through all $\alpha_i$'s, I could then choose a model $\beta_{\alpha^*}$ learned for the parameters $\alpha^*$ that seemed to do best on the grid search, e.g. on average across all folds.  Now, say that after model selection I would like to use all the the data that I have available in an attempt to ship the best possible model in production.  For this, I could use the parameters $\alpha^*$ that I chose via grid search with cross-validation, and then, after training the model on the full ($F$) dataset, I would a get a single new learned model $\beta^{F}_{\alpha^*}$   The problem is that, if I use my entire dataset for training,  I can't reliably check if this new learned model $\beta^{F}_{\alpha^*}$ overfits or how it may perform on unseen data. So is this at all good practice? What is a good way to think about this problem? breaking of output into new lines I created a script ./abc.  I want to break the ouput into new lines.  mycode:  #!/bin/bash dir="$1"  echo -n "size of file:" du -hba $dir | sort -n -r | tail -1   my output is:   size of files: 20kb /path/to/sport   I want the output as:  size of files: 20kb          /path/to/sport Money transfer from India to USA My daughter is a US Citizen. We (parents)are also planning to permanently settle in US. We will go their as Permanent Resident,as per US Law. We have a house here in India worth Rs.2 Crores.  We want to sell it and take money with us. We have ordinary savings Bank account here in India.  My US Citizen Daughter is a Income Tax payer.  Now your advises are required as under:   What are the routes to take money from India to US and our tax liabilities Can I gift this whole amount to my US Citizen Daughter or what is the maximum limit of Gift amount.  What will be the tax liability on me and on my Daughter in case of Gift   Whether I have to show it in my Income Tax Return or in my Daughter's Tax Return. What US Income Tax Laws says. What will be the procedure to send money as Gift to my Daughter. Will the money will go directly from my Bank Act.to my Daughter's Bank Account. Will there will be wire transfer from bank to bank Can I send money through other money sender Certified Companies also.    Please advise. If there is something more on the subject to make me understand, please advise. Thanks, Seeking documentation for {z}/{x}/{y} syntax in tilesource urls? Speaking of tilesource urls such as   http://{s}.tile.stamen.com/watercolor/{z}/{x}/{y}.png  is there any technical documentation or canonical reference for the curly braces syntax?  I'd specifically like to know what other things can be used in curly braces, and in which places, and how they work. Blender Cycles Bake Not Looking Like Object in Rendered View I have a couch in Blender that looks like this in rendered view.    I baked it with a combined texture and this is what it came out to be.    This is what it looks like added to the mesh.    Why does the view with the baked image not look exactly like the rendered view?  Does it have something to do with my mesh and faces?  This is my mesh.    This has never happened to me before as I baked a couple things before this which came out perfectly. Exporting QGIS contour attributes in DXF file? I have a .tiff data file that generates contours in QGIS. I save it as .dxf. The contours don't have any attributes or data. That's bad, because I want to make a 3D landscape in Revit using the information.   How do a save/export the contour lines from QGIS so that they have a z-elevation attribute or at least some information?    I ticked the attributes box when extracting the contours, but the attributes doesn't show in the dxf. How do I escape a backtick ` within in-line code in Markdown? How do I escape a backtick ` within a code block?  This is probably a duplicate, since I'm sure it's a common concern, but I can't find a question that addresses this specifically.  How do I write List'1 with the "1" character still in the code-text format? Can't update because the word prox* is blocked I live in Ethiopia and the government blocks all urls with the word "proxy" in them. I couldn't use that word in the title above because that would make the url contain the word proxy.   When I apt-get upgrade I get errors because some packages like libproxy1, libproxy1-plugin-gsettings, libproxy1-plugin-networkmanager, python-libproxy all contain the p word.  Therefore, it is all blocked. I tried putting the urls into proxy sites, but they all just returned to their home page.   Are there any other solutions?