Zalgo in user names and effects on comments rendering

After viewing  (which contains a lot of Unicode) I had the idea to test if usernames allow ZALGO. To my dismay they do.  Is this wanted? Together with ShadowWizard we did a quick test. ZALGO has the ability to "break" comments.        Shouldn't that be avoided before someone start abusing it?    EDIT: little clarification: I asked around and it seems that some time ago Zalgo didn't work in usernames. So it seems that some "recent" change broke that rule. While it is true that missuses could be handled manually, it could be worth to check why the behaviour changed suddenly (assuming my sources where right).


If $p$ is prime and $a$ is a positive integer where $p\nmid a$, then prove $a^{(p-1)!}\equiv1 \pmod p$.   I know that Fermat's Little Theorem guarantees that $a^{p-1} \equiv 1 \pmod p$.  I also know that $(p-1)! = (p-1)(p-2)(p-3)\ldots(2)(1).  $


Is there a quick way to find the remainder when this determinant is divided by $5$?

Find the remainder when the determinant $\begin{vmatrix} { 2014 }^{ 2014 } & { 2015 }^{ 2015 } & { 2016 }^{ 2016 } \\ { 2017 }^{ 2017 } & { 2018 }^{ 2018 } & { 2019 }^{ 2019 } \\ { 2020 }^{ 2020 } & { 2021 }^{ 2021 } & { 2022 }^{ 2022 } \end{vmatrix}$ is divided by $5$.   I'm aware that this problem has a number-theoretic solution involving congruence relations. But considering that this was asked as a multiple-choice question in a test, what should be the best way to approach problems like this?  The options were $(a)\quad1\quad (b)\quad2\quad (c)\quad3\quad (d)\quad 4$


I am trying to restart a service without being root. Here is the code snippet where the command being used template {   source      = "{{vault_template_dir}}/agent.crt.tpl"   destination = "{{vault_tls_dir}}/agent.crt"   command     = "/usr/bin/systemctl restart vault.service" }  after researching and reading similar issues, I've tried to give a limited sudo command for the group I an using (user=vault, group=vault) by editing the /etc/sudoers file and adding the following line: %vault ALL=(root) NOPASSWD: /usr/bin/systemctl restart vault.service  However, I am still getting an error when I try and run the command. error log file: Apr  4 23:27:41 xxxxxx vault[133973]: Failed to restart vault.service: Interactive authentication required.  vault.service [Unit] After=network.service hostname.service consul-init.service consul.service Description="Hashicorp Vault - A tool for managing secrets" Documentation=https://www.vaultproject.io/docs/ StartLimitInterval=200 StartLimitBurst=5  [Service] User=vault Group=vault ExecStart=/usr/bin/vault server -config="{{vault_server_config_file}}" ExecReload=/usr/bin/kill -HUP $MAINIP CapabilityBoundingSet=CAP_SYSLOG CAP_IPC_LOCK LimitNOFILE=65536 LimitMEMLOCK=infinity Restart=always RestartSec=30  [Install] WantedBy=multi-user.target  can someone please help me with this issue?


Certain "core" apps lost access to media files

