Acces VBA code combination not working, issue with exit sub?

I'm very new at VBA and I can't seem to solve this problem. It seems like it should be an easy problem to fix, I just don't know how.   So what the code does: In the main form is a record. This record will be copied to another table bij pressing a button on the form. Before the copying begins, the code checks first if the 'OMnummer' has been filled in in the subform.  If not, a message box appears saying that the user should fill in the subform and the code stops running.   Secondly the code checks if the record is allready present in the other table. If so, a messagebox appears and the record will not be copied. If not, the record will be copied to the other table.   Both pieces of code work ok seperately. However, when I try to include both pieces in the same private sub, only the first one works. It may be something with the 'Exit Sub' code or I am not using the If - Then right.   Hope you can help me!  Monika   Private Sub KnopProjectVersturen_Click() On Error GoTo ErrProc  If IsNull(Me!Subform_OMnummers.Form!Omnr) Then  If MsgBox("Vul het OMnummer in. Je kan het project niet exporteren zonder OMnummer.")     Then       Exit Sub      DoCmd.OpenQuery "Qry_Depo_ControleAanwezig"  If DCount("Deponering.projectnummer", "Qry_Depo_ControleAanwezig") = 0 Then         DoCmd.SetWarnings False         DoCmd.OpenQuery "Qry_projectnaarDepot"          DoCmd.OpenQuery "Qry_ToevoegProjectDepot"         DoCmd.OpenForm "Depot_uitvoer", , , "[Projectnummer] = '" & Me![Projectnummer] & "' And [subID]=[subID]"     Me.Status = 8     DoCmd.Close acQuery, ("Qry_Depo_ControleAanwezig")     DoCmd.SetWarnings True  Else         MsgBox "Dit project bestaat al in de Depot_Uitvoer, verander de status in het projectformulier", vbInformation, "Example"         DoCmd.Close acQuery, ("Qry_Depo_ControleAanwezig")     End If  End If  End If    'Als er fouten zijn laat deze code een messagebox zien met het nummer en de melding.  ExitProc:  Exit Sub  ErrProc:     Select Case Err.Number     Case Else         MsgBox Err.Number & "--" & Err.Description         Resume ExitProc         End Select End Sub


What is the probability that he will sit on his/her seat?

A room has 25 seats. There are 25 people in a queue. People enter the room one by one. 1st person in the queue does not know his/her seat. Others know their seats. 1st person sits randomly. If next person's seat is empty then he will sit on his/her seat. If not, he/she will sit randomly. What is the probability of 25th person that he/she will sit on his/her seat?


Is there a way to replace the default image-not-loaded-yet browser icon?

(Note this does not refer broken images as therefore not a duplicate of previously asked questions).  I'd like to find or build a IMG wrapper that first shows a default background image from the local cache before showing the intended photo once it has loaded, similar to what Pinterest does (although  Pinterest is even cooler and detects a color background that complements the image that's loading).  I have an app which loads a lot of photos - hundreds - and I would like to make the way they load in a feature rather than an ugly artifact of the browser.  Wouldn't it be cool if they looked liked this?    rather than like this    Can that be done?


When did Captain America learn what happened to Howard Stark?

Near the end of Captain America: Civil War we learn that      Howard and Maria Stark were assassinated by the Winter Soldier   and Captain America admits that he already knew.  But how did he find out? I don't recall this being revealed in any of the previous movies, and I can't think of a reason why the characters who already knew would have gone out of their way to tell Steve about it.


Ease the aggressive transition on images in spoilers

When a spoiler blockquote contains text, the text transitions in smoothly using a CSS transition. If it contains an image, the transition is abrupt.    If the CSS were changed from:  .spoiler:hover img {     visibility: visible; } .spoiler img {     visibility: hidden; }   to:  .spoiler:hover img {     opacity: 1; } .spoiler img {     opacity: 0;     transition: opacity 0.5s ease-in; }   .  Live example:      this is a test this is only a test


I am trying to calculate the following limit, but to be honest I've been failing miserably.  $\lim\limits_{n\rightarrow\infty}\frac{\sqrt{1+\frac{1}{n}}+\sqrt{1+\frac{2}{n}}+...+\sqrt{1+\frac{n}{n}}}{n}$  I've been trying to use the fact below but got me no useful result:  $\sqrt{a+b}\leq\sqrt{a}+\sqrt{b}$  Also I've been trying to use the logarithm to obtain a product but still no results.  Any hints, please?  Update 1:  I followed your advice and identified the function $f(x)=\sqrt{1+x}, f:[0,1]$  So I guess now the result of that limit is $\int_0^1{\sqrt{1+x}}$ ?


Finding outliers with wrong Z values in LIDAR data

I have more than 2000 XYZ (only ground points) .txt files and I have to do Quality Control (QC).  Let's say I have file, which I converted to multipoint (or even singlepart feature). I have mean Z value for a file, but if most of the points are 20-40 metres, and two, three points per file are 70-80 metres (wrong Z values). How to catch these points and remove? On another hand, it could be that in another file 70-80 metres is common Z value and some points wrong Z value 120 metres. In another file 120 metres is common and correct.  How to find and remove points with wrong Z values in LIDAR data?  Standard deviation? Raster cells?


I'm having the same issue detailed in this   that unfortunately hasn't found an answer. I've just joined the community hence was unable to comment or reach out to the original poster so I apologise for the additional question, however are there any ideas on the cause?


Is it safe to run Windows and Ubuntu together on one PC?   Will it "mess with" my computer? I'm using Windows 7. Thanks!


How much in advance can you apply for a Schengen visa?

I have to travel for a summer course in August in Netherlands but before that i travel to Saudi Arabia in June. I'll have to submit my passport to saudi embassy around the mid of may and i return back mid July. Keeping all this in view can i apply for the visa rn? I'm from Pakistan.


How to report issue with Ubuntu 20 display selection after login?

I'm having an issue with Ubuntu 20. If the user/(technician) connects a different VGA display (what he happens to have in his truck) than what was installed with, it switches to a unconnected computer display and blanks the VGA display even though that is the display the user logged in on.  I believe this is a programming fault that could be corrected, but have no idea how to report this


Getting Error: "Illegal assignment from List to List"

Here is my code `  global with sharing class ReportsListController {     public String dcarr { get; set; }    public static ReportsColumnMap__c repcols { get; set; }    public ReportsListController() { } // empty constructor    @RemoteAction   global static List<ReportsColumnMap__c> getRepCols(String dcarr) {             List<ReportsColumnMap__c> repcols =          [SELECT ColumnName__c,SObject__c ,COUNT(ID) FROM ReportsColumnMap__c WHERE ColumnName__c IN ('OWNER','FIRST_NAME','LAST_NAME','TITLE','COMPANY','LEAD_SOURCE','RATING','STREET','EMAIL') AND SObject__c !='null' GROUP BY SObject__c ,ColumnName__c];     return repcols;   } }   `


Broadcom Wifi not working in Ubuntu 17.04 in Dell Vostro-3446 laptop

Recently I installed Ubuntu 17.04 in my Dell laptop, but WiFi does not work in Ubuntu (It works well in windows 7). I have already tried the following steps, but no luck.   sudo -H gedit /etc/NetworkManager/NetworkManager.conf   At the bottom of this file, copied and pasted the following:  [device] wifi.scan-rand-mac-address=no   then  sudo service network-manager restart   Output of lspci -nn -d 14e4  06:00.0 Network controller [0280]: Broadcom Limited BCM43142 802.11b/g/n [14e4:4365] (rev 01)   Output of iwconfig  lo        no wireless extensions. enp7s0    no wireless extensions.   How to solve this issue?


How to get from Gatwick airport to Paddington?

What's the most straightforward way to get from Gatwick airport to Paddington station in London using public transport?   I'm mostly interested in travel time & general smoothness of the trip (e.g. buying just one ticket for the whole trip would be nice). Price is a secondary concern.


I need help to identify $\mathbb{Z}[x]/(x^2-3,2x+4)$.  I've been solving such problems in an approach like:  $$ 2(x^2-3)=2x^2-6, x(2x+4)=2x^2+4x \\ (2x^2+4x)-(2x^2-6)=4x+6, 2(2x+4)=4x+8 \\ (4x+8)-(4x+6)=2 $$  What shall I do next, please? Thank you.  Simon


The countable ordinals are themselves either countable or uncountable.  They cannot be countable since that would involve a set with itself as an element, so they are uncountable.  If they are uncountable, then either they form a consistent totality or they are a proper class.  If they form a consistent totality, then a least uncountable ordinal exists, otherwise not.  So how is it determined that the sequence of countable ordinals is or is not a consistent totality?  My problem is that it cannot be said they form a consistent totality because there is an uncountable limit ordinal since that would be circular.  Therefore, how exactly is this resolved?  Edit, as requested: My question is not equivalent to the question, "What axioms are you using?  ZFC?"  Nor is it answered by (I haven't figured out how to format the symbols on this site so I'll just spell it out): "The set of all countable ordinals is the set of those elements x of the cardinal number two to the aleph-null such that x is a countable ordinal", which seems to be a way of saying x is a countable ordinal if it is a member of the set of countable ordinals, except two to the aleph-null is a number: it is not a set but the cardinality of a set, so it doesn't actually have elements.  I suppose the intention of that answer could be taken as that all countable sets are elements of the power set of N, except the assertion isn't true.  Nor is my question addressed by comments to that answer.  So far as I can tell, the answerer did not define omega plus one, nor have I ever seen two to the aleph-null described as an ordinal.  Besides which, the relation of the cardinal number two to the aleph-one to the limit ordinal omega-one is outside ZFC.  So I honestly don't see what any of this has to do with my question or why I was asked to edit it accordingly.


I have a small port forwarded LAN server... Need help

I have port forwarded and configured my server properly, but when I test the port, it still says it's not active while the server is running. In the cmd, it shows that the port 25565 isn't active as well.


While logged in as the root account of a CLI installation, almost every application gives me this error:  Don't run this as root!   I want to bypass this error and run the application while logged into root. How do I do this?  Edit: I understand the risks of using the root user and I will still want to use it. Thank you for your suggestions.


Can I return to the Schengen area without my residency permit?

I'm living in Germany with a blue card. Some days ago I've come to Korea but I forgot to take my blue card. I'm going back to Germany from Incheon airport (Seoul) and will stop over in Heathrow airport (London) and will go back to Tegel airport (Berlin).  How can I go back to Berlin without my blue card? I can ask my wife to bring the card to Tegel airport if it would help, but I'm not sure if I can take the flight at Heathrow airport or even at Incheon airport.  Update  I've asked via another channel and just got an answer saying that he had accidentally put his blue card in the baggage but he was able to enter the country after the security guy checked through the system. That said, more official answer would be welcome.  Update 2  I've come to Germany without any problem, but it was possible as I had Beiblatt attached to my passport, which has the expiration date of my visa. The staff at the check-in desk has checked the document and the German border guard also has checked it. Nobody asked me for the blue card in my case. So I don't know what would have happened if I had neither.


