Java socket exception: recv failed
Official reasons for "Software caused connection abort: socket write error"
Export File Dialog in Blender 2.80 How can I get bring up a popup file browser in Blender 2.80 invoked by a button click in my addon, to define the name and location of a file to be exported?  In Blender 2.7x, I did this via the context window manager in the invoke function, but it is very possible that this hasn't been the preferred method for years, as I'm not finding useful documentation when I search for how to update this.  class MYTOOL_OT_write_data(bpy.types.Operator):     bl_idname = "mytool.write_data"     bl_label = "Write data file"      directory: bpy.props.StringProperty(subtype="FILE_PATH")     filename: bpy.props.StringProperty(subtype="FILE_NAME")      def invoke(self, context, event):  # 2.7x method         WindowManager = context.window_manager         context.window_manager.FILEBROWSERect_add(self)  # &lt;-- error here         return{"RUNNING_MODAL"}      def execute(self, context):         directory = self.directory         filename = self.filename         # Write csv data file using normal python functionality         return{'FINISHED'}   In Blender 2.80, I am getting the error "AttributeError: 'WindowManager' object has no attribute 'FILEBROWSERect_add'".  Thanks for your help.    UPDATED SOLUTION based on brockmann's solution below.  The trick is to use the ExportHelper util (which existed long before Blender 2.80):  from bpy_extras.io_utils import ExportHelper  class MYTOOL_OT_write_data(bpy.types.Operator, ExportHelper):     bl_idname = "mytool.write_data"     bl_label = "Write data file"      filename_ext = ".csv"  # ExportHelper mixin class uses this     def execute(self, context):         filepath = self.filepath         # f = open(filepath, 'w')         # f.write(stuff)         # f.close()         return{'FINISHED'} Uninstalling QGIS that was installed using OSGeo I installed QGIS using OSGEO4W, and would love to know how to uninstall it, because when I go to "Control Panel > Programs > Uninstall" the program does not appear in the list of installed programs.   How can I do this? When I input [asdf][lisp] into the search field on , without being logged in, only one tag remains. Is it broken? Why can't I sort questions by "votes" or "unanswered" without logging in? On the "Questions" page of each Stack Exchange site, there are links at the top to sort the questions by "newest", "frequent", "votes", "active", and "unanswered".  At least that is what it looks like if I am logged in. If I am on a site that I don't have an account for, or if I am not logged in, the only one I see is "newest".  This seems to have been done recently. I could swear I saw the other links, even when I was not logged in, until a few weeks ago, or maybe later than that.  Why was this change made? How are parameters evaluated for a Plot in Manipulate Feature Request: Could 7.5K users have the privilege of proposing synonyms without the 5 upvotes per tag requirement?  (in other words unrestricted synonym suggestion)  Background: I would like to be able to suggest tag synonym suggestions.  I do not however, have the required , but someday I will.  Yet many 2.5K users do not have the requisite 5 upvotes in each tag in order to propose synonyms.  I realize that this  for low-rep users.  But could it be made available to users with 7,500 rep?  At this level, they've clearly demonstrated an understanding of the Stack Exchange site.  Note: I'm not requesting the ability to create synonyms -- merely synonym suggestions.  I believe this privilege is currently only available to moderators? (and  )  Lastly, please note that  clearly demonstrates the breadth of simple synonym suggestions which could be made (almost every Stack Exchange site has some), but many haven't even been suggested yet. "Everything is a file" in the UNIX World.  Above sentence is famous. When I run echo "hello programmer" &gt;&gt; /dev/tty1 , I can watch the given string on TeleType 1  , ....  What and where is file per each socket? Suppose my friend connects to my PC, and its IP is h.h.h.h , how can I access the respective file? Is it possible? Show that  $$t(n) = 1 + \sum_{ j=0}^{n-1} t(j)$$  is the same as  $$t(n) = 2^n$$  Initial condition $t(0) = 1$ I am trying to write a VF page to list all the id and name columns from a custom object but found an error "List has more than 1 row" in the VF page.  Can anyone tell me what have I done wrong?  VF Page:  &lt;apex:page Controller="MP_controller" showHeader="false" sidebar="false"&gt;   &lt;apex:pageBlock&gt;      &lt;apex:pageBlockTable value="{! mp}" var="item"&gt;         &lt;apex:column value="{! item.id}"/&gt;         &lt;apex:column value="{! item.name}"/&gt;       &lt;/apex:pageBlockTable&gt;   &lt;/apex:pageBlock&gt; &lt;/apex:page&gt;   Apex controller  global with sharing class MP_controller {     public Merchant_Profile__c mp{get;set;}     public MP_controller(){         mp = [SELECT                  ID, name, Profile_account_name__c, Merchant_ID__c, Bank_Code__c, Country_Code__c,                 Currency_Code__c, Merchant_Level__c, Merchant_Type__c, MSO__c, Region__c,                 Retail_Products__c, Transaction_Mode__c, Created_Date__c, Date_Disabled__c, Date_Live__c,                 Merchant_Category_Code__c                FROM Merchant_Profile__c               WHERE Profile_Account_Name__c = '001O000000bQFnyIAG'];     } } Frequent Write to Non-volatile Memory What are the relationship between administrators groups of domain, dev computer and of Sharepoint services? I know-know I can search and read but anyway I would need to ask in order to escape possible typos, personal misunderstandings and to better remember.     I develop on a machine with installed Sharepoint 2010 Sever where I have local groups:     Administrators Description: Administrators have complete and unrestricted access to the computer/domain   WSS_Admin_WPG Description: Members of this group have write access to system resources used by Microsoft SharePoint Foundation      **Does the description of "Administrators" ("computer/domain") imply all privileges of "WSS_Admin_WPG" ?    Does the description of **WSS_Admin_WPG (in part of "system resources used by Microsoft SharePoint Foundation") imply Sharepoint Server?**    The WSS_Admin_WPG group has entries of:     "BUILTIN\Administrators (S-1-5-32-544)" group   and some user domain accounts   Is "BUILTIN\Administrators (S-1-5-32-544)" group the same (alias to?) as "BUILTIN\Administrators" entry I observe among Sharepoint Farm Administrators (through "Central Administration")?       Is the entries of domain accounts excessive (or necessary)     in "WSS_Admin_WPG" if these accounts make part of "Administrators" group?     in "Farm Administrators" if these accounts are part of "BUILTIN\Administrators (S-1-5-32-544)" group?     What are relationship (difference) between "BUILTIN\Administrators" and "Administrators"? Get all unique values in a JavaScript array (remove duplicates) How to provide translations for a WordPress TinyMCE plugin? I know that I can get my translations into JavaScript doing:      $MyTranslations = array(         'translation1' =&gt; __("Some String 1", "MyTranslations"),         'translation2' =&gt; __("Some String 2", "MyTranslations")     );     wp_localize_script( 'jquery', 'my_translations', $MyTranslations );   But looking at some of WordPress TinyMCE plugins they use calls like this:  { title : ed.getLang('advlink.link_desc'), ... }   How is WordPress getting their translations into getLang()? Am I supposed to do it this way or do I just use my first bit of code and access the variables directly like:  { title : my_translations.translation1, ... } How to cook fall-off-the-bone beef spare ribs in oven or on stove top? All,  I would like to cook spare ribs to a fall-off-the-bone consistency.  I don't have access to a grill.  I know how to do that with pork shoulders (dry rubbed, then uncovered in the oven at low heat for 6-8hrs), but spare ribs are a different type of animal.  They are individually smaller pieces (my ribs are sawed in chunks), and they are fairly fatty, with a big bone.  What should I do?  Should I pan-sear them first, do I need some liquid in the dish?  Should I cover them?  Thanks,  JDelage Remove empty elements from an array in Javascript How do I remove empty elements from an array in JavaScript?   Is there a straightforward way, or do I need to loop through it and remove them manually? What is Thanos's motivation for his action? If I had a gauntlet with essentially unlimited power, and my goal was to help make sure life in the universe was able to prosper, then my first thought toward this goal probably would not be      to extinguish half of all life.   This doesn't directly help anyone, and it is, at best, a temporary solution, since      populations will eventually grow back.   Assuming that I am not, in fact, secretly in love with an avatar of death itself, why would I choose to      commit universal genocide   instead of directly solving the limited resource problem?  So, to be specific, my question is: In-universe, what is Thanos's motivation for attempting to do this instead of more reasonable alternatives? What happens when you die? Diablo's first and second installments handled death differently, both in terms of exp\gold penalties and also in if you respawned or not or instead had to reload from an earlier point.  In Diablo III what happens when you die? Calculating optimal number of bins in a histogram I'm interested in finding as optimal of a method as I can for determining how many bins I should use in a histogram. My data should range from 30 to 350 objects at most, and in particular I'm trying to apply thresholding (like Otsu's method) where "good" objects, which I should have fewer of and should be more spread out, are separated from "bad" objects, which should be more dense in value. A concrete value would have a score of 1-10 for each object. I'd had 5-10 objects with scores 6-10, and 20-25 objects with scores 1-4. I'd like to find a histogram binning pattern that generally allows something like Otsu's method to threshold off the low scoring objects. However, in the implementation of Otsu's I've seen, the bin size was 256, and often I have many fewer data points that 256, which to me suggests that 256 is not a good bin number. With so few data, what approaches should I take to calculating the number of bins to use? How do I set environment variables from Java?  I see that I can do this for subprocesses using . I have several subprocesses to start, though, so I'd rather modify the current process's environment and let the subprocesses inherit it.  There's a System.getenv(String) for getting a single environment variable. I can also get a Map of the complete set of environment variables with System.getenv(). But, calling put() on that Map throws an UnsupportedOperationException -- apparently they mean for the environment to be read only. And, there's no System.setenv().  So, is there any way to set environment variables in the currently running process?  If so, how?  If not, what's the rationale?  (Is it because this is Java and therefore I shouldn't be doing evil nonportable obsolete things like touching my environment?)  And if not, any good suggestions for managing the environment variable changes that I'm going to need to be feeding to several subprocesses? Where's the energy in a boosted capacitor? Suppose I look at a parallel plate capacitor in its rest frame and calculate the electrostatic energy, $E$.  Next, I look at the same capacitor in a primed frame boosted in the direction perpendicular to the plane of the plates. In this frame, the $E$-field is the same strength, there is no magnetic field, and the volume over which the $E$-field extends is less by a factor $1/\gamma$. This suggests $E' = \frac{1}{\gamma} E$, but relativity states that energy transforms as $E' = \gamma E$.   Where is the missing energy?