At some point in time (about a week ago) something happened to my Motorola Moto Z2 Play / Android 8.0 that caused my base apps to not have access to my media files (i.e. audio, photos etc.). Examples:  all my custom ringtones (i.e. based on my own media files) were reset to default sound:  Contact apps reset custom ringtones for contacts to default one, Alarms & Clock app reset custom alarm tone to default one, SMS (Messages) app reset custom message notification tone to default one, system-wide default notification tone (set by me to custom) was reset as well, system-wide default ringtone (set by me to custom one) was reset,    because my contacts app keeps saying: "No pictures are available on the device".  While first situation is resolved. I see my custom ringtone files in the list and I can go through my contacts and assign them again. But second situation is not resolved. I see this error all the time and I cannot change any contact's photo. This is verified as not a bug (tested three different contacts-like applications and all of them shows exactly the same message, when trying to change contact's photo). But still, it seems that problem is limited to contacts-related apps only. Other apps still has read and write access to my custom files. For example: :  (read) I can pick any photo or other custom file and attach it to an e-mail, send it as MMS or share it in any other way or (read) upload it to OneDrive or Google Drive etc. or (write) my Camera app is still able to make new photos and store them in "DCIM" or (write) my sound recorder is able to record sound and write audio files.  The only thing that has changed on my phone recently and that I suspect as the cause of above metioned situation was Android 7.1.2 --> Android 8.0.0 update. Is there anything I can do (since replacing contacts app didn't resolve the situation) or check in this case? Or resetting the phone to factory defaults is the only option that I am left with? EDIT: I have cleared cache and data of media app, as suggested in comment. It didn't help.


When a player tries to steal the ball from a dribbling player, the referees sometimes award a "reaching foul". I just can't see any difference between a steal and a foul


so I'm such a noob in Python it's painful but I'm trying to come up with a way to PING a site, then spit out an 'if/else' clause.  So far I have this:  import subprocess  command = "ping -c 3 www.google.com"  # the shell command process = subprocess.Popen(command, stdout=subprocess.PIPE,      stderr=None, shell=True)  #Launch the shell command: output = process.communicate()  print output[0]   Below is where I go awry, here is part two:  if output == 0.00 print "server is good"  else print "server is hosed"   Obviously part 2 is not working out.   My question is, how do I "read" the results from the ping (the milliseconds)     icmp_seq=0 ttl=44 time=13.384 ms  and say "if the ping time is faster than 12.000 ms then do THIS" else     "do THAT"  Right now I'm just doing a print but soon I'd like to change that so something else.


Missing capital in "info" tab of tag page

Very very minor issue, but at some point, a capital "I" went missing in the "info" tab below, whereas all the other tabs are capitalized. Happens on the 4-5 sites I've tested, likely on all others. It has apparently been so since at least .        It used to be capitalized, per 1 (January 5th):        I thought the trend was to go for Title Case as much as possible, so am I right in thinking that was unintended? If not, why is it so?    1 And the fact that knowing myself, I'd have twigged earlier if it hadn't been...


How to prove this inequality?$\frac{1}{n+1} + \frac{1}{n+2} + \cdots+\frac{1}{n+n} + \frac{1}{4n} > \ln 2$

$$\frac{1}{n+1} + \frac{1}{n+2} + \cdots +\frac{1}{n+n} + \frac{1}{4n} > \ln 2$$  $n$ is positive integer.  Thank you !


How do I put text over a squiggly arrow?

I am currently trying to write text over a squiggly arrow (\rightsquigarrow). For normal arrows, I use the extarrows package, which provides commands like \xlongrightarrow and \xLongrightarrow which dynamically stretch the arrow depending on the text length. However, the package does not provide commands for squiggly arrows and I was not able to find another one which does so.


What is the difference between recursion and tail-recursion?

I am new to the scheme language and one of the things the professor talked about was tail recursion. I didn't quite get it. Can someone please explain to me in detail what is meant by tail recursion and how it differs from normal recursion?  Also, does anyone have any idea on how For-loop and Which-Loop were implemented in languages like C++, Java etc. This part is just for curiosity purposes.  Thanks


Cursor hitting "border" between differently sized monitors

I'm not sure if I'll be to explain this right. I have a dual monitor display on Windows 7 and my left monitor (laptop) has a lower vertical resolution than the right monitor (regular LCD monitor). So obviously, if I stick these monitors together, there's a part in the upper-left corner of my LCD monitor where cursor cannot go to the other monitor. I remember there was a trick to make this gap disappear, and make it seem like the monitors are of equal height.  Any suggestions?  By the way, I am also using UltraMon.


Extract numerical data from MS Word graph

I have a word document that includes chart objects linked to data held in unknown spreadsheets that cannot be accessed.  The charts are 'frozen', in the sense that they are displaying the data correctly, despite the data links being effectively severed (although the links themselves DO still exist in File>Info>Related documents>Edit links to files, but the source locations are meaningless on my machine). Accordingly, use the Edit Data command simply confirms that "the linked file is not available".  The numerical data forming each chart series must exist in some form within the Word doc, since if the mouse cursor is hovered over any particular point, the pop-up appears with the x and y data. However, if the graph object is copied into, say, Excel, the chart appears blank as the series then refer to blank cells within the spreadsheet.  QUESTION: How can I automatically extract the numerical data from these charts (i.e. without having to manually read each individual point and write down the values)?


I have before the beginning of the document \addbibresource{references.bib} and at the end of it \printbibliography.   The references have this format :   @ARTICLE{2015MNRAS.452.1089P,    author = {{Porth}, O. and {Komissarov}, S.~S.},     title = "{Causality and stability of cosmic jets}",   journal = {\mnras}, archivePrefix = "arXiv",    eprint = {1408.3318},  primaryClass = "astro-ph.HE",  keywords = {instabilities, MHD, relativistic processes, stars: jets, galaxies: active, galaxies: jets},      year = 2015,     month = sep,    volume = 452,     pages = {1089-1104},       doi = {10.1093/mnras/stv1295},    adsurl = {http://adsabs.harvard.edu/abs/2015MNRAS.452.1089P},   adsnote = {Provided by the SAO/NASA Astrophysics Data System}   No error, but doesn't print a thing.  \documentclass[12pt,twoside]{report}  \usepackage[utf8]{inputenc}  \usepackage[english,greek]{babel}   \usepackage[a4paper,width=160mm,top=25mm,bottom=25mm,bindingoffset=6mm] {geometry}  \usepackage{amsmath}  \usepackage{esint}  \usepackage[normalem]{ulem}   \usepackage{graphicx}  \usepackage{subcaption}  \graphicspath{{Images/}}  \usepackage{array}  \usepackage{wrapfig}  \usepackage{multirow}  \usepackage{tabu}  \usepackage{wrapfig}  \usepackage{hyperref}  \usepackage{fancyhdr}  \newcommand{\uvec}[1]{\boldsymbol{\hat{\textbf{#1}}}}    \pagestyle{fancy}  \fancyhead{}  \fancyhead[RO,LE]{Αλληλεπίδραση αστροφυσικών πιδάκων πλάσματος με το περιβάλλον  τους} \fancyfoot{}  \fancyfoot[LE,RO]{\thepage}  \fancyfoot[LO,CE]{Κεφάλαιο \thechapter}  \renewcommand{\headrulewidth}{0.4pt}  \renewcommand{\footrulewidth}{0.4pt}    \usepackage[style=authoryear,sorting=none]{biblatex}  \addbibresource{references.bib}    \title{Αλληλεπίδραση πιδάκων με το περιβάλλον τους}  \date{Oκτώβριος 2017}     \begin{document}  "  End: "   \nocite{*}  \printbibliography  \end{document}


Official term for latitude longitude coordinate system?

May I know what is the correct specific term for latitude longitude coordinate system?  With "", it seems to be a general term for every other system?


Automatically building a database of forward and backward citations

My goal is to produce a graph showing the linkages (and lack there of) between several fields that share a common subproblem by showing who cites whom.  There are many databases that show citations between papers: , , and Google Scholar.  However none allows me to download even part of their database.  Is there some database I have overlooked?  Has someone written a scrapper for one of these websites?    For reference, the fields I'm considering are Mechanics, Magnetic Resonance Imaging, Signal Processing, Geophysics, and several others.


Is there a unix command line tool that can analyze font files?

Given a directory of font files (TTF and OTF) I'd like to inspect each font and determine what style (regular, italic, bold, bold-italic) it is. Is there a command line tool for unix flavored operating systems that can do this? Or does anyone know how to extract the metadata from a TTF or OTF font file?


Maybe I have a trivial question but , Could you tell me how did we get this fact please ?  $$\sum_{k=1}^n\sin kx=\frac{\cos\left(\frac{1}2x\right)-\cos\left(n+\frac{1}2\right)x}{2\sin(x/2)},x\neq0,\pm\pi,\pm 2\pi,\ldots$$


How do I use tildes and carets in the teleport command?

I need help with using these symbols because the wiki isn't helping me. Also, when I use this ^ in a repeating command block, it doesn't update where I am looking at.[1] Could someone help me? [1]Especially this one.


Is there an equivalent to whitespace-mode in emacs for vim?

Is there a way I can see spaces and tabs wonderfully visualized in vim, like I can in emacs by toggling whitespace-mode?


Autorotate images (and overwrite them) to match orientation

I made a photo with my Samsung phone and:   The orientation is good when displayed on the phone The orientation is good when displayed in Picasa (this means the JPG files contains the right orientation metadata!)      The orientation is wrong when displayed in Windows 7 Explorer thumbnail:      The orientation is wrong when displayed in Windows 7 Image viewer:     One solution could be to "forget about Windows 7's built-in image viewer", and use another better image viewer, but I don't want this.   I would like to permanently rewrite the JPG files (and overwrite them) with the new good orientation, in bulk for hundreds of JPG files, i.e. like if I clicked manually hundreds of times on these buttons when viewing the images one after another:    but automatically, with a script.  How to do this?  Note: I know it might not be lossless, but still I would like a permanent rotation so that the default Windows 7 image viewer see them with the good orientation.  Note 2: , available for download.


Let $f\in C[0,1]$ be such  that $\forall \phi\in C[0,1]$ with $\int_0^1\phi \, dx=0$,we have $\int_0^1f\phi \, dx=0$.  Then $f$ is constant.  May be someone can help me proof this problem. Thanks!


In any set of ten consecutive positive integers, there is one that is coprime with each one of the others

Let $a$ be a postive integer and let $A=\{a,a+1,a+2,\ldots,a+9\}.$ Show that there exists some $i$ such that for any $j\neq i$ we have $(a+i,a+j)=1$


Constructing an orthogonal basis with a choice of inner product

Given a linearly independent set of vectors in some vector space, is it always possible to construct an inner product so that the vectors are orthogonal?  I know I can construct an appropriate inner product for finite dimensional vector spaces by simply inverting the matrix consisting of the vectors in the set and their orthogonal compliment. But what about for infinite dimensional vector spaces?


Proving all rational numbers including negatives are countable

In this proof can I show independently that positive rationals and negative rationals are countable by using Cantor's zigzag and then say that the union of two countable sets is countable so therefore   positive and negative rationals are countable.  Is this correct ?


Is there a link which shows related questions?

For any post I can obtain list of linked questions by using https://meta.stackexchange.com/questions/linked/id here id is the number of question. The advantage of this version, compared to the version in the sidebar, is that I see also preview of the body, not only the title of each question in the list.  Examples:    This post has many linked questions:  The post I just made does not have any linked questions at the moment:       Is there something similar for related questions   Of course, I have tried simply to replace the word linked by the word related in the url, but that does not work (, ).


Bitcoin can be classified as a currency as it can be used as an medium of exchange or classified as an commodity given its speculative and volatile nature.   What should we classify Bitcoin as ??


What does negative absolute temperature mean?

I always understood that the concept of absolute temperature stems from the third law of thermodynamics and that the lowest theoretical possible temperature is zero degrees Kelvin.    However, recently I came across . Given at the end of this question is the abstract of the said article. This article was also covered  in a somewhat more pop-science style, however I'm still unable to understand what the article is trying to cover.  What does negative absolute temperature mean in the given context?     Article's abstract:      Absolute temperature is usually bound to be positive. Under special   conditions, however, negative temperatures—in which high-energy states   are more occupied than low-energy states—are also possible. Such   states have been demonstrated in localized systems with finite,   discrete spectra. Here, we prepared a negative temperature state for   motional degrees of freedom. By tailoring the Bose-Hubbard   Hamiltonian, we created an attractively interacting ensemble of   ultracold bosons at negative temperature that is stable against   collapse for arbitrary atom numbers. The quasimomentum distribution   develops sharp peaks at the upper band edge, revealing thermal   equilibrium and bosonic coherence over several lattice sites. Negative   temperatures imply negative pressures and open up new parameter   regimes for cold atoms, enabling fundamentally new many-body states.


How can I clone an arrayList with the following structure:  List<empItem> empList = new ArrayList<empItem> ();   I need to create a clone in such a way that i need to modify the empItem without affecting the original?  Yes the same scenario has an answer already. But since the post is Outdated , i am looking for any fresh / latest way ..


How can I connect to smb share after connecting to VPN?

I'm new to Ubuntu and networking and I've got myself stuck. I have an budget NAS setup (raspberry pi running OMV with an SMB share). I have setup the share in Ubuntu by following  guide. I have permanently mounted the drive and can access all the files in the share. However, after connecting to a VPN (surfshark), following  guide I can no longer access the share. I get the following message "Could not display "share". The file is of unknown type". Setting up the VPN entailed editing /etc/fstab, and putting this: //my.nas.ip.address/media  /media/share  cifs  credentials=/home/user/.smbcredentials,iocharset=utf8  0  0  Would I need to change this to access the NAS? Also, when I run the VPN on my windows machine, I don't have any trouble accessing the NAS. edit: I should also mention that I'm running Ubuntu through a VM on the windows machine


When run the query in Apex Test classes doesn't fetch the result, but normal execution does fetch why?

I've below method which I am trying to call from the Apex Test class, but when I call below method from Test class this query doesn't fetch any result. If I manully execute the query, then I get the result.   Why is this happening ?  public static string createBulkQuery(List<string> componentToShow){         string UserLang = '';         Id userId = UserInfo.getUserId();         userContacts = new List<Contact>();            userContacts = [Select id,Preferred_Name__c,Correspondence_Language_Formula__c,FirstName,LastName,Position_Title__c,Correspondence_Language__c,Brand_Non_Brand__c,Manager_Flag__c,Work_Location_Country__c, Additional_Privileges__c,(Select Work_Location_Building_Name__c ,Global_Grade__c, Work_Location_Country__c ,Work_Location_City__c ,Work_Location_State__c,Location__c,Primary__c,Work_Location_Type__c,Job_Function__c,Job_Sub_Function__c,High_Level_Organization__c,Job_Area__c FROM Employee_Related_Information__r) FROM Contact WHERE RelatedUser__c=:userId Limit 1];           if(userContacts.size() > 0){             Contact currentUserContact = userContacts[0];              //Checking User Language             if(String.isNotBlank(currentUserContact.Correspondence_Language__c)){                 UserLang = '\''+currentUserContact.Correspondence_Language__c+'\'';             }         }     } }   I write below Test class, still making updates  @isTest  static void testBulk(){     Test.startTest();     Profile p = [SELECT Id FROM Profile WHERE Name = :portalEmp];      String orgId = UserInfo.getOrganizationId();     String dateString = String.valueof(Datetime.now()).replace(' ','').replace(':','').replace('-','');     Integer randomInt = Integer.valueOf(math.rint(math.random()*1000000));     String uniqueName = orgId + dateString + randomInt;      User u = new User(  firstname = 'John',                         lastName = 'Doe',                         email = uniqueName + '@test' + orgId + '.org',                         Username = uniqueName + '@test' + orgId + '.org',                         EmailEncodingKey = 'ISO-8859-1',                         Alias = uniqueName.substring(18, 23),                         TimeZoneSidKey = 'America/Los_Angeles',                         LocaleSidKey = 'en_US',                         isActive = true,                         LanguageLocaleKey = 'en_US',                         ProfileId = p.Id);     insert u;      System.runAs(new User(Id = UserInfo.getUserId())){         List<string> checkInComponents = new List<string>{'Request Catalog', 'Short Menu Catalog'};         String queryValue = ProjectUtil.createBulkQuery(checkInComponents);     }      System.assert(u != null);      Test.stopTest(); }   Even if I run this code normally using Anonymous window. I get the result. But through Apex test class I dont get any result.


past simple or present in this case: "It would be nice to see you before I leave (left)."

I am going on holidays in two days for two weeks, but before going I would like to see my friend: shall I say  It would be nice to see you before I leave. It would be nice to see you before I left.  I think the second one is better, as it is not a real situation but a wish.


hey i was trying to to change the elements in the dictionary using the if statement in a for loop , when i include the properties dictionary in the first for loop , it seems to be working fine. otherwise i cant change the elements as i desired . what i was trying to do is , creating an empty list . then adding 30 dictionary items with same attributes. after the dictionary is created , i was trying to change the attributes of first 3 elements in the list using a if statement . then printing the first 6 elements in the list to check whether the change is applied or not properties1={'color':'silver','weight':45,'Height':5.5,'planet':'mars'} for alien in range(30):     aliens.append(properties1) for alien in aliens[0:3]:     if alien['color'] == 'silver':         alien['weight']=10         alien['Height']=2         print(alien) for alien in aliens[:6]:     print(alien)  output is {'color': 'silver', 'weight': 10, 'Height': 2, 'planet': 'mars'} {'color': 'silver', 'weight': 10, 'Height': 2, 'planet': 'mars'} {'color': 'silver', 'weight': 10, 'Height': 2, 'planet': 'mars'} {'color': 'silver', 'weight': 10, 'Height': 2, 'planet': 'mars'} {'color': 'silver', 'weight': 10, 'Height': 2, 'planet': 'mars'} {'color': 'silver', 'weight': 10, 'Height': 2, 'planet': 'mars'} {'color': 'silver', 'weight': 10, 'Height': 2, 'planet': 'mars'} {'color': 'silver', 'weight': 10, 'Height': 2, 'planet': 'mars'}


No Wi-Fi Adaptor Found - Ubuntu - iwlwifi

I installed ubuntu 18.04 on HP envy. However I am getting issue setting up wifi :-  No Wi-Fi adapter found  The output of following command is :-  lspci -nnk | grep -A2 0280  Kernel driver in use: iwlwifi  I tried steps mentioned in  with no success.  Could anyone please help me with the issue.


Implications in crossing the Ireland/Northern Ireland land border for an American

My fiancee is a us citizen, she recently arrived at dublin airport where her passport was stamped with a 90 day visa. However her final destination is Northern Ireland (where i live) she needs a Uk border stamp. As she hasn't gotten the stamp is she here illegally? She will be staying with me for around 5 months which is more than the 90 days she was given in Ireland. So when we depart from Dublin to go back to America, they will think she has been staying in ireland illegally. Is there anyway around this problem?


showing that a group of order 45 is abelian

I'm trying to understand the following proof from Dummit & Foote (pg. 137) which shows why a group of order 45 is abelian. I understand everything but the last two sentences. Why is it that $|G/C_G(P)|=1$? Also, is it always true that $G/Z(G)$ is abelian? Thank you!


why the following question is-> How to help them succeed? instead of How to help them TO succeed?


How do I remove the Partition on my C Drive and merge the data without losing any?

I used a Disk cloning device to clone my C Drive because it was running out of space. I used a 2 tb hard drive to upgrade to however the Cloning unit but only copied the 1 tb onto the drive leaving a empty 1 tb partition left. I formatted the partition and loaded some data on it but then realized I would like the C Drive to be a one partition, 2 tb drive. How do I remove the partition without losing the data on it?


Why use apostrophe-s to denote possession when using 'of'

Think of the simple phrase "Bill's friend".  If you were going to turn this around using the preposition 'of' would you say:   A friend of Bill's or A friend of Bill   It appears to me that, in the US anyway, people always say "A friend of Bill's".  Even though I'm a native American English speaker, this just sounds weird to me. It seems to create a 'double possessive' (a term I just invented). I always want to respond: "A friend of Bill's what?" A friend of Bill's aunt?  So what's at work here, and do British English speakers also do this?


Pokemon Go attack bonus for two type pokemon

Various cases here:   Bulbasaur is of type Grass and Poison, but Flying attack is only Super Effective against Grass type pokemon. What is an attack bonus in this case? 25%? 12.5% (average of two types)? Bulbasaur is of type Grass and Poison, but Ground attack is Super Effective against Poison type pokemon AND Not Very Effective against Grass type pokemon. What is an attack bonus in this case? 25%? 0% (they cancel-out)? Charizard is of type Fire and Flying, but Rock attack is both Super Effective against Fire and Flying type pokemon. What is an attack bonus in this case? 25%? 50% (they add up)?


fancyhdr moves the header on first page after title

In the code below I have the problem that the 'TOO HIGH' on the first page after the title page is shifted into the header. I want this on the same height as the 'IN THE RIGHT PLACE' on the second page after title page. anyone knows the answer?  \documentclass[a4paper, 11pt]{article} \usepackage{fancyhdr}  \pagestyle{fancy} \fancyhead[L]{ \scshape \begin{tabular}[t]{@{}l@{}} asdf \end{tabular}} \fancyhead[R]{ \scshape \begin{tabular}[t]{@{}r@{}} asdf \\ asdf \\ asdf \end{tabular}}  \begin{document}  \thispagestyle{empty} Title  \clearpage TOO HIGHT -> INSIDE HEADER  \newpage IN THE RIGHT PLACE  \end{document}


Flag declined on bountied unclear question that is very old with no answers, why?

The flagged  with      "I would like to.." but not shown what was done to solve the problem    was declined.  Isn't this question really bad one?  Update:  declined with:     declined - What's REALLY crazy is that someone would bounty this 4   year old, unanswered question. We'll see, I guess...   as a text shows - moderator has read the question and also found the date of the creation was 4 year ago. But he (or she) not found it should be closed


How to make a breakable tcolorbox which spans the total text height? I tried this:   \documentclass{article}  \usepackage[breakable]{tcolorbox} \usepackage[top=2cm,bottom=2cm,hmargin=2.2cm]{geometry}  \usepackage{lipsum}  \begin{document}  \begin{tcolorbox}[breakable,height fill] \lipsum[1-10] \end{tcolorbox}  \end{document}   The problem is that the tcolorbox on the second page doesn't have \textheight (i.e. the box should like a border around the page):


Talking with a friend of mine about the existence if God, I argued that science is the better way to believe in something, instead of believing in something using personal belief or faith; for example for the existence of God I argued that since science hasn't given a proof of the existence of God there is no reason to believe in it; however my friend said that he believes in God because he "feels him in his heart" and stated that it is a reasonable reason to believe.  My question: is science better than personal belief? And if it is so, why?


How to pass Json collection object to mvc controller action method

I am creating one Json array object and trying to pass it in MVC controller action method but i am getting null paramerter; as per my knowledge json only maps .net primitive datatypes.... so it assign null value.   Note: when i have look at request object i found that there are three parameter of created array. But how to get that value as parameter of function?


Deriving buoyant force from first principles

How can buoyant force be derived from most basic laws of fluids ? I can think of easy one. Consider such scheme of body floating deep in water :    Where $dA$ is elementary downward directed surface unit of a body, $dh$ - elementary change of depth.  Then infinitesimal pressure change by definition is : $$ dp = \rho g\, dh $$    Pressure is force per unit area, substituting this into formula gives, $$ \frac {dF}{dA} = \rho g\, dh $$  Moving elementary surface into right side of equation gives,  $$ dF = \rho g\, dA\, dh $$  Further we notice that $dA \cdot dh$ is nothing but elementary volume, so we can rewrite equation as :  $$ dF = \rho g \,dV $$  Now we need to integrate both sides of equation,  $$ \int dF = \int \rho g \,dV$$  Which further integrating elementary volume against floating in water body part $V_f$, gives :  $$ F = \rho g \int^{V_f}_0 dV = \rho g V_f $$  which is exactly buoyant force.  Any other buoyant force derivations from basic principles ?


Is "Why shoud not we do sth." grammatically correct?

When I talk about something,I will tell people not to do something and why,so,should I use  Why should not we do sth.   or  Why we should not do sht.   Which one is grammatically correct?


Solve for integers $x, y, z$ such that $x + y = 1 - z$ and $x^3 + y^3 = 1 - z^2$.  I think we'll have to use number theory to do it. Simply solving the equations won't do. If we divide the second equation by the first, we get: $$x^2 - xy + y^2 = 1 + z.$$ Also, since they are integers $z^2 \ge z \implies -z^2 \le -z$. This implies $$x + y = 1 - z \ge 1 - z^2 = x^3 + y^3.$$ This shows that atleast one of $x$ and $y$ is negative with the additive inverse of the negative being larger than that of the positive. I have tried but am not able to proceed further. Can you help me with this? Thanks.


Part of speech for qualifying adjective which takes NP outside normal domain of noun it modifies

Is there a specific grammatical term for a qualifying adjective which takes the noun phrase fully outside the usual domain of the noun which it qualifies? For example:  fake money; skew field (math.); simulated crash?


I add an element with its own unique id using jquery and after that i want to chek a click event on that added element using its id.  Here is the code and it doesn't work for some reason.  I'm a new to this programming stuff, so maybe I don't see something obvious.  $(document).ready(function () {         $("#type").click(function () {             $(".footer").prepend('

');             $("#next").click(function () {                 $(".current")                     .removeClass("current")                     .addClass("done")                     .next()                     .removeClass("notdone")                     .addClass("current");             });         });


Can you find the amount of heterozygotes in a pop. from the phenotypes shown in the pop

I know the hardy Weinberg equation but that is for the amount of alleles not the amount of phenotypes. So if there are 600 black(dominant) organisms in the population and 400 green(recessive) organisms. Can you figure out how many of the blacks are actually heterozygous?


ReLU for small artificial neural networks?

I know how effective ReLU are for deep neural networks, however i wanted to know if they can be used for smaller networks as well ? ( like a network with 2 hidden layers and 15 units each ).


How to assess correlation in non-ordinal (non-ranked) and non-normally distributed data?


How to get parent lightning component's attribute in child component?

I have a parent component name "ParentComp" which has 3 attributes A,B and C of type String. I have a nested component "ChildComponent". I want to change the value of parent component's attribute B from child's java script controller.     How can i do that?


Difference of $R^2$ between OLS with individual dummies to panel fixed effect model?

Based on my understanding, panel fixed effect model is equivalent to OLS with individual dummies. However, when I ran the two models in R, the $R^2$ from the two models were quite different: 0.8 for OLS with individual dummies and 0.06 for fixed effect model.  Is it the case that in fixed effect model, the fixed effects (individual dummies) are excluded from the calculation of $R^2$?


How to find the Cumulative Distribution Function (CDF) and Probability Distribution Function (PDF) for uniform variable inside circle given by $R^2 = (X-c_1)^2+(Y-c_2)^2$, where ($c_1, c_2$) is the center of circle.  I think that the PDF for problem is given by  \begin{equation} f(x,y) = \begin{cases} \frac{1}{\pi R^2}&, \quad (x-c_1)^2 + (y-c_2)^2 \leq R^2\\ 0&, \quad otherwise \end{cases} \end{equation}


Is it possible to calculate an average correlation of r from several correlations of r?

Any help would be appreciated. I have a table presenting multiple r correlations between various formats of the same test and the construct/dimensions it purports to measure. Is there an acceptable way in which to calculate an average correlation of all the constructs/dimensions related to one format of the test please?


Where to get the full offline-capable installer for macOS Mojave (.1 update)?

When I originally downloaded the Install macOS Mojave.app for the original release 14.0.22, I got a 6.03 gig file.  Today I replaced that file by downloading the installer fresh from the App Store for 14.1.0. The app is only 22 megs! So obviously this is just a shell that I imagine downloads the needed content over the internet at runtime.  But I need an offline installer, for clean-installs on various Macs and for creating virtual machines.   ➥ How to obtain fully-loaded offline installer app for Mojave 14.1.x?  What about just using the original installer, then updating immediately the newly installed OS to .1? That .1 update was a whopper, over 3 gigs! I really want to avoid repeating that updater download. I really need a fully-loaded offline installer.


How do I remove repeated elements from ArrayList?

I have an ArrayList<String>, and I want to remove repeated strings from it. How can I do this?


What do you call the sensation you feel when confronted against the immensity of something? (e.g.: the sea, the universe)

The word I'm seeking is a word used to describe the feeling you get when confronted with the immensity of nature and how little we are. It's what you get when you stand on the beach, watching the ocean when a storm is coming, or looking at the stars at night in the open, it's not fear, though it has some of that, it's a lot of mixed emotions: awe, fear, contemplation, admiration, etc.  It's not a word I made up, I read it a long while ago on a grammar group and now I need it, but I can't remember it.   And it's not a common word neither, it's very specific, it's the name of that mixed feelings you get in the situations I described, neither positive nor negative, a mix of both.   Someone mentioned ¨sonder¨ on the comments, and it's quite near that, but sonder means realizing your problems are minuscule compared to the Universe, which is not the same  And I apologize for not being clear enough prior, English is not my native tongue.


Why did sampling boost the performance of my model?

I have an imbalanced dataset with 88 positive samples and 128575 negative samples. I was reluctant to over/undersample the data since it's a biological dataset and I didn't want to introduce synthetic data. I built a Random Forest Classifier with this original dataset. I got an F1 score of 0 for the positive class. Zero precision. Zero recall. I cross-checked the predictions and test data. The model predicts some positives none of which are actually positive. Worst performance.  So, I tried to oversample the positive class. I upsampled the positives to 1000 samples. To my surprise, the F1 score for this dataset was 0.97, for the positive class. Then I tried lesser samples. I was able to achieve an F1 score of 0.83 with 200 positive samples, which is just 2.25 times of the original positive samples.  I would like to know why this occurs. For 88 samples, F1 score is 0.00 (rounded off to two digits). For 200 samples it's 0.83. There is no data leakage. All the features are engineered. I used imbalanced-learn module for oversampling. Can someone explain why is this difference in performance?


Tricks and tips for finding information in man pages

Does anyone have any tricks and tips for finding information in man pages?


I'm working as a consultant and would like to keep each client in a completely separate windows 10 VM (will use linux for some clients, but due to requirements in some of the clients toolchains / service structure I will need X amount of windows VMs)  I can't seem to find any good information on how many licenses per VM I'd need. Will I need 1 license per VM or could multiple VMs be on a single license?


Can we have the ability to undo up or downvotes on meta regardless of when you voted?

Can we make it so people can undo up or down votes regardless of time voted? I want this feature request only on the meta sites. Can we do this? If not, why?  This would be helpful because sometimes on meta there is a feature and you down vote it, later you might think it's good. Then you will want to up vote it, but you can't!  Also, users can't ‘suggest edits‘ on meta.


Why does C++ have header files and .cpp files?


Is it possible to buy SIM card in Turkey for the time of travel? If so, how much does it cost and how much do calls, texts and - the most important - data transfer cost in average?


What's the different between the sides of aluminium foil (shiny/matte)?

Is there any difference between the two sides of an aluminium foil? (shiny/matte)  If so, when to use each one? For example, when covering something or when using as a pan cover to bake/cook something on top of it.


Uncaught ReferenceError: {var} is not defined. Files are created separately

Why am I getting Uncaught ReferenceError: i is not defined in my javascript file?  So here's how I did it.  app.js  $(function() {   var i = 1; });   some.js  $(function() {   alert(i); });   and here's how I sequence my files.  // included jquery here <script src="/app.js" type="javascript/text"></script> <script src="/some.js" type="javascript/text"></script>   How can I execute or access variables from app.js or to other javascript files? I thought they should be listed in sequence. Where did I go wrong? Any help would be much appreciated. Thanks


How to hide contents of content (font awesome)

I want to hide search from  search   using css. Before we were using material icons  mode_edit*   and there it was hidden (mode_edit)  I already tried looking around, but couldn't figure a way out using only css.


The question is:     $x^6 + 5x^3 + 8$   Please can someone help me in factorising this. I saw some solutions but they are not meant for a IX grade student.   Thanks for the help.


How to change default permissions on automounted usb flash, formatted in NTFS?

I have an Ubuntu 14.04 installed on my computer with XFCE as Desktop environment. When i'm inserting usb flash formatted in NTFS system mounts it with default permissions on files are setted in 600, and I want to change this behaviour to mount with default permissions 660 instead. How can I do it?


If two stars of mass $M$ and $2M$ move about their common centre of mass, then they have same angular velocity

Two stars of masses $M$ and $2M$ move in circular motion about their common centre of mass. Which of the following statements is true? A.    Both stars move with the same radius. B.    Both stars move with the same speed. C.    Both stars move with the same angular velocity. D.    Such a motion is not possible.  Since the gravitational force contributes to centripetal force of the rotation, consider mass $M$, we have $$\frac{2GM^2}{R^2} = \frac{Mv^2}{R}$$ where $R$ is the distance between the two masses. I have no idea how to show they have the same angular velocity.


append change the other elements of a list

when adding an element to the history list it changes the rest by the element that I add inputt="^<<<" cordenadas=[0,0] historial=[] for i in inputt:     if i == "^":         cordenadas[0]+=1     elif i== "v":         cordenadas[0]-=1     elif i== "<":         cordenadas[1]-=1     elif i== ">":         cordenadas[1]+=1     historial.append(cordenadas)     print(historial)   this is the output [[1, 0]] [[1, -1], [1, -1]] [[1, -2], [1, -2], [1, -2]] [[1, -3], [1, -3], [1, -3], [1, -3]]


How to make rice crispy treats with no marshmallows, eggs or gelaten

I'm trying to make rice crispy treats but I have no marshmallows, gelatin or eggs What can I do


My table of content links to wrong pages

Please find below a snapshot of my Table Of Content page. When I click on links to pages ii, v, vi, and vii, the first page (title page) shows up. But the links for chapter pages work correctly. How can I solve this issue?


What is the space spanned by $a\cos x + b\sin x$?

Consider the case when $x = \pi/4$.   $\cos \pi/4 = 1 = \sin \pi/4$.   Now, if $a = 1$ and $b = -1$, $a\cos x + b\sin x = 0 $(for non-zero a and b).   Does this imply that $\cos x$ and $\sin x$ ARE NOT linearly independent?


When I try to install wine-stable-amd64 or wine-stable-i386, It has problems with libc6 - SOLVED

I have also tried to downgrade libc6 to 2.31-0ubuntu9, but it's the same result. Also I am on a AMD Ryzen 3 3200g. Edit: Cerberos, I followed the instructions, aaaand, it worked flawlessly. Thank you kind sir. Sorry for taking a bit to respond, been busy. ALSO, reseting repositories also played a part, thank to you also n0bert.


xparse command definition vs \newcommand

Maybe my question is too broad, but I'd really like to know: what is best to use (and why) between xparse command definition (e.g. \NewDocumentCommand) and LaTeX "standard" definitions (e.g. \newcommand)?  When I started with LaTeX I learnt that LaTeX definitions are more convenient than TeX plain definitions (e.g. \def) for many reasons (e.g. not having the risk to inadvertently override some existing command and such).  I'm wondering if the new xparse definitions are better; for instance sometimes I've seen that the syntax to define a command is more clear (to me) and seems very powerful.  Are there any drawbacks?  Thanks


How to prove $\lim_{n\to{\infty}}\frac{x^n}{n!} = 0$  My try:  I know that factorial function increases much more rapidly than exponential function but how to really prove it.


How do I sort the words by the number of occuerences?

So far I have been able to display the number of occurrence of each word but how can I sort the words by the number of occurrences?  import java.util.*;  public class CountOccurrenceOfWords {   public static void main(String[] args) {     String text = "Hello, I am a working class citizen who is independent and driven to be the best that I can be";      Map<String, Integer> map = new TreeMap<>();     String[] words = text.split("[\\s+\\p{P}]");     for (int i = 0; i < words.length; i++) {       String key = words[i].toLowerCase();        if (key.length() > 0) {         if (!map.containsKey(key)) {           map.put(key, 1);         }         else {           int value = map.get(key);           value++;           map.put(key, value);         }       }     }      Set<Map.Entry<String, Integer>> entrySet = map.entrySet();      for(Map.Entry<String, Integer> entry: entrySet)       System.out.println(entry.getKey() + "\t" + entry.getValue());       }  }


Cannot locate GRASS plugin in QGIS 2.14.1 on Linux

I am trying to load the GRASS plugin in QGIS but it is not shown in the plugin manager (no matter if I turn on experimental and deprecated plugins). Under processing / options / providers GRASS GIS 7 commands and GRASS commands are visible and activated.  I am running Linux Mint 17.3 Rosa. QGIS 2.14.1 (after upgrading from 2.8. where I had the same problem), GRASS 7, and the qgis-plugin-grass (version 1:2.14.1+20trusty) are installed.  I have read this post . There it is said that QGIS 2.8 is not compatible with GRASS 7. Therefore I installed QGIS 2.14, which should be compatible ().  Some more information. I get this errors in the QGIS plugin log:  Failed to load /usr/lib/qgis/plugins/libgrassplugin6.so (Reason: Cannot load library /usr/lib/qgis/plugins/libgrassplugin6.so: (libgrass_gis.so: cannot open shared object file: No such file or directory))  Failed to load /usr/lib/qgis/plugins/libgrassprovider6.so (Reason: Cannot load library /usr/lib/qgis/plugins/libgrassprovider6.so: (libgrass_gis.so: cannot open shared object file: No such file or directory))  Failed to load /usr/lib/qgis/plugins/libgrassrasterprovider6.so (Reason: Cannot load library /usr/lib/qgis/plugins/libgrassrasterprovider6.so: (libgrass_gis.so: cannot open shared object file: No such file or directory))  So, it seems QGIS looks for Grass 6 plugins while Grass 7 is installed. I can set LD_LIBRARY_PATH, but then the Plugin (6) does not match Grass (7). In /usr/lib/qgis/plugins only the lib...6.so are available. How can I get the 7?


How fast is the Cosmic Microwave Background Radiation (CMBR) changing?

I know that the  is the leftover radiation from the "".   However, at every instant the surface is changing (at the rate of flow of time). So how constant is the CMBR?


What can an elected moderator do to my profile?

I discovered last week that an elected moderator can modify a user's name. The user had a username that was clearly meant to insult one particular elected moderator. This was discussed in chat, and the moderator decided to make a minimal change to the user's username.   While it was funny to see this happen to an obvious troll, it did make me wonder. I'd have expected that only Stack Exchange personnel would have this kind of power.    So the question is - what else can a moderator do to my profile?    For example, can a moderator also completely rewrite the "About me" section? I can understand that under rare circumstances, material must be removed from these sections. But I would have expected that elected mods would only be able to make these things go black. Could they also completely rewrite it if they wanted to?


I want to aproximate my result of an operation to the same amount of decimals of my input number. inclined_plane_f = float(input('F ')) inclined_plane_r = float(input('R ')) inclined_plane_h = float(input('h ')) inclined_plane_l = float(input('L ')) check = cmath.sqrt(inclined_plane_l ** 2 - inclined_plane_h ** 2) if inclined_plane_l == cmath.sqrt(check ** 2 + inclined_plane_h ** 2):     pass else:     raw_inclined_plane_l = cmath.sqrt(check ** 2 + inclined_plane_h ** 2)     dec = len(str(inclined_plane_l).split('.')[1])  I want to make raw_inclined_plane_l to have the same amout of decimals as inclined_plane_l (the input) aproximating it to check if the number of the input was correct.


Cascading Drop down in SharePoint Online

I'm trying to implement cascading drop down for list in SharePoint online  I have 3 different list with name Countries , States, cities.  and the master list Address in which I have Fields Country , State, City.  I'm trying to display Sates for selected country. and City for selected States in SharePoint Online list


Overlay Google Maps to OpenLayers in GeoServer

I am new to GeoServer and I want to overlay Google Maps to my OpenLayers in GeoServer, I don't know how to start, do suggest me how to begin.  I want know which file to access, file extension, and what language is being used to incorporate it in GeoServer?


How to tell xargs which argument to choose ?

When xargs redirects the first commands output into the second command's argument and there is no choice about which argument for which element of the output, then there is only one way, for instance:  ls | xargs file  # there are as many arguments as files in the listing,                  # but the user does not have too choose himself   now if there is a need for choice:  ls | xargs file | grep image | xargs mv.....   # here the user has to                                                 # deal  with two arguments of mv, first for source second for destination, suppose your destination argument is set already by yourself and you have to put the output into the source argument.    How do you tell xargs to redirect the standard output of the first command into the argument of your choice of the second command ?


Is there an integer $N>0$ such that $\varphi(n) = N$ has infinitely many solutions?

Let $\varphi: \mathbb{N} \to \mathbb{N}$ be the totient function.   Is there an integer $N > 0$ such that there are infinitely many integers $n > 0$ such that $$\varphi(n) = N?$$


How can I use lettrine at the start of a paragraph used in the wrapfigure environment.  Consider the following code:  \documentclass{article}  \RequirePackage[demo]{graphicx} \usepackage{lettrine} \usepackage{wrapfig} \newcounter{cnt}\setcounter{cnt}{0} \def\t{\stepcounter{cnt}\thecnt. cat sat on the mat. }    \begin{document}     \begin{wrapfigure}{r}{0.3\textwidth}         \vspace{1ex}         \includegraphics[width=\linewidth,height=1in]{image}     \end{wrapfigure}     \lettrine{T}{he cat sat} \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \end{document}   Which yields the following result, I have shifted the image down so that the problem is made more apparent, ie, wrapfig is ignored.    NOTE: David Carlisle has provided a pretty good answer so far, however, the following anomalies occur with the output, specifically, an update was made to David's original code to allow the modified lettrine (wflettrine{...}) to take the optional arguments in order to control the letter height etc, however, by default, the following output is returned if the optional argument lines=5 is now parsed.    The above was achieved with the code command:  \wflettrine[lines=5]{T}{he cat sat}   And it is clear to see under the red-highlighted region, that the drop-cap letter is not taking up the whole space, strangely enough, the same behavior was observed on my machine with the default computer-modern font, under a normal use of lettrine.  By changing the font to Helvetica, via the use of the following in the preamble:  \usepackage{helvet} \renewcommand{\familydefault}{\sfdefault}   And executing the same command, yields the following output.    And it is clear that the previous problem is resolved (by the correct drop-cap usage under the green highlighted section), however, this has pushed the wrapfig component to the right, as can be seen under the red-highlighted section.  It appears as though the wrapfig has been pushed to the right by what appears to be the same amount as the width of the dropcap letter 'T'.


I connect my Samsung S3 to my Mac and Android File Transfer says "Try reconnecting or restarting your device". I have restarted my phone and computer numerous times, uninstalled and downloaded AFT numerous times too but it's not making a difference.   I uninstalled and re-installed and uninstalled Kies again and that's not made a difference either.  What can be done to solve this issue?


Brightness Controls Not Working on a Dell Inspiron N4010 Laptop

I have a Dell Inspiron N4010 laptop. My brightness hotkeys are not able increase or decrease the brightness of the screen. And as a matter of fact, I also can not reduce the brightness from the Brightness & Lock menu under System Settings. Any solutions?  EDIT: I think I may have found the reason behind the problem. In the previous versions of Ubuntu there were acpi_video0 and intel_backlight inside the /sys/class/backlight folder. Now in 13.04 there are dell_backlight and intel_backlight in that folder. And the most interesting part, my friend installed 13.04 on his Dell Vostro and in his system's /sys/class/backlight folder there are acpi_video0 and intel_backlight. So the brightness hotkeys are working for him.


TiWorker.exe uses up 50% of CPU and then suddenly stops when i open task manager, only reason i can see it is i use tasklist/taskkill and msi afterburner to check TiWorker. I've tried everything i could find in the internet, most wouldnt work TiWorker just keeps coming back. I also couldn't run DISM /online /cleanup-image /restorehealth command due to some error that i could search about (An error occurred while attempting to start the servicing process for the image located at C:.)


Should I discard a feature whose max - min is smaller than 1e-5?

I'm training a neural network for regression. The input vector consists of $140$ entries.   For each feature vector entry, I calculate both min and max over the training set. The difference max-min of some entries are smaller than 1e-5. I understand I can normalize such feature entries by say MinMaxScalar. However, if the difference max-min is this small, can I discard such entries since they seem to be so insensitive?


Could you escape a black hole - using a black hole?

I'm pretty sure the answer to the question in title is "No". But why?  Below is a naive Newtonian simulation I made. You can see that in the animation, both black hole's horizons seem to "recede" for a moment as the black holes pass each other. The black holes in the animation are NOT MERGING. Therefore any explanation involving merger and subsequent expansion of the new horizon does not cover this situation.  The color of the pixels describes escape velocity at a given point. Black pixels have the value higher than speed of light.      What am I illustrating here is, that if two black holes are too close to each other, their gravity must cancel out. Lagrangian point would appear somewhere in between. Yet we know that nothing should be allowed to escape. At the same time, quantum mechanics requires the surface of the black hole to be directly proportional to it's mass. Which is not the case in the simulation we see.  How does event horizon survive distortion caused by another black hole, when two black holes are extremely close to each other?


How do registrars register authoritative name servers with root name servers?

I understand that domain name registrars, for each domain they manage, register the authoritative name servers for that domain with its top-level root name server.  My question is: how do they do this? Is there a special protocol they use? How do top-level root name servers authenticate queries from registrars to change authoritative name servers for a given domain? Is that even public knowledge?  For example, say you own example.com. You want to change the authoritative name servers for it. You give your registrar the addresses of the new name servers. So far, so good. They, in turn, echo that change with the top-level root name server (the one responsible for .com). What protocol is used for the query from your registrar? How does that root name server authenticate it? How does it know it's legit?  Migrated from SuperUser (


Should "ate" and "eight" be pronounced exactly alike?

Is pronouncing "ate" and "eight" differently wrong? When I say "ate" it sounds like "ate" itself and when I say "eight" it sounds like "ey-ht" is that a wrong pronunciation?  I understand pronunciation may differ from one person to another depending on the accent spoken by the person. But one of my friends told me that ate and eight must be pronounced exactly alike and if you're pronouncing them differently you are pronouncing one of the two words wrong.


Get all field level permission from SOQL for an permission set

What I want to do:  I am trying to create a tool in Java, which query permission sets from Salesforce Org using REST(As we do in workbench).  After getting all the permission sets which field permissions, I want generate an excel workbook which will have all permission sets with all objects with fls.  Where I am: I am able to query permissions sets with fls and able to generate excel workbook.  My apporach: I have a permission set abc.  This permission set has below permission for Account object fields:    I run below SOQL to get field permission for the permission set:  SELECT Parent.Name,Field,PermissionsRead,PermissionsEdit   FROM FieldPermissions WHERE SObjectType IN ('Account') AND Parent.Name IN ('abc')   But I get results like below:    I am expecting result like below:    How can I get all field permissions using SOQL?


How can my wizard cast Levitate, Invisibility and Magic Weapon and have them all active at the same time before a battle?

As I understand the Fifth Edition rules, my player character may only have one spell that requires concentration active and in place at a time.   , , and  all require concentration.   So, preparing before that big final battle, my wizard may only have one of those spells active at a time, regardless of whether he is the target for all or for none.      You can’t concentrate on two spells at once.    Am I misreading the rules? Or is there a way my wizard can cast invisibility on the party rogue, magic weapon on the spear of the party fighter, and levitate on himself, and have all three active before they attack the Big Bad Opponent?


How to get width of input text (not input box)

I want to know the width of the actual text in the input box, not the input box. Is there an equivalent of   $('#mybox').val().width();   that measures exactly how many pixels the text takes up? (This code obviously would not work.)


How to make X.org listen to remote connections on port 6000?

This is on Ubuntu 10.10 (Maverick Meerkat) 64-bit desktop.  I want to make my X server listen to remote connections from clients in other machines on the local network. I know about ssh -X and that is not what I want. I vaguely remember changing something like TCPListen from no to yes, but I don't remember where this change should be applied.  I'm interested in either a GUI method or a CLI one.  PS editing /etc/X11/xinit/xserverrc to remove the -nolisten tcp option and rebooting does not work.


regexp how to match unknown number of words

I'm trying to learn regular expressions. I want to write a regular exprssion that matches an unknown number of words like Martin Arguello (ARG) I think I can write it like this /\w+\s\w+\s(\w+)/ but I also want to make it work for Martin Vassallo Arguello (ARG) without duplicating that code (so i can extend it easy)? I have tried to solve it with this /(\w+\s+){2,}(\w+)/, but it didn't help.  Thanks in advance and kind regards, lerak


I've checked each stick individually in the computer, by itself, to verify that the RAM was all in working condition.  I have 2 sticks of 4gb RAM and 2 sticks of 3gb RAM.  I'm not sure which are being detected and which aren't.  Any advice would be much appreciated.  system specs (AS SHOWN)  Windows Edition: Windows 7 Home Premium processor: AMD Athlon II X4 620 Processor 2.60GHz Installed Memory (RAM): 6.00GB (3.25GB usable) System Type: 32-bit Operating System  Everything I've seen related to the subject is in regards to the amount of usable RAM being less than the amount installed. This is not my main issue, I have 14GB of RAM (2 sticks 2X2G DDR3, 2 sticks 3x1G DDR3), and only 6GB is shown as installed, with only 3.25GB of that usable.


It's now 2 days when I boot on my laptop running Ubuntu 16.04 the desktop has no Launcher or Panel. Ctrl+Alt+T doesn't work. I have to right-click for the terminal to appear which is also useless can't type anything. For me to test commands I have to use the tty with Ctrl+Alt+F1.   I have tried most of the commands shared here with success for the last 2 days am on the verge of reinstalling Ubuntu or just downgrading to Ubuntu 14. I have tried almost everything listed about unity and ccms. someone please help. I have shared my desktop:


There are exactly two abelian groups of order $p^2$

Let $p$ be a prime number.  up to isomorphism, there is exactly two abelian groups of order $p^2$.   It is easy to see those two are $\mathbb{Z}_{p^2}$ and $\mathbb{Z}_{p}\times\mathbb{Z}_{p}$. It is easy to see that if their exist another one then it should not be cyclic. But how to prove exactly?


I've posted a comment on Stack Overflow, .  The relevant text is the first sentence:     Note that this RegEx doesn't capture URLs that have subdomains of one letter only, like "".   (In the quote here, it renders fine).  After posting, the end-quote was parsed as part of the URL, but worse (and weirder) than that - a wild semicolon appeared just before the comma. You may see in the following screenshot:    The original text of the comment is this, no semicolon there:    I've tried to edit the comment's source text, by adding a space before the comma, but that didn't change anything.


Why Are Even and Odd Regge Trajectories Degenerate?

The Gribov-Froissart projection treats even angular momentum differently from odd angular momentum. But in QCD, I believe that the odd trajectories interpolate the even trajectories--- the two trajectories are degenerate. Is there a way of understanding why the even-odd trajectories are degenerate? Is is a symmetry argument? Can you find a natural system where they are not degenerate?  A quick google search revealed this reference, which doesn't answer the question, but gives an experimental signature for the degeneracy:  , There is probably excellent data by now on this.


Split reputation: one for questions and one for answers

This request was triggered by the very recent blog post , which announced that now, also retroactively, the askers are given as many reputation points (10) as the answerers for each upvote. This does reward the askers, but also takes away from the answerers by diminishing their relative standing. As an arguably extreme example, suppose that Alice has earned a reputation of 1000 points entirely by answering, and Bob has earned a reputation of 600 points entirely by asking; then now Alice will still have 1000 points, while Bob will move ahead of her, now with 1200 points.   Apparently for reasons like that, the mentioned blog post has generated some angry comments (as well as approving ones).   In a comment at , Frank Conijn suggested to      "split the reputation into one for questions and one for answers. Yes indeed, a two-figure reputation."    This seems to be quite a reasonable suggestion, with no apparent downsides. At least two upsides: it will     be more informative;  make the dispute between relative merits of asking and answering completely unnecessary.    A  was asked 10 years ago, which now seems to have acquired new relevance. Most of the objections there were about, again, relative merits of asking and answering, which do not seem relevant.   The only objection there of another kind was this:      "You can't really do it because you can earn a whole bunch of upvotes after you hit the daily rep cap. So any split like this could be really misleading."    I honestly do not understand at all what this problem with the cap is. Whatever it may be, can't it be solved by using caps separately for questions and answers rep points? Or by abolishing the cap altogether?     Added in response to comments and the answer by Glorfindel:  (i) About privileges, we can just use the total, as is done now.   (ii) I cannot imagine that having two numbers, instead of one, can be considered a "mental load". That would be more informative, though. The suggestion by Liam Morris - Reinstate Monica, to have the two numbers only in the profile information, also seems good.   (iii) Edits to questions, as well as to tag wikis/excerpts (which concern tagging questions), would add to the Q rep. Edits to answers would add to the A rep.   (iv) For bounty, it may be left to the users, where to take their points from.     Remark: My question is not a duplicate of , despite the title there. Indeed, that question is actually about a very different matter: namely, whether bugs, feature requests, and discussion eventually get reviewed by a moderator.


Hi my question is that does base64_encode does unique data every time we run the script?  Below is the code.      <?php     $id = 1;     echo base64_encode($id);     ?>   If it does not provide the unique data every time then what is the point in encoding the string and passing in url. Does that make url safe??


I am using Ubuntu 12.04 LTS.  I want to know the following    How to find the latest version of Libre Office How to upgrade to the latest version


Why does BETWEEN use a btree index but "element is contained by" range operator (<@) does not?

I've got a table with a utc timestamptz which has a "btree" index on the utc column: CREATE TABLE foo(utc timestamptz)  CREATE INDEX ix_foo_utc ON foo (utc);  This table contains about 500 million rows of data. When I filter utc using BETWEEN, the query planner uses the index as expected: > EXPLAIN ANALYZE SELECT    utc FROM foo WHERE     utc BETWEEN '2020-12-01' AND '2031-02-15' ;  QUERY PLAN Bitmap Heap Scan on foo  (cost=3048368.34..11836322.22 rows=143671392 width=8) (actual time=12447.905..165576.664 rows=150225530 loops=1) Recheck Cond: ((utc >= '2020-12-01 00:00:00+00'::timestamp with time zone) AND (utc <= '2031-02-15 00:00:00+00'::timestamp with time zone)) Rows Removed by Index Recheck: 543231 Heap Blocks: exact=43537 lossy=1818365 ->  Bitmap Index Scan on ix_foo_utc  (cost=0.00..3012450.49 rows=143671392 width=0) (actual time=12436.236..12436.236 rows=150225530 loops=1) Index Cond: ((utc >= '2020-12-01 00:00:00+00'::timestamp with time zone) AND (utc <= '2031-02-15 00:00:00+00'::timestamp with time zone)) Planning time: 0.127 ms Execution time: 172335.517 ms   But if I run the same query using a range operator, the index isn't used: > EXPLAIN ANALYZE SELECT    utc FROM quotation.half_hour_data WHERE     utc <@ tstzrange('2020-12-01', '2031-02-15') ;  QUERY PLAN Gather  (cost=1000.00..9552135.30 rows=2556133 width=8) (actual time=0.179..145303.094 rows=150225530 loops=1) Workers Planned: 2 Workers Launched: 2 ->  Parallel Seq Scan on foo  (cost=0.00..9295522.00 rows=1065055 width=8) (actual time=5.321..117837.452 rows=50075177 loops=3) "Filter: (utc <@ '[""2020-12-01 00:00:00+00"",""2031-02-15 00:00:00+00"")'::tstzrange) Rows Removed by Filter: 120333718 Planning time: 0.069 ms Execution time: 153384.494 ms  I would have expected the query planner to realise that these are doing the same operation (albeit that <@ is right-hand exlusive and BETWEEN is inclusive.) So why are these query plans so different? (Forget about asking why the sequential scan query completes more quickly??!!)  My Postgres version: "PostgreSQL 10.13 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11), 64-bit"


I've set up an Ubuntu 14.04 Server (from an Ubuntu 12.04 Server) but today I wanted to look in the auth.log but this file is not used. It seems that ´syslog´ was deleted.  How does Ubuntu 14.04 log? I need this for a server.  Thank you.


What does "but one" mean in the following sentence – the only? One of many?     Scientists think the African elephant’s brain structure is but one indicator of its intelligence.


Title disappearing when attempting to edit a question

I'm on that question:  I tap "edit", and it brings me to that view, where Title field is empty:  I tap "Cancel", and the title is gone:  I refresh the page and the title is back.   I tried multiple times, but it only happens on that question.


Wireless client and software AP with a single Wi-Fi device, with Ubuntu

about ArchLinux indicates the possibility to setup WLAN client and soft-AP using a single physical WiFi device on a host. Wondering if this configuration is possible on Ubuntu as well ? If so, can someone verify and guide if the steps are same ?  I did find these other AskUbuntu Q&As (including ) that are clearly relevant, but do not cover the aspect of simultaneous client and soft-AP type of usage. Also  talks of the tool on Ubuntu to setup soft-AP, but doesn't answer the part about simultaneous use in 2 modes.  Clarification-edit: Kindly note that my question is not about an alternative to a soft-AP setup tool like ap-hotspot but, how to assign/configure dual roles i.e. soft-AP and WLAN-client, on same host, using same WLAN device.


Error occurred in deployment step 'Add Solution': Operation is not valid due to the current state of the object.?

I installed the August-2016 CU updates and then I upgraded the farm solutions after that i can't deploy any solutions in SharePoint 2013 by using visual studio  ?I got this error message Error occurred in deployment step 'Add Solution': Operation is not valid due to the current state of the object.


Is it possible to install Unity 6.x.x on 12.04?

Is it possible to get the latest Unity without upgrading to 12.10 on my Ubuntu 12.04 PC or will this be backported?


Assuming that you have a lot of classes that extends the class Base.  class Base{}  class A extends Base[}  class B extends Base{}  class C extends Base{}   What must I write so that when I write a get method, I will get the class that I want?  public Base get(Class <? extends Base> clazz, final String key){     //not important. }   I want the method to return Objects of class A, B, or C, depending on the input clazz.


If I delete a Windows Drive, Can I use that space to Install Ubuntu?

I current have Ubuntu Installed using Wubi under C:/ drive. Im on Ubuntu 11.10. Im planning a full reinstall of Ubuntu 12.04, but this time without Wubi.  I want to install Ubuntu on a Single Drive, like D:/ or G:/  Can I do that ? If I delete and make some unallocated space can I use that to Install Ubuntu ?  More Info :  Five Partitions  C: 135  D: 50  E: 50  F: 180  G: 50  Gparted shows I have Primary ntfs 135 and other 330 as extended.  I have Windows 7 x64


Difference between an acronym and abbreviation?

TLA is an acronym for "Three Letter Acronym". Is it also an abbreviation, since it abbreviates the original phrase?


Does there exist a non-zero matrix $B$ such that $AB = 0$, given $A$ to be non-singular?

I am quite new to topics in linear algebra and try to verify my claim that there does not exist a non-zero matrix $B$ such that $AB=0$ given that $A$ is non-singular.   I browsed the forum for related question but could not find a convincing answer so far. The forum only investigated cases when $A$ it self has not full rank and then found that there indeed exists such a matrix $B$ that is non zero.   Can anybody help me to construct such a proof or provide me counter example that my claim is false?


How coronavirus are transmitted in New York City and in other states in the US?

We know coronavirus is transmitted by 1) droplet in air 2) touching a physically contaminated object by a coronavirus patient and then touch our face or mouth.   Now New York City got hit so hard, what is the primary transmission? 1) or 2) from above?   Also, let's say you pass a coronavirus patient in the supermarket, and he does not wear mask. What you can do to protect yourself?


Proving block triangular matrix determinant formula with 4x4 matrix

Given the A matrix as follow: $$A = \begin{pmatrix}B & D\\\ 0 & C\end{pmatrix}$$ Where B and C are square matrices. Matrix A is said to be in block (upper) triangular form with the formula for determinant as follow: $$det A = (det B)(det C)$$ Prove this formula in the case when A is a 4 x 4 matrix. Note that there are three cases for B and C to consider. Hint: The cases are about the possible sizes of B and C, not about what their entries are. So far, what I have done is proving 1 easy case with B and C as a 2 x 2 square matrix by expanding  down the first column. I'm really confuse by how to determine the other two cases. So my question is how can I find the other two cases and how can I prove them? Any help is appreciate. Thanks a lot.


Irreducibility of the standard representation of $S_n$.

The permutation representation of $S_n$ is $\mathbb C^n$ with elements of $S_n$ permuting the basis vectors $\{e_1, e_2, \ldots, e_n\}$. It has a trivial subrepresentation spanned by the vector $v = \sum_i e_i$. By Maschke's theorem there is a complement subrepresentation (given by the condition $\sum_i x_i = 0$, where $x_i$ is the i'th coordinate). This last representation (the standard representation of $S_n$) is irreducible. Why is this?  If we try characters, we can get the following: denote the standard representation by $V$ (dimension n-1), and the full permutation representation by $Perm$. Then $$  Perm = V\oplus Triv, $$ where the latter is the trivial representation. This means that $\chi_V(g) = |X^g| - 1$, and $$  \langle\chi_V, \chi_V\rangle = \frac{1}{|G|}\sum(|X^g|-1)^2|C(g)| = 1+\frac{1}{|G|}\sum (|X^g|^2 - 2|X^g|)|C(g)|, $$ where $X = \{1,2,\ldots, n\}$ and $X^g$ is the set of fixed points of permutation $g\in S_n$ and $C(g)$ is the conjugacy class of $g$. The sum is taken over all different conjugacy classes of $S_n$.  Now, since I know that $V$ is irreducible, the last sum must be zero. I don't see, however, why that should be.  Perhaps there is a direct proof or irreducibility?  Thank you.