Good examples of RAW's advantages over JPEG?

I'm curious to see some real examples of where simply capturing the same photo in RAW (and being processed by someone who can do it justice) has significantly improved the photo at the end of the process.  I understand what RAW is and why you might want to use it over JPEG, however, I'd like to actually see some examples where it has allowed for a better result. More control over tone, conversion from the more detailed data to 8-bit RGB etc.  Does anyone have or know of some processed RAW+JPEG shots for exact comparison?


I was just reviewing this question:   And I saw the comment by @HoussemGuesmi.  He said, "use apt, as apt-get is being replaced with apt on 16.04"  Is this really true? I couldn't find evidence of this on Google.


What is the use of calling Interface methods in the implemented class?

What is the use of calling interface methods within the class that has implemented it instead of implementing the the particular method itself like below - public class MyController: Controller, IActionFilter {   public ActionResult Index(Customer obj) {     return View(obj);   }   void IActionFilter.OnActionExecuted(ActionExecutedContext filterContext)    {     Trace.WriteLine("Action Executed");   }   void IActionFilter.OnActionExecuting(ActionExecutingContext filterContext) {     Trace.WriteLine("Action is executing");   } }  What does calling out methods like this way -> "IActionFilter.OnActionExecuted" achieve?


How to get an object to display its actual position after transform using parenting with empty using python

Currently this code creates an empty at a defined position and have used parent to get an object, in this case a cube to be in that position. However the newly created cube states its position as the origin rather than its actual position. How would I get the cube to display its actual position which would be the same as the empty?  import bpy from mathutils import Matrix, Vector  context = bpy.context scale = 0.01   x, y, z, l, m, n, p, q, r = -500, 200, 1000, 1, 0, 0, 0, 0, -1  y_axis = Vector((l, m, n)) z_axis = Vector((p, q, r))  x_axis = y_axis.cross(z_axis).normalized()  M = Matrix((x_axis, y_axis, z_axis)).transposed()  M = M.to_4x4()  M.translation = scale * Vector((x, y, z))  print(M) print(x_axis, y_axis, z_axis) bpy.ops.object.empty_add() mt = context.object mt.empty_display_type = 'ARROWS' empty = bpy.context.object mt.matrix_world = M  bpy.ops.mesh.primitive_cube_add() cube = bpy.context.object cube.parent = empty


I bought a yn560 Iv speed light for my canon 2000d but its not working with the camera

My canon 2000d not firing the yn560 iv speed light


What are the SEO Benefits of adding a Tumblr feed to a website?

A client of ours has a CMS driven Blog in his hotel site - he would like to use the blog to add depth top his site and add SEO benefits relating to the blogs content.  The current blog is a basic header / text field and doesn't contain any tagging / meta features.   Unfortunately we don't have a .net developer in our team to alter the existing blog and add meta / tagging and there isn't budget to hire one - so I considered using a Tumblr blog - setting it up externally - giving it a blog.hotelname.com address and feeding it into the existing page via Tumblrs JS - which basically does a document.write into the page - which we can style.  I understand from a previous post ( as a general rule most search engines ignore JS created content - but will the above approach act as an improvement on the existing system for now - as the blog will be setup externally with its own URL and also feed into the existing site?


Today, once again, the  came to my attention and I have decided to try to  using XeLaTeX. The result is far from perfect, worse even than Chrome's rendering.  Is there a way I can improve the result? Is XeLaTeX and LuaLaTeX incapable of handling the Ponny?  :  \documentclass[]{article} \usepackage{lmodern} \usepackage{amssymb,amsmath} \usepackage{ifxetex,ifluatex} \usepackage{fontspec} \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} \IfFileExists{upquote.sty}{\usepackage{upquote}}{} \IfFileExists{microtype.sty}{\usepackage{microtype}}{} \usepackage[normalem]{ulem} \setmainfont{Doulos SIL}  \title{html - RegEx match open tags except XHTML self-contained tags - Stack Overflow} \date{} \author{StackOverflow}  \begin{document} \maketitle  Rege̿̔̉x-based HTML parsers are the cancer that is killing StackOverflow \emph{it is too late it is too late we cannot be saved} the trangession of a chi͡ld ensures regex will consume all living tissue (except for HTML which it cannot, as previously prophesied) \emph{dear lord help us how can anyone survive this scourge} using regex to parse HTML has doomed humanity to an eternity of dread torture and security holes \emph{using rege}x as a tool to process HTML establishes a brea\emph{ch between this world} and the dread realm of c͒ͪo͛ͫrrupt entities (like SGML entities, but \emph{more corrupt) a mere glimp}se of the world of reg\textbf{ex parsers for HTML will ins}tantly transport a p\emph{rogrammer's consciousness i}nto a w\emph{orl}d of ceaseless screaming, he comes\sout{, the pestilent sl}ithy regex-infection wil\textbf{l devour your HT}ML parser, application and existence for all time like Visual Basic only worse \emph{he comes he com}es \emph{do not fi}ght h\textbf{e com̡e̶s, ̕h̵i}s un̨ho͞ly radiańcé de\emph{stro҉ying all enli̍̈́̂̈́ghtenment, HTML tags \textbf{lea͠ki̧n͘g fr̶ǫm ̡yo͟ur eye͢s̸ ̛l̕ike liq}uid p}ain, the song of re̸gular expre\sout{ssion parsing} will exti\emph{nguish the voices of mor\textbf{tal man from the sp}here I can see it can you see ̲͚̖͔̙î̩́t̲͎̩̱͔́̋̀ it is beautiful t}he f\texttt{inal snuf}fing o\emph{f the lie\textbf{s of Man ALL IS LOŚ͖̩͇̗̪̏̈́T A}}\textbf{LL IS L}OST th\emph{e pon̷y he come}s he c̶̮om\sout{es he co}\textbf{\sout{me}s t\emph{he} ich}or permeat\emph{es al}l MY FAC\emph{E MY FACE ᵒh god n\textbf{o NO NOO̼}}\textbf{OO N}Θ stop t\emph{he an*̶̙̤͑̾̾̅ͫg͇̫͛͆̾ͫ̑͆l͖͉̗̩̳̟̍ͫͥͨ}e̠̅s\texttt{ ͎a̧͈͖r̽̾̈́͒͑e} n\textbf{ot rè̑ͧ̌aͨl̘̝̙̃ͤ͂̾̆ ZA̡͊͠͝LGΌ ISͮ̂҉̯͈͕̹̘̱ T}O͇̹̺ͅƝ̴ȳ̳ TH̘\textbf{Ë͖́̉ ͠P̯͍̭O̚N̐Y̡ H̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟O̮̪̝͍ͮM̲̖͊̒ͪͩͬ̚̚͜Ȇ̴̟̟͙̞ͩ͌͝}S̨̥̫͎̭ͯ̿̔̀ͅ  \end{document}   UPDATE  Using the Doulos SIL font gets me something closer to what Firefox renders but still far from perfect.


How to make the numbering of subsections independent from the numbering of sections?

I am writing a constitution for a society.  I would like to have the subsections numbered independently of the way that the sections are numbered, i.e:  Section 1     Subsection 1     Subsection 2 Section 2     Subsection 3   How can this be done?


How to get the Input and output in a terminal to a text file?

I want to create a text file which will add each command I am going to run on the terminal as a new line entry in the text file. i.e., I need to keep a record of what are the things I'm doing in the terminal. Further if I can keep a record of outputs I'm getting in the terminal, along with the inputs in the terminal, as a text file, it will be much better.   Each time I forget a command I have to search again in the Internet for the command.  Can I can make a file like above?


Could not download all repository indexes

The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.  GPG error:  xenial/mongodb-org/3.4 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BC711F9BA15703C6The repository ' xenial/mongodb-org/3.4 Release' is not signed.Updating from such a repository can't be done securely, and is therefore disabled by default.See apt-secure(8) manpage for repository creation and user configuration details.The repository ' bionic Release' does not have a Release file.Updating from such a repository can't be done securely, and is therefore disabled by default.See apt-secure(8) manpage for repository creation and user configuration details.Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi'Sub-process returned an error code


I installed few environments that I wanted to try out on Ubuntu 12.04, but none of them worked at all. It could be that I installed them all at the same time, meaning the OS didn't get a chance to work everything out, but either way, they didn't work. I would now like to remove them.   The one's that I installed are Xubuntu/Xfce, Lubuntu/LXDE, Kubuntu/KDE, Fluxbox, OpenBox, cinnamon, and MATE. I installed them. Everything seemed to have been working properly until I actually tried to use the shells and nothing loaded at all. Except for Fluxbox, I think that one worked. I want to know of any way to repair or perhaps just remove the packages entirely. I might have already removed them because I did the apt-get remove command on all of them, but they were still in the list on the login screen.


How can I join a list of characters into strings of 8?

I have a python list of chars and want to join them to create a list of strings of 8 elements each, eg:   x = ['0','0','1','a','4','b','6','2','2','1','4','1','5','7','9','8']   result  ['001a4b62', '21415798']


How can I get every nth item from a List?

I'm using .NET 3.5 and would like to be able to obtain every *n*th item from a List.  I'm not bothered as to whether it's achieved using a lambda expression or LINQ.  Edit  Looks like this question provoked quite a lot of debate (which is a good thing, right?).  The main thing I've learnt is that when you think you know every way to do something (even as simple as this), think again!


Is there a module that enables users to follow each others?

Is there module that can " Let users follow each others and be informed via mail in case of new items were added " ?


AWS route53 second level SSL cert wildcard

I use aws route53 with a wildcard SSL certificate:  the certificate allows: *.domain.com  In order to allow users to access both: "domain.com" and "www.domain.com" I have to setup individual records for each. This does not bother me, but I have a problem when I want to use subdomains:  domain.com www.domain.com sub.domain.com   all work since they match *.domain.com  ... However I also want www.sub.domain.com to work without having to add *.sub.domain.com to the certificate.  How is it possible?


