Preventing form submission when Enter is pressed
Prevent users from submitting a form by hitting Enter
UITableView cells strangely disappearing I have a very simple component:  PushTopicTest.cmp &lt;aura:component implements="flexipage:availableForAllPageTypes" access="global"&gt;     &lt;lightning:empApi aura:id="empApi"/&gt;     &lt;aura:handler name="init" value="{!this}" action="{!c.onInit}"/&gt; &lt;/aura:component&gt;    PushTopicTestController.js ({     onInit: function(component, event, helper) {         var empApi = component.find("empApi");         empApi.setDebugFlag(true);         empApi.subscribe("/topic/AccountChanges?Id=0011t0000033C9QAAU", -1, function(message) {             console.log("Event Received : " + JSON.stringify(message));         });     } })   I also have PushTopic created like this:   What I am trying to do, is to only receive events for specific record Id. Based on documentation this should work: "/topic/AccountChanges?Id=0011t0000033C9QAAU", but it doesn't.   "/topic/AccountChanges" works though.  I've tried Id='0011t0000033C9QAAU' aswell, but no luck.  Do you know if it is possible at all? I'm not sure how to remove the line that represents the 180th meridian (international dateline) on my polygon. I have the "Russia Country Boundary 2017" feature layer added from the Living Atlas. My Projected Coordinate System is set to "Asia North Albers Equal Area Conic". I've tried to google this question, but I haven't come across an answer I can fully understand. I'm a student and very new to all this!  The line is actually a gap between the polygons.   Using ArcGIS Pro 2.3.1  ANSWER:  It turns out I was not projecting correctly, which was creating issues down the line when editing polygons. Here's what I did...  1. Start a blank project in ArcGIS. Insert new map, go into its     properties, change the Coordinate System to "Asia North Albers Equal     Area Conic".  2. Add "World Countries (Generalized)" from the Living     Atlas. Select Russia and Export Features to new feature class layer.  3. Search and select the Project tool from Analysis>Geoprocessing>Tools.   4. Select the Russia layer for input. Select "Current Map" for Output Coordinate System. Run.  5.Now edit the polygons to close the gap and merge to remove any lines. All done!  The only thing that bothers me with this fix is the addition of shape area (484,914.49674 m²) and shape length (4.59 m) to the original Russia polygon. These numbers could be different depending on how you close the gap, and possibly affect data projections depending on your use of this map? I have installed bootable ubuntu on hard disks but now I can not format them with Disk Utility program. When I try to format it says "One or more partitions are busy on /dev/sdb" for both hard disks. Is there any way to format these drives?  EDIT: With "Disk Utility" program when I select one of the hard drives It shows 3 volumes;  99 MB FAT 111 GB EXT4 9 GB UNKNOWN   I can not format this unknown volume.  With Gparted program, It doesn't shows Unknown volume only shows 111GB EXT4. Almost every time I turn my XBox on and start up Fallout 4, I am unable to use the "Continue" option because the most recent save is corrupt.  I instead use the "Load" option. Here, I can see that the last save I manually performed is perfectly fine, and load it with no problem. However, there is an additional, corrupt save with the same time stamp immediately after it.  This doesn't happen quite every time, but often enough that I'm surprised when there's no corrupt save waiting for me to delete it.  I've tried a few things to solve this, including exiting to the game's main menu before turning the XBox off, going out to the guide before turning the XBox off, turning it off immediately after saving, and waiting a while after saving.  Why do I get all these corrupt saves? Do others have this problem? How do I fix it? After a brief discussion with @MonicaCellio (In the comment) - It has come to my attention that perhaps I chose the wrong words to describe my original idea (In the edit history). When I wrote "social features" I was actually suggesting an alternative way to for users to share their knowledge using a new type of post and articles and not just by questions and answers.   The basics of my idea was to allow users to write articles on topics relevant to the community on the SE websites just as any answer posted is expected  to be too. Allowing users to write their own content (I.E posts/articles/etc..) will be granted as a privilege for advanced users so that not anyone could write stupid things, users that will write content must be established and well-familiar with the rules of SE.   I know anyone can start a blog, but it's require frequent maintenance and content updates, while writing on SE ensure that it addressed to a large, well-established community, with a similar fields of interest.  Posts writing will follow the same guidelines as asking and answering questions does, but it will provide an alternative for users that are mostly answering specific questions, as a new method to contribute to the community.   By writing, one may also reveal more about their personality, wit, way of thinking, ETC. That's when the "social" takes place - You'll also have "authors" and not just "users" you can remember by their catchy name, but people that you can remember by the field of interest they are writing content about.   They key points will be:    Users will be able write rich content with advanced WYSIWYG HTML editor, content that doesn't require a question to answer, but that is still relevant to the SE website it is writing on. Users will be able to Upvote/Downvote other users posts. Posts will be listed on their author profile, so it will not just show the activity, but additional layer of user generated content. Popular posts with high reputation could be associated to tags making the information of tags richer with user generated content Users will be able to include links in answers not only to other questions, but also to posts. User will be able to comment on post to allow the author to correct and improve it. It will improve the interaction and offline discussions (Which are prohibited when it come to long discussions on questions and answers). I believe that users will be happy to share their own tutorials, tips and tricks - Because they are already doing so when answering questions, but before the can start, they'll have to earn enough reputation to ensure that only high profile users will be able to write high profile content, and not just any rubbish. It will provide another type of method for voting and getting earning reputation Users will be able to include content in their CVs on SO Jobs.  Opportunity to earn some new badges.   So it's a Mega feature request and it require some detailed design work, but I do think that it will invite a new type of activity for users on SO (and the rests of the sites of-course). Is it okay to use Stack Overflow as the support forum for a product or project? I recently saw a question about a problem (or possible bug) with some product on Stack Overflow. At first, I wanted to suggest that the asker post his question to that product's support forum.  When searching for the URL of that forum, I noticed that the product developer closed its support forums and now advises users to post all their questions on Stack Overflow instead.  Is this within the intended use cases of Stack Overflow, or is this abuse? Area51 proposals are being advertised now all over the network? While happily browsing  I suddenly noticed this:        Curious, I clicked and landed . Appears to be ordinary Area51 proposal, one out of hundreds.  Do all proposals get such ad at some point? What is the criteria? Any way to ask for such ad? During the movie, we learned that Ego tried to reproduce the Celestial gene by having a lot of children and then having them delivered to him. I am not sure if Yondu was contracted for all of them but he definitely delivered at least a few of them since he broke the ravager code and got banned for dealing in kids.  My question is: why did he stop with Peter? Was Peter the last one on the contract or did he keep on delivering some but just not Peter?  Also, why didn't Ego seek out Yondu to get his kid back?  I don't think this was touched on in the movie. This was slightly mentioned here () but that is not answering my question.  I think Yondu said it was because he could get to places where the Ravagers could not since he was a kid but that would have been true with all the others kids he abducted for Ego. Extrusions causing problems in edit mode When I extruded vertices in edit mode, for some reason one of the sides of my 3-D model (the textured-looking side to the right) is creating a lot of errors. First off, it automatically sets extrusions on the x-axis. Secondly, it doesn't allow me to extrude planes into 3-D shapes. Thirdly, I can't increase the height of vertices without it creating a new face. Finally, it renders those automatic textures to create a grainy black texture in render mode. I attached an image with the solid object (top) and the rendered object (bottom). Note: I did not set any textures or alter the lighting on the model. Also, the left gray side is working perfectly fine without errors. Problem printing LaTeX from lua in lualatex I am having difficulty printing LaTeX from a lua function in a LaTeX document processed with lualatex (version 0.70.2). I have a sample that works (if I remove all newlines from the code) and a case that fails. I don't know why these get different results. Here is the sample that fails:  \documentclass{report} \usepackage{luacode} \begin{document}  \begin{luacode*} tex.sprint([[ \begin{tabular}{ | l | l | p{4.in} | }  \hline  {\bf File} &amp; {\bf Cards} &amp; {\bf Summary} \\ \hline  \end{tabular} ]]) \end{luacode*}   \end{document}   I get an error saying:  ! Misplaced \noalign. \hline -&gt;\noalign               {\ifnum 0=`}\fi \hrule \@height \arrayrulewidth \futurelet... l.22 \end{luacode*}   When I put all of the LaTeX code printed from lua on one line the code works fine:  \documentclass{report} \usepackage{luacode} \begin{document}  \begin{luacode*} tex.sprint([[ \begin{tabular}{ | l | l | p{4.in} | } \hline {\bf File} &amp;{\bf Cards} &amp; {\bf Summary} \\ \hline \end{tabular} ]]) \end{luacode*}   \end{document}   So I have a few question.  First, why does the first example shown above fail? It seems like something I am not aware of is being inserted into the generated LaTeX.  Also is there a way for me to see the actual LaTeX that is generated and processed so that I can debug issues like this better?  Is there a way to tell the lualatex to log the actual LaTeX it tries to process?  Any other suggestions for how to debug a problem like this? elementary row operation change the eigenvalue of a matrix How to disable Chrome's Incognito Mode? Are there functions or packages in Mathematica to sort subsets in lex order, colex, revlex, etc.? I am creating a controller for a 12 V system using an Arduino Uno microcrontroller. For the outputs I am using a relay shield to switch the 12 V components. I have a 12 V toggle switch that turns on some 12 V components in the system and I want to use a trigger signal off of this same switch to send to an Arduino digital input. I know that the Arduino can only handle 5 V max. What would be the best way to step down the 12 V coming off of the switch to the 5 V for the input?  EDIT: The system is for use in a car. Would the amperage of the car battery need to be lowered somehow as to not blow up the components? Travelling from London, Heathrow to Lusaka, via Jo'burg, how much time should we allow for the international connection in Jo'burg?  Is it a matter of arriving at one gate and leaving at another, or do you have to go through passport control, customs, security? Horned Mohawk looking insect. What is it? Any ideas? I didn't know any other way to explain it.  I live in Indiana, USA if that helps.   Someone said it might be a "stink bug" but I'm not sure and not willing to find out! Is there a rule for pronouncing “th” at the beginning of a word? I was having a discussion with a friend of mine about some normal group properties and then came up with the question "if G is not commutative, then is there always a subgroup that is not a normal subgroup?" It's probably more easy to solve this in the following form:$$\forall H \leq G : H  \lhd G \Rightarrow \forall a,b \in G : ab=ba$$ My question is, can anybody give a proof, or a counter-example (because I don't think it holds) of this theorem? Thanks! I'm using a BooleanToVisibilityConverter in WPF to bind the Visibility property of a control to a Boolean. This works fine, but I'd like one of the controls to hide if the boolean is true, and show if it's false.