Why the limit of only 1 post every 40 minutes on meta sites for trusted Stack Exchange contributors?

People like myself are Stack Exchange trusted users with thousands of reputation points and hundreds of badges.  In other words, we've proven ourselves as people who are assets to Stack Exchange and are a key component in making it so profitable.  As such, I was surprised when I posted  on the  site, and then shortly afterwards tried to  on that same meta site, but was blocked with a message in red stating I had to wait 40 minutes before posting again.  Why is this limit present for trusted Stack Exchange contributors, and can it be changed?


I've upgraded my laptop to Win10, and I have this wallpaper on my screen:      I like this place and I wanted to know - where it exactly is?  Search in Internet gave me  and  with no answer.


I have the following viewport:  Edges (on the left) are "ugly". Is there a way to improve this ? I use blender 2.8. I already look in preferences viewport: What else can I try ?


Respectfuly , please clearly answer to my question ,i don,t want after i buy the ticket i got the problem in airport !  My son come from Iran he has Shengen visa ,we want to go to Spain for 2 weeks , holiday , but the fly has 3 hours stop in London UK , i don,t know he need the transit visa or not because he has Shengen Visa ?!   please answer me as soon as possible !  thanks  for your cooperation  with best regards  Shayesta


Hello my name is Tyler T. I'm wondering, when will "Ubuntu Kylin 17.10" be officially available to download? Please reply whenever you can, please and thank you.


