I'm getting pretty close to a silver badge in a tag that I'm very interested in so over the past couple of days I have looked at my own profile daily just to see how close I am. That is when I noticed that even when I got up votes for answers with that tag, the tag score didn't update.   I found a post on meta that said that the tag-score script runs daily at 03:00 so I figured that it would soon be updated. However I haven't yet seen an update.  This is what I see in my profile     and this is what I see when fetch all my up voted answers by tag.    The tag I've been following closely is the "core animation" tag. So I can looking at the last 6 up voted answers for that tag to get an estimate of when the script last ran. This is my reputation history for the past few days with the questions with this tag highlighted:    It seems like tag score was last updated March 8 (5 days ago)

From my , I learned that all tag related info on profile will be updated daily at UTC 03:00.  However, something is wrong here. It's now UTC 05:00+, but my tag number, say 93 (c++) is not updated against yesterday. I am pretty sure about this and I did earn some more points throughout the day. Sorry for not be able to capture the screenshot yesterday, but I did check this number 10 hours ago (which belongs to yesterday, also 93).  Is there a bug happening here? Or updating time different?    UPDATE: As of 24 Jan, the tags are still not updated with the proper values.  UPDATE2: Fixed around 25 Jan, UTC 03:00, at least for me.


I want to include some numbered example sentences in my report, like in this paper (introduction and throughout the paper):   From the blue text of the references to the examples they seem to be labeled somehow. Does anyone know how they might have done this, or know a good solution for this?

I do linguistics and I'm looking for a way to enumerate language examples that lets me reference to them in the text.        (1) This is an example.  Sentence \ref{...} provides a good example of basic English.   Bonus points if it's usable with \item, which makes it easy to use with org-mode.


We have two tools for community moderation of questions: downvotes and close votes. Both are used to indicate a question is not "good", yet they work in isolation. Why is this? The tooltip for a downvote says:  This question does not show any research effort; it is unclear or not useful.  I downvote questions that I don't welcome. Either because they are unclear (which ties nicely to a close reason) or because they show no research effort (not a close reason, but desired by many). If a question has reached a score of -5, -7 or -10, is this really a question that should be open? It will probably be closed eventually, for reasons relating to the downvotes, but why do we have to act twice? Note: these scores are just examples, clearly different sites would have different typical scores for poor questions. I'm beginning to wonder if a low question score should trigger a question to be on hold. I haven't figured out the finer details yet, it's just an early thought. But I wanted to start a discussion about the pros and cons of keeping the two moderation tools separate, as they are now. I'm not suggesting we do away with close votes, I'm just questioning whether a low question score is another way a question could be closed. Based on a  looking at Stack Overflow, it seems there are thousands of questions with a negative score that are still open:  Score        Open Questions ===========================  -4                  17,258  -5                   7,116  -6                   2,983   -7                   1,322  -8                     693   -9                     261  -10                    189  Does this data mean anything? I'm not sure. It perhaps proves there is a benefit to having open questions with a low score. Or perhaps this shows just how many crap questions could be closed if an auto-closure system kicked in. Here's  but for questions with at least one answer. The numbers are smaller but still significant.

Now that I've reached 3K on SO, I find myself with the awesome power and responsibility (sic) to vote to close. So I've been thinking about the four possible responses to a poor question:   edit comment downvote vote to close   Oddly, I don't see a lot of use for downvoting.   If I can make something of a question by editing it, I do. If I can't, unless it's a giant stinker, I comment. If the comment doesn't yield an improvement, I ask, 'just how awful is this?' If the question's not answerable close. If it is, well, I suppose I could downvote, but somehow, I feel that the posters of such questions get all the punishment they deserve when they don't get useful answers.  "A Giant Stinker" should mean: qualifies under the stated criteria for a close.  Answers are another story. An answer that is actually incorrect to the best of my knowledge get a swift downvote.  In other words, it seems important to me to give rep feedback to answerers, so that people who post actually incorrect answers fail to accumulate rep and acquire a label of legitimacy. On the flip side, bad questions almost always come from people with so little rep that 'whacking them' with a downvote has no real effect.  There's an interesting question of 'downvoting people' versus 'downvoting things.' As per someone who posted an answer, it is questions and answers that get voted. However, I observe that it is people who gain and lose rep.   Of course, once people reach empyrean rep, downvotes are mere mosquito bites, and we just have to hope that they never turn to the dark side. Even the anticipated larger negative scores on downvotes aren't going to put much of a dent into 44K.  All this adds up to an artifact of the rep system. Downvoting a person with 1 rep sends a message but has no practical effect. Downvoting someone with 1K rep is just the same. The only people who really feel a downvote as a crimp in their ambitions are those who are initially climbing the rep hill.  Does this make sense?


I have USB WiFi TP-Link Archer t1u v1 and when I try to install drivers rtl8812au (because official drivers does not work on kernel > 3.16), it does not work even if i'm able to build and install.    I followed any type of guide but anything helps me. I post some information abount my system:  Bus 001 Device 002: ID 8087:8000 Intel Corp.  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 002 Device 004: ID 04f2:b469 Chicony Electronics Co., Ltd  Bus 002 Device 006: ID 04ca:300b Lite-On Technology Corp. Atheros AR3012 Bluetooth Bus 002 Device 003: ID 2357:0105   Bus 002 Device 002: ID 062a:5918 Creative Labs  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub   The Device 003 is my usb wifi.  4.18.3-041803-generic Ubuntu 18.10

I recently got a wireless adapter (TP-Link Archer T2UH V1). After plugging it in, I found out that the drivers for Linux are not native on Ubuntu. They do, however, have the drivers available for download (in the form of compilable/ makefile). What I am not sure of is how to install these drivers. I know that I need to build the drivers, place things where they need to be, and tie things together with the kernel. I am not sure how to do this, however, and need some help.  TL;DR: I need to know the terminal commands to install these drivers.  Driver/Device info:   Output of lsusb:  Bus 003 Device 004: ID 148f:761a Ralink Technology, Corp.


My iterator method is having trouble finding an entered record. The method I am using is this:   iterator = gamesList.listIterator(); int Code = Integer.parseInt(JOptionPane.showInputDialog("Enter Code:"));  boolean Found = false;  for (int i = 0; i < gamesList.size(); i++)  {     setMembers(iterator.next());     if(obj.getId() == Code)     {         Found = true;         break;     } }  if(Found == true) {     System.out.println("Success!"); }   This method is proven to work with other programs of this type.

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


I'm on Ubuntu 18.04. If I go into my home directory and right-click and select "new document" and then "empty document", a new file appears called "Untitled Document". Now I want to edit what's in this file, and so in the terminal I type:     gedit ~/Untitled Document   And what happens is that gedit opens two temporary documents, both non-existent yet, one called "Untitled", and the other called "Document". How am I supposed edit the file called "Untitled Document"? Also, to edit the contents of a document like this I must use the terminal? I didn't see any option for editing when I right-clicked.