I am starting to use Kotlin alongside with Java.  This below code in java. Throws no null pointer exception   initFoodQuantitySpinner();      CartDb cartDb = new CartDb(getActivity());      try {         P.addToCart(getActivity(), food.getId(), food.getPrice(), foodQuantity);     } catch (Exception e) {         e.printStackTrace();     }      FoodCartModel foodCartModel = new FoodCartModel(new Food(food.getId(),             food.getName(), 0, "", "",             food.getPrice(), 0,             0, null, "", "", null));      cartDb.insertFood(foodCartModel);     if (getActivity() != null)         getActivity().invalidateOptionsMenu();   This below code in Kotlin throws null pointer exception.  spinFoodQuantity.visibility = View.VISIBLE     val cartDb = CartDb(context)      val id = food.id     val name = food.name     val price = food.price     try {         P.addToCart(activity, id, price, foodQuantity)     } catch (e: Exception) {         e.printStackTrace()     }      val foodCartModel = FoodCartModel(             Food(id, name, 0, "", "", price, 0,                     0, null!!, "", "", null!!),             foodQuantity)      cartDb.insertFood(foodCartModel)     activity!!.invalidateOptionsMenu()   Add to cart function in shared pref    public static synchronized void addToCart(Context context, int id, int price, int quantity)         throws JSONException {     assurePrefNotNull(context);     String data = getCartData(context);     JSONArray array;      if (data.equals(""))         array = new JSONArray();     else array = new JSONArray(data);      JSONObject item = new JSONObject();      item.put("id", id);     item.put("price", price);     item.put("quantity", quantity);      array.put(item);      prefsEditor.putString(PREF_CART_DATA, array.toString());     prefsEditor.commit(); }   Can anyone explain where is the wrong that kotlin throws null pointer exception? and android studio shows warning about unreachable code (for below code in kotlin)    val foodCartModel = FoodCartModel(             Food(id, name, 0, "", "", price, 0,                     0, null!!, "", "", null!!),             foodQuantity)      cartDb.insertFood(foodCartModel)     activity!!.invalidateOptionsMenu()


I am having some difficulties with footer css. I want it to stay in the bottom of the page. I don't want it to be visible until i scroll to the bottom of the page.  .footer{     position: fixed;     display: block;     width: 100%;     height: 80px;     bottom: 0;     float: none; }


Can you give a bounty exceeding your total rep?

I just saw  today and I was a bit confused  This states that "This question has an open bounty worth +400 reputation from Rahul Joshi ending in 7 day" but  only has a reputation of 1  As per the FAQ, it states that   Slice off anywhere from +50 to +500 of your own hard-earned reputation and attach it to any question as a bounty. (User does not have 400 rep to slice off)  And  Users must have at least 75 reputation to offer a bounty. (User does not have 75 rep)  Does the FAQ not contradict this question or am i missing something here?


Getting the ID of button from an onclick function

I currently have sort buttons for each column of a table in my application, and when I click on one of the sort buttons I want the ID of that button to be passed into the function so that the correct column is sorted. In my HTML I simply have a table as such...

  I then have a few functions that populate the table with all needed rows from the database. For the function that creates the heading row, it will also append a sort button to the end of each cell in that row. I create the sort button through this following method... const createSortBtn = item => {     let btn = document.createElement("button");     btn.innerHTML = '&#9660;';     btn.id = item;     btn.addEventListener("click", sortTable);     return btn; }  The variable item is the ID I wish to give the button that is being created, the innerHTML is just a down triangle, and then I also add the onclick function. This onclick function goes as so... const sortTable = () => {     let order, index = this.id;     if (document.getElementById(index).innerHTML === '&#9660;') order = "ASC";     else order = "DESC";     window.sessionStorage.setItem("order", order);     window.sessionStorage.setItem("index", index);     makeSearch(); }  Most of the function is not too relevant to my question except for the this.id part. From what I have been able to find so far this seems to be the primary method of acquiring the ID of an onclick button (even in strict mode if what I believe is true). However when it is called in the function it is undefined. I had been thinking that perhaps I could change the code that when I add the onclick function to the sort button it would go like so... const createSortBtn = item => {     let btn = document.createElement("button");     btn.innerHTML = '&#9660;';     btn.id = item;     btn.addEventListener("click", sortTable(item));     return btn; }  ...but that seems to call the function immediately which is not the behaviour I wish for. I have seen that jQuery seems to have quite a few methods of doing this but I am hoping to stick to native JavaScript if possible. Thanks for all help.


Using POST to get data instead of GET request

I see in few legacy applications, POST request is used to return data to the client. Input data is provided in Form data.  Ideally to get data we should be using GET request.  What are the possible reasons to use POST instead of GET to get data ?  If its for security reasons, why we have GET in the first place ? If input data is large, probably we may have to choose POST.  Please clarify.


Deleting points which are close to each other

I have a vector file containing thousands of points. Where points are within x distance from each other, I wish to delete one of the points and keep the other (either by snapping to one point, or simply erasing one of the two points)  However, in Whitebox the vector cleaning tool only works with polygons and lines.  Is there some other way I can do this with my shapefiles?


What does leveling an amiibo in Smash 4 do?

When using your amiibo in Smash, they will gain levels.   states:     The more the amiibo is played, the more it levels up, unlocking different moves, equipment and customization options. They will also level up faster when pitted against other amiibo fighters.   Is there anything else that makes the higher leveled amiibo better, like higher base stats or more intelligent AI?


Regex expression is killing me (in perl) when getting the correct PHP-version (grabbing OS version instead of PHP version)

I run a cron job (perl script) which fetches the PHP-version from servers and stores them in a database. This has always worked with CentOS PHP versions. I had to modify it a little in order to make it work with Debian. So far all is good. However it's getting the wrong version / information with Ubtuntu PHP.  This is the code snippet:  @temp = `/usr/sbin/vzctl exec $server 'php -v 2>/dev/null | /bin/grep "built\\|cgi\\|cli" 2>&1'`; chomp(@temp); @temp = split /\s+/,$temp[0]; $php = $temp[1]; $php =~ s/^.*(\d+\.\d+\.\d+).*$/$1/;   Below are 3 examples from different PHP-versions on different operating systems:  CentOS 7  php -v outputs: PHP 7.0.33 (cli) (built: Oct 22 2019 10:24:41) ( NTS ) Result in database: 7.0.33 (= correct)   Debian 9  php -v outputs: PHP 7.3.10-1+0~20191008.45+debian9~1.gbp365209 (cli) (built: Oct  8 2019 05:48:14) ( NTS ) Result in database: 7.3.10 (= correct)   Ubuntu 18.04  php -v outputs: PHP 7.2.19-0ubuntu0.18.04.2 (cli) (built: Aug 12 2019 19:34:28) ( NTS ) Result in database: 8.04.2 (= incorrect)   I think the current regex expression is considering the last part as the PHP version, hence it's storing 8.04.2 in the database.  How can the current code:  $php =~ s/^.*(\d+\.\d+\.\d+).*$/$1/;   Be modified so it reads the correct PHP version for all operating systems?  I checked a few older servers with dates operating systems, but they don't differ much from the above 3 examples. So I am guessing if the current code can be tweaked to also work with Ubuntu, I am set for now and the near future.  Please keep in mind that I want to be able to use the current code (as displayed above) but with a modified regex obviously.  So two questions (both also for learning):   Is it possible to adjust the current regex to match PHP versions for all OS as shown above? isn't it better to make the regex search the text PHP and then grab the version somehow?   I know the code is old, but it's from our technician who unfortunately is not amongst us anymore.  Maybe someone cares to take a look and come up with a working solution based on it's current form?  Thanks!


show window preview on hover in Ubuntu 17.10

Ubuntu 17.10 (Xorg), gnome 3.26.2.    When applications are minimized to the dock, is there a way to get a window preview of the applications when the pointer hovers over the icon in the dock?    I do not want this in place of the "All Windows" context menu item, I am interested in the preview in addition to the menu item.    (I see that the "Dash to panel" extension provides this option, but I do not want all the other features of that extension.)


Brace after aligned environment is too long

\documentclass{standalone}  \usepackage{mathtools}  \begin{document}     \begin{math}         \varepsilon\coloneqq\frac{E_0}{E}         \implies         \left.         \begin{aligned}[t]             \varepsilon E&=E_0\\             E_0&=k\frac{q}{r^2}         \end{aligned}         \right\}     \end{math} \end{document}     How do I make the brace only be as long as necessary for the equations in the aligned environment? I wish to keep the rest of the formatting.


Is there a difference between those two lines ?   /home/user/script.sh >> /home/user/stdout_and_error.log  2>&1 /home/user/script.sh 2>&1 >> /home/user/stdout_and_error.log     knowing that I would like to put the stdout and execution errors of the script in the log file. If there are no differences, what if I would like to log the logging itself?


I had Ubuntu 14.04 LTS on my system, fresh install from a live USB. I was messing around with partitioning, trying to set up room for windows. Ended up deleting my ubuntu partition and rebooted. Now all boots fail.  When booting to hard disk, it gives me grub rescue. When booting from live CD, it does the same thing. When booting from live USB, it gets to loading operating system and sits there for 30mins before I give up.  ls command returns:  (hd0) (hd1) (hd1,msdos1)   Tried a few other commands, no luck. I have no data in there that I'm worried about, would like to start fresh now that I know a bit more about what I'm doing. Booting from Live USB/CD is not an option for me. Also tried Grub repair disk. I've been using Unetbootin to create disks and USBs.  Any other way to fix grub?


I’m a u.s citizen I was in the UK for (2017-2018) school year on a tier 4 visa. I also visited during the Christmas break for three weeks, I’m planning to come back on March to look at Law schools for a week since I’m planning to go to Law School in Scotland. Should I have any problems with border security or am Is it just my anxiety?


How Should I refocus camera on an object while editing?

I am just a beginner in Blender, When I am editing an object on the plane, the 3D Viewport is not showing the accurate direction and path, due to which I am unable to do editing easily on that object. I tried to focus the camera on the viewport, but it wasn't helpful.How should I correct the angle of the camera?


Did not use Elastic IP for EC2 Instance. Can I still reserve my current IP?

I understand that when an EC2 instance is stopped and restarted, the IP address associated with the instance may change, and that to avoid this, one should assign an Elastic IP to the instance. However, I did not know this from the start, so right now I have a running EC2 instance that does not use an Elastic IP. I would like to transfer the current IP address to a new EC2 instance in the same region but a different availability zone (I want to keep using this current IP address because it is whitelisted in many external places, and whitelisting a new IP address may be difficult). Is that somehow possible?


Prove or disprove that $n^3-n$ is divisible by $6$, without using induction   I have no idea how to go about this.  I should add that n is an integer. I started by looking for some  integer that was a single case disproving it, but I couldn't find one.   Any help/suggestions are welcome!


My links that i got from the server using php ajax isn't working on my webpage