If you don't have 200 rep anywhere when you join a new site, is the Association Bonus added later?

When a user with >200 reputation on a Stack Exchange site joins another Stack Exchange site, they get a reputation boost, but is this boost only when the user first joins the new site?  That is, should I hold off on joining sites until I have 200 reputation on at least one stack exchange site, or when I cross 200 will all the sites I have joined get the boost?


subDirectory vs subDomain for different countries

Which has more SEO benefit, subDirectory or subDomain for slightly different content for different countries.  example: de.example.com example.com/de  Which of two would rank better?


In 5th ed would a bard who multi-class as a life domain cleric have his bard healing spells improved?

I have a 9th level bard. Hypothetically, if when I reached 10th level I took a level in cleric and chose the life domain, so I would be bard 9/cleric 1. The multi-classing rules state "When you gain a new level in a class, you get its features for that level" and then lists a bunch of exceptions, none of which apply to this situation. In the cleric class, at level 1 you take a domain. The life domain has an ability called disciple of life which reads  Also starting at first level, your healing spells are more effective. Whenever you use a spell of 1st level or higher to restore hit points to a creature, the creature regains additional hit points equal to 2 + the spell's level."  Note that it says healing spells, not specifically cleric ones. It would seem the RAW here is that this would apply to my bard spells as well. So my mass cure wounds (which is 5th level and I would not be able to know as a cleric spell but which I do know as a bard spell), would heal everything an additional 7 points. Is this how multiclassing works? It seems like my best multi-class option if it does (although I'd probably wait until 11th level since level 10 bards get awesome stuff). Am I missing something?


