I have a quick question about profiles or the "about me" section of your profile, I know a lot of people might feel it's nonsense but hey: I respect your opinion so don't brush off, just let me know what you think...   I have seen people link their blogs, facebook, or twitter, etc... - so I want to know how deep can you go with your profile - with deep being the definition of can anything, you put in your profile not seem to look like spam, or self exposure, or abusing the site or violating it??   What I intend to do after getting a response from you guys is link or add referrals, banners, projects, or other content that tends to only merit me.  By the way, I am a young developer so improvements and progression is what I am yearning for...!
Are there any rules concerning what I can put in my profile?
While browsing on Safari and listening to iTunes I come across a video and then press the "play" button on the keyboard (to stop the music while I watch the video) it starts/stops the video instead of the music (I have no control over the music).  How can I quickly play/pause my music without affecting the video? Is leaving airport at a stop before the final destination illegal? There are tricks such as  or  which involve booking a ticket composed of several connecting flights, then leaving the airport at a stop, possibly even "hopping off" a plane (intermediate landing). Rationale: Sometimes these tickets are cheaper than a ticket to one of the stops. So one adds an additional leg and discards it.  Some people say that when using such tricks, one enters a legal gray area. But I wonder:  Could leaving the airport at a stop really be illegal, i.e. violating an airline's or a travel agency's terms?  Also there are suggestions that one should not request an upgrade, because then the trick may be discovered by the airline. Here I wonder:  How can they know that one will throw away the last leg? What is a wizard that makes them non-Muggle? Or, more directly, what ancestry does the witch/wizard gene follow? Is there a patriarchal wizard (or matriarchal witch) that Muggles have no part in? Elves perhaps? Stop reading here.  Purpose of the Question/History/Don't Read There seem to be solid consequences associated with being Muggle, or Muggle-related. A dominant theme in the novels is discrimination against the non-gifted race, but, when read into, the wizard bloodline doesn't appear all that well defined. JKR indicates that wizard-ness is genetic, or inherited:  &quot;Muggle-borns will have a witch or wizard somewhere on their family tree, in some cases many, many generations back. The gene resurfaces in some unexpected places.&quot;  By the above, it stands that a family that produces a squib (non-magical born of magical parents) must be a half-blooded family in some way, since half-blooded only requires one non-magical ancestor. Of course, we are dealing in magic genetics. Any other form of genetics would make this inherited, seemingly recessive trait (or squibs couldn't exist), never appear at all. Unless they were XMen. If it is so important, what does the wizard-bloodline follow? Other Mythos In other literature a wizard can be nearly anything, but magical powers are typically inherited as well as learned. Merlin of the Arthurian Legend (also mentioned in HP) is Cambian, meaning he is born of demonic intervention; this explains his source of enchantment. Gandalf of Middle Earth is a Maiar, as are all Wizards of Middle Earth. Wizards in Harry Potter seem to follow a bloodline, and it has been mentioned (in the question Gabe linked) that genetics have a heavy play in it, meaning that squibs and parents of Muggle-born wizards should have identical genetics. This bloodline must come from somewhere. Magical Creatures In Harry Potter it is common for magical creatures to &quot;mingle&quot; with humans, these beings are typically somewhat magical. Elves have been described to have very strong magic, but are for some unreasonable reason subservient to humans. I may be mistaken, but believe it was hinted that elves and the wizarding lineage had intersected at one time. Maybe I'm imagining this. Genocidal Allusions Voldemort hates muggles, and half-bloods, and whatever else is non-wizard. The presence of this theme, suggests that this wizardly bloodline must be at least defined if the main antagonist is so obsessed with keeping that mysterious bloodline pure. Since Slytherin himself was said to be a supremacist (circa a really long time ago) it suggests that this bloodline should have existed long before he was around, especially if he founded a school with people he was not related to, but were also magical. What is appropriate to use here, who or which?       There are around 50 companies who/which deliver scanning services to private and business consumers. How do I convert a hex string to an int in Python?   I may have it as "0xffff" or just "ffff". Let $trcA=0$.why $A=M+N$ where $M$ and $N$ are nilpotent matrices? How can we run a command stored in a variable? $ ls -l /tmp/test/my\ dir/ total 0   I was wondering why the following ways to run the above command fail or succeed?  $ abc='ls -l "/tmp/test/my dir"'  $ $abc ls: cannot access '"/tmp/test/my': No such file or directory ls: cannot access 'dir"': No such file or directory  $ "$abc" bash: ls -l "/tmp/test/my dir": No such file or directory  $ bash -c $abc 'my dir'  $ bash -c "$abc" total 0  $ eval $abc total 0  $ eval "$abc" total 0 Why was the Holdo manoeuvre not used earlier? This question is related to "The Last Jedi":  The maneuvre that vice admiral Holdo (with the purple hair) uses towards the end of the film seems remarkably effective.   It seems that it would have worked pretty well much earlier. Especially as two other ships were just allowed to run out of fuel and be destroyed.  It seems doing it earlier with different assets would have incurred less losses. Yet nobody seemed to consider it. Any in universe reason why? Caps-lock remapping stops working I'm looking for a way to insert a &lt;style&gt; tag into an HTML page with JavaScript.  The best way I found so far:  var divNode = document.createElement("div"); divNode.innerHTML = "&lt;br&gt;&lt;style&gt;h1 { background: red; }&lt;/style&gt;"; document.body.appendChild(divNode);   This works in Firefox, Opera and Internet Explorer but not in Google Chrome. Also it's a bit ugly with the &lt;br&gt; in front for IE.  Does anyone know of a way to create a &lt;style&gt; tag that   Is nicer Works with Chrome?   Or maybe   This is a non-standard thing I should avoid Three working browsers are great and who uses Chrome anyway? Correcting for multiple kruskal wallis tests PCA on correlation or covariance? Why can't I travel onwards if my bag wasn't going to make the flight? I was flying KLM from the UK to the USA with a short layover in Amsterdam.  Because of delays in the UK, I almost missed my flight.  The flight attendant told me my bag wasn't going to make it, but if I walk fast, my gate is just two over.  When I got to the gate, they had already closed the doors, but the counter was opened - I mentioned that my bag was not going to make it, but that's okay.  She said, "hold on," got onto her walkie-talkie, and said,  "Yep, that's what I thought: you can't fly if your bag's not going."  I originally thought that it might be a security concern, but that doesn't really make any sense.  Why can't I travel if my luggage doesn't make the connection?  EDIT: I should clarify that I have no beef with KLM - they treated my overnight in Amsterdam professionally and helpfully; I'm just curious what the reason would be. Where does the idiom "beating around the bush" come from? Where does the idiom "beating around the bush" come from? How can I find all files that do NOT contain a text string? What concise command can I use to find all files that do NOT contain a text string?  I tried this (using -v to invert grep's parameters) with no luck:  find . -exec grep -v -l shared.php {} \;   Someone said this would work:  find . ! -exec grep -l shared.php {} \;   But it does not seem to work for me.   has this example:  find ./logs -size +1c  &gt; t._tmp while read filename do      grep -q "Process Complete" $filename      if [ $? -ne 0 ] ; then              echo $filename      fi done &lt; t._tmp rm -f t_tmp   But that's cumbersome and not at all concise.  ps: I know that grep -L * will do this, but how can I use the find command in combination with grep to excluded files is what I really want to know.  pss: Also I'm not sure how to have grep include subdirectories with the grep -L * syntax, but I still want to know how to use it with find :) Different behaviour for list.__iadd__ and list.__add__ I want to start a modal operator by clicking a button in a panel in the properties region. It should then stop when I click somewhere in the 3D viewport. I want to execute some code when I start and finish the operator (see the code below). I tried modifiyng the modal operator template with an execute method to start the modal operator. But the now the context.space_data.type is always &quot;PROPERTIES&quot; because that's where the panel is located, I guess. Is this a bad way of doing what I want? class MY_OPERATOR_OT_click_on_3dview(bpy.types.Operator):          bl_idname = &quot;mesh.click_on_3dview&quot;     bl_label = &quot;Click on 3D&quot;      def modal(self, context, event):                  if context.space_data.type != 'VIEW_3D':             return {'PASS_THROUGH'}                  if event.type in {'MIDDLEMOUSE', 'WHEELUPMOUSE', 'WHEELDOWNMOUSE'}:             # allow navigation             return {'PASS_THROUGH'}         elif event.type == 'LEFTMOUSE':             # DO ALL THE POST-SELECT STUFF             return {'FINISHED'}         elif event.type in {'RIGHTMOUSE', 'ESC'}:             return {'CANCELLED'}          return {'RUNNING_MODAL'}      def execute(self, context):         # DO ALL THE SETUP STUFF           context.window_manager.modal_handler_add(self)              return {'RUNNING_MODAL'}            def cancel(self, context):         print(&quot;CANCEL???&quot;) If I just render the default cube it will look like this:   It is rendered with color depth 16. I can see there are artefacts consisting of visible "line strokes" on some of the cube faces.  The bands seems to not go darker and darker, but alternates between light and dark, or is my eye fooled?  Why?  Edit  Here comes a gradient created by gimp without banding, using the same computer: Why does an environment's label have to appear after the caption? Inertial frames of reference I'm struggling with the notion of an inertial frame of reference. I suspect my difficulty lies with the difference between Newtonian and relativistic inertial frames, but I can't see it.   I've read that Newton's laws apply in any non accelerating frame of reference, which are called inertial frames. So, if I play pool on a train moving with uniform velocity, the balls behave in the same way as if I were playing pool in a pool hall. So the train is (to a good approximation, ignoring forces caused by the Earth's rotation and movement around the Sun etc) an inertial frame.   I've also read that in an inertial frame, Newton's first law is satisfied. So, if I slide a rock on a sheet of ice and I could somehow eliminate the frictional forces between the rock and the ice, the rock would carry on sliding for ever, as predicted by Newton's first law.   Question 1 - is the  sheet of ice also therefore a good approximation to an inertial frame?  Question 2 - are these two definitions of inertial frames saying the same thing in different ways?  Both these examples occur in gravitation fields, which doesn't seem to matter as both the train and the ice sheet are presumably good approximations to inertial frames.  Question 3 - is gravity irrelevant when defining these two inertial frames?  In special relativity, I've read (Foster and Nightingale) that an inertial frame is also one where Newton's first law holds. But as it's special relativity there cannot be an inertial frame if there's a gravitational field, so I'm assuming the above two examples are not inertial frames in special relativity.  Question 4 - how come you can use the same definition of an inertial frame (satisfied Newton's first law) but in the case of special relativity, the train and the ice sheet aren't inertial frames. Is this to do with not being able to synchronize clocks in a gravitational field?  In general relativity, I've read (Schutz) that a freely falling frame is (on Earth) the only possible (and local) inertial frame. So again the first two examples would not be inertial frames in general relativity.  Question 5 - am I right to think that my two examples aren't even approximate approximations to an inertial frame in relativity?  Question 6 - have I missed anything else that might be useful?  Many thanks  Edit. On reflection, am I right in thinking that because Newtonian mechanics assumes universal, absolute time we don't need to worry about synchronizing clocks in a Newtonian inertial frame. Therefore we don't need to worry about gravity in a Newtonian inertial frame, because in such a frame gravity does not affect time.  This is not the case in spacetime, as here gravity does affect time and the only way to have synchronized clocks in an inertial frame in spacetime is: 1. have no gravitational field, or 2. use a local, freely falling frame.  Am I on the right track here?