I have this code where i get multiple data from database using ajax jquery and php. which works and displays the data in the webpage but the problem is that the links in the data (like  tag link) isn't responding or showing any sign of a click event even after i add a click event. this is my code before HTML

  JQUERY AJAX getProducts(); function getProducts() {     $.ajax({         url: "adminbked/getData.php",         method: "POST",         data: {             action: "getProducts"         },         success: function (data) {             $(".pro-bd").html(data);             // This is the dataTable plugin             $("#proTable").dataTable();         }     }) }  getData.php <?php  require "../../db/dbconn.php"; $POST = filter_var_array($_POST, FILTER_SANITIZE_STRING);  if(isset($POST['action']) && $POST['action'] == "getProducts") {     $status = "Yes";    $sql = $conn->prepare("SELECT * FROM shopping_products_info ORDER BY productId DESC ");    $sql->execute();    $result = $sql->get_result();    $html = '';    while($row = $result->fetch_assoc()):         $html .= '

';  endwhile;  echo $html;  }   This is the click event $(".bt-dlt").click(function () {    var id = $(this).attr("id");    console.log(id) })  Please is there anything i did that makes the link not clickable. what should i do.


Catch the PHP private __constructor fatal error and throw an exception PHP?

I would like to ask if this is possible:  I have a class with a private constructor which of course throws a fatal error if I try to instantiate that class from an invalid context (outside the class), can I catch this fatal error and the name of the class and then throw an exception like:  // catch the private constructor from invalid context fatal error // and store somehow the name of the class inside $class // and then: throw new UninstantiableClassException("The class " . $class . " cannot be instantiated");   Is that possible, or basing on this post I have just found it's not? ->   If it is not possible, should I make the constructor public and then throw and exception inside of it like this?:  public function __construct() {    throw new UninstantiableClassException("The class " . get_class($this) . " cannot be instantiated"); }


Persisting a computed datetime column in SQL Server 2005

I have an XML column in a table; I want to "promote" a certain value in that XML as a computed column and index it for faster searching. I have a function that takes in the XML information and outputs the element of interest, like this:  CREATE FUNCTION [dbo].[fComputeValue] (@data XML) RETURNS datetime WITH SCHEMABINDING AS BEGIN   RETURN @data.value('(/Metadata/Value[@Key="StartDate"])[1]', 'datetime') END    However when I try to create the computed column:  ALTER TABLE dbo.CustomMetadataTable ADD [StartDate] AS ([dbo].[fComputeValue]([CustomMetadataColumn])) PERSISTED   I get the following error:     Msg 4936, Level 16, State 1, Line 2   Computed column   'StartDate'   in table 'CustomMetadataTable' cannot be   persisted because the column is   non-deterministic.   It works if I:   work with varchar, int, double (i.e. other than datetime) values remove the PERSISTED keyword (but then I can't create an index on the column)   I should also mention that datetime values are in XSD datetime format. Any ideas? Thanks.


How many hours of sleep “is” or “are” needed?

Time, distance, weight are treated as singular, like "3 hours is too long." Then, in this instance,      How many hours of sleep is /are needed to keep fit?"    Is "is" correct?


Why this error about upstart/systemd with runit?

I run sudo apt-get install git-all in Ubuntu 16.04 and see the following in the end  Setting up runit (2.1.2-3ubuntu1) ... start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused dpkg: error processing package runit (--configure):  subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of git-daemon-run:  git-daemon-run depends on runit; however:   Package runit is not configured yet.  dpkg: error processing package git-daemon-run (--configure):  dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure.                       Errors were encountered while processing:  runit  git-daemon-run E: Sub-process /usr/bin/dpkg returned an error code (1)   I get the error after rebooting my system also. It really blocks my whole system.  I run killall update-notifier. I run sudo apt-get install git-all but  I get the same error message. I run pgrep -a apt but get nothing as output. I run pgrep -a update but get nothing as output.  A bug report about the case .    In Grub, Choose Advanced options > Ubuntu (Upstart) Linux kernel 4.22. Doing the same only in terminal without systemd causes the same error.      Why is this error here with runit?


Difference between [h] and [H] in float position

I'm trying to choose the positions of my tables but I can't figure out the difference between [H] and [h]. I've seen both advised over my search. If I use [h] the row spacing is different than [H] use.


I'm running QGIS 2.8 Wien on Windows 8.1. I got this error:      The program can't start because qgis_core.dll is missing from your   computer. Try reinstalling the program to fix this problem.   I got the same error last week, uninstalled and reinstalled QGIS and it worked. But there must be a better way to fix the error than reinstalling QGIS every time it bombs out.


I used Google Maps as a basemap. In Map Composer window it is showing in the  correct location in QGIS, but when I try to export it, it is shifted.


Prove $\exists x (P(x) \to \forall y P(y))$.  Let x = y. Suppose P(x) is true. Let y be arbitrary. Since P(x) is true, it must be that P(y) is true. Since y was arbitrary, we can conclude that $\forall y P(y)$. Therefore $P(x) \to \forall P(y)$. Since $P(x) \to \forall P(y)$, $\exists x (P(x) \to \forall y P(y))$.  Is my proof correct?   I'm not sure if I'm dealing with the $\forall y$ correctly. If the theorem were $\exists x (P(x) \to P(y))$, I think I would have a good handle on things.


Interesting documetaries on graphic design and any kind of design

I'm looking to be introduced to interesting documentaries in the field of design, I saw  and it blew my mind and am looking for films similar to this one.


Eligibility for a PhD in Business Administration program

I am looking into PhD in Business program at various universities in North America, and I realized that many of those programs require their candidates to have "a Master's degree". If I have a non-thesis, course-based Master's degree, am I still meeting this minimum admission requirement? or by "Master's degree", did they mean a "thesis-based research Master's degree"?  Thank you


Can I download a folder hierarchy full of Google Docs?

I have a folder on Google Drive full of Google Docs (i.e. the MS Word equivalent). I'd like to download all of these, exporting them to either MS Word or PDF. However, the only way I can find to do this is to open up each document individually and export it as Word. Is there a quicker way?  (I have the Google Drive client installed locally - this just provides .gdoc files which are links to the original in a browser).


SyntaxError: expected expression, got '< Error While passing List Parameters in GeoServer View

Hello I am creating Geoserver view to view my result and for zoom to result. My Sql Query is like SELECT * FROM geotable WHERE gid IN (%gid%)  View Parameters to Query like 1,2,3   Regular Expression like '^[\w\d\s]+$'  My Zoom function like       function binddata(data) {         myObject = JSON.parse(data.d);         gid = [];          for (var i = 0; i < myObject.length; i++) {             gid.push(myObject[i].gid);         }         //var plcd = plcd1[0];         ZoomtoParcelsByAcers(gid, SearchResultsLayer); }   //Function to escape comma in viewparameters     String.prototype.replaceAll = function (search, replacement) {         var target = this;         return target.replace(new RegExp(search, 'g'), replacement);     };      function EscapeCommasSemiColons(input) {         return input.toString().replaceAll(",", "\\,");     }   function ZoomtoParcelsByAcers(gid, SearchResultsLayer) {         $.ajax({              url: 'http://localhost:8080/geoserver/plotgeo/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=plotgeo:vwnew&maxFeatures=5000&outputFormat=text/javascript',             contentType: 'application/json',             dataType: 'jsonp',             jsonpCallback: "parseResponse",             data: {                  viewparams: "gid:" + EscapeCommasSemiColons(gid)             },              success: function (response) {                  search(response);             }         });   }   When i pass multiple parameters in geoserver it is working fine. When i am using above code to zoom to result i am gettin Error like      **<ServiceException>       java.lang.RuntimeException: java.io.IOException java.io.IOExceptionInvalid value for parameter gid </ServiceException>**   Can anyone help what is error in it.


iOS9: configure spotlight news suggestions

When I swipe left from the first page of my home screen, iOS 9 brings me to the spotlight screen.  There I can see Siri suggestions and news. Is there a way to configure which news are showed in this page?  Note: I do not have the news app, I suppose because it is not yet available in all the countries.


I have written these commands, but in the pdf Just there is B. I do not What I should do!  \documentclass{article} \usepackage{marvosym} \begin{document} \Letter \end{document}


Warning: Difference (2) between bookmark levels is greater than one

I have Similar Question to  . I have following hierarchy      \part -> \section -> more than one \subsection --> the content of   subsection .   see the following code    necessary imports are here (assume it) . \begin{document} \title{THE TITLE} \author{AUTHOR} \maketitle \tableofcontents{} \part{PART1} \section{SECTION1} \subsection{SUBSECTION1.1}  fmksmnd  nsdjkn  nvkdfjnv  \subsection{SUBSECTION1.2}    dsmvndsmv   n v,mvn f   nsdv,sdn  \part{PART2}   SAME STRUCTURE TILL THE END   \end{document}   And I am getting the same warning !


How to isolate networks when subnetting?

I'm currently learning about IPv4 and subnetting. As far as I understand, if we want to create 4 small isolated networks with the size 50, we can use subnetting.  If we subnet a Class-C IPv4 network(210.210.210.0) into 4 small networks with the same size (0~63, 64~127, 128~191, 192~255), these small networks are still essential belonged to the big logical network (210.210.210.0) even though we assign subnet masks to them.   If I understand correctly, they can communicate with each other since they share the same network portion. So, in practice, how can we isolate these small networks?  Thanks:)


Strange thing I have here, when apt is locked by something. Respectively, the error codes don't match up. apt update seems to always return success 0, whereas apt-get update returns a proper error code.  vlastimil@vb-nb-mint ~/Development/bash $ sudo apt-get update Reading package lists... Done E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/  vlastimil@vb-nb-mint ~/Development/bash $ echo $? 100  vlastimil@vb-nb-mint ~/Development/bash $ sudo apt update Reading package lists... Done E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/  vlastimil@vb-nb-mint ~/Development/bash $ echo $? 0   apt's location:  vlastimil@vb-nb-mint ~/Development/bash $ which apt /usr/local/bin/apt   apt's version:  vlastimil@vb-nb-mint ~/Development/bash $ apt-show-versions apt apt:amd64/xenial-updates 1.2.12~ubuntu16.04.1 uptodate   I originally wanted to use apt for the manual upgrade script, but this changes the situation. Does someone understand error codes and such in order to help me with this?


How to convert unknown date/time format into normal using Perl?

I have a date/time like this: 2015-07-31T13:30:00.000+01:00 And I want to convert it to normal date and time using Perl and Time::Piece->strptime  Here is my code:   sub changeDateFormat {   my ($date, $fromFormat, $toFormat) = (@_);   return Time::Piece->strptime($date, $fromFormat)->strftime($toFormat); }   The call:   print changeDateFormat($that_date, '%Y-%m-%dT%H:%M:%S.%N+%z', '%Y:%m:%d');   I think that .000 are nano seconds and +01.00 stands for time zone. But the given code gives this:  Error parsing time at /usr/lib64/perl5/Time/Piece.pm line 470  Any help is appreciated.


Do stateless Green Card holders need schengen visa?

I am from the former soviet union, and I have just got my green card after a few years ago.  I am still stateless and have applied for a refugee travel document which may or may not come through.  My question is, if I get my Refugee Travel Document, do I still need a schengen visa?  I just need to go to Germany for about a week for training for my job.  That's all.


I came across this idiom recently:  \def\foo#{...}   That is, a hash but no parameter number. What might be the purpose of this?


I am using the following to define the footline element of my Beamer presentation:  \setbeamerfont{footline}{size=\large}  \defbeamertemplate*{footline}{Institute} %the fontsize changes the size of the footer {    \center{\color{algrey}{\noindent\hspace{0cm}\rule[0cm]{\paperwidth}{1pt}}}\\      \leavevmode%  %   \vspace{0.4cm}     \begin{beamercolorbox}[sep=.5em,wd=\paperwidth,ht=4.90ex,dp=1ex,center]{innerbox}%         % FAU Logo         %\begin{picture}(100.0,0.0)  %           \put(290.7,-9.85){\includegraphics[height=0.7cm]{templates/logos/logo_dummy}} %       \end{picture}         \begin{beamercolorbox}[wd=0.400\paperwidth,ht=2ex,dp=0ex,left]{innerbox}%             {\setstretch{10.0}\fontsize{5}{10}\selectfont \inserttitle \\[4pt] \insertauthor \par}         \end{beamercolorbox}         \begin{beamercolorbox}[wd=1.1cm,ht=2ex,dp=0ex,center]{innerbox}%             {\fontsize{3}{0}\selectfont\textcopyright~\the\year\\[3pt]             %Page \insertframenumber{}/\inserttotalframenumber{}}             Page \insertframenumber{}}         \end{beamercolorbox}         % Page Counter         \begin{beamercolorbox}[wd=0.425\paperwidth,ht=1ex,dp=0ex,right]{innerbox}%             %{\large Institute}\\             \vspace{-0.19cm}             \includegraphics[height=0.7cm]{templates/logos/logo_dummy}             %{\fontsize{4}{0}\selectfont\copyright~Institute, 2013\\[3pt]             %Page \insertframenumber{}/\inserttotalframenumber{}}             % \vspace{-0.5pt}         \end{beamercolorbox}     \end{beamercolorbox} }   This results in a footer rendered as:    As you can see, the title lines have no whitespace (baselineskip) between them. I tried to   set \fontsize{x}{y}\selectfont to different values manually set \baselineskip change \setbeamerfont{footline}{size=\large} change the size of the beamercolorboxes   however nothing helped separating the two title lines.


Question concerning the mean-value property

If $U$ is an open subset of $\mathbb C$, the mean square norm is defined as:  $$||f||_{L^2 (U)} = {\left(\int_U |f(z)|^2 dxdy\right)}^{1/2}$$  And the norm supremum is defined as:  $$||f||_{L^{\infty} (U)} = \sup_{z \in  U} |f(z)|$$  If $f$ is holomorphic in a neighborhood of $D_r(z_0)$, show that for any $0 < s < r,  \exists C > 0$, a constant, which depends on $s$ and $r$ such that:  $$||f||_{L^{\infty} (D_s(z_0))}\le C||f||_{L^{2} (D_r(z_0))}$$  And prove that if $\{f_n\}$ is a Cauchy sequence of holomorphic functions in the mean square norm, then the sequence $\{f_n\}$ converges uniformly on every compact subset of $U$ to a holomorphic function.


Virtual photon description of B and E fields

I continue to find it amazing that something as “bulky” and macroscopic as a static magnetic or electric field is actually a manifestation of virtual photons.  So putting on your QFT spectacles, look closely at the space near the pole of a powerful magnet – virtual photons! Now look between the plates of a charged capacitor – virtual photons again!   But if it’s all virtual photons, how do we get the difference between a magnetic and electric field?  [This question needs the tag "magnetostatics" as well].


What version of Ubuntu should I install on my laptop?

my laptop is an Acer Extensa 5620Z Intel Pentium dual core T2310 (1.46 GHz, 533 MHz FSB, 1M L2 cache) 2 GB DDR2 I wanted to install Linux, and forget about wimdows. Well, install the Ubuntu version 16.04 x 64, Passing the command "lscpu" tells me that the pc is compatible with 32-bit and 64-bit, but it goes very slowly, it gets a lot stuck. I do not know if I should install another version, if they offer me some idea and where to read information on how to do a correct installation. Maybe the question has little basis, but I have read information and I am very lost, formatting maybe I did not choose the most optimal options to use the computer in programming, and as I say, now I look for information, but everything I read did not leave the subject Clear. Forgive syntax and vocabulary, but I must make use of the translator. Thank you.


Prove that an infinite decimal whose digits are natural numbers strung end to end is irrational

The question is from the book The Foundation of Mathematics by Ian Stewart.  Let $y = 0·1234567891011121314151617181920 . . . $,  whose digits are the natural numbers in decimal form, strung end to end. Prove that y is irrational.  This is how I solved it.  I assumed the number is of the form $a_0.a_1a_2a_3.......$ where $a_n = a + nd$ and $a = 0, d = 1$  So if there is no repetition in the infinite decimal places then the number is irrational.  All I had to prove was that assume to there is a repetition after $a_n$ from $a_{n+1}$ till $a_{n+k}$ and if $a_{n+1} \ne a_{n+k+1}$ then there is no repetition and the series must be irrational.  Is my proof correct?


I just found out about the free the fish easter egg available in Ubuntu:   Press Alt + F2  Enter this:  free the fish   Are there any more easter eggs available in Ubuntu? What are they?


Missing Hibernate in Power Options on Windows 10  Power Options:   System info:   What could be a problem?  So I can't check this as in below picture:   UPDATE  this helped (in CMD as admin):  powercfg /hibernate on


How can I alter a player's helmet data? (Such as attributes)

Since you can't modify player nbt data with /data modify, I had to think of a workaround.  I thought to use /data modify to copy a player's helmet into a chest, modify the item there, and replace it back on the player.  So, while wearing a helmet, I tried:  /data modify block 31 241 16 Items[] set from entity @p Inventory   Unfortunately, this doesn't copy over the players armor items, offhand, or 3rd inventory row. It only copies their hotbar and first 2 inventory rows.  Then, I tried:  /data modify block 31 241 16 Items set from entity @p Inventory[{Slot:103b}]   This didn't work. (By the way, slot 103 is the player's head slot) And to be sure:  /data modify block 31 241 16 Items[{Slot:0b}] set from entity @p Inventory[{Slot:103b}]   But no items appeared in the chest, even though I was wearing a helmet. However, this command works fine with item in my first hotbar slot:  /data modify block 31 241 16 Items[] set from entity @p Inventory[{Slot:0b}]   So I assume that /data modify just can't copy anything from a player's armor slots.  If that's the case, is there any way to modify a player's armor data?


Suppose $x,y$ are both positive real numbers. Prove that $(x^2 - y^2)(1/y - 1/x) \geq 0$  I've tried several ways but still stuck on this one, please give me some ideas, thanks a lot.


I have noticed that when posting MATLAB code to StackOverflow that the formatting appears rather inhomogeneous, at least when viewed from my browser (OSX Safari and Firefox).   I've searched around for details on a possible solution, hoping to make the code look as nice as the corresponding C or C++ code; I did find .  Any new plans or news on this?  There was mention of a GitHub project that implements the MATLAB syntax highlighting.  The main culprit appears to be the MATLAB comment character, %. As a workaround I find myself just using regular text to explain what I would normally leave as a code comment, which makes the overall post look disjointed; anyone wishing to simply copy and paste such code examples would then have to insert the comment characters themselves, or copy and paste pieces at a time.  Are there any current plans or updates to have the code formatters better accommodate Matlab code?  Thanks.


I have a level 2 Oathbreaker paladin with a javelin and a halberd, and I'm not sure how to calculate my attack bonuses. Can anyone explain it to me?


For a WPF application which will need 10 - 20 small icons and images for illustrative purposes, is storing these in the assembly as embedded resources the right way to go? If so, how do I specify in XAML that an Image control should load the image from an embedded resource?


creating time line of medical history / injury history of athlete

I am trying to create a timeline of an athlete medical record including on this dates of specific events and also wether the athlete was injured or not. The data will come from an sql database. Any help would be appreciated   thanks   Doc James


How can I flatten value fields from a mapping table into a single column on an output report?

I have a mapping table structured similarly to the following:  ID       EntityID   EntityName  EntityCategory   ValueID -----------------------------------------------------     1          1       System      Category1        50  2          1       System      Category1        51  3          1       System      Category1        52  4          1       System      Category1        53   where ValueID is a FK to another table:  ID     Value ---------------- 50     Red 51     Blue 52     Green 53     Yellow    I need to output a report for business users where each row in the report represents one primary-keyed row in this table, but the "Value" column is a flattened concatenation of the values related to ValueID, like this:  Name     Category    Possible Values ------------------------------------------------ System   Category1   Red | Blue | Green | Yellow   How can I write a query to produce this "flattened" output?


Why do conferences keep deferring the deadlines?

We work on some research problem, obtain some publishable results, then we target an international conference to disseminate the results and methods in, and then there is a 'last' date or deadline.  We submit the complete manuscript to the conference on or before the mentioned deadline of the conference.  Then, suddenly we see the deadlines (both for submission and for the acceptance) continually change over time. For example, in one of the last year's Computer Science conference, the deadlines were changed repeatedly. Please note that the deadlines for submission were getting extended on the very day of the earlier notified deadline, which is another demotivating factor.    Why might it be happening?   Because the targetted number of submissions were not received. The reviewers could not meet the deadlines. Can there be any other reasons than the above two?   I have the following questions:   If the conference organizers were not so firm about this stuff, why did they even have an important date page? It is actually frustrating for the authors who have submitted the paper on the first submission dead line and still waiting for 3 months to get the review. This is ridiculously bad for a conference. The papers which are submitted at the last notified deadline will be reviewed in a less productive way. If this is true, then what is the point of having a peer review? In such a scenario, is it advisable to withdraw the paper from the conference? Does it not hamper the quality of the conference as good researchers would not submit to the same conference again in following years?   I believe that this question is not a duplicate of .


Let $\mathcal{l}_\mathbb{R}^\infty$ be the space of bounded sequences in $\mathbb{R}$. We define a map $p: \mathcal{l}_\mathbb{R}^\infty\to\mathbb{R}$ by $$p(\underline x)=\limsup_{n\to\infty} \frac{1}{n}\sum_{k=1}^n x_k.$$ My notes claim that $$\liminf_{n\to\infty} x_n\le p(\underline x)\le \limsup_{n\to\infty} x_n.$$ I haven't found a neat way to show that this holds (only a rather complicated argument). Is there an easy, intuitive way ?


The title itself is more than self explanatory. I simply need a way to install Oracle's 11g R2 in the latest version of Ubuntu, I'm using a 32-bit OS, and I need to know how to install the x86 version. I also have a 64 bit desktop and I need the install the x86_64 version. Can anyone help me?


I am trying to divide a DTM model in subbasins but I have set specific outlet points for the subbasins, and not to use a thershold.  Is there a tool similar to r.water.outlet but with multiple outlet points that allows to do that on QGIS?


Mass deleting email from an iPhone/iPad?

Is there a workaround for the iOS inability to easily delete ALL (or large blocks of) email from my iPhone and iPad ?


Python get the file name with os.path lib

Hello how can I get the file name with os.path lib? For example:  C:\Users\filippo\Desktop\K.java   I want the K without the extension file


Ubuntu server has no internet connection after upgrade from 14.04 to 16.04

I'm a bit new to linux and ubuntu specially command line stuff. So I currently have a VPS which was running on a 14.04 ubuntu LTS, and as I needed a 16.04 version, I searched and found the way to upgrade it. I SSHed into the server and started upgrading, everything went well and it asked for a restart and I let it. After that I'm not able to to ssh into it. I had a KVM thingy with a VNC to connect and see what is going on. I don't know if an ubuntu server should boot on default (log in a user) or not, but it wasn't booting and there was a message :  /dev/vda1: clean, xxxx/xxxx files, xxxx/xxxx blocks   so I went to manually login using ctrl + alt + f2 and it is upgraded to 16.04 and the SSH service is running with no problem, but I noticed I couldn't do apt-get update or anything similar because I have no internet connection and after 24 hours searching I've come here asking for help.  I don't if it may help but these are the results of the commands I've ran  sudo lshw -C network gives:   and systemctl status networking.service gives :


Consider two sentences -  1) I didn't know that X is a Russian. 2) I didn't know that X was a Russian.  My question is, under the condition that X is still Russian, can sentence 1) be used ?  Thanks.


The / and /usr merge not implemented in my Ubuntu?

Reading through systemd docs I came across .   The discussion about this topic dates from around 2012 AFAIK, and the opinion then was that all major distribution would incorporate this change anytime soon.   However, on my Ubuntu installation this is still not the case. Are there good reasons why this didn't happen?


What are bitwise shift (bit-shift) operators and how do they work?

I've been attempting to learn C in my spare time, and other languages (C#, Java, etc.) have the same concept (and often the same operators) ...   What I'm wondering is, at a core level, what does bit-shifting (<<, >>, >>>) do, what problems can it help solve, and what gotchas lurk around the bend? In other words, an absolute beginner's guide to bit shifting in all its goodness.


What's the difference between 'on the train' and 'by train?'

While studying, I faced these two sentences:     I come to Istanbul on the train every week.   and     I came to Istanbul last week by train.   I want to know is there any differences between the phrases  'on the train' and 'by the train?'  Regards


In `dmesg | head`, (how) is dmesg being killed after 10 lines of output?

If I run these commands:  dmesg | head -n 10   I presume the OS sends back some kind of signal to dmesg once head has read 10 lines. How does this work? What does head tell the kernel?  This is different from a program dying since this is a normal, 'clean' stop.


Is there such a thing as negative dimensions?

From what I understand so far, we live in a 3rd dimension, and we see in the third dimension. We can imagine both the third, second, first, and even the zeroth dimension with thought. However, the fourth and negative dimensions are much harder to understand since we are not able to directly observe them. My personal hypothesis is that these dimensions are not actually the zeroth, first, second, or third dimensions, but rather these are just labels that have been enforced to maintain consistency. Since we are organisms that live inside the "third dimension", and we see "three dimensional" objects in the "second dimension", I assume that an organism that lives in the "zeroth dimension", for example, sees "zeroth dimensional" objects in the "negative first dimension", where it can imagine the dimension it lives in and three dimensions downward


Can these different Lagrangians lead to the same equation of motions?

A particle of mass $m$ moves in one-dimension with position $x$ and potential $V(x)$, described by the Lagrangian $$ L = \frac{1}{12}m^2 \dot{x}^4 + m \dot{x}^2 V - V^2  $$ Show that the resulting equation of motion is identical to that arising from the usual Lagrangian  $ L = \frac{1}{2}m \dot{x}^2 -V .$


Is the Game Of Thrones Telltale game series canon?

I am planning to give the Game Of Thrones Telltale series of 3 episodes so far a shot. However, I am wondering if this series of games is canon. I have read here and there that this series explores the stories of a minor Northern house (House Forrester I think) and that the timeline is really close to the ASOIAF timeline (if not included in it).  So is the stuff written by GRRM, or at least developed with his approval rendering it hence canon?


Why hyperbolic shapes of colour distortion in this image?

I took a photo of my computer screen through my mobile phone camera. Why are these color distortions in hyperbolic shape?


I normally use Octane render, both standalone and plugin version for Sketchup. I'm not at all an hardcore user. I'm trying out Blender in my freetime, just for fun.  When I use the standalone version of Octane, I normally export my sketchup model as obj, and link this file into Octane Render, with it's own node. When I make changes in Sketchup (or Gravity Sketch) I export again as obj and simply press a reload icon in Octane, and the model is updated.   I can't figure out how to do this in Blender. I have only found out how to import, but not link / refresh geometry.   Is it not possible or am I'm looking in the wrong part of Blender?


Why is "high" pronounced "hiy" but is not spelled that way?

Why is "high" pronounced "hiy" but is not spelled as the latter, but the former?  Wouldn't "high" be read as "heeg-h" or "haig-h"?  The other possible duplicate's examples all have a "t" prefixing, and also, the accepted answer for that question does not address why GH is occasionally pronounced out.   Example's of other words starting with "GH" is Ghillie, or ending with GH as in Edinburgh.


Using MAX text or more specific, smaller type

Someone was reviewing my DDL code for creating tables and suggested, when they saw I saw using VARCHAR(256) fields for text I expect to be pretty small, like a first name or whatever, that I should always just use VARCHAR(MAX) and linked . I read it but it seemed dated, as it was focusing on 2005, and didn't seem to offer any real justification to allocate potentially up to 2 GB per row on all text fields.   From a performance, storage, etc. standpoint, how should one go about deciding whether to use VARCHAR(MAX) or a smaller more specific type for modern versions of SQL Server? (e.g., 2008, 2012, 2014)


Techniques for working with a few large binary files in Git

I am working on a project using git, that has about 10 or 12 large binary files.  The files are essentially 3D models which will be brought together at the end of our project but during development we would like to keep them separate.    (This way each modeler can work on a specific model, and have previous versions of their model ignoring other people's work)  What is the best way to work on a project in this manner?  My concern is not the large file size of the models, my concern is how can there be a master repo that simply tracks each of the different models.  I would keep them separately entirely but different animators will be working on each of the models and so they need to be synced (they can't just be in separate repos) but I am not sure how to proceed.  Should I just use different branches for each model?


how to display upright letters in math mode without manually creating space?

\documentclass[11pt,a4paper]{article} \title{Title} \author{Author} \begin{document} \maketitle $\{ n \mid n\ \mbox{is\ even} \}$  \end{document}   Since it is a relatively rare occasion for me to display upright letters in math mode, I kind of ignored this problem for a long time. But recently, when I prepared my tutoring notes, I found manually creating space is annoying. I thus wonder if there is any way out?   I would also like to know if it is possible to display upright letters without commands such as "\mbox" or "\textup" in math mode?


I have shapefile with few polygons. Some of them are self-intersecting. In ArcMap I can use "Repair geometry" tool, and it works well. But problem is, that for that task some users need to use open source or free tools.   I found tutorial on  how to do that, but it is too hard to do it without explaining how it works.   Is there any other fast, one-click process for repairing geometry, like in ArcGIS software?


How do I change the colors of the application interface in TexStudio?

I understand how to change the colors of the editor itself ( as in the link:  ) but now I want to change the application interface from white with black font to black with green font. Do I still use .texprofile? Any help would be much appreciated.


How to configure Separate Domain registrar, Web host and Email host settings?

Let's say we have a domain example.com   Domain registrar : NAME.COM Web Host : IPAGE.COM Email Host : GMAIL (Google Apps)   My understanding is that:    I should add MX records to use Gmail (clear) I must add A record to use Ipage hosting (clear)   What should be the Nameserver values? Should I keep the nameserver values of NAME.COM or change them to IPAGE nameserver values? And is it necessary to change nameservers?  UPDATE: I wanna make everything clear before I make actual changes.


I tried the following script to give myself convenience in changing directories to different hard disk partitions. But after its execution, the default location does not change, but if I use command line, location change is successful, as shown below. Can anybody help?  john@X61s:~$ pwd /home/john john@X61s:~$ vi chdir  john@X61s:~$ ./chdir c here ... 1 john@X61s:~$ pwd /home/john john@X61s:~$ cd /media/john/90F8-0AAE/ john@X61s:/media/john/90F8-0AAE$    The script chdir is the following  #! /bin/bash dir=$1 if [[ $dir = 'c' ]]; then echo 'here ... 1' cd /media/john/90F8-0AAE/ elif [[ $dir = 'd' ]]; then   echo 'here ... 2'   cd /media/john/E5A9-932C elif [[ $dir = 'e' ]]; then   echo 'here ... 3'   cd /media/john/56de0045-aa0e-4b69-8270-44b4ec866fa2/ else   echo "$dir not defined"   exit fi


Does anyone know what symbol this is? I think it is M but I'm not sure which font.


Let $x_1,x_2,x_3...$ be all consecutive positive roots of the equation $\tan x = x.$ Find $\lim_{n \rightarrow \infty}(x_n-x_{n-1}).$  I feel like the answer is $0$, as the gap between $x_n$ and $x_{n-1}$ is getting smaller and smaller.  My attempt: Note that $ n\pi\leq x_n \leq (n+1)\pi$. However, $\pi \leq x_n - x_{n-1} \leq \pi$ and I couldn't use Squeeze theorem to conclude.   Any hint would be appreciated.


Discrete-time sequence with labels for individual samples

\documentclass[12pt]{beamer}   \usepackage{pgfplots}   \usepackage{tikz}    \begin{document}   \begin{figure}%     \begin{tikzpicture}[scale=0.8]       \begin{axis}[axis lines=middle, xtick={-3,-2,...,5,9},         xticklabels={-3,{}, -1, 0, 1, {}, {}, {}, 5, $k$},         extra x ticks={-2, 2, 3, 4},         extra x tick labels={$-2$, $2$, $3$, $4$},         extra x tick style={           xticklabel style={yshift=0.5ex, anchor=south}},         xmin=-5,xmax=11, ytick={\empty}, yticklabels={},         ymin=-5, ymax=6, axis on top]         \addplot+[ycomb,black,thick] plot coordinates         {(-3,3) (-2,-2) (-1,1.5) (0,4) (1,1.5) (2,-1.5) (3, -3)           (4,-1) (5,4) (9,5)};       \end{axis}       \node at (5.1,3.5) {$\cdots$};       \node at (0,3.5) {$\cdots$};       \node at (0.8,4.5) {\tiny{$x[-3]\delta[n+3]$}};       \node at (2.7,4.8) {\tiny{$x[0]\delta[n]$}};       \node at (4.2,5) {\tiny{$x[5]\delta[n-5]$}};       \node at (6,5.5) {\tiny{$x[\alert{k}]\delta[n-\alert{k}]$}};       \node at (6.8,2.2) {$n$};       \node at (2.7,5.7) {$x[n]$};     \end{tikzpicture}   \end{figure}   \end{document}   After some more searching in this forum, I have come up with this code and the associated plot.  The positioning of the things I want is a kludge.  Questions: All the positioning is manual (by trial and error). Even the x- and y-axis labels I had to locate by trial and error.  Can this be automated?  When I change the fontsize for the x-labels (e.g., \footnotesize), their alignmens get messed up.


Software updater warning: requires installation of untrusted packages

I am using Ubuntu 15.04 and when I try update for Software updater I always get this error:     I also tried to not download some packages and download the main ones but the error always stays there.


Nearby objects won't move independently?

I created a thick glass bottle and duplicated the interior faces to make a new object to create the liquid inside.   I went in the edit mode, selected the faces I wanted to copy and duplicated them with ShiftD. Then I pressed P to  separate the duplicated faces.   Now I try to make a duplicate of that liquid to make it flow out of the bottle, and I simply need the duplicate of one face of it. So I go to edit mode and do as I did to make the liquid from the bottle faces... but as soon as I'm back to the object mode and I want to move the duplicated faces, every thing moves with it...   I played around and tried things, and while doing so I realized that if I dupe the liquid object in object mode using ShiftD and press 0 to place it where the original is, they move together if I duplicate it and place it somewhere else so that they are separated.   Also if I pick one of the two separated objects and make it intersect with the other one, release my left mouse button to place it there, and then try to move it again, they both move together, but not at the same speed.  I really don't understand what is going on and I'm sure it's really badly explained, so what I'll do is make a screen capture of my Outliner and record the behavior of the objects and upload those to help you understand.


How do I use a Wacom Intuos 2 on OS X Sierra?

I have a Wacom Intuos 2 and a 2009 MacBook running OS X Sierra (not High Sierra). Is there any way I can possibly get the tablet to work with my computer?


How do I create a transparent hole in Adobe Illustrator

I am designing some key tags and am VERY new to illustrator. I currently just have a circle placed where I would like the hole, is there a way I can "cut that circle out so there is just a hole in the design that is transparent behind it?


I’m currently working on a solar powered boat with a modest sized team of people. For our competition we are only allowed to have 3 12v batteries on board but we are allowed to have up to 52v at any point in our setup. We are hoping to kick up the speed of our outboard motor for the sprint portion of the completion and are looking into using a boost converter for this.   After doing a little research I’m a bit confused about how they fundamentally work. From what I can tell they take in a voltage and current and put out a higher voltage with a lower current with some level of efficiency. But it seems to be independent from the load( in this case the motor) which doesn’t make much sense to me because I thought the current would be determined by whatever my load is. How do loads actually interact with boost converters?( The simpler the better.)  For reference we are using the Saietta 119r motor system and I’m considering using the MPS MPQ3425 boost converter.


Is my visualization of a photon correct?

When trying to visualize a photon, I imagine it as an electromagnetic wave of very short length. Is this accurate?


Consider $a_1,\ldots,a_n\in \mathbb Z$.  i) Suppose $a_1,\ldots, a_n$ are pairwise relatively prime. I have to see by induction on n that $[\mathbb Q(\sqrt a_1,\ldots,\sqrt a_n):\mathbb Q]=2^n$  Once I proved the equality is true for $n=1$, I suppose it is true for $n-1$, so let's prove it for $n$: Applying the tower law: $[\mathbb Q(\sqrt a_1,\ldots,\sqrt a_n):\mathbb Q]=[\mathbb Q(\sqrt a_1,\ldots,\sqrt a_n):\mathbb Q(\sqrt a_1,\ldots,\sqrt a_{n-1})] [\mathbb Q(\sqrt a_1,\ldots,\sqrt a_{n-1}):\mathbb Q]$  By induction, $[\mathbb Q(\sqrt a_1,\ldots,\sqrt a_{n-1}):\mathbb Q]=2^{n-1}$  So we only have to see that $[\mathbb Q(\sqrt a_1,\ldots,\sqrt a_n):\mathbb Q(\sqrt a_1,...,\sqrt a_{n-1})]=2$  $[\mathbb Q(\sqrt a_1,\ldots,\sqrt a_n):\mathbb Q(\sqrt a_1,\ldots,\sqrt a_{n-1})]=[\mathbb Q(\sqrt a_1,\ldots,\sqrt a_{n-1})(a_n):\mathbb Q(\sqrt a_1,\ldots,\sqrt a_{n-1})]=deg(Irr(\sqrt a_n,\mathbb Q(\sqrt a_1,\ldots,\sqrt a_n))$  $Irr(\sqrt a_n,\mathbb Q(\sqrt a_1,\ldots,\sqrt a_{n-1})=X^2-a_n??$  I have to see that  $\sqrt a_n \notin Q(\sqrt a_1\ldots,\sqrt a_{n-1})$. By contradiction,  if$ \sqrt a_n \in Q(\sqrt a_1,\ldots,\sqrt a_{n-1}) \to \sqrt a_n= a+b\sqrt a_{n-1}$ where $a,b\in Q(\sqrt a_1,\ldots,\sqrt a_{n-1}$. How can I get to a contradiction???  ii) Consider $P$ the set of prime numbers and $F$ an extension of $\mathbb Q$: $F=\mathbb Q (\sqrt p,  p\in P)$ Which is the degree of $F/\mathbb Q$? Is it finitely generated?  Could you help me with this problem please?  Thank you for your time and help.


How do I determine the number of elements in an array?

I just got some problems to determine the number of elements in one of my arrays. I got for example following code:  typedef struct {     char b[100];     int c; }abc;  typedef struct {     char qwe[50];     abc *poi; }def;  abc xyz[] = {     {"xyz", 10},     {"ijk", 20},     {"gdf", 30},     {"hfg", 40} };  abc uio[] = {     {"cde", 50},     {"ghi", 60},     {"hbc", 70} };  def mnb[] = {     {"kio", xyz},     {"mkl", uio} };   I know that I can determin the number of elements in the array mnb like this:  int count_mnb = sizeof(mnb) / sizeof(mnb[0]);   But how do I determine the number of elements in xyz? I want to use xyz as part of the first element of mnb and not just replace mnb by xzy. Something like this:  int count_xyz = sizeof(*mnb[0].poi) / sizeof();   But I couldn't figure how to do this.


Proof of the right and left cancellation laws for Groups

I was asked to proof the right and left cancellation laws for groups, i.e.      If $a,b,c \in G$ where $G$ is a group, show that $ba = ca \implies b=c $ and $ab = ac \implies b = c$   For the first part, I went about saying $$ba = ca \iff a = b^{-1}ca \iff b^{-1}c = e \iff (b^{-1})^{-1} = c \iff b = c$$  Similar proof for the second part.  However, I am afraid that I am thinking in circles here. Is this a valid proof?


Recommendation letter for a good student that you don't know?

Let say you a professor and there are lots of students, say 100 in your course. After the exam, a student whose final mark is, say 85/100, sends you an email to ask you for a recommendation letter. Assuming that you don't know him, or just remember that he went to your lecture some times (of course you can check his mark). Will you write a recommendation letter for him?


Can matter be described as the result of the curvature of space, instead of vice versa?

Can matter be described as the result of the curvature of space, rather than the curvature of space being the result of matter, and energy being the cause of the curvature of space?


How to merge a column in single row in sql server

I have a following data:  Comp_id |    Cntm_nb |  Seq_nb   |  Amount   |  Type     1    |      1     |    1      |  2000     | rent    1    |      1     |    1      |  200      | charge    1    |      1     |    2      |  3000     | rent    1    |      1     |    2      |  300      | charge   from which i want to show the following result  Comp_id  |  Cntm_nb  | Seq_nb    | Rent Amount  |  Charge Amount       1     |     1     |   1       | 2000         |  200       1     |     1     |   2       | 3000         |  300


Question: Determine all the finite groups that have exactly one nontrivial proper subgroup.  MY attempt is that the order of group G has to be a positive nonprime integer n which has only one divisor since any divisor a of n will form a proper subgroup of order a. Since 4 is the only nonprime number that has only 1 divisor which is 2, All groups of order 4 has only 1 nontrivial proper subgroups (Z4 and D4)


Why did Morgoth care so much about hurting Húrin?

In The Children of Húrin by Tolkien (and edited by his son), Húrin is bound to a stone chair at a high place on Thangorodrim by Morgoth. This is to force him to watch his children — especially Túrin — do various awful things, like killing their friends, and eventually committing incest with each other and then killing themselves.  But it seems to me that the effort Morgoth expends to achieve this end is enormous; he even sends Glaurung, one of his greatest servants, to his death, so as to torment Húrin. Why does he use so much of his time and power just to torment one man, even if that one man defied him? Isn’t that just overkill? And couldn’t he use that power to a better end?


Listen to all your fans   Name all the states   vs      Listen to all of  your fans   Name all of  the states   What part of language is of  in these examples? Is it necessary or optional, correct or incorrect?


Is high CPU temperature directly related to a Blue Screen?

First of all I'd like to note that this is not about solving my issue at hand per se, the PC in question will be brought to someone to fix it, it is more a question out of curiousity.  So here is the thing, the PC has an i7-920 CPU. It has been working fine for the past years. However since a few days the CPU fan is not spinning anymore (suspecting it is broken), but at the same time I'm getting bluescreens when the CPU temperature reaches above 85 degrees celsius.  I am wondering if there is a direct relation to the CPU temperature and Windows blue screening? All I know is that my BIOS is not controlling this, the i7-920 shuts itself down at 105 degrees celsius. So why exactly am I getting a Blue Screen?  Any explanation would be highly appreciated, just out of curiousity.  ps. Something that does concern me. Several years ago I have ran Prime95 for hours on this PC and the temperature would be at a steady 95C, with the fan running obviously. Yet now on 85C it is already blue screening.


Let R={f:{1,2,3,4,5,6,7,8,9,10}→Z2}Then which of the following are correct?

Let R={f:{1,2,3,4,5,6,7,8,9,10}→Z2} be the set of all Z2-valued functions on the set [1,2,3,4,5,6,7,8,9,10} of the first ten positive numbers.Then R is a commutative ring with point-wise addition and multiplication.Then which of the following are correct? a)R has a unique maximal ideal b)every prime ideal of R is maximal ideal c)number of proper ideal of R is 511 d)every element of R is idemmpotent