Pardon my ignorance, but how would the word 'ignore' convert to a noun in this context?

I was talking to a co-worker about  the fact that he ignored certain guidelines when writing his code. He is fairly aware of the established guidelines and a well-defined copy of the same is present on his PC, but he chooses to ignore them and deliver code that doesn't suit the organizational standards.  I wanted to tell him this, "Your ignorance of this matter is unwelcome."   However, I stopped mid-statement because I realized that this statement would imply that he is not aware of these guidelines. However, he is well-aware of the requirements but ignores them out of choice (probably out of laziness or lack of attention). Is there a better word for this situation? Alternately, how would I phrase this statement in a better way to convey the message that his choice of continuing to ignore guidelines is unwelcome?


Converting Integer time stamp into java date

I have following time stamp in Integer form   1333125342   I can convert it using SQL:  select DATEADD(ss, FlOOR(1333089223/86400)*86400, '1970-01-01 00:00:00') AS Date     How to convert it in java? So that it would return value:  3/30/12 12:18:43 PM


Problems with subdivision surface on a mesh

I'm new in Blender, i'm doing a dome with tow windows, but i have problems solving the boolean between the dome and the window.  When i apply the subdivision surface it goes bad, i know tehere are prblems with the topolgy.  Please, any advice? Thanks!  Bad mesh


