Why use an interface in Apex?
Abstract, Interface, Classes OH MY - Question on Approach
I'm trying to figure out a good workflow for developing scripts and add-ons in Blender. Here's what I'm currently doing as I try my luck with a PyNode add-on:   Open blender Create a text editor panel Open my script (external text file) Edit my script in a nice external editor Reload the script Save the .blend file Run the script   Now that I can see what my code does, this Blender instance has been modified, so I can't (make changes to my script and) run my script again. So I do this:   Close blender Open blender with the .blend from step 6 and repeat steps 4-7, over and over and over..   Is there a better workflow for this sort of thing? Forms: Modal dialog or separate page in single page app? In my application, I have pages that show lists of some objects, for example "People" or "Contracts".  From these pages, the user may create a new object.  Often these objects only have a handful of properties, maybe 4 or 5.  My question is about the best approach for the forms used for creation of new objects.  Sometimes I have used a separate page, especially when the number of properties is greater than 5-6.  Sometimes I have used a modal dialog.  I have even seen some applications that insert an empty row into a table and you fill-in the values.  (I will not be doing that!)  Any UX-preferences or suggestions for what approach to take?  Also- is it important to be consistent between different types of objects?  Or is a mix of approaches OK?  The technology of my application (Ember.js, single-page app) allows me to navigate to a different page instantly, so any timing difference between approaches is not a factor.  In fact, the animation of the Bootstrap dialog takes longer than the page transition.  The application is a back-office administrative system for insurance companies. Best practices for storing UI settings? we're currently planning a larger WPF LoB application and i wonder what others think being the best practice for storing lots of UI settings e.g.   Expander States Menu orders Sizing Properties etc...   i don't like the idea of having dozens of stored values using the delivered SettingsProvider (i.e. App.config file) although it can be used to store it in an embedded database using a custom SettingsProvider. being able to use some kind of databinding is also a concern. Has anyone had the same problems?   What did you do to store lots of ui user settings? Let's say I have a document that has many pages and some pages have different formats. For example, most of the pages are fine with \documentclass{article} but there may be pages in the middle that I want to be \documentclass{letter}. I want my letter pages to be numbered inline with the other pages and have them show up in the Table of Contents.   Is it possible to change the class used for an individual or range of pages while still keeping things like page numbering consistent across them?   EDIT I'm trying to create a "welcome to the company" sort of document that has a cover page, table of contents, welcome letter, then various sections of information. I've never tried this in anything other than a word processor where it's easy to set "master pages" or "template pages" for individual pages in the document. So I could use a letterhead template page for the welcome letter part and a standard article-type template for the rest and still have the letter numbered/referenced in the ToC.   So the idea was to take advantage of the classes written, if possible, rather than have to format a single page by hand differently from the rest. Feed randomly gone on SE Android app SE Android App Version: 1.0.84  There is a display issue in the Feed section. The Earlier today, the below sections and the post title are not visible.  There is no exact steps to reproduce. It doesn't happen when the app is initializing. But if you open the Stack Exchange app, navigate to some other apps, then come back after few minutes, I can see this issue (but not all the time).  When the issue is there, if I manually click the Feed option in the navigation sidebar, the display issue is fixed.  I have recorded the issue: How should a question which quotes a question be punctuated? Suppose there is a sentence in question form, like the one appearing below:     Where do you belong to?   Now, if a speaker refers to that question, he will frame another sentence and will place the question in the quotation marks in that sentence, like what is appearing below:     They said, "Where do you belong to?"   Now, if the speaker wants to convert this sentence too in question form, he will put the original question in another question, like what is appearing below:     What did they mean by saying "Where do you belong to?"   Now, if the speaker wants to rephrase this sentence, it would become as follows:     By saying "Where do you belong to?" what did they mean?    My question is how the 4th sentence is to be punctuated. It has two question marks in it. Does the sentence correctly take two question marks? If so, why will the 3rd sentence not take two question marks − one, just before the closing inverted commas and, the second, just after those commas? The 4th sentence and the 3rd sentence are all same, except being a bit different in placement of the words. Will they take two different sets of punctuation marks? The Stack Overflow search shows questions twice. See  for example.  Results include "A: Add Search Engine into MVC Music Store" and "Q: Add Search Engine into MVC Music Store".  Why is search displaying the question twice, and what does "Q" and "A" mean?  Edit:   @Stephen answer :  The search is returning both a question (Q) and an answer (A) to the question, as both posts match your search criteria.  and my another question  If the question have multiple (like 100) answer ,then the answer link(A: Question Link) shown 100 times?  Is it correct functionality ? But i saw only one answer link , not a other answer link .. why ? Trigger for avoid insertion from data loader? i have scenario like write a trigger avoid insertion of records  from  data loader,only manual insertion trigger will fire?on any object     while Entering records from data loader trigger should not fire? Where to find Birth and Death Records for Bucharest, Romania? My husband's family came from Bucharest. Specifically his mother was born in Sibiu.  I have been able to piece together names and relations of several grand and great grandparents from word of mouth and some fortunate pictures they had of the cemetery in Sibiu.  I cannot however find any records of birth's and death's for any of them.   Are there sites or organizations that hold records for Romania? Segmentation fault on large array sizes Returning multiple values from a C++ function Under what circumstances will a passive HDMI-to-VGA adapter work? I have bought a no-brand, passive HDMI Male to VGA Female adapter, to link up a PC with a more dated monitor. It did not work.  After doing some reading, I have learned that buying such an adapter is often discouraged because in many cases it will not convert the signal from Digital to Analog, or the Motherboard/CPU on a specific computer might not be compatible with that particular adapter.   So my question is: seeing how there are so many of these passive adapters on the market, are there circumstances under which they actually do suffice to connect an HDMI output to a VGA input? Or are they generally just a rip-off?  Example of the kind of adapter I bought: Skip empty rasters in ArcGIS I'm trying to write some code to skip over empty raster sets when converting rasters to point (the empty sets stop the conversion, leaving me with a half complete model run).  I know that I can identify empty rasters using the ALLNODATA result from "Get Raster Properties" .  I know I can delete rasters using the Delete.management tool.  I know I should be able to create a branch using calculate value.  But I'm inexperienced with python and modelbuilder, and haven't been able to put this all together. Could someone help me figure out what I am doing wrong? My code and an image of the modelbuilder setup are below.  def fn(Property):  #Import modules      import arcpy  #ifelse statement if Property == "1":             return "true" elif Property == "0":            return "false" Okami is now reborn in High Definition for PS3. The graphics are obviously better, sharper and yet preserves the gist of the original game, however I can swear some of the texts have changed as well.  My PS2 console is no longer available to me so I can't test it myself, but does anyone know whether there are any changes to the game (aside from graphics) or not? How can I remove a key from a Python dictionary? CSS Display an Image Resized and Cropped I want to show an image from an URL with a certain width and height even if it has a different size ratio.  So I want to resize (maintaining the ratio) and then cut the image to the size I want.  I can resize with html img property and I can cut with background-image.  How can I do both?  Example:  This image:     Has the size 800x600 pixels and I want to show like an image of 200x100 pixels   With img I can resize the image 200x150px:  &lt;img      style="width: 200px; height: 150px;"      src="http://i.stack.imgur.com/wPh0S.jpg"&gt;    That gives me this:    &lt;img style="width: 200px; height: 150px;" src="https://i.stack.imgur.com/wPh0S.jpg"&gt;       And with background-image I can cut the image 200x100 pixels.  &lt;div      style="background-image:            url('https://i.stack.imgur.com/wPh0S.jpg');      width:200px;      height:100px;      background-position:center;"&gt;&amp;nbsp;&lt;/div&gt;    Gives me:        &lt;div style="background-image:url('https://i.stack.imgur.com/wPh0S.jpg'); width:200px; height:100px; background-position:center;"&gt;&amp;nbsp;&lt;/div&gt;      How can I do both?  Resize the image and then cut it the size I want? Found the alternative form: $\sum _{k=1}^\infty ((1-\frac{1}{k})^{k})^k$. Tried various criteria, no luck so far. Close Vs Closed and Open Vs. Opened Which board is proper to describe the state of any shop/restaurant?  For instance,     A restaurant with the board Close OR Closed?    A restaurant with the board Open OR Opened?   Well, if I think 'closed' is used when the restaurant is permanently or temporarily closed for more than a day (say for holidays or renovation), what about the conversation mentioned below? It takes -ed even for that day!     "Hey Mike, I forgot my specs at home. Do you see the restaurant there at distance? Is it open?   "Yeah, I do see. But it's closed.   I think open/opened or close/closed here is not a verb. If it isn't, then what is it in those examples? Ubuntu with spyware? Richard Stallman states that Ubuntu "has installed surveillance code". See:   Is this true?   I agree with him that "Any excuse Canonical offers is inadequate....". How can this English sentence be translated into a logical expression? ( Translating " unless") You cannot ride the roller coaster if you are under 4 feet tall unless you are older than 16 years old.   Let:   $P$ stands for "you can ride the roller coaster" $Q$ stands for "you are under 4 feet tall" $R$ stands for "you are older than 16 years old"   Is this logical expression correctly translated?  $$P \rightarrow (Q \wedge R)$$