Cannot connect to SAMBA shares drive after update to Catalina

I have a raspberry pi 4b running raspbian buster lite, connected to this I have a 1TB HDD, on Mojave I was able to connect to the network folder and access the files on it, however with the new Catalina update I get this when I try to access it (I can still see it) "The operation can’t be completed because the original item for “RASPBERRY FOLDER” can’t be found." Is there any way to fix this or connect to the folder/files a different way?


The set of all strictly increasing sequences of natural numbers

The set of all strictly increasing sequences  ($a_n$) of natural numbers has cardinality $\mathbb{N}$, $\mathcal{P}(\mathbb{N})$ or $\mathcal{P}( \mathcal{P}(\mathbb{N}))$?  I answered $\mathcal{P}(\mathcal{P}(\mathbb{N}))$ because as the set can be described by $X=\{\{\ldots, a_n, \ldots \},\{\ldots,b_n,\ldots\}, \ldots\}$ as it is not known if there are any limited sequences (so, assuming all have infinite elements), the cardinality of $X$ could not be the first option $\mathbb{N}$ because considering any function $\phi : \mathbb{N} \rightarrow X$ there would always be elements not listed from $X$. So I thought it would possible to say that $|X|\ge | \mathcal{P}(\mathbb{N})|$ and thinking that trying to build any bijection $\varphi: \mathcal{P}(\mathbb{N}) \rightarrow X$ would also not be possible as there would be elements from $X$ not listed too. So than I got $|X| = |\mathcal{P}( \mathcal{P}(\mathbb{N}))|$, but I would like to know if I answered correct and, if not, why?