Scatterplot, correlation of dependence and r-square between two rasters

I have two rasters of the same region and of same resolution and I want to plot in a scatter plot their values and compute the best - fit line with r-square. Any idea how can I do this on Arcmap or QGIS or extract the values of the rasters in a file so I can import it into Excel? Unfortunately I don't use R neither python.


java.lang.NullPointerException even after getting correct results

import java.util.*; public class Solution5 {     public static void main(String args[])     {         int voterId;         String voterName;         int voterAge;         boolean isVoteCasted;         String constituency;                  Scanner sc = new Scanner(System.in);                  Vote v[] = new Vote[4];                  for(int i=0;i<4;i++)         {             voterId = sc.nextInt(); sc.nextLine();             voterName = sc.nextLine();             voterAge = sc.nextInt();             isVoteCasted = sc.nextBoolean(); sc.nextLine();             constituency = sc.nextLine();             v[i] = new Vote(voterId, voterName, voterAge, isVoteCasted, constituency);         }         String con = sc.nextLine();         sc.close();                  int total = findTotalVotesCastedByConstituency(v, con);         if(total == 0)             System.out.println("No votes casted");         else             System.out.println(total);                  Vote[] search = searchVoteByAge(v);         if(search == null)             System.out.println("No such voters");         else             {             for(int i=0;i<search.length;i++)                 System.out.println(search[i].getVoterId());             }     }          public static int findTotalVotesCastedByConstituency(Vote v[], String con)     {         int c=0;         for(int i=0;i<4;i++)         {             if(con.equalsIgnoreCase(v[i].getConstituency()))             {                 if(v[i].getIsVoteCasted())                     c++;             }         }         return c;     }          public static Vote[] searchVoteByAge(Vote v[])     {         Vote temp[] = new Vote[4];         Vote t;         int c=0;         for(int i=0;i<4;i++)         {             if(v[i].getVoterAge()<30)                 temp[c++]=v[i];         }         //for(int i=0;i<c;i++)         //  System.out.println(temp[i].getVoterAge());         if(c==0)             return null;         for(int i=0;i<c;i++)         {             for(int j=0;j<c-i-1;j++)             {                 if(temp[j].getVoterAge() > temp[j+1].getVoterAge())                 {                     t = temp[j];                     temp[j] = temp[j+1];                     temp[j+1] = t;                 }             }         }         return temp;     } }  class Vote {     private int voterId;     private String voterName;     private int voterAge;     private boolean isVoteCasted;     private String constituency;          public Vote(int voterId, String voterName, int voterAge, boolean isVoteCasted, String constituency)     {         this.voterId = voterId;         this.voterName = voterName;         this.voterAge = voterAge;         this.isVoteCasted = isVoteCasted;         this.constituency = constituency;     }          public int getVoterId()     {         return voterId;     }     public String getVoterName()     {         return voterName;     }     public int getVoterAge()     {         return voterAge;     }     public boolean getIsVoteCasted()     {         return isVoteCasted;     }     public String getConstituency()     {         return constituency;     } }   In this code, I am trying to return array objects (in ascending order) of those voters whose age is less than 30. Since I am new to this concept, so I did not use List and Collection. Rather opted for simple bubble sort. The results displayed are perfectly correct. Still I get an additional line which says: Exception in thread "main" java.lang.NullPointerException: Cannot invoke "Vote.getVoterId()" because "search[i]" is null at Solution5.main(Solution5.java:40)


How do i remove the last character of the last string from a list of strings?

If I have something like this:  a=['100','200','501','124','1234\n']   How can I remove that '\n' ?


I used the Tikz to draw a directed graph. But the problem is the orientations are the end of edges. I need something like the following picture:    But my graph is in the following picture.


How to Measure the exact execution time of method in java?

I tried to find execution time of two methods in java. both the method doing same functionality but different logic, the execution time differs in lot. then i tried to find the execution time of same method two time, but the execution time are not even almost equal differs by multiples of 10's.  so please advise me, how measure the exact execution time of java method. `  public static void main(String[] args) throws Throwable {      double t11 = System.nanoTime();     System.out.println(test(2, 32));     double t12 = System.nanoTime();     System.out.println("Total time taken : "+(t12-t11));      double t1 = System.nanoTime();     System.out.println(test(2, 32));     double t2 = System.nanoTime();     System.out.println("Total time taken : "+(t2-t1));  }  public static long test(int num1, int num2){     long value = num1;     for(int i=2; i<=num2; i++) {         value *= num1;     }     return value; }   Output : 4294967296 Total time taken : 207084.0 4294967296 Total time taken : 35621.0


Remove width and height attributes from [gallery] output

WordPress automatically adds the width and height attributes to [gallery] shortcode images.  How to delete these attributes? Something  but for [gallery] output.


Yosemite Installation Error while Extracting Files

I'm getting this error:  OS X could not be installed on your computer An error occurred while extracting files from the package "Essentials.pkg". Quit the installer to restart your computer and try again.  Every time I restart, it installs until "19 minutes" are left and gives me the exact same error. I have no idea what to do because apparently no one else is having this problem.


How to change my login and login provider

I have been using an authentication through my Gmail account because  many years ago I thought it was a good method from a security standpoint, (even if the fact to use an E-mail as an account is a huge source of problems in the security field: the 2 of them don't belong to the same class of privacy level, one is public when the other is private).  Since recent events I am now convinced of the contrary: Google doesn't take care enough of security and privacy and at the same time is becoming too large a data keeper. It will become too large a target and probability to fail is increasing with the size of the target.  Then I would like to switch from my actual Google E-mail authentication (for example: bob@gmail.com) to a different StackExchange one (for example: alice@gmx.com).  I already read . And did this. I have now two logins.  But this blog entry doesn't explain how to initialize the password to the new account (here alice@gmx.com).  Moreover the screen capture of this documentation page shows a "change password" field when I don't have any.  Now that my StackExchange E-mail (alice@gmx.com) is registered as an account to access StackExchange, how could I initialize its password? I hope it couldn't be my password to my Google E-mail.  If not, where is the documentation explaning how this is avoided?  I suggest the page  might be improved so as to clarify this part of an account creation.


java.lang.NullPointerException: uriString [share image ]

I'm trying to add share feature to my app I tried this code and it's work fine on Android 5.0 and Android 7.0 but when I run my app on Android 6.0.1 I get this error     Process: maa.myapp, PID: 20195                                                                            java.lang.NullPointerException: uriString                                                                                at android.net.Uri$StringUri.(Uri.java:476)                                                                                at android.net.Uri$StringUri.(Uri.java:466)                                                                                at android.net.Uri.parse(Uri.java:438)                                                                                at maa.myapp.full$2$2.onResourceReady(full.java:122)                                                                                at maa.myapp.full$2$2.onResourceReady(full.java:118)   Here is my code:  Glide.with(getApplicationContext())                     .load(url)                     .asBitmap()                     .diskCacheStrategy(DiskCacheStrategy.ALL)                     .into(new SimpleTarget<Bitmap>() {                         @Override                         public void onResourceReady(Bitmap resource, GlideAnimation<?super Bitmap> glideAnimation) {                             String bitmapPath = MediaStore.Images.Media.insertImage(getContentResolver(), resource,"title", null);                             Uri bitmapUri = Uri.parse(bitmapPath);                             Intent intent = new Intent(Intent.ACTION_SEND);                             intent.setType("image/png");                             intent.putExtra(Intent.EXTRA_STREAM, bitmapUri);                             startActivity(Intent.createChooser(intent, "Share"));                             lt.success();                         }                     });


Infinite series $\sum _{n=2}^{\infty } \frac{1}{n \log (n)}$

Recently, I encountered a problem about infinite series. So my question is how to know whether the infinite series $\sum _{n=2}^{\infty } \frac{1}{n \log (n)}$ is convergent?


I am using   /^[a-zA-Z0-9\-_]+(\.[a-zA-Z0-9\-_]+)*@[a-z0-9]+(\-[a-z0-9]+)*(\.[a-z0-9]+(\-[a-z0-9]+)*)*\.[a-z]{2,4}$/  to validate my email IDs , but it has some issues like it is allowing below type mail ID which are invalid.  EX:   1.  1234@1234.com 2.  12deepak@abc.com 3.  _deepak@abc.com   I have tried a lot by modifying the regular expression but not succeeded. Any one please suggest me a correct regular expression ?


Time Machine - List of Files that were backed up

I'd like to know to see which files are getting backed up by my time machine? I often see a large amount of data being transfered and I'm not sure sure what it is.


In Java, how do I call a base class's method from the overriding method in a derived class?

I have two Java classes: B, which extends another class A, as follows :  class A {     public void myMethod() { /* ... */ } }  class B extends A {     public void myMethod() { /* Another code */ } }   I would like to call the A.myMethod() from B.myMethod(). I am coming from the , and I don't know how to do this basic thing in Java.


In "The Troubles" of U2, there is this :     Somebody stepped inside your soul   Somebody stepped inside your soul   Little by little they robbed and stole   Till someone else was in control   What I don't understand is why are we using "they" here ? Is this referring to the person that "stepped inside the soul" or is it about other people ? If it is referring to somebody, what are the rules that enables us to use they while it's one specific person that stepped inside the soul, and not multiple people ?


I am rendering my scene with only one sample but all the renders of the same picture have a different seed value. How can I combine them correctly? I wrote a java-program that loads all the images and takes the average pixel color for each pixel of the images. Is that a correct way of combining the images? It doesn't reduce the noise very much so I am not happy with it. What can I do?


UK student visitor refused, what to do next?

I am 21, Vietnamese and have been accepted for the 26-week-long General English course in St Giles International, Brighton, UK. I have applied to the UK Visas and Immigration office in Vietnam. I have asked for short term student visitor visa and got refused. Now I am reapplying.  Exact wording of the refusal letter quoted here:     I have refused your application for a  visit visa because I am not satisfied that you meet the requirements of paragraph A57 of Appendix V: Immigration rules for Visitor because:         You have said that you will travel to the UK for a period of 26 weeks, to study a general English course. You have said that upon completion of the course you will return to Vietnam looking for a better job. You appear to have completed your full time studies in Vietnam in 2013, and you have been working in administration role since May 2014. You have not sought to continue your studies in your home country since 2013. and you have not undertaken any English course previously, outside of your high school studies. You are employed and receive a monthly income of VND 5,000,000 (GBP 144.70). Of your GBP 144.70 income you spent GBP 100 on living costs. You have said that your study in the UK will cost you GBP 16,000. Therefore I am unclear why you would elected to travel; to the UK now, at the course involved - when courses are available in Vietnam, considerably cheaper.   As evidence of funds available for your trip you have presented a Sacombank savings book, on 14/08/2015 you credited VND 800,000,000 to this account, this is equal to GBP 23,151, and equates to over 13 years total income, before considering your living costs. As such, I am not satisfied of the origin of these funds, or if they are genuinely available to support your visit now. In light of the above, noting the costs involved, in fact you have not sought to study English previously, and there is no evidence that completion of this course would offer you better employment in Vietnam. Coupled the fact that I am not satisfied that the funds a genuinely available to support you visit means I am not satisfied that you intend to leave the UK at the end of the study. Furthermore, I am not satisfied you have enough funds to support your return journey, or that you will be maintained and adequately accommodated out of funds available to you.      First of all, after completing high school, I was not able to make it to a college or university. I got the job as a arrangement of my father with his friend's company. I could live quite easily without the salary thanks to my parents' financial support. In another word, all I needed was just a so called job, no matter how much it would pay me. After a year of being bored of the jobs as well as family dependence, with my parents' encouragement, I decided to go to study abroad to improve my knowledge and experience. I simply think that if I continue being in my country, no matter how much I want to do it, my family will give me everything I need when I am in trouble. And more than to become independent, I want to get a job with my very own sources when I return. I think the course will afford me that.  The funds for my course, obviously, came from my parent. And if the UK Immigration officers have doubt about my return or my bond to my hometown which can assure my return (such as a high salary job or real estate ownership) I just don't know what to show to convince them.  At the moment, all I think of to add to my reapplication are my parents' income statements (though I am not quite sure if it will help because legally, I have been no longer their dependant). Just so you know, I've already had my bank statement, employment description, return ticket booking, study record etc. I desperately want this, and even much more after the refusal, as I don't want to be called parasite any more.  What should I prepare and do to reapply?    I'm so afraid of being refused again and that would be the end of all of this because every time of being refused, it's only getting harder and harder to apply next time.


How can I return the current action in an ASP.NET MVC view?

I wanted to set a CSS class in my master page, which depends on the current controller and action. I can get to the current controller via ViewContext.Controller.GetType().Name, but how do I get the current action (e.g. Index, Show etc.)?


Is it okay to use sleep mode for my laptop all the time?

I use many applications every day, so it's important for me to get the complete desktop state (all windows, shells, etc. in the same state they were in, etc.) back instantly when I turn on the computer. Can I use sleep mode all the time (not just during the day, but every night, and anytime I don't use the laptop)? That practically means the computer is never turned off completely, it's always under some power.  Can it hurt some circuitry if the computer is never fully switched off? Or is it OK with today's computers?


I own a 2016 Macbook (with the USB-C charging) - at the time and in response to all of the reports of poor cables and poor chargers, I bought a meter so I could see what the throughput of my cables/chargers was. However, having run some tests I'm now not sure what to consider normal / what is harmless to the battery.   For all tests I used an original Apple C-C cable - though was able to replicate with two third party cables I own.  I have the original Apple block charging at 14.3 V / 1.99 A and a third party block that charges the same.  Another third party block which advertises USB PD and 3 A is currently charging at 20 V / 1.43 A  I've done some research online but I can't find any articles that indicate what a normal USB PD output is relative to the devices that connect to it and would appreciate any guidance / assistance.   TL;DR: Have Apple charger which charges at one voltage/amperage. Bought several others advertised at PD which are higher voltage, lower amperage. Not sure what is 'safe', or 'fast', or does least overall damage to battery.


When I connect to my local server, I get this message A network-related or instance-specific error occurred while establishing a connection to   SQL Server. The server was not found or was not accessible. Verify that the instance name    is correct and that SQL Server is configured to allow remote connections. (provider:    Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft    SQL Server, Error: 2)  This is my login information:  Server type : Database Engine Server name : . Authentication: SQL Server Authentication Login: sa Password: ***  SQL Server service is started and is in a running state. I'm connecting to a default instance. How can I fix it?


I have a file I need to rename to that of an existing file. This is a copy, modify, replace original operation on an existing JAR file. I've got the first two steps done, I just need help with the replace original bit. What's the best way to rename the new version of the JAR to that of the old. The old JAR doesn't need preserving and I don't want to have a copy of the new with its initial name sticking around.   I have commons lang and io already, so if there's a method I've missed, that would be great.


How can I upscale my low resolution to hi-res image

I have a low-res image would anybody explain to me the technique to make it high-res image? It would be really helpful if you could show me how can I improve the resolution, quality or bring out the elements from the image clearly.


Is there any way to edit the bounty amount I allocated for a question?

I posted a question with a bounty reward of 50. Can I edit it to make it 100?