I want to enter the following folder in the terminal:  Milano, Torino (Jan)-Compressed   How should I write the command cd to enter this directory?  Spaces and several other special characters like \, *, ), ( and ? cause problems when I try to use them in the command line or scripts, e.g.:    $ cd space dir bash: cd: space: No such file or directory  $ cat space file cat: space: No such file or directory cat: file: No such file or directory  $ cat ( bash: syntax error near unexpected token `newline'  $ echo content >\ > ^C  $ ls ? (  )  *  ?  \   How do I enter file or directory names that contain special characters in the terminal in general?


I am working on a game where the user has to fill in a name of a celebrity. If the name is not 100% correct but nearly correct, the compare should succeed. Is there a ready to use function in java or something someone ever has written so I can use it ?

I'm looking for a high performance Java library for fuzzy string search.  There are numerous algorithms to find similar strings, Levenshtein distance, Daitch-Mokotoff Soundex, n-grams etc.  What Java implementations exists? Pros and cons for them? I'm aware of Lucene, any other solution or Lucene is best?  I found these, does anyone have experience with them?


What are good choices to produce charts in computer science research papers? For example, I think Figure 8 from  , included below, is great. What tools were used to produce it?    Source: Xiangyao Yu et al., , p. 215.

I would like to have suggestions of good software for drawing illustrations in research papers. I already know about , but this works only on Linux and is at times, clunky when it comes to text. Moreover the resolution is not always perfect making it difficult to manoeuvre the objects. Besides it is tough to learn and master, with all its weird click procedures.   I would love to know about better alternatives. Not talking about graphs here, just block diagrams and explanatory illustrations.


the following gives me 5 hi:  for i in {1..5} ;  do echo hi $i done   but when i do the following with variable, it wont:  num=5 for i in {1..$num} ;  echo hihi $i done   and i tried put some " " or  or ' ' around, but it still doesnt give me 5 hi, please give me some advice. the result return is {1..$num}, so please tell me how to set up a proper for situation with variable. thanks.

How do I iterate over a range of numbers in Bash when the range is given by a variable?  I know I can do this (called "sequence expression" in the Bash ):   for i in {1..5}; do echo $i; done   Which gives:     1    2    3    4    5   Yet, how can I replace either of the range endpoints with a variable? This doesn't work:  END=5 for i in {1..$END}; do echo $i; done   Which prints:     {1..5}


I'm using for the first time biblatex  The main file is similar to the following:  \documentclass[12pt,a4paper]{report}  \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{amsmath} \usepackage{amssymb} \usepackage{mathtools} \usepackage{bm} \usepackage{booktabs} \usepackage{graphicx} \usepackage{rotating} \usepackage{lscape}   \usepackage[space]{grffile}%para os directórios com espaços não darem problemas  \usepackage{float}% para os floats, aka imagens e tabelas, ficarem onde queremos. Usar [H] em vez de [h] \graphicspath{ {Imagens/} } \usepackage{algorithm} \usepackage{algpseudocode}  \floatname{algorithm}{Algorithm} \renewcommand{\algorithmicrequire}{\textbf{Input:}} \renewcommand{\algorithmicensure}{\textbf{Output:}}   \usepackage{tikz} \usetikzlibrary{automata, positioning, arrows,shapes} \usetikzlibrary{decorations.pathreplacing}  \tikzset{ ->, % makes the edges directed >=stealth', % makes the arrow heads bold node distance=3cm, % specifies the minimum distance between two nodes. Change if necessary. every state/.style={thick, fill=gray!10}, % sets the properties for each 'state' node initial text=$ $, % sets the text that appears on the start arrow }  \newtheorem{theorem}{Theorem}[subsection] \newtheorem{corollary}{Corollary}[theorem] \newtheorem{lemma}[theorem]{Lemma} \newtheorem{property}{Property} [subsection] \newtheorem{definition}{Definition} [subsection]  \usepackage{hyperref} \hypersetup{     colorlinks=true,     linkcolor=red,     filecolor=red,           urlcolor=red,     pdfnewwindow %para o comando href não fechar a apresentação ao abrir novos pdf's }  %%%%%%%%%%%%%%%%%%%%%%%%%%%% %\usepackage{xcolor}%Comment out before printing %\pagecolor[rgb]{0,0,0}%Comment out before printing %\color[rgb]{1,1,1}%Comment out before printing %%%%%%%%%%%%%%%%%%%%%%%%%%%%  \usepackage[backend=biber]{biblatex} \addbibresource{Bibliography.bib}  \begin{document} \input{titlepage}  \chapter*{Abstract} \input{Abstract/Abstract}  \chapter*{Dedication} To    \chapter*{Declaration} I declare that..  \chapter*{Acknowledgements} I ack  \tableofcontents  \chapter{Towards a First Chapter}   \chapter{Dealing with a Second Chapter}   \printbibliography  \cite{Stuart10} is a testing crucible  \end{document}   The .bib file has the following text:  @article{<Stuart10>,     author        = {Stuart},     title         = {Some Very Difficult Problems},     journaltitle  = {Numerology},     year          = {1820},     volume        = {1},     pages         = {451-559} }   However, when I compile, every thing appears fine except for the Bibliography section which never appears... There's no error warning, and everything is compiled smoothly.

Running the minimal example  \documentclass{article} \usepackage{filecontents} \begin{filecontents*}{\jobname.bib} @ARTICLE{example,   author  = {Other, Anthony Norman},   title   = {Some things I did},   year    = {2014},   journal = {J.~Irrep. Res.},   volume  = {1},   number  = {1},   pages   = {1-10} } \end{filecontents*} \usepackage[backend=biber]{biblatex} \addbibresource{\jobname.bib} \begin{document} Hello\cite{example}. \printbibliography \end{document}   I get the warning There were undefined references.  I have read  and know that I need to run:   LaTeX Biber LaTeX   However, my editor is only set up to run BibTeX. How do I go about setting up my editor/IDE to be able to run Biber, and how do I run the LaTeX/Biber/LaTeX cycle?  Answers (sorted alphabetically by editor name)                    Answer guidelines   Each answer should be for one editor. If the editor is cross-platform, if possible give a single answer with notes covering the minor platform variations. Please edit the question to include new answers in the 'link list' Each answer should be 'stand alone', i.e. don't say 'It's almost the same as editor Y but ...' for the editor part Instructions for 'build tools' such as arara or latexmk are welcome but should explain how to set up the editor in question as not all editors allow simple addition of arbitrary tools


I want to display an object's property in my debugger window without set manually debug in my visual studio. I did a small thing which is display variable properly in my debugger window but when I pass any object it's not shown this object's property. I want, it displays my object's property like that way in the debugger window- {id: 1, Name: "Hello World", Address: "Down City"}   private void DebugOutput(object obj)         {             try             {                 System.Diagnostics.Debug.Write(obj + Environment.NewLine);              }             catch (Exception ex)             {                  System.Diagnostics.Debug.Write(ex.Message.ToString() + Environment.NewLine);             }          }

So for viewing a current object's state at runtime, I really like what the Visual Studio Immediate window gives me.  Just doing a simple  ? objectname   Will give me a nicely formatted 'dump' of the object.    Is there an easy way to do this in code, so I can do something similar when logging?


I have tried multiple things that don't work for some reason. I have loaded up a save before I bought the house, I have deleted and re-downloaded the Hearthfire DLC, but I still can't move my family, so nothing works! I think it's because I don't own the house. Will someone please help fix this problem?

I have my first house in Whiterun, and I built a children's room there. I also have Lakeview Manor and built the children's beds and chests there too. Now I'm attempting to adopt, and the only home I can put a child in is the house in Whiterun. I would prefer to use my other home though. Is there a way to change which house they go in?


How can I update my OS Ubuntu Linux 10.10 to 12.04 or 14.04? I had a problem while installing the others and it was the only it accepted!I want to update it using terminal because the update manager can't update it by itself because it doesn't find the version 12.04! Please help!!!

Recently I have installed an older version of Ubuntu on my old machine. Whenever I try to install any software, I get an error saying it couldn't be found:  $ sudo apt-get install vlc Reading package lists... Done                Building dependency tree        Reading state information... Done     E: Couldn't find package vlc


I am creating a simple 2d game in Unity. I tried to make the player able to pick up objects whenever they are clicked, but I keep getting the error I mentioned. Here are the scripts I used : (Both of them are attached to the same object that the player wants to pick up)    First :      public class Select : MonoBehaviour     {         public GameObject selectionBox;         public bool isSelected;          void Start()         {             selectionBox.SetActive(false);         }          void OnMouseOver()         {             Vector2 pos = transform.position;              selectionBox.transform.position = pos;             selectionBox.SetActive(true);             isSelected = true;         }          void OnMouseExit()         {             selectionBox.SetActive(false);             isSelected = false;         }     }   Second : (that gives the error)      public class Pickup : MonoBehaviour     {         private Select select;         private Inventory inventory;          void Update()         {             OnMouseDown();         }          void OnMouseDown()         {             if (select.isSelected && Input.GetMouseButtonDown(0)) //Error here                 print("Click!");         }     }   Can anyone please tell me why I am getting this error? And how can I fix it?    Here is the error : Object reference not set to an instance of an object Pickup.OnMouseDown () (at Pickup.cs:17)

Since many users are facing the NullReferenceException: Object reference not set to an instance of an object error in Unity, I thought that it would be a good idea to gather from multiple source some explanation and ways to fix this error.  Symptoms I am getting the error below appearing in my console, what does it mean and how do I fix it?  NullReferenceException: Object reference not set to an instance of an object


I have tried Farbar scan, I have tried MalwareBytes, I have been able to get into registry at one point and remove all of what I thought was infecting it. I ran Kaspersky, CCleaner, and TDS killer. Nothing is working to get rid of this virus. The virus also morphed and now  I can't click ctrl+alt+del after starting a scan and try to close, which was allowing me to say "no" so I could get back in.

What should I do if my Windows computer seems to be infected with a virus or malware?  What are the symptoms of an infection? What should I do after noticing an infection? What can I do to get rid of it? how to prevent from infection by malware?   This question comes up frequently, and the suggested solutions are usually the same. This community wiki is an attempt to serve as the definitive, most comprehensive answer possible. Feel free to add your contributions via edits.


I have rigged a zombie, and when I change the pole angle it affects the mesh's flow. I have tried applying the armature both before and after changing the poles, but nothing works. Examples:      Is it possible to change the pole angle without affecting the mesh?

How to calculate the exact pole angle so when I add Pole bone the IK chain does not move?


I am trying to write a simple equation: G=log(base 2) (R)  but when I write this in latex:  \begin{equation} \cal{G} = \log_{2}(\cal{R}) \end{equation}   the number 2 becomes a symbol:    Any ideas?

Why does \cal{M}_n give “M>” in parts of my LaTeX file and works correctly in other parts?


In which case we should pickup Manhattan distance and when we should use euclidian distance measure.   To my understanding both are used for continues numeric data(not like cosine or others who works on different similarities).   So to which data, which method works well?  I have seen applying KNN with Manhattan working well with data containing lot of 0/1 classes(though not survey data) and some other continues fields.   Any guidelines on when which works better and why?

I have seen somewhere that classical distances (like Euclidean distance) become weakly discriminant when we have multidimensional and sparse data. Why? Do you have an example of two sparse data vectors where the Euclidean distance does not perform well? In this case which similarity should we use?


Can a warlock choose an upcast spell as a Mystic Arcanum?  For example, say I have a warlock and want to be able to summon bheur hags using . This is slightly problematic due to  being CR 7. Could I then take an upcast Conjure Fey as my 7th-level Mystic Arcanum?

A player asked me if they could use their 17th-level Mystic Arcanum (Warlock class feature) to select the 6th-level spell "Mass Suggestion" cast at 9th level (to always make the suggestion last a year and a day).   I am unsure how to answer this (final verdict), as Mystic Arcanum specifically states:     At 11th level [...]. Choose one 6th level spell from the warlock spell list as this arcanum. [...] At higher levels, you gain more warlock spells of your choice that can be cast this way: [...] and one 9th-level spell at 17th level. (PHB p.108)   So my take on this is that they are very specific about which spells you are able to choose (spells that are on the warlock spell list, and there, they have to be n-th level).   Am I wrong? Is there any rules citations which support what the player asks?


I am preparing a tutorial worksheet for my students and would like to include an option to let me compile it with a blank page every 2nd page, so that I can then print it 2 pages per sheet in landscape and have space for working out on the right hand side.  I also want to be able to compile it normally and also still be able to make changes, so I don't want to manually insert the pages with an \ifdefined switch, because if I make changes, then the place where it should be inserted would change.  At the moment, I am just using pdftk to insert blank pages manually, but it would be nice to be able to do it automatically when compiling.

I wrote my thesis and my school wants an one-sided print. The printing and binding will be done by a professional bookbinder. They only accept only two sided manuscripts.    My \documentclass:  \documentclass[ 11pt, ngerman, onehalfspacing, headsepline, oneside ]{MastersDoctoralThesis}     Because of that I need to add a blank page after every page of content. I don't want to do this manually using \newpage or \clearpage because there are too many pages. Is there any LaTeX command (or package) to do this (automatically)?  Thanks for your help!


I have the following sequence defined recursively: $s_{n+1}=1+\frac{s_{n}}{2}$. I understand that the nth term of this sequence is given by $f(n)=2-(2-t)2^{1-n}$. However, I am not sure how this conclusion is reached (in particular, how this general term is derived from the recursive definition). Could someone provide a hint (if not demonstrate) how this is done? Thank you.

Let the sequence be defined recursively $X_{n+1}=pX_{n}+q$ for p nonzero and $X_{1}$ arbitrary. In what conditions does the sequence converge?  I bumped into this problem and I don't know where to even begin. I would really appreciate some help.


I have a  for which I posted a bounty, and, at the end of the allotted time, all answers had score 0. Rightfully, too, as, to this day, no one actually answered the question.  No question was marked as accepted -- thankfully! -- but I can't accept any answer anymore. I also can't open a new bounty on it. Honestly, I don't mind losing the reputation on the bounty permanently, but I do mind not even ever being able to have an accepted answer to my question!  I understand being able to reopen bounty on questions can lead to exploits, but in a case where NO answer was accepted at all, this just doesn't seem to be the correct behavior.

I had this question:    All 3 responses were rated at 1 when the bounty expired. Nothing got selected as the "best answer", and I can't even manually select an answer.


These are the signature errors that persist after I tried several fixes mentioned on the Internet  W: GPG error: http://deb.opera.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 517590D9A8492E35 W: GPG error: http://archive.canonical.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32 W: GPG error: http://extras.ubuntu.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192 W: GPG error: http://linux.dropbox.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FC918B335044912E W: GPG error: http://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991 W: GPG error: http://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991 W: GPG error: http://archive.ubuntu.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32 W: GPG error: https://private-ppa.launchpad.net raring Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E131728675254D99 W: GPG error: http://archive.ubuntu.com trusty-updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32 W: GPG error: http://archive.ubuntu.com trusty-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32 W: GPG error: https://private-ppa.launchpad.net trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E131728675254D99 W: GPG error: http://archive.ubuntu.com trusty-security Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32 W: GPG error: http://ppa.launchpad.net trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0CC3AFF5CEDF0F40 W: GPG error: http://ppa.launchpad.net trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 32B18A1260D8DA0B   I have been beating around the bush for solutions but nothing has worked yet please suggest something that would solve these errors.  What I've already tried:    y-ppa-manager manually removing list and regenerating it.   So please don't mark duplicate for these methods and suggest something else.

I added some extra repositories with the Software Sources program. But when I reload the package database, I get an error like the following:     W: GPG error:  trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8BAF9A6F   I know I can fix it using apt-key in a terminal, according to the official Ubuntu documentation. But I would have liked to do it graphically. Is there a way to do this without using a terminal?


I'm a total bash and SE beginner and in need some help, please. I have more than 2000 folders (their names are incrementals of 1000) on a Debian server, which I need to zip to separate store-only archives with the corresponding incremental names in the folder 1 level-up the hierarchy from the source. Then I need source files folders deleted after each archive is created. So, below code works for what I need but my current idea is to repeat the same line over 2000 times. I'd like to know if there is a better way to automate this process into just a few extra lines with the use of a loop and I guess a sub-folder variable? Any help appreciated, please. Thank you very much! #!/bin/bash  cd private/completed/0/ && zip -r -0 ../0.zip ./* && rm -R 0/ && cd - cd private/completed/1000/ && zip -r -0 ../1000.zip ./* && rm -R ../1000 && cd - cd private/completed/2000/ && zip -r -0 ../2000.zip ./* && rm -R ../2000 && cd - cd private/completed/3000/ && zip -r -0 ../3000.zip ./* && rm -R ../3000 && cd - cd private/completed/4000/ && zip -r -0 ../4000.zip ./* && rm -R ../4000 && cd - ....  cd private/completed/2800000/ && zip -r -0 ../2800000.zip ./* && rm -R ../2800000 && cd -  UPDATE: Thank you very much for the helpful link, Kusalananda (). I used the code from that related answer and slightly modified it to make it work exactly how I need it. I added the resulting code below: #!/bin/bash cd private/completed/ for i in {0..2800000..1000}; do echo "$i" ; cd "$i" ; zip -q -r -0 ../"${i%/}.zip" . && cd .. && rm -R "$i" ; done

I have a single directory that contains dozens of directories inside of it.  I'm new to command line and I'm struggling to come up with a command that will zip each sub-directory into a unique sub-directory.zip file.  So in the end my primary directory will be filled with all of my original sub-directories, plus the corresponding .zip files that contain the zipped up content of each sub-directory.  Is something like this possible? If so, please show me how it's done.


I was wondering how possible it would be that, after graduating, the university would investigate a minor misconduct during college. By minor I mean, if found guilty the worst punishment would be / have been a semester suspension.   If you had already graduated, what are the possibilities that the punishment would include revoking your degree?

I don't mean misconduct that will make him get expelled or miss his academic requirement. He will have received sanction like making an apology or suspension for a month if the university finds it out earlier. But the student now has graduated and will not be back. Can the university still do something to him?


I have a J1 visa and I'm staying in the USA. I am planning to bring my wife and my son (5 months old). Do they have to apply for separate visas, or can my wife include our son's details in her form?  How about fees?

Is separate DS -160 form needed for my baby for US B1/B2 visa? and should I pay a separate fee for him(= 160 US$)?


I have this workflow:   Listen through headphones Press mute button on my keyboard Unplug my headphones to move away   I noticed that at least on GNOME, audio keeps playing.   How can I configure this mute button to keep muted after unplugging headphones?

Is there a way of muting sound from my computer everytime I unplug my headphones (Like a phone does) to stop sound then playing out of my speakers?


I have a MacBook Pro 13-inch mid 2012 with macOS Sierra v. 10.12.6 Some technician installed Samsung SSD 840 EVO 1TB for me on this machine. There was no problem until I tried to install MacOS Mojave.  After some reboots on the installing process I have this error message:     macOS could not be installed on your computer. An error occurred while   verifying firmware.   I already tried:   A) Install on safe mode B) Format, reinstall Sierra, try A from there. C) Run First Aid from Recovery.   I don´t have the original HDD.  Any ideas?

I have a Mid 2011 iMac currently running MacOS 10.12 Sierra. It’s not my main machine, but I would like to install 10.13 on it.  Updating starts smoothly enough, but when it comes to restarting, I get the following message:     macOS could not be installed on your computer   An error occurred while verifying firmware.   I understand that my Mac is on the edge, but I read that any machine which supports 10.12 will also support 10.13  The iMac is running from an external SSD, due to a problem with the logic board, so I know that I have some problems. The iMac no longer boots from the internal drive (or recognises the DVD), but still works otherwise.  However, the problems don’t seem to be invove the actual firmware, and the iMac is happily running 10.12.  What does this message mean, and can it be resolved?


I know there are lots of questions re this, but none solve my exact issue. I accidentally gave a usermod -G instead of -a -G, and so have been removed from sudoers.  I am using BIOS, so most of the threads talking about holding shift to get into recovery mode don't work.  ESC brings me to a grub command line, but cannot get anything useful out of that.  The closest similar question I found (I can't find it again) had the same issue, but his was resolved by typing normal and then it worked.  When I type normal, all I get is that it reboots but then ESC no longer works to even get me into the GRUB menu until the next time I reboot. Ubuntu 20. TIA Edit: Despite this being marked as a dup, it is VERY CLEARLY NOT because I reference all of the normal directions, and explain how it's not working.  Not only that, but I did end up resolving it, and it goes against all of the documentation, thereby making it novel, and likely useful for others.  Typical Stack

I want to know if there is a way to switch to console mode from the boot menu.  I have an NVIDIA 1070 and every time there is an update, the GUI stops working. All I need to do is re-install the drivers; however, to do that I need to be in console mode. EDIT: I should have added more information to this question but I'll comment on all answers. In short: I've tried text instead of quiet splash I do see booting activity in text mode; however, I don't get a login screen and ctrl + Alt + F1 doesn't help because GDM keeps trying to restart. Previously I managed to kill GDM through multiple tries but is not working since the latest update. EDIT: After searching for runlevel, I've found  but I think it required me to have a running system to make changes -- please correct me if I'm wrong.


I followed  to create a database mail for SQL Server Express 2017.  I got it working but before that I had tried to create accounts and different profiles.   How I do I list all database mail profiles id and account ids so I can delete the old messed up ones.

Our SQL Server (2008) instance is configured to send mail and everything is working correctly, but I can't figure out how to view the existing configuration, in particular the SMTP server.   From SSMS I can only start the configuration wizard, and I can't find anything online - plenty of info on how to set it up but nothing on how to view the current settings.   How can I view the existing settings?


how do if fix the Exception in thread "main" java.lang.NullPointerException     at BankSystem.Branches.findCustomer(Branches.java:44) I'm new to coding and java is my first language and I keep getting this error I don't know to fix it.  package BankSystem;  import java.util.ArrayList;  public class Branches {  private String name; private ArrayList<Customers> newCustomer;  public Branches(){ }  public Branches(String name) {     this.name = name;     this.newCustomer = new ArrayList<>(); }  public ArrayList<Customers> getNewCustomer(){     return newCustomer; }  public String getName() {     return name; }  public boolean addCustomer(String name, double amount) {     if (findCustomer(name) == null) {         this.newCustomer.add(new Customers(name, amount));         return true;     }     return false; }  public boolean addTranstraction(String name, Double amount) {     Customers existingCustomer = findCustomer(name);     if (existingCustomer != null) {         existingCustomer.addTransactions(amount);         return true;     }     return false; }  private Customers findCustomer(String name) {     for(int i=0; i<this.newCustomer.size(); i++){         Customers checkedCustomer = this.newCustomer.get(i);         if(checkedCustomer.getName().equals(name)) {             return checkedCustomer;         }     }     return null; }   }

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


A faucet is a device that controls the flow of a liquid or gas from a pipe or container. Sinks and baths have faucets attached to them.  This is the definition of the word faucet. My question is, if we replace the last sentence with "Sinks and baths have faucets that are attached to them", is it going to sound less natural or even a bit clumsy compared to the original one?

I have a sentence here:     Software quality assurance is a planned and systematic pattern of all actions necessary to provide adequate confidence that an item or product conforms to established technical requirements.   Did the writer omit a relative pronoun? Could the sentence be written as: "…of all actions which are necessary to provide…" ?


On this site I usually see very amazing techniques to solve integrals; contour integrals, differentiating under the integral sign, transforming the integral into a series and son on and so forth.  What I really like is that seemingly difficult integrals become very easy to evaluate; you just need this "a-ah" moment and the right technique.  I know that this skill must be trained, so I would like to find a book or a website which has a collection of such integrals.  I don't mean just difficult integrals, for which you have to work through pages of calculations; I want integrals that are easy to solve if you know how to apply the right technique  Can somebody point me in the right direction?

It's coming up to Christmas so I can ask to have all the books I can't afford from begrudging relatives! I'm really interested (mainly from looking at some of the answers cleo and other fantastic users!) in being able to approach integrals from a variety of different ways and learning how to tackle  non-elementary integrals.   I've gone over a lot of the standard techniques in my undergrad and this is just for a hobby, so don't want anything too 'heavy', just great explanations and a lot of questions to tackle. So far I've found Irresistible Integrals: Symbolics, Analysis and Experiments in the Evaluation of Integrals. Many thanks.


My Table can show in full-paged mode. But my caption still at half-paged mode. I want my caption be centering in page. How to solve this issue? \documentclass[journal]{IEEEtran}  \usepackage{multirow} \usepackage{makecell} \usepackage[flushleft]{threeparttable} \usepackage{float} \usepackage{afterpage}  % load the afterpage package \usepackage{graphicx} % for '\resizebox` macro \usepackage[margin=0.6cm]{geometry} \usepackage{adjustbox} \usepackage{caption}% http://ctan.org/pkg/caption  \begin{document}  \captionsetup[table]{justification=centering, singlelinecheck=off} \floatstyle{plaintop} \restylefloat{table}   \begin{table}[ht]     \centering         \begin{adjustbox}{width=1\textwidth}             \begin{tabular}{|c|c|c|c|c|c|}                 \hline                     \multicolumn{2}{|c|}{} & Average & STD & Z & P \\                 \hline             \end{tabular}         \end{adjustbox}     \caption{\label{table2} TRADITIONAL EVALUATION SCALE STATISTICAL RESULTS} \end{table}  \end{document}

I'm working on a document that runs two columns of text down the page, like many scientific conference proceedings.  However, I'd like for a table to run across the entire width of the page, as it is far too wide to fit into one column.  How do I do this?


I have a class with some simple methods, and I want to create a sub-class of this which builds on these methods and adds some more functionality. So, I inherit from this class, and build on the simple methods in the parent class in my child class. Now, how do I ensure that you can't call the (simple) methods in the parent class from an instance of the child class from outside the class? I want the parent class to be used for the simple methods and the child class to be used for the more complex methods.

In C++ you can disable a function in parent's class by declaring it as private in the child class. How can this be done in Python? I.E. How can I hide parent's function from child's public interface?


I am looking for a word that could be used to describe a writing style that uses lots of uncommon words, making the writing difficult to understand to the everyday reader. It's as if they make an effort to use words from their word-a-day calendar.     Andrew's _______ writing style used so many words I had never seen before, making it very difficult to understand his point.   The word pretentious comes close, but it implies that the writer is intentionally doing so to sound more intelligent than they are. I would like a word that removes intent and only describes the writing, not the writer. I want to allow for the option that the writer is in fact very intelligent and just doesn't realize that other people don't have as large of a vocabulary.  I should also mention that I would prefer a word that doesn't fit this definition itself, so a word (or hyphenated set of words) that is not too uncommon. I'm trying to avoid the irony of using a little-known word to describe someone's use little-known words.

I am looking for a word or short phrase that best describes a scenario in which an author seems to have copiously placed uncommon or higher educated vocabulary in a lower reading level book. Meaning that the book seems to be for a fourth grade reading level and then every few paragraphs an English Doctorate level word appears, possibly to impress readers.


I'm using Gummi on Ubuntu 14.04. I like Gummi because it gives me a live preview as I type lots of maths equations. But this is besides the point.  My question: Is there a way to "attach" an expandable\collapsible [+] / [-] type button to a given paragraph so that when the button is clicked within the PDF the associated paragraph either appears or disappears?  When writing up my maths notes this would be a very useful feature as it would allow to either display or hide proofs. Sometimes, it's nice just to have the results shown, without the proofs. On the other hand, it would be desirable to have the proofs to hand when required.  Please note I would like this functionality within the compiled PDF, not the actual tex code.  EDIT  As suggested by Martin Schröder in the comments .

Is there a way to fold/unfold certain sections in a pdf. Only when the user clicks on the section or plus sign the items show up.  Example: user clicks on the plus sign and the items appear as drop down list.


I have a binary classification data set with a very high imbalance of 15126 - 8. I've tackled a few data sets with very high imbalance, but the frequency of the minority class is so low here... Can someone give me a hint for a direction?

I have a data set in the form of (features, binary output 0 or 1), but 1 happens pretty rarely, so just by always predicting 0, I get accuracy between 70% and 90% (depending on the particular data I look at). The ML methods give me about the same accuracy, and I feel, there should be some standard methods to apply in this situation, that would improve the  accuracy over the obvious prediction rule.


This is coming from a non-PhD, please help me out: If I have a broad interest in a topic, and I want to assess what are the current (in the last 5 years I guess) high-impact research done in said topic, where are the places I should look, and some general tips on how to search? Eg: say I'm interested in application of AI/ML in education, or what are the key factors impacting engagement in MOOCs, for instance. What search engines should I try, and any tips on how to search? I'm specifically asking about scientific research searching and overview, not general articles. If this can't be answered in general I can also try to provide some specific fields of interest. Many thanks.

I'm a pre-doctoral researcher (does it exist?) figuring out my true interests and learning the craft. When I start exploring a new (that is, unfamiliar) area, I try to find the most influential literature and scholars in that area through a haphazard and unsystematic process (such as starting with some highly-cited papers, consulting their list of references etc.). And because this is an unsystematic process, I'm never sure that I've not left unexplored some really important work.   I wonder if there's a more efficient process. How do you all go about this?  Also, (and this is a more specific question) what are some online forums where I can ask for more experienced researchers' opinion about what they consider to be the most important literature in a particular area?  Edit: To add some context, I work as a researcher in a US business school. My main area of work is entrepreneurship. Since this is an interdisciplinary subject, I have to consult literature in a wide variety of fields (some recent examples: psychology, complexity science, economics; of course, I access a very small part, the part that is the most relevant to my question). Entrepreneurship itself is in the process of defining its own scope and boundary.


So, I made the mistake of buying a laptop with this uefi. I have no interest in dual booting Windows, I just want to install Ubuntu without the need of a degree in quantum physics. Right now I can only get my laptop to end the installation, but at the next boot it will open up the setup bios and won't go further... Is there a guide to get rid of this problem?

I'm absolutely new to Linux. I would like to know how to install Ubuntu alongside the pre-installed Windows 8+ OS.  Should I do it with Wubi, or through the Live USB/DVD?  What steps do I need to take to correctly install Ubuntu?


Theory dictates that when there is one cointegration relationship, it's coefficient in a VECM must be statistically significant and negative to maintain the long-run equilibrium.   Nonetheless, when there are two cointegrating relationships (Coint 1 and 2), should both their coefficients, C(1) and C(2), be negative and statistically significant or only the first coefficient, C(1)? Thanks  a, b, c, d, e, and f are real numbers.                Coint 1        Coint 2  Var 1           1.00           0.00 Var 2           0.00           1.00 Var 3           a              d Var 4           b              e Constant        c              f   VECM:                 ∆Var1(t)  Coint 1       C(1)  Coint 2       C(2)  ∆Var1(t-1)    C(3)               ... etc

I did a Johansen test. The max eigenvalue test resulted in 5 cointegrated variables with contegration rank being 1. The trace test resulted in 5 cointegrated variables with contegration rank being 3.   Below is the estimated VECM with cointegration rank of 3:  cajorls(ca.jo(mydata, ecdet="none", type="trace", spec="transitory", K=29),r=3) $rlm  Call: lm(formula = substitute(form1), data = data.mat)  Coefficients:               BIST100.d   Gold.d      Oil.d       TRY_USD.d   USD_EUR.d  ect1          -4.843e-02   2.939e-05   1.634e-04  -7.808e-07   9.200e-07 ect2          -1.780e+02   1.322e-01   2.673e-01   5.668e-04   1.891e-03 ect3          -1.217e+01   2.622e-02   1.023e-02  -1.245e-04   4.935e-04 constant      -1.335e+04   1.941e+01  -1.246e+01   2.701e-01   1.689e-01 BIST100.dl1   -2.772e-02   2.683e-05  -1.036e-04  -4.862e-06  -2.745e-07 Gold.dl1       9.454e+01  -4.467e-03   6.449e-02   4.761e-03  -3.065e-04 ......          ......      ......        ....       .....     ....... $beta                 ect1          ect2          ect3 BIST100.l1  1.000000e+00  0.000000e+00  4.336809e-19 Gold.l1    -1.136868e-13  1.000000e+00  0.000000e+00 Oil.l1     -3.197442e-14  2.775558e-17  1.000000e+00 TRY_USD.l1  1.152179e+05 -4.851482e+01 -5.183614e+01 USD_EUR.l1  8.984704e+04 -8.461897e+01 -3.174152e+02   I expect an error correction term of the format $y_1-\beta_2 y_2-\beta_3 y_3-\beta_4 y_4-\beta_5 y_5$. Or equivalently, all signs being "$-$" in the above ect1, ect2, ect3 terms. All are not "$-$", e.g., for the 1st ect1: -4.843e-02, +2.939e-05, +1.634e-04, -7.808e-07, +9.200e-07. There are "$+$" and "$-$" coefficients in the error correction terms above.  Does this show wrong unsuitable formulation in VECM? The cointegration rank is either 1 (max eigen) or 3 (trace). Both present "$+$" and "$-$" coefficients in error correction terms.  Below is the estimated VECM with cointegration rank of 1:      cajorls(ca.jo(mydata, ecdet="none", type="eigen", spec="transitory", K=29),r=1) $rlm  Call: lm(formula = substitute(form1), data = data.mat)  Coefficients:               BIST100.d   Gold.d      Oil.d       TRY_USD.d   USD_EUR.d  ect1           6.592e-03  -1.138e-05   1.275e-05  -1.830e-07  -8.523e-08 constant      -1.035e+04   1.782e+01  -1.999e+01   2.857e-01   1.334e-01 BIST100.dl1   -5.707e-02   5.970e-05  -1.134e-05  -5.482e-06   6.044e-07 ......          ......      ......        ....       .....     ....... $beta                  ect1 BIST100.l1      1.000 Gold.l1     -5829.934 Oil.l1      -1100.681 TRY_USD.l1 455111.151 USD_EUR.l1 932542.892   Any idea? Can I go with the usual ritual vec2var(ca.jo(...), r=1 or r=3) or something must be handled properly?


In the last few days, doing some competitive programming exercises, I found some solutions to some problems where instead of printing out text in the console in a for loop, they constructed a StringBuilder by appending the texts after each other. First I was confused but I gave it a try and made some benchmarks.   First Test: this is the classic way to print something on the screen:  class TestClass {      public static void main(String args[]) throws Exception {         double startTime = System.currentTimeMillis();          //code         for (int i = 0; i < 1000000; i++) {             System.out.print("test");         }         //code         double endTime = System.currentTimeMillis();         String result = String.format("for loop: %.5f", (endTime-startTime) / 1000);         System.out.print("\n"+result);     }  }   Second test: and this is the enhanced version with StringBuilder:  class TestClass {      public static void main(String args[]) throws Exception {         double startTime = System.currentTimeMillis();          //code         StringBuilder sb = new StringBuilder();         for (int i = 0; i < 1000000; i++) {             sb.append("test");         }         System.out.print(sb);         //code         double endTime = System.currentTimeMillis();         String result = String.format("for loop: %.5f", (endTime - startTime) / 1000);         System.out.print("\n" + result);     }  }   After running the tests several times(running them with Intel i5 6500 quad core 3.2 GHZ CPU, Win 10), the results are the following:    first test(for loop): 4,25s   second test(StringBuilder): 0.23s   The results are not unexpected because out.print is synchronized so every time we call it, it will add some overhead. But being almost 20 times slower is somewhat strange.   My question is: is there a way we can improve this further?

How do you write (and run) a correct micro-benchmark in Java?  I'm looking for some code samples and comments illustrating various things to think about.  Example: Should the benchmark measure time/iteration or iterations/time, and why?  Related:


Is it possible that an object will orbit the earth if thrown with enough velocity straight up from ground?if so,how it happens??

If you are standing on Earth's surface, in what direction (and at what speed) should you throw a 1 kg uniform sphere of radius 0.1 meters in order to put it into lower Earth orbit? Assume that there is air, but it is not moving relative to the earth.


[This post is admittedly a development of  of mine, based on therein accepted answer.]     Here I kindly ask for a "solution verification" of my final interpretation.     For $n$ positive integer, let be:   $I_n:=\{1,\dots,n\}$; $G$, $\overline G$ groups of order $n$; $\psi\colon G \rightarrow \overline G$ isomorphism; $f$ bijection and $\bar f = \psi f$; $\theta$, $\bar \theta$ Cayley embeddings; in general, $\varphi^{(\alpha)}$ the isomorphism between symmetric groups on sets of the same cardinality, defined by $\sigma \mapsto (g \mapsto (\alpha\sigma\alpha^{-1})(g))$, where $\alpha$ is a bijection between the sets; $S_n$ the symmetric group of degree $n$.   Visually:    Then:  $$\varphi^{(f)} \theta f = \varphi^{(\bar f)} \bar \theta \bar f \tag 1$$  Proof. Since $\varphi^{(\bar f)}=\varphi^{(f)}(\varphi^{(\psi)})^{-1}$ and (*) $\bar\theta=\varphi^{(\psi)}\theta\psi^{-1}$, we get:  $$\varphi^{(\bar f)} \bar\theta \bar f = \varphi^{(f)}(\varphi^{(\psi)})^{-1}\varphi^{(\psi)}\theta\psi^{-1}\psi f = \varphi^{(f)}\theta f$$  $\Box$  My interpretation of $(1)$ is as follows:     If two (finite) groups are isomorphic (via $\psi$), then, for a given labelling of the elements of the first one (via $f^{-1}$), a labelling of the elements of the second one exists (given by $f^{-1}\psi^{-1}$) such that the two groups' structures manifest in $S_n$ as one same set (by $(1)$, actually).     Edit. As pointed out in the comments, (*) needs not to be true, unless the embeddings are Cayley's. Anyway, since these latter always exist, the conclusion keeps unaltered.    Edit #2. If we'd define structure of $G$ (under a given labelling $f^{-1}$) the map $\varphi^{(f)}\theta f$, where $\theta$ is Cayley embedding of $G$ into $S_G$, then $(1)$ would precisely state that isomorphic groups have the same structure.    Edit #3. I think we can upgrade this result to an "iff" one.  Let:    where, for $n$ positive integer:   $I_n:=\{1,\dots,n\}$; $G$, $\overline G$ are groups of order $n$; $f$, $\bar f$ are bijections; $\theta$, $\bar \theta$ are Cayley embeddings; in general, $\varphi^{(\alpha)}$ is the isomorphism between symmetric groups on sets of the same cardinality, defined by $\sigma \mapsto (g \mapsto (\alpha\sigma\alpha^{-1})(g))$, where $\alpha$ is a bijection between the sets; $S_n$ is the symmetric group of degree $n$.   Claim. Let $f$, $\bar f$, $G$, $\overline G$, $\theta$ and $\bar \theta$ be as above. Then $G \cong \overline G$ if and only if:  $$\exists  f,\bar f \mid \varphi^{(f)}\theta f = \varphi^{(\bar f)}\bar \theta\bar f \tag 1$$  Proof. $\Rightarrow$) Let $\psi$ be the isomorphism between $G$ and $\overline G$; then, for any $f$, the bijection $\bar f := \psi f$ does the job (see  for the proof). $\Leftarrow$) Let $(1)$ hold for some $f$ and $\bar f$; then $\bar f f^{-1}$ is an isomorphism from $G$ to $\overline G$ (see  for the proof). $\quad \Box$

I was trying to give the wording "isomorphic groups have the same structure" a precise interpretation, at least for the finite order case. A positive answer to my final question would reach the goal, as it would translate a "$\cong$" between groups into a "$=$" between sets.    For $n$ positive integer, let be:   $I_n:=\{1,\dots,n\}$; $G$, $\overline G$ groups of order $n$; $\psi\colon G \rightarrow \overline G$ isomorphism; $f$, $\bar f$ bijections; $\theta$, $\bar \theta$ embeddings; in general, $\varphi^{(\alpha)}$ the isomorphism between symmetric groups on sets of the same cardinality, defined by $\sigma \mapsto (g \mapsto (\alpha\sigma\alpha^{-1})(g))$, where $\alpha$ is a bijection between the sets; $S_n$ the symmetric group of degree $n$.   Visually:  $$ \newcommand{\ra}[1]{\kern-1.5ex\xrightarrow{\ \ #1\ \ }\phantom{}\kern-1.5ex} \newcommand{\ras}[1]{\kern-1.5ex\xrightarrow{\ \ \smash{#1}\ \ }\phantom{}\kern-1.5ex} \newcommand{\da}[1]{\bigg\downarrow\raise.5ex\rlap{\scriptstyle#1}} \begin{array}{c}    I_n     &   &    I_n      \\     \da{f}         &           &     \da{\bar f}          \\    G & \ras{\psi} &    \overline G  \\     \da{\theta}         &           &     \da{\bar \theta}          \\    \operatorname{Sym}(G) & \ras{\varphi^{(\psi)}} &    \operatorname{Sym}(\overline G)  \\     \da{\varphi^{(f)}}         &           &     \da{\varphi^{(\bar f)}}          \\    S_n &  &    S_n  \\ \end{array} $$     Is it $(\varphi^{(f)}\circ\theta)(G)=(\varphi^{(\bar f)}\circ\bar \theta)(\overline G)$?


For $a>b>0$, calculate    $$\int_0^\infty \frac{e^{-ax} - e^{-bx}}{x}\ dx$$  My try : By Taylor series, $$\int\ \frac{e^{-ax} - e^{-bx}}{x} \ dx=  \sum_{n=1}^\infty \frac{[\ (-a)^n -(-b)^n\ ]}{n}\frac{x^n}{n!} +C $$  Note that from ratio test, this series converges absolutely for $x\in [0,\infty)$. So give me a hint. Thanks  Seocond Try : Recall $$ \Gamma(t) = \int_0^\infty s^{t-1}e^{-s}\ ds\ (t>0)$$  So $$\Gamma(t) = a^t \int_0^\infty \frac{e^{-as}}{s^{1-t}}\ ds$$  So integral we want to calculate is $$ \lim_{t\rightarrow 0}\ [a^{-t} - b^{-t}]\ \Gamma(t) $$ Right ?  See I found the following article

Prove that      $$ \int_{0}^{\infty}\frac{e^{-bx}-e^{-ax}}{x}\,dx = \ln\left(\frac{a}{b}\right) $$   My Attempt:  Define the function $I(a,b)$ as  $$ I(a,b) = \int_{0}^{\infty}\frac{e^{-bx}-e^{-ax}}{x}\,dx $$  Differentiate both side with respect to $a$ to get  $$ \begin{align} \frac{dI(a,b)}{da} &= \int_{0}^{\infty}\frac{0-e^{-ax}(-x)}{x}\,dx\\ &= \int_{0}^{\infty}e^{-ax}\,dx\\ &= -\frac{1}{a}(0-1)\\ &= \frac{1}{a} \end{align} $$  How can I complete the proof from here?


This is the directory structure of my program - Global Folder --base ---x ---y ---z --demo ---t ---u ---v -graphics.java -driver.java  x y z t u v are simply .java files. I have classes derived from base classes in demo, imported with a simple import demo.* How can I access a public method in graphics.java from a class in demo package?

I'm working now together with others in a grails project. I have to write some Java-classes. But I need access to an searchable object created with groovy. It seems, that this object has to be placed in the default-package.   My question is: Is there a way to access this object in the default-package from a Java-class in a named package?


Would you bill a client even if they end up not using your work? A client of mine had initially liked and chosen one of my designs but then a friend of their friend offered something different that spoke to them more. The client told me to go ahead and bill them as agreed upon but I just feel a bit guilty billing for a design that isn't being used.   At the same time, I am bummed that my work got replaced by another, and I am curious what professional advice you may have for handling rejection.   Thank you in advance!

Situation: a long time client (at this point I've done consistent work for them for about two years) just messaged me saying they do not want me to bill them for the last design I did because it was not what they wanted. However when explaining the project they said I could have creative freedom.  Is this a normal thing for clients to not pay for a project and then expect you to do it over? I get edits and things like that but expecting you to not bill them for what you already did and just starting over? Do you expect a client to not pay for a design they don't like?


i don't know why there is this error. it want me to add static in my adapter in this code  void setListMovie(ArrayList<Movie> listPresident) {     this.listPresident = listPresident; }   but when i add static in it. 'this' in my code become error.  this it the my main code that want to add static the adapter class code  ListMovieAdapter.setListMovie(list);   please help why there is this error and how to fix it

The very common beginner mistake is when you try to use a class property "statically" without making an instance of that class. It leaves you with the mentioned error message:     You can either make the non static method static or make an instance of that class to use its properties.   Why? I am not asking for solutions. I would be grateful to know what is the reason behind it. The very core reason!  private java.util.List<String> someMethod(){     /* Some Code */     return someList;             }  public static void main(String[] strArgs){                // The following statement causes the error. You know why..     java.util.List<String> someList = someMethod();          }


I'm taking an introductory group theory class, and one of the problems I was assigned is to show that if an element $g \in G$ has order $2$, then $g \in Z(G)$, where $Z(G)$ is the center of G.  Can anyone help me out on this one?  I'm a little stuck.

I'm stuck at this question. Can someone please help me?     Prove that if a group contains exactly one element of order 2, then that element is in the center of the group.   Let $x$ be the element of $G$ which has order 2. Let $y$ be an arbitrary element of $G$. We have to prove that $x \cdot y = y \cdot x$.  Since $x$ has order $2$, \begin{equation} x^2 = e \end{equation} That is, \begin{equation} x^{-1}=x \end{equation}  I don't really know how to proceed. I've tried a number of things, but none of them seem to work.


I'm an undergrad student. The grading scale in my university is designed like 4.0, 3.5, 3.0... Due to the pandemic, our school gives us a chance to select the S/NS grading option, I kept a very good overall cumulative GPA, but this semester there's a class I got 3.0 (all the other classes in that subject are 4.0 on my transcript), I want to replace that 3.0 grade with an 'S' (means satisfactory) on my transcript. However, some of my friends don't think it's a good idea since it will make graduate admission officers guess my grade for that class. My question is if I want to apply for the doctorate programs, how important is the transcript? Is it a good idea for me to replace the grade to avoid dropping the cumulative grade? If I replace the grade then I'll be eligible to graduate with high honors. Any comments/suggestions are appreciated.

I'm a junior hoping to do a PhD. I'm in a graduate level class right now in a different field. I believe almost all the other students are PhD students. The first couple weeks of the course were just barely accessible, though very challenging. Now, however, I really find myself unable to complete the problem sets. There are no office hours either.  How bad would it look to pass/fail this class? It's not particularly related to my intended research focus in the PhD. I believe I am a strong candidate aside from this class.  Also, I'm really not sure what grade I would get in this class. Probably a B at worst. I'd rather not mess up my GPA though. All of my other technical classes are A's or A minuses.


Currently, I have a custom object of the name University and have a lookup field to another custom object of the name School Details.  I want to query fields of School Details object. How would I do that?   This is what I have (not correct)  Select Id, Name, (Select Name From School_Details__c) From University__c

I have process in salesforce in such a way opportunity we can relate this opportunity to this lookup field parent_opportunity__c . Which relates opportunity to other parent opportunity.  I want to write a query parent to child :  select id,(select id from opportunity where parent_opportunity__c!=null) from opportunity where parent_opportunity__c=null   I have worked with different scenarios i cant able to crack it  select id,name,(select id,name from parent_opportunity__r) from opportunity this is showing error and   select id,name,(select id,name from opportunity) from parent_opportunity__c this is also error


Was unable to find rationale for separate tags accros SE sites.   Tag function According general definition in information systems, a  (such as an Internet bookmark, digital image, database record, or computer file). This kind of metadata helps describe an item and allows it to be found again by browsing or searching. Tags are generally chosen informally and personally by the item's creator or by its viewer, depending on the system, although they may also be chosen from a controlled vocabulary.  On SE - the same:  is a () word or phrase that describes the topic of the question help you identify  or relevant to you.  tag origin and quality  Where from tags are originated and what are tag quality parametres?  problems and contradictions examples related with SE tags  Humanity is facing information overload.  are created for collecting and sharing personal knowledge on questions or problem solving. But tag's descriptions are not matter of personal knowledge - it's just matter of , i.e. vocabulary/dictionary, or taxonomy/ontology or, speaking in general, human lexic conceptual apparatus / framework. So why time has to be spent on fact's duplicating and sharing?  At the same time We are living at the linked data times. IMHO it's the biggest blunder having same tags with different descriptions in different SE sites unlinked. Tags (and so - descriptions) should be unified.  So I'm calling to unify all tags across SE sites as feature request. Maybe automatic linking to Wikipedia and/or some other decent dictionary would be reasonable.  solution examples  This is not a duplicate of

At first I thought my question might be a duplicate of , but it's different. In fact it's the reverse. Most of the time users encounter with the problem where to ask a certain question for example there is the tag remote sensing in , , , so someone who wants to ask a remote sensing question may be confused where to ask the question. Since cross-posting is not allowed on Stack Exchange he finally will choose one of these sites and most likely his choice will be  because of the more traffic of the site while Space Exploration was a better choice for that specific question. We have the same problem for the tag OpenGL in  and  and for many other tags that are available on multiple Stack Exchange sites. The OP wants to show his question to the largest audience available and he often cross-posts and downvotes start advising him not to ask the same question in multiple sites. I think a good way to solve this issue is to include the question with the same tag in multiple sites. For example, consider someone who is active on GIS.SE and asks a question with the tag remote sensing there then this question might be included (or just viewed) on the two other sites and when someone answers the question in one of these sites, that answer should be included in the other two too. Maybe you ask then how will we score the questions and answers then? Suppose that the question was asked on GIS and included on ES. But the answer was given on Earth Science and included in GIS. Then each upvote to the question will be added to the questioners' score on GIS and each upvote to the answer will be added to the responser's score on Earth Science. I can think of following benefits using this approach already, but maybe there are some other advantages and also disadvantages. I don't know. It's just an idea and a discussion.  As I said, the question will be exposed to the largest available audiance that might know the answer and so the questioning and answering process will be even faster. User's confusion about where to ask will be removed and the probability of cross-posting will decrease. As I said, most of the time people choose the site with the highest traffic as the appropriate one (here GIS) and this diminishes the beta sites' probability of success in reaching their critical number of questions and graduating. So this approach will intensify activity on beta sites. Most of the time moderators of old sites are concerned that the new proposals might tend to drain audience from their site and will disperse the users (For example  might drain audience of GIS, earth science and ... ). But this approach will minimize this worry.  This way Stack Exchange will be converted to a big site that virtually has different sections. Each expert will be active in the section that is most related to his expertise, but he will also see what is related to him written in other sections of the site. This way each community will have its own site and its own brand and will help other communities in other parts of the site.  P.S. As I've said,  is that it is an interdisciplinary subject. Each sites Physics, Mathematics, GIS, Earth Science, Space Exploration, Aviation, Cross Validated, Electrical Engineering, Engineering, and Open Data contain a part of remote sensing, but they do not cover the whole of it. I'm trying to build a place and gather all remote sensing researchers there to have a focused site about this wide subject.


I am unable to do any changes to the textview's value using a fragment's onCreateOptionsMenu. I am using a badge so i can change to value of the badge on the actionbar. But the app crashes!   this is my code:  @Override     public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {          inflater.inflate(R.menu.navigation_drawer, menu);         MenuItem item = menu.findItem(R.id.add);         RelativeLayout badgeLayout = (RelativeLayout) item.getActionView();         mCounter = (TextView) badgeLayout.findViewById(R.id.counter);         mCounter.setText("2");// THIS PART MAKES THE CODE CRASH         super.onCreateOptionsMenu(menu, inflater);     }   THIS IS THE ERROR THAT I GET:     java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference                                                                                at comb.example.shahid.carrottechapp.FragmentList.onCreateOptionsMenu(FragmentList.java:383)   Please help me solve this!

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


I'm a beginner so bear with me. I had my laptop come with OEM Windows 10 UEFI/GPT (whatever that is). I read online that I need to install Ubuntu according to UEFI not MBR, so I followed . I had my Windows 10 installed on the SSD with it's own EFI, Recovery, OS partitions. I installed Ubuntu on the HDD with EFI, Swap, /, /home partitions. After it's done installing I reboot and it boots to windows. I tried installing grub it's not working. I tried changing boot priority but only Windows shows up there. I tried bcdedit /set {bootmgr} path /EFI/ubuntu/grubx64.efi. That also didn't work.  Please help me out! I natively work on Mac tho.

I installed Ubuntu on a Dell XPS 13 laptop that had Windows 10 preinstalled on it. I installed it from a USB flash drive on a partition. When I boot my computer I can only boot into Windows 10 and Ubuntu is nowhere to be seen.  If I boot into my USB then I can see that Ubuntu is installed, but I can't get to it from the BIOS boot menu.


I was trying to train the classifier using OpenFace framework. As part of the installation process, I executed the following commands for CUDA installation:  sudo dpkg -i cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64.deb  sudo apt-get update  sudo apt-get install cuda   After system restart I am unable to login. Running a Ubuntu VM (Windows 10 host) and installed CUDA in Ubuntu. Do I need to install any Nvidia drivers in Ubuntu?

I have latest version of Ubuntu 16.04 and I installed latest version of Cuda Toolkit 8.0. After install Cuda Toolkit, I am stucked on login screen and I can't login into Ubuntu with my password. Is there posibility to get into system? Or do you have any manual, how to corectly install Cuda toolkit? I need Cuda toolkit on Ubuntu. (Sorry for my English)   There is my procedure, how I installed Cuda (officialy from Nvidia)  sudo dpkg -i cuda-repo-ubuntu1604-8-0-local_8.0.44-1_amd64.deb sudo apt-get update sudo apt-get install cuda


I ve been learning JQuery, and everything was clear. Until I reached the strings. So far I knew that when you want to call something you do it this way $('callSomething'). Now Im learning how to move html elements around, and it was written to call something with double comment lines $("callSomething").  I started playing around the code, and I ve noticed that no matter what I will use ' ' or " " the code will work.         $('#one').after("
test
");     var $p = $("p");     $("#two").after($p)   Now I'm not sure what to use where. I understand that " " is used to call Strings. But I could use it to call elements too.  My question: Is there a specific reason when to use ' '? Or should I always use " " since its working and save myself the confusion?  Any explanation maybe on when to use ' ' and when '" "(if there is actual difference between them other than calling a string("< .p>test<./ p >")`?  Thank you for your time

console.log("double"); vs. console.log('single'); I see more and more JavaScript libraries out there using single quotes when handling strings. What are the reasons to use one over the other? I thought they're pretty much interchangeable.


Reference:   I wanted to support a commentator who pointed out that the question was off-topic for the Unix site and should be better put on either SuperUser or ServerFault. However, when performing the steps to flag the question, the only two migration options were "stackexchange" and "meta.unix".  Maybe offer a wider choice of migration options? It could be a selection box from all StackExchange sites, which would cover all possible options.  EDIT: Questions  and  don't present a clear resolution and final guidance, and the voted proposals have clearly not been adopted.

I think there should be more Stack Exchange networks available when flagging a question to be migrated. For example I'd think that the following question:    ...would be a better fit on unix.stackexchange.com instead of Stack Overflow. But without the option to mark it so, I feel hesitant to mark it.


I have a macros.tex file where I keep my macros and  I use them with different document classes.  I want to skip including some of my macros  based on the document class (e.g. if it is beamer). How can I branch based the document class?

Is there a way to programmatically determine which document class is in effect?  I'd like to be able to write conditional macros that behave differently depending on which document class is currently being used.


I have two passports where one of them is not OK with with dual citizenship. As suggested by previous questions posed that I should fly to a neutral country - "C" which does not need visa as transit and then fly into the single citizenship country -"B" -entering using B passport.   However on my return to A (dual citizenship) country via the neutral country using my A  passport, would it not be strange not to have an B country exit stamp on the A passport especially you just flew out from B country? (As you enter and leave your (single citizenship) B country using its own passport) Would the neutral country's immigration question this and report to your  B country?

I am a citizen of two different countries, and have two passports.  How should I use my passports when traveling?


I have a VPS with ubuntu 18.04.4 with 2gb and 512mb swap. Working regularly with 600-800mb and 100mb swap and all is well. 2 weeks ago I updated the WAR (tomcat) and the memory jumped to 1.2gb and 400-500mb swap. At first I thought it's normal because I did change something that should consume more memory. I needed to restart the server (for another reason). Only then I realized that the memory got down again to 600-800mb and 300mb swap and it was like that for some time. Meaning previously, something hogged the memory and it was released with the restart. After 2 weeks with the same consumption, I updated the WAR and again I noticed that after the re-deployment, the memory jumped to 1.2gb with 400mb swap. This time I only restarted the tomcat service and the memory consumption got down to 600mb and 100mb swap. htop shows that Java is the one that consumes the memory but how can I know what is it exactly that is hogging the memory after undeploy/deploy that only a service restart releases it? Thanks

This is a  about how Unix operating systems report memory usage.   Similar Questions:                    I have production server that is running Debian 6.0.6 Squeeze  #uname -a  Linux debsrv 2.6.32-5-xen-amd64 #1 SMP Sun Sep 23 13:49:30 UTC 2012 x86_64 GNU/Linux   Every day cron executes backup script as root:  #crontab -e  0 5 * * * /root/sites_backup.sh > /dev/null 2>&1   #nano /root/sites_backup.sh  #!/bin/bash str=`date +%Y-%m-%d-%H-%M-%S` tar pzcf /home/backups/sites/mysite-$str.tar.gz /var/sites/mysite/public_html/www mysqldump -u mysite -pmypass mysite | gzip -9 > /home/backups/sites/mysite-$str.sql.gz cd /home/backups/sites/ sha512sum mysite-$str* > /home/backups/sites/mysite-$str.tar.gz.DIGESTS cd ~   Everything works perfectly, but I notice that Munin's memory graph shows increase of cache and buffers after backup.  Then I just download backup files and delete them. After deletion Munin's memory graph returns cache and buffers to the state that was before backup.  Here's Munin graph:  Externally hosted image was a dead link.


It was a novel and the non-human nature of the protagonist and their species is revealed only gradually.  They're some kind of animate and mobile plant species that reproduces by budding.  They're 'trapped' on their planet and a handful are frantically attempting to develop space travel before a recurring catastrophe destroys their civilisation.  The catastrophe was probably an asteroid field or meteor swarm that their planet passed through at regular intervals, a main character was an astronomer who realised that the planet moved deeper into the debris with each cycle and that the next cycle or two would become too severe for their species to survive.  Update: I couldn't say how old the book is but probably written before 1990, it could be as old as golden age scifi but maybe it felt a bit like a 1960s era novel.  I read it over a decade ago, possibly in the '80s. There are no humans in the story, the story is entirely devoted to the plant-like species who are the dominant race on their world.  They do eventually escape, or some of them do at any rate.  I don't recall the end but I don't think they come to Earth.

I'm looking for the title of a SF novel that follows an alien civilization through technological eras as it tries to find a way to prevent the destruction of its sun. I believe the novel was published in the 1970s or 1980s. It was written in English and released as a mass market paperback.  The novel opens in the medieval technology era. The first protagonist is an astronomer whose observations of the sky cause him to realize their home solar system is in cosmological peril. (Sorry, I can't remember the specific cause of the impending doom.) The astronomer must now convince everyone of the gravity of the situation, a task made difficult by the religious institutions and political conflicts of the world.  Once the alien civilization realizes the seriousness of the problem, the novel shifts to a race against time, through technological eras, as its scientists work to find a way to save themselves from destruction.  A unique aspect of the alien civilization is that it is very biology-focused. Where humanity would have fabricated something out of metal, this civilization's technology harnesses biological engineering (selective breeding, genetic engineering, etc) to accomplish the same task.  I hope this is enough information to jog someone's memory!


If photons have no mass, and yet have energy, how is that compatible with $E=mc^2$? Anything having mass should have energy (and the opposite should be true as well no)?

As an explanation of why a large gravitational field (such as a black hole) can bend light, I have heard that light has momentum. This is given as a solution to the problem of only massive objects being affected by gravity. However, momentum is the product of mass and velocity, so, by this definition, massless photons cannot have momentum.  How can photons have momentum?   How is this momentum defined (equations)?


I've got an Office 365 (Microsoft 365) Family license. I've set up OneDrive on my Samsung Galaxy S10 phone. I've verified that it is set up. I've got it set up to upload photos using either Wi-Fi or mobile. And I see photos I've taken with my phone, uploaded to OneDrive from as recently as a few days ago. So, it works. But not all the time or for all my photos. I've scrolled through my photos on my phone's Gallery app. I see some photos from as recently as 4 days ago to several months ago, are not uploaded to OneDrive. Why is that?

I've got an Office 365 (Microsoft 365) Family license. I've set up OneDrive on my Samsung Galaxy S10 phone. I've verified that it is set up by following the . I've got it set up to upload photos using either Wi-Fi or mobile. And I see photos I've taken with my phone, uploaded to OneDrive from as recently as a few days ago. So, it works. But not all the time or for all my photos. I've scrolled through my photos on my phone's Gallery app. I see some photos from as recently as 4 days ago to several months ago, are not uploaded to OneDrive. Why is that?


for a project, I'm trying to validate my user input email using regex but it seems to be accepting anything I enter. I know I am probably doing something stupid as I am new to C++. Sorry guys! Hope you's can help.  User.cpp file  #include "pch.h" #include "User.h"  //Email regex std::string userEmailRegex = "[_a-z0-9-]+(.[_a-z0-9-]+)*@[a-z0-9-]+(.[a-  z0-9-]+)*(.[a-z]{2,4})";  //Validates data against a user-defined string bool validate(std::string regexStr, std::string data) { return std::regex_match(data, std::regex(regexStr)); }  User::User() { }  User::User(std::string email, std::string password, std::string username) { setEmail(email); setPassword(password); setUsername(username); }  User::~User() { }  void User::setEmail(std::string email) { bool bValid = validate(userEmailRegex, email); if (bValid) {     this->email = email; } else {     this->email = "default@default.com"; } }   Main.cpp file  #include "pch.h" #include "User.h"  User u;  int main() { std::vector<User> v;  std::string email = u.getEmail(); std::cout << "Email: "; std::cin >> email;   }

Over the years I have slowly developed a  that validates MOST email addresses correctly, assuming they don't use an IP address as the server part.  I use it in several PHP programs, and it works most of the time.  However, from time to time I get contacted by someone that is having trouble with a site that uses it, and I end up having to make some adjustment (most recently I realized that I wasn't allowing 4-character TLDs).  What is the best regular expression you have or have seen for validating emails?  I've seen several solutions that use functions that use several shorter expressions, but I'd rather have one long complex expression in a simple function instead of several short expression in a more complex function.


What is the fastest method of parsing an XML file in C#? I'm using .Net 2.0

Is there a simple method of parsing XML files in C#? If so, what?


It is definitely true that $\sqrt{9}$ is both $3$ and $-3$, and that $\sqrt{25}=-5,5$.   When I graph the function $f(x)=\sqrt{x}$ its range is shown to be $y\geq0$.  Why doesn't its range include negative numbers?

Why $f(x) = \sqrt{x}$ is a function (as I found in my textbook) since for example the square root of $25$ has two different outputs ($-5,5$) and a function is defined as "A function from A to B is a rule of corre- spondence that assigns to each element in set A exactly one element in B.", so $f(x) = \sqrt{x}$ is not a function?


I'm very new to Blender.  I made an animation that rendered to PNG, then mpeg fine using the Blender Render engine. When I later tried to add a new animated object to it, I can see it animating in the 3d view correctly, but the object doesn't make it to any new rendering. I checked some online help posts without any luck. The rendering (camera) icon for the new object seems active in outliner.  The new object was created by duplicating an existing one, then edited.  I'm sure there is just some setting I overlooked or accidentally changed but I can't find it.  Any help or points in the right direction would be greatly appreciated.

Blender is rendering an older version of my project, not the most recent one. I have made it using the Blender Render but it does not want to render in cycles either. A black and grey screen is rendered as if everything is transparent. Checked general camera, lighting and compute devises in case I messed something up but I can't find anything. All my textures and objects look normal, does anybody know what is wrong or what to check?  Ok added link:


Let's say I have several Line Segments that are connected to each other and make a Polyline.   How can I determine if they are on a single straight line?   Is there a rather efficient algorithm for this? Or I will need to go the traditional way and go through all the lines and compare them with each other?

if we have two line segments in 3D, what would be the way to test whether these two lines are collinear or not? (I fogot to mentioned that my line segments are 3D. So, I edited the original post. Sorry for the inconveniences) I wish to check the direction of the lines and the perpendicular distance between them. Does these two factors are enough to decide whether 2 line segments are collinear or not. Thank you in advance.


Random things I remember about the book:   The boy is abducted from Earth to join an intergalactic space school or academy. I remember a scene near the beginning: he saw a young girl and was mesmerized by her, but was suddenly stopped by another student/cadet/teacher saying "be careful, they eat their own". The girl later has some sort of breakdown and they are forced to wipe her memory and return her home. The protagonist remarked how they operated on his tongue so he could speak the common language.  In another scene the aliens had removed the bacteria from under his arms saying that the smell bothered the other people and offered to return it.  I think the cover was vintage 70s-80s and had a drawing of the boy in a space suit with a few of the other students standing in a distance behind him.    I don't remember what the plot was. It may have just been how he was settling in to the new life.   It it not the following books: Ender's Game, Pattern's of Chaos, The Last Starfighter, Tompopaageo

I remember a book in which the main protagonist is a human male and after witnessing alien activities he was forcibly whisked away. After being taken away he joins a type of galactic patrol type organization where one of his instructors/head instructor is described like an alien Big Bird.   Of the various scenes in the book, I remember the scene where the human man discovered the bird instructor literally "feeding the toilet". I also remember scenes with heavy drug use and scenes to make a sailor blush at least heavily implied if not described to some extent.  I read this book in middle school, so these scenes stick out the most in my memories. I have already checked and it is not a Steve Perry book. If I remember correctly, the one I read was paperback with a human male on the cover with a spaceship or space station behind him over a planet.  Could someone identify this book?


I found out her name was Sera.      I might have heard from others / I might have googled her. So I became aware of it.        I figured out her name was Sera.      I might have been keep trying to remember her name in my mind / Someone might have told me some hints about her name and I made it.        I noticed her name was Sera.      I might have seen her name was written somewhere.        I knew her name was Sera.      I just knew.        I realized her name was Sera.      I don't know what this means.....  Can you help me with this?

The other day, I was at the bookstore and I noticed there was a woman surrounded by a large crowd. It was hard to tell what was going on. So, at first, I figured it was an employee handing out free stuff. But when I got a little closer, it looked like she was signing autographs. Since it was a bookstore,   I (knew/noticed/found/found out/figured/figured out/realized) that it could be a famous writer signing books.  I don't want to ask a lot but, could you choose the right word?  And could you let me know which one is right/not right and why and why not?


Which is better? Which is grammatically correct?         Is there any news about my candidacy?    Are there any news about my candidacy?

We use "the news is good" instead of "the news are good."  What is the rationale behind this? Are there similar situations in English?


There are a whole slew of academic articles.   To me, it seems that this sentence should say "There is a whole slew of academic articles," because the agreement should be with "slew." But I'm having a hard time finding which is correct and why after much Googling.

A simple question that has sparked some debate, and I couldn't find a concrete answer anywhere. There seems to be two camps: The word plethora indicates plural, so therefore it should be "There are a plethora"; and the other camp says that there is only one plethora (which contains multiple), so it should be "There is a plethora".  I've seen many examples of both. Is there a consensus, or is it just one of those things that can go either way?


I cannot understand what's wrong with my last question. Is there some thing I said?  Why are people downvoting? Is it not a interesting question, or is it not appropriate for this kind of questions here?  Question:   I just need to know feedback from people who have used this kind of reporting tools.

Recommendations are a recurring topic on multiple Stack Exchange (SE) sites. Some sites allow recommendations (ex: ), some do not (ex: ). There are many reasons for that and I can still remember animated discussions on this subject on the Gaming meta. Then there is that existential problem with Sci-Fi SE, "What problems does answering a question on this site solve?"  The only common problem I can think of is What to read/watch next?, which obviously led to a big number of recommendation questions, later slightly disguised as list question. And the main trouble with these questions isn't objectivity at all, some of them aren't even subjective. It's the fact that they don't have an answer - they are open ended. -  Those questions are monstrously popular because:  There's an actual problem to be solved,  or  This problem is quite common.  In view of the  blog post, a recommendation question fails the "real questions have answers, not items or ideas or opinions." criteria. But it's still a "practical, answerable questions based on actual problems that you face. " and it requires expertise to answer. The problem is that there are multiple acceptable answers, and the asker is not the best person to evaluate the best answer because he doesn't know which one is the best compared to the others, and he cannot test it in short term. Even the need to accept an answer is questionable. So, is a recommendation question an acceptable kind of list-type question or should it be closed just like any other list-type questions?


if I have a simple for loop like:  for i in range(10):    total = 0    total = total + i    print(total)   How can I print the loops once/together like:  1 2 3 4 5 6 7 8 9    Instead of every loop by itself:  1 2 3 etc

I'd like to do it in Python. What I'd like to do in this example in C: #include <stdio.h>  int main() {     int i;     for (i=0; i<10; i++) printf(".");     return 0; }  Output: ..........  In Python: >>> for i in range(10): print('.') . . . . . . . . . . >>> print('.', '.', '.', '.', '.', '.', '.', '.', '.', '.') . . . . . . . . . .  In Python print will add a \n or space, how can I avoid that? Now, it's just an example, don't tell me I can first build a string then print it. I'd like to know how to "append" strings to stdout.


I need to check the command executed is success or not, I have place the below code in test.sh run it, which give the out by listing the content of /home but there is a warning   ./test.sh: 3: ./test.sh: [[: not found   What's wrong in below command  #!/bin/sh ls /home/ if [[ "$?" != 0 ]]; then echo "Commnad Error" else echo "Commnad Success" fi

I'm confused with using single or double brackets. Look at this code:  dir="/home/mazimi/VirtualBox VMs"  if [[ -d ${dir} ]]; then     echo "yep" fi   It works perfectly although the string contains a space. But when I change it to single bracket:  dir="/home/mazimi/VirtualBox VMs"  if [ -d ${dir} ]; then     echo "yep" fi   It says:  ./script.sh: line 5: [: /home/mazimi/VirtualBox: binary operator expected   When I change it to:  dir="/home/mazimi/VirtualBox VMs"  if [ -d "${dir}" ]; then     echo "yep" fi   It works fine. Can someone explain what is happening? When should I assign double quotes around variables like "${var}" to prevent problems caused by spaces?


I have a model of an iMac here. I put a screenshot of our geriatric care software on it. Unfortunately, the render result looks very "washed out". Little colors and little contrast. It feels like I've tried all the settings, but I can't get any better results. It seems to be due to the "scene environment". Could someone put me on the right horse here? Original screenshot:  Rendered screenshot:  Blender-File:  Many Thanks! George

I am trying to make a computer monitor. This means I have to have an image texture for the screen. My image texture is currently connected to an Emission BSDF shader. Unfortunately, when the emission is bright enough to emit light, the image is white-washed. I tried adding a Brightness/contrast node to the image before pushing it into the Emission BSDF, but it seems to directly counter the Emission's strength.  The desired light level   The desired image brightness


I am having difficulty uploading a document to arXiv because of compiling errors. I am using biblatex 3.5 with biber 2.6. It compiles fine on my computer. Here is a MWE which fails on arXiv. I compile with PDFLatex, biber, PDFLatex, etc. I then upload the .bbl file:  \documentclass{article}  \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc}  \usepackage[backend=biber,url=false]{biblatex} \bibliography{MyLibrary3}  \begin{document}  Words \cite{BoydParikhChuPeleatoEckstein2011_distributed}  \printbibliography  \end{document}   This has .bib file:  @article{BoydParikhChuPeleatoEckstein2011_distributed,   title = {Distributed Optimization and Statistical Learning via the Alternating Direction Method of Multipliers},   volume = {3},   url = {http://dl.acm.org/citation.cfm?id=2185816},   number = {1},   journaltitle = {Foundations and Trends\textregistered in Machine Learning},   author = {Boyd, Stephen and Parikh, Neal and Chu, Eric and Peleato, Borja and Eckstein, Jonathan},   date = {2011},   pages = {1--122} }   I get the following error when I try to upload to arXiv.   Package biblatex Warning: File 'arXivSubmission.bbl' created by wrong version.  (./arXivSubmission.bbl ! Undefined control sequence. l.21 \sortlist [entry]{nty/global/} ?  ! Emergency stop. l.21 \sortlist [entry]{nty/global/} ! ==> Fatal error occurred, no output PDF file produced! Transcript written on arXivSubmission.log.   I'm using the latest version of biblatex and biber, and it's not clear what version arXiv uses. To get around this error. I tried to upload my version of biblatex.sty. Doing this gives me the following error:  ! Missing \endcsname inserted. <to be read again>  \blx@datamodel@constant@optiondatatypes  l.5584 ...odel@constant@optiondatatypes\endcsname}  ?  ! Emergency stop. <to be read again>  \blx@datamodel@constant@optiondatatypes  l.5584 ...odel@constant@optiondatatypes\endcsname}  ! ==> Fatal error occurred, no output PDF file produced! Transcript written on arXivSubmission.log.   In the biblatex.sty file that I uploaded, here is the line that seems to be causing errors (5584):  \expandafter\expandafter\expandafter\docsvlist\expandafter\expandafter\expandafter{\csname blx@datamodel@constant@optiondatatypes\endcsname}   Doing this with bibtex instead of biber results in the exact same errors. Any help or general advice on uploading to arXiv would be greatly appreciated!

I am trying to submit a LaTeX file to the  which uses biblatex.  However, it fails whatever I do.    I first get the message   biblatex.sty is not found   I have tried including (all from TeXLive 2010) biblatex.sty but then I get   logreq.sty is missing then logreq.def is missing   then   ! Package biblatex Error: Outdated 'etoolbox' package.   I then tried adding etoolbox.sty and etoolbox.def and get  ! Package biblatex Error: Style 'alphabetic' not found   So I added alphabetic.bbx then standard.bbx then alphabetic.cbx and finally I get   ! Package biblatex Error: Autocite command 'inline' undefined   I also tried incorporating the bib into the main LaTeX file as in  but it doesn't help.  Has anyone successfully used biblatex with the  and if so, how?


When I got to add a network printer, I'm always confronted with the same dilemma:  Do I set up the printer via IPP, LPD, or using it's IP address (AppSocket/Jetdirect?) and why?  What are the advantages and disadvantages of each?  How is IPP different from the IP address option? If I chose IPP will that prevent me from the need to re-add the printer if the the IP address changes?     There's a similar question here, but the answers refer to a specific model / situation:     Here's a screen shot of the IP style configuration from the Kubuntu set-up wizard:

I'm installing a new printer and I'm given 4 connection options.   AppSocket/JetDirect network printer via DNS-SD LPD network printer via DNS-SD IPP network printer via DNS-SD AppSocket/HP JetDirect   Which one should I choose?  It's a Samsung CLP-320 if it makes a difference.