Sending bulk / single emails from a single domain

Let me explain our situation:  We have a web application that uses subdomains for each customer instance:   customer1.example.com customer2.example.com   Every instance can have over 500 users, which all have entered their own email address. We send different kinds of emails to these users. If a newsletter is sent for example, an email has to go out to 500+ users (bulk)(contents are slightly different). But on other occasions we send emails to single users (reset password, reminders...). We also have applications that can 'manage' different instances of our application. From their own application they can send notifications to all users in all their associated application instances (for example 5000 users).  Replying to emails that people receive is not necessary, so we could a no-reply@...... (but then that email has to exist? We have over 13k instances, does that mean 13k no-reply addresses?)  The user receiving the email should see that the email comes from their instance name (customer1).  There is not an email for every instance like mail@customer2.example.com  Currently we are having loads of problems with bounced emails. We are classified as spam, even though we send our emails through SendGrid (shared IP). We are positive that none of the emails that are sent are spam.  How should we send our emails? What sender / from / reply-to.... headers should we use? How can we minimize our bounce rates?


Is it true that every pair of twin primes >3 is of the form 6n plus or minus 1?

Is it possible to have twin primes whose center is not divisible by 6?


How does water evaporate if it doesn't boil?

When the sun is out after a rain, I can see what appears to be steam rising off a wooden bridge nearby. I'm pretty sure this is water turning into a gas.  However, I thought water had to reach 100 degrees C to be able to turn into a gas.  Is there an edge case, for small amounts of water perhaps, that allows it to evaporate?


