Say you should be at work.  Would the correct answer be "yes" or "no"? The common answer would be "yes", but isn't that really saying, "yes, I should not be at work"?
If posed with the subject question, given that I will not do the action in question, then what is the correct answer     No, I will not do it.   or      Yes, I will not do it.   #1 sounds better to me, but #2 is more logical. #1 sounds somewhat paradoxical in context of the question.
In the Harry Potter universe, there is a spell that unlocks things. In the books and movies, there are many occasions where the main characters use this spell to open doors in wizard buildings (such as the door leading to where the Philosopher's Stone is hidden, or a door in the Magical Congress Of USA headquarters). Hermione knows the spell in her first year, which seems to indicate it's pretty easy to learn/cast, especially for the average adult wizard.   What I'm wondering, then, is why do wizards lock their doors when it's so easy to unlock them? And if it's so easy to unlock locked doors, why aren't there more doors locked with enchantments? Conditional Rendering inside Visualforce pages How to ensure that string interpolated into `sed` substitution escapes all metachars Paper status changed to “Decision in Process” rapidly after initial submission How to remove comma between taxonomy terms? I style my taxonomy terms as boxes, so I don't need comma between them.  Could somebody give me any advice? How do I create a new object using Python in Blender 2.80? As part of an existing add-on, I'm trying to create an object and add it to the scene using Python. I followed a Blender Cookbook tutorial found here: . I use the following code to do so:  emptyMesh = bpy.data.meshes.new('emptyMesh') theObj = bpy.data.objects.new("object_name", emptyMesh) bpy.context.scene.objects.link(theObj)   But I get the following error when I try to link theObj to the scene objects:  AttributeError: 'bpy_prop_collection' object has no attribute 'link'   This works just fine in Blender 2.76-2.79, but doesn't work in the 2.80 test build I downloaded. Was there a change to the Python API? Or is this maybe a bug in the test build? Show community wikis differently in the Android app Breadboard Confusion I just received the following breadboard in a electronics starter pack I purchased.    I am a little confused in how I would go about prototyping on this board, all the tutorials I have read state that the breadboard should have a positive and negative  input on it. But it appears this one doesn't.  Could anyone help clear my confusion? How did Bill and Percy get 12 OWLs? In Prisoner of Azkaban, Hermione took 12 subjects, and needed a Time-Turner to do so. However, it is mentioned in the series that both Bill and Percy Weasley got 12 OWLs, so would have taken 12 subjects as well, so both would have needed Time-Turners for three years to do this. Doesn't this seem a little unusual, given how strict the Ministry is over the use of Time-Turners,  that they would give them to several Hogwarts students? I am using BusyBox on a small embedded ARM system.  I'm trying to read the "top" output, in particular for the Python process listed.  How much real memory is this process using?  Also what does VSZ stand for?  The system only has 64MB of RAM.   Mem: 41444K used, 20572K free, 0K shrd, 0K buff, 18728K cached CPU:   3% usr   3% sys   0% nic  92% idle   0% io   0% irq   0% sirq Load average: 0.00 0.04 0.05 1/112 31667   PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND   777   775 python   S     146m 241%   3% /usr/bin/python -u -- dpdsrv.py Why do cars gain lift while going at a high speed? I've been researching the physics involved with spoilers and I've just been turning up the same information about spoilers giving the back wheels of a car more traction by acting as an up side down airfoil.   So my question is, what exactly causes the car to apparently gain lift while moving quickly, so as to merit the use of a spoiler, and is this entirely due to the aerodynamics of the vehicle in question?   Edit: Clarity of question. How can I convert raster (stream segments result of a watershed analysis) to vector polylines, preferably shapefile. In ArcGIS this is easily acomplished with the Raster to Polyline tool.  I only see Polygonize (Raster to Vector) tool under the Raster -> Conversion menu. How many rectangles or triangles. Are global variables bad? In C/C++, are global variables as bad as my professor thinks they are? Get total amount of time between records when changed state I have a table, showing the status (healthy, broken) for each device at a given timestamp. I need to get the total amount of time of a whole breakdown.  So the data is stored like this:  device_owner   device_id    timestamp          status owner1         device_1     2001-01-01 09:00   0 owner1         device_2     2001-01-01 09:15   0 owner1         device_1     2001-01-01 09:30   1 owner1         device_2     2001-01-01 09:45   1   and so on.  The example above shows    device_1 was down from 09:00 to 09:30 (total 30 mins),   device_2 was down from 09:15 to 09:45 (total 30 mins)   What I need  Need to calculate the total amount of time for the whole breakdown for owner_1 will be 45 mins (from 09:00 to 09:45) instead of 60 mins (30 + 30).  device_owner   total_breakdown_min owner_1        45   What I've done  Currently I can define a breakdown time for each device separately (device_1 = 30mins, device_2 = 30mins). For this I transformed the table using LEAD over partition by device_owner, device_id and date part from timestamp:  device_owner  device_id     timestamp        status lead_timestamp   lead_status owner1        device_1     2001-01-01 09:00   0     2001-01-01 09:30     1 owner1        device_1     2001-01-01 09:30   1     NULL                 NULL owner1        device_2     2001-01-01 09:15   0     2001-01-01 09:45     1 owner1        device_2     2001-01-01 09:45   1     NULL                 NULL   So the datetime difference between timestamp and lead_timestamp in sum gives me the total breakdown time for a device.  ;WITH LeadStatus AS (     SELECT         D.*,         lead_status = LEAD(D.status) OVER (PARTITION BY D.device_owner, D.device_id, D.date ORDER BY D.datetime ASC),         lead_timestamp = LEAD(D.datetime) OVER (PARTITION BY D.device_owner, D.device_id, D.date ORDER BY D.datetime ASC)     FROM         #DeviceStatus AS D ) SELECT * FROM LeadStatus   It is the same device list for any owner. The data snapshot is to be taken between 2 dates (StartDate, EndDate). The records are written to a DB each n seconds and also when the device status changes. How to create meaningful relationships with NPCs How do I help the PCs to create meaningful relationships with NPCs?   Maybe it is a result of my group playing too many one-dimensional adventures trying to find whatever MacGuffin they are after each week, but most of the time my PCs don't tend to value NPCs too much. Every time they meet an NPC they quickly evaluate what immediate values the NPC can give or tend to ignore them.  What I would really like is to have some good relationships where the PCs actually go out of their way to help NPCs without selfish motivation or even just to try to think of NPCs more and how their actions affect others.  I am not looking for a specific game rules solution to this, but instead techniques to get the players to feel attachment to these fictional characters. The following example must be compiled with XeLaTeX to reproduce the issue.  % arara: xelatex \documentclass{article} \usepackage{fontawesome} \begin{document} Text Text \faMobilePhone\ Text Text \end{document}   Normally I am using TeXworks to compile and view the output. With the internal viewer I am getting the desired result. The following image demonstrates it:    However if I open the pdf with Preview (viewer of Mac) the scaling of the icon fails.     If I open the pdf file with Adobe Acrobat Reader the icon is still scaled correctly. If I print the page my printer is also not able to scale the icons correctly.   If I use LuaLaTeX everything seems to work correctly.   Can you reproduce the issue and do you know a solution? (c) Let $\mathcal{L}^*\subseteq\mathcal{L}^{\text{FOPC}}$ be a first order language of predicate calculus consisting of three unary function symbols $f,g,h$.  (i) Write down an $\mathcal{L}^*$-sentence $\phi$ such if $\mathcal{A}$ is an $\mathcal{L}^*$-structure with $\mathcal{A}\vDash\phi$ then the restriction of $h_\mathcal{A}$ to the range of $f_\mathcal{A}$ gives a one-to-one function onto the range of $g_\mathcal{A}$.  (ii) Write down an $\mathcal{L}^*$-sentence $\psi$ such that if $\mathcal{A}$ is an $\mathcal{L}^*$-structure with $\mathcal{A}\vDash\psi$ and the domain $A$ of $\mathcal{A}$ is finite then the cardinality $|A|$ is a square.    Part (i) is easy enough, but I'm having trouble with part (ii). I assume that you can use part (i). My initial idea was to use $h$ to ensure $|Range(f_A)| =|Range(g_A)|$ but I'm not sure where to go from there. Thanks. I have a sentence:     Please show me the right way so that I can do that rather than take blind action.     Is this sentence grammatically correct?   Can I use instead of to replace rather than? If replaced, the meaning of this sentence is changed?   What is the difference between rather than and instead of? Can you show me some examples to distinguish them? Get index of each capture in a JavaScript regex