Showing that the set of fixed points is a smooth manifold

Let $M$ be a smooth manifold and Let $G$ be a finite group acting on $M$ by diffeomorphisms. Show that the set of fixed point $F=\{m \in M: g.m=m \}$ is a smooth manifold. I am unable to deal with the set of fixed points. It doesn't seem to be an open set. It would have been trivial if it was open. Any hints?


I just made a  to flag a "thank you" answer. But this is what I got when I clicked "flag":    This is a brand new account. What happened?  Update: this issue also occurred on Physics SE. It hasn't affected Stack Overflow or Lifehacks SE.


How to install Android SDK from android-sdk_r10-linux_x86.tgz in Ubuntu 10.10 for using in Eclipse IDE?


How do I unlock all the other ships in the hangar?

In my FTL career, I've managed to unlock one or two of the other ships in the hangar, but there are still some that are unavailable.    One thing that I've found is that there tends to be a relatively complex series of events that leads to unlocking a new ship type.  It seems like for at least some of them, a measure of advance planning and correct event responses is required.  What are all the ships available, and how do I unlock each one?


In his book on ordinary differential equations, Arnold says that, in general, equations which contain unknown functions and their derivatives are not differential equations. For example, Arnold says,  $$ \frac{dx}{dt}=x(x(t)) $$  is not a differential equation.  How can one solve this non differential equation?


House computer with AI takes over home, tries to procreate with woman

A malevolent computer with AI takes over a woman's house with the intent of hybrid computer/human procreation. The evil computer seals off the house with the woman in it and keeps her prisoner while it prepares. I read the tale sometime in the late 80's or the early 90's. It was one of many of my missing books that got yardsaled by my in-laws when I wasn't looking. It may also have been made into a movie, but I didn't see the film.


Vertices Move Around With Jerking Motion

I pressed G and tried to move vertices but they move with these drastic jerking motion. How do I freely move this around?    Thanks a billion. I'm totally new at this and I have no idea what's happening!


14.04 LTS No Dash / Launcher after update through Software Updater

I'm getting no Dash / Launcher after I login. This started after an update through the Software updater. Please help to fix ... I've already lost a day trying different options posted on askubuntu.com. Nothing worked.  Got to the terminal via Ctl + Alt + F1 and logged-in successfully.  Here are the logs: .xsession-errors Script for ibus started at run_im. init: unity-panel-service main process (2315) terminated with status 1 init: indicator-printers main process (2459) terminated with status 1 init: unity-settings-daemon main process (2300) terminated with status 1 init: upstart-dbus-session-bridge main process (2293) terminated with status 1 init: hud main process (2304) killed by TERM signal init: indicator-bluetooth main process (2446) killed by TERM signal init: indicator-power main process (2448) killed by TERM signal init: indicator-datetime main process (2451) killed by TERM signal init: indicator-sound main process (2453) killed by TERM signal init: indicator-session main process (2483) killed by TERM signal init: indicator-application main process (2486) killed by TERM signal init: Disconnected from notified D-Bus bus   UPDATE (Jun 8, 2014):  Okay, I have reset unity, but I cannot login normally via the login screen. Steps I follow: 1. Login screen -> blank ... No dash / no launcher / No Status (Notification) Bar on top 2. Ctrl+Alt+F1 to bash terminal 3. export DISPLAY=:0 4. unity-tweak-tool --reset-unity (This does not complete, blocks on OpenGL) 5. I anyways continue to by doing: Ctrl+Alt+F7. 6. Launcher & Dash look good. But there is (a) No Status / Notification Bar on top 7. Continuing to work this way. Haven't logged out since.


Help identify the insects I keep finding at my house (Auburn, WA)

Could anyone tell me what is this living being is called? I keep finding his relatives flying/crawling in my house once in a while since late Summer this year. We live in Auburn, WA, in case it helps narrowing down the list of who it can be...    Knowing the name will help me figuring out:   whether it's dangerous for my wife, or our infant; how to get rid of it (I start suspecting they either breed inside the house, or somewhere very close because I only find these insects when it's getting warmer outside).     Sorry for the low quality of the photo. By the way, this animal is about 15mm or 5/8" long (not measuring the legs).


Characterizing Dense Subgroups of the Reals

Possible Duplicate:          Let $(\mathbb{R},+)$ be the group of Real Numbers under addition. Let $H$ be a proper subgroup of $\mathbb{R}$. Prove that either $H$ is dense in $\mathbb{R}$ or there is an $a \in \mathbb{R}$ such that $H=\{ na : n=0, \pm{1},\pm{2},\dots\}$.  I am not able to proceed.


Official Archive/Museum for the closing sites

Possible Duplicate:          There are two purposes an archive is needed: The closure of beta sites, and the deletion of old yet popular questions on Stackoverflow (and SuperUser and Serverfault if applicable).  One of the main purpose of StackExchange is to improve the web, by allowing great quality questions and answers to be written. One of the worst crimes of a website is to break links, that crime gets worse with the popularity of the content, and there is no denying that StackExchange is popular. The deletion of old questions on SO, and the closing of SE sites is sad, but understandably correct.  So move the questions to a readonly site called something like archive.stackexchange.com.  Pros:   Links remain intact, the old links can be forwarded to the new site Much less loss of data/content All the old and now considered off topic can be removed from SO without any issues/controversy at all.   Cons:   Cost, even though readonly the site would still need to be run (obviously)* Somewhat contrary to the idea of SE sites which is to create communities of experts, although it helps maintainer the great SE community (and the web in general)   *though I believe that deleted questions are still available to 10k users? So they are still being stored and accessed?  To reduce clutter, the questions available from closed sites should only be archived if they have an answer, and with maybe at least one vote on either the question or answer, or if there is more than a certain number of views


I am making a java project which records football games and displays the league table. When a game is added to the league between two teams, I need a way of storing the teams position in the league based on the number of points that the Team have.  To do this is am thinking of using a HashMap< Integer, Team > where the Integer is storing the Teams position in the league based on the number of points that a team has. Whenever a new game is added I need a way of ordering this list so that it is sorted where the Teams with the greatest number of points are closer to the number one position.  For example, if there are three teams   Team A with 8 points, Team B with 5 points, Team C with 4 point  I would like the Map to be ordered as such  1 : A, 2 : B, 3 : C  My question are:  1) Do you think I should be using a HashMap or TreeMap for this instance?  2) How would I implement the code to sort the league by points aquired?


Re-compiling Python Addin after editing script?

I have been developing a few python addins and I'm just wondering what is the best way to re-compile the addin anytime I edit the script.  Currently, if I make an edit to the script, it seems like I have to   Close ArcMap Go to My addin folder and double click the 'makeaddin' python file Double click the 'Python Addin File Restart ArcMap for the changes to come into effect   If I don't do these steps, then the edits aren't recognized. This gets pretty annoying and time consuming when I want to place maybe a simple print line somewhere or I do a small edit just to test a result.  Is there a better way of doing this?


Can I transfer from Heathrow T3 to T5 without a visa? I am a Philippine Passport holder

I will arrive Heathrow T3 at 6:10pm. I will depart from Heathrow T5 the next day at 6:30am for Madrid. I plan on staying at one of the airport hotels (probably the Sofitel at T5 since it is directly connected to the terminal), as there is nowhere to sleep in at the airport terminal.   Will I need to go through Immigration and Passport Control to transfer terminals and stay in the airport hotel?  Will I need a transit visa?


In Mountain Lion, where is the exclude list for Time Machine stored?

I want to know if the list of Time Machine excluded files (pictured below) can be found in a file somewhere.    I know about the question  which has a lot of good information about StdExclusions.plist, mdfind and tmutil – but not the answer for this question.   also talks about .exclusions.plist, which is almost the answer to this question. But there's a catch, I haven't done a backup yet, so I can't read the .exclusions.plist file from the Time Machine backup volume.  I'm doing cd / ; sudo find . -iname "*exclusions*" now, keeping my fingers crossed.


Whenever I try to connect to a certain server, an error message came saying "Connection refused" and "no further information". This situation does not appear in other servers.  This situation also does not appear when I connect through another WiFi. It also doesn't appear when I use another address to connect to the server.  The version of Minecraft doesn't matter as this appears in every version. I tried relogging and redownloading Minecraft, but it does not solve the problem.  Is it because of my Firewall settings? Is it because of the WiFi settings? Is it because of the server? Which has nothing to do with me?


Spring (No Spring Boot) - How do I use properties from application.properties without Spring Boot magic?

I am creating a shared library that is utilizing Spring Framework, without Spring Boot.  I am trying to use the @Value("${foo.bar}") to retrieve properties set in application.properties, but I am unable to do so.  Part of the reason is because Spring (without Boot) doesn't know anything about application.properties, so I am hoping you know how I can configure that in my code to utilize that as a properties file.   Sorry if I confused you.    I have tried adding @PropertySource("classpath:application.properties"), but doesn't seem to be working.