Can I silence a warning which is coming from a file like `bigfoot.sty`?

I am trying to specifically silence a warning which happens a a specific file called bigfoot.sty   Looking over the silence package documentation  it seems impossible to silence a warning for a specific line as on input line 61.  However, can I silence a warning which is coming from a file like bigfoot.sty?  This is the code I tried to so far:  \documentclass{memoir}  \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc}  \usepackage{silence} \WarningFilter*{hyperref}{Option `hyperfootnotes' has already been used,\MessageBreak setting the option has no effect on input line 61.}  \usepackage{hyperref} \usepackage{bigfoot}  \begin{document}      Bit cut\footnote{bigfoot}.  \end{document}   But due the on input line 61. at the end of the warning, it is not being silenced.  This is the warning:  D:\User\Documents\latex\texmfs\install\tex\latex\bigfoot\bigfoot.sty:61: Package hyperref Warning: Option `hyperfootnotes' has already been used, (hyperref)                setting the option has no effect on input line 61.


Does publishing a paper on arXiv prevent me from submitting it to a non-open access journal?

If I publish a pre-print paper on arXiv, how can I guarantee exclusive rights to the publisher afterwards? Am I unable to publish on non-open access journals after I publish a pre-print on arXiv ?


sort a list of objects on attribute 'a', producing a list of 'c' attributes

class A:      def __init__():          self.a = 0          self.b = 0          self.c = 0  l = [object1 of A, object2 of A, object3 of A]  l = sorted(l, key=somefunc)   The list contains separate values for a, b, c for each instance. I will sort using a custom function which uses attribute a, but I want it to return a new list containing only the values of the attribute c(in sorted order of course).


My program is using the following code  String mobile=""; if(mobile!="") System.out.println("++++++"); System.out.println("------");   But if statement always set true. how it is possible? how to correct the code to get false for if condition?


Generate XKCD passwords from single Bash line

There are a few "XKCD password" generators out there, but the task seems so straight forward, so I wanted a compact and simple solution. My requirements were:   One-line alias (or few-line function) to put in .profile Standard Unix commands (require no packages) Column output (like pwgen) Titlecase words (for readability)   (I'm happy to renounce command line options in exchange for simplicity.)  for i in {1..32}; do grep -E "^[a-z]{4,8}$" /usr/share/dict/words | gshuf -n4 | gsed 's/.*/\u&/' | tr -d '\n' | awk '{print $1}'; done | column   Current problems:   shuf requires brew install coreutils on macOS (which I also use) sed requires brew install gnu-sed (ditto) tr -d '\n' | awk '{print $1}' seems silly.   How can I make a short, yet readable command line that works on both Linux and macOS?  On a side note I found that by using SCOWL, which has a range from short word lists with common names to long word lists with obscure words, you can trade-off memorability Vs. entropy.


Null pointer exception while reversing linked list

The code below is throwing nullpointerexception while reversing the linked list. Node reverseList(Node head) {    Node object = null;    while(head.next != null) {         Node n = head;         n.next = object;         object = n;         head = head.next;      }     head.next = object;     return head;          }  But the code below is working fine. Node reverseList(Node head) {    Node object = null;    while(head.next != null) {         Node n = head;         head = head.next;         n.next = object;         object = n;               }     head.next = object;     return head;          }  Can anyone help me out here.


Show $\mathbb{R}^2 - \mathbb{Q}^2$ is connected.  Now, I feel like showing that this is path connected is pretty simple, but showing that it is connected? The definition the we learned in class of a space being connected is:  A space $X$ is connected if and only if for all continuous maps $\alpha \rightarrow {0,1}$ we have that $\alpha$ is not onto.  I think another equivalent definition of connectedness may be more appropriate for this problem.  Anyway, can somebody help me out with this problem? Thanks!


I downloaded wubi a couple of months ago and realised it made my laptop bootup significantly slower. It has also made it slower in general.   Recently I have been trying to uninstall wubi from my laptop but I cant. This is because I cannot find any of the wubi or ubuntu files. This is hard because I cant unistall it and I don't know where to search for the files.


unfortunately I am coming to you with another problem. I wanted to update TeX Live 2013 on my 64 bit Win7 system using tlmgr. So normally I use the GUI, but that did not start up. I hopped on the command line (admin mode) and typed:   tlmgr update --all --self   And I got the following error message, which also results in no update being performed:   Unknown docfile tag:  texmf-dist/doc/latex/pythontex/pythontex_quickstart.pdf details=""Quick start" documentation" at C:/texlive/2013/tlpkg/TeXLive/TLPOBJ.pm line 127, <TMP> line 128161.   What should I do now?


In the following series:  $ \displaystyle\sum\limits_{n=1}^{\infty}n*\frac{1}{2^n}$  I've found that the series converges to 2 by looking it up but how would one calculate the summation? You can't use the formula for a geometric sum because the series' terms don't differ by a common ratio. I'm sure I'm just missing something but it's been a while since I've done series. Thanks!


How to make google.com not redirect to my country's local version of Google search?

When I try to load google.com in my browser (Firefox), Google redirects me to its local version of Google Search for my country:    Notice how, even though the URL is google.com, the page is effectively the one from google.hr (Google's Croatian search page). I don't mind the localized UI, the problem is the search results page which doesn't provide the functionality that I'm used to in the English version of Google Search. For example, define: searches:    In the screen shot above, the English version of Google Search is on the left, and my local version on the right. Notice the definition box which is displayed only in the English version. I was able to get the English version by adding ?hl=en to the URL. This is similar to the ncr suffix which FYI appears to have stopped working.  So, while I can get the English version by using the URL google.com/?hl=en, I would like to get it by default for all my searches (including Firefox's search field, for instance).   I've also checked my Google account settings. My language is set to English and no other language is defined:    Special thanks to Google for wasting my time.


I am a heavy user of certain applications that are built on AIR.   It appears that AIR has discontinued support for Linux. Even the older versions in the Adobe AIR Archives seem to support only 32 bit Linux distributions and I am on 64 bit currently.  Is there even a slight possibility that I could run AIR in these conditions? If so, can you please tell me where can I get a detailed step by step installation for this?


I am trying to call a method when my webapplication starts. The purpose is to kick-off a timer that does some work at defined intervals. how do i call a function helloworld when my jboss 7.1 web application starts up?


When force is applied on extended objects at some point, the work done by this force on this object $\vec{F} \cdot \vec{dr_{P}}$ where $P$ is the point of application of force. When the object is rolling and friction is acting on it, the point at which it acts is moving with respect to the ground frame, yet work done by friction in rolling is zero.  I would have thought that work is force times distance.  How can this be?


Copying files from PC to Pendrive gets stuck at the end on Ubuntu 16.04

I don't know why it's happening only to me. Whenever copying bigger or sometimes smaller < 1GB files from PC to pendrive literally gets stuck at the end.


Bold italic text not given correct color on mobile

You see I can tap on the link and it behaves totally well. Yet its color shouldn't be black, though.  MD source:  [***Link***][1] blah text.    [1]: /.   Demo:   blah text.


Why does my Oak sapling not want to grow?

For some reason while playing minecraft, my saplings did not want to grow for 3 in-game days. To my surprise, while googling this question multiple times, I found no answer.   Why does this not work and how can I fix it?


Unity 3D - Rotating an object in relation to its velocity

I am currently trying out Unity 3D and I've run into a problem. The problem is I have a car that moves along a road and then when it reaches a corner I would like it to turn the corner and have the model rotate based on its current velocity.  Here is the code I have for moving the object forward:  _velocity += (_velocity * Time.deltaTime) + (_acceleration / 2f) * Time.deltaTime * 2f; _velocity = Mathf.Clamp(_velocity, 0f, MaxVelocity); Vector3 position = this.transform.position; position += -this.transform.forward * _velocity * Time.deltaTime; this.transform.position = position;   The variables are declared as class members:  private const float MaxVelocity = 10; private float _velocity; private float _acceleration;   This appears to work OK for moving forward. If I applied a rotation it may look OK for a certain velocity, but if the velocity changes, then the rotation seems to quick or to slow.   What I would like (but completely failing at accomplish) is when it comes time to turn, then I would look at the velocity and calculate a smooth rotation so when an object performs a turn it will always end up at the same point regardless of how quick it approaches the corner.  I have tried a number of options, over countless hours, but I'm not having any luck!   Any ideas?  UPDATE #1:  Below is a half-way solution I got, but for now I will add it here and leave the question open for a bit in case someone can provide a better approach.  From what I worked out a LERP rotation from the current direction to the new direction did the trick (kind of!). So, I created a behaviour called VehicleController and in the Awake method I added this:  _target = this.transform.rotation * Quaternion.Euler(0f, 90f, 0f);   This gave me the target rotation relative to my current rotation, i.e. my rotation would have to equal _target for me to be facing in the desired direction. I then added the following to the FixedUpdate method:  //  Rotate if(_doTurn) {     this.transform.rotation = Quaternion.Lerp(this.transform.rotation, _target, Time.fixedDeltaTime * _velocity); }   This performed the actual rotation. The key part was setting the third parameter Time.fixedDeltaTime * _velocity. This meant that my rotation speed matched my velocity.   My final FixedUpdate method looked like this:  //  Forward _velocity += (_velocity * Time.deltaTime) + (_acceleration / 2f) * Time.fixedDeltaTime * 2f; _velocity = Mathf.Clamp(_velocity, 0f, MaxVelocity); Vector3 position = this.transform.position; position += -this.transform.forward * _velocity * Time.fixedDeltaTime; this.transform.position = position;  //  Rotate if(_doTurn) {     this.transform.rotation = Quaternion.Lerp(this.transform.rotation, _target, Time.fixedDeltaTime * _velocity); }   In this sample I had a BoxCollider that triggered the turn, so in the OnTriggerEnter method I simply set _doTurn to true.  Now there are a few things with this:   After the turn I had to fix the positioning and rotation a little. The values were off by about .2, but I couldn't really notice any oddness to care. This approach gives a quick snap change in direction which wasn't what I was really after. Ideally I wanted a situation where the turn would be gradual at a certain angle and end in the same point. But, to be honest, it looks OK and that gets me moving on for now! :)   With regards to #1 I think I had to fix some of the position/rotation values because I was using a BoxCollider to trigger the turn so there may be better approaches.


Does the fabric of spacetime go through objects?

I've always seen spacetime shown with a ball on top of some cloth that curves around it, and I don't really understand it, since it really only has 2 dimensions and there's some sort of external gravity causing gravity? I was wondering what it would look like if that ball had more balls inside of it (like Earth contains humans, gases, etc.). Is there a way to visualize that? Does the fabric of spacetime go through everything or does it wrap around individual elementary particles? Is it even actually a fabric?  Apologies if this question is too broad.


C# Newly copied Array still keep the relation with the source Array

I am facing an annoying issue when I am trying to copy an array. The new array keeps a relation even if it's created by .copy() method. Here is the situation, Main Class Dictionary<string, string>[] DataCurrentDict = new Dictionary<string, string>[result.Data.Count()];  // 1. Here the DataCurrentDict array is filled with values, having DataCurrentDict[0]["Weight"] = "0.345";        ProductData CurrentProductData = new ProductData(DataCurrentDict);  // 2. Here, the CurrentProductData._ProductDataDict[0]["Weight"] = "0.345", GOOD  DataCurrentDict[0]["Weight"] = "1111";  // 3. Here is the problem... After setting a value into DataCurrentDict, the copied array is modified too! So CurrentProductData._ProductDataDict[0]["Weight"] = "1111" ...Why?  ProductData Class public class ProductData : IDisposable {     private Dictionary<string, string>[] _ProductDataDict;     //CONSTRUCTOR    public ProductData(Dictionary<string, string>[] ProductDataDict)    {        try        {            _ProductDataDict = new Dictionary<string, string>[ProductDataDict.Count()];             Array.Copy(ProductDataDict, _ProductDataDict, ProductDataDict.Length);        }        catch (Exception ex) { }     }


I have the following code  import pandas as pd df = pd.DataFrame(columns=['var1', 'var2','var3']) df.loc[0] = [0,1,2]  def RS():     x = 123     y = 456     z = 'And some more random shit'     return x+y  def BS():     x = -890     y = (456*1)+90     z = 'And some more random shit'     return x-y  def MyCompute(srt, srt_string):     df[srt_string] = srt()     df['1min' + srt_string] = 1-df[srt_string]  MyCompute(srt=RS, srt_string='RS') MyCompute(srt=BS, srt_string='BS')   Is there a way to avoid the double RS and double BS in calling the MyCompute function?


Rep Point changes aren't showing in iOS app achievements tab

So... I know that a couple of months ago I complained about the ... and that's getting fixed...  But now they're not showing up at all. All I'm seeing under "Achievements" in the iOS app is badges awarded.     Now, to compare, here's my achievements pane on FF:    I did check... I haven't installed a new version of the iOS app... though I do know that some updates can be pushed without a new version.  The same thing is occurring on my iPad and iPhone.


I am really not able to understand why, when our personal computer memory is increasing in terms of gigabytes, the microcontroller memory is not increasing at that speed for both flash and RAM? What limitations are we facing for both kinds of memory?


Can we stop 'experienced' SE users from marking questions as duplicate on their own?

I recently posted a question - , and I have tried a lot of things and could not manage to do it. But while I was waiting for an answer, this guy came outta nowhere and marked it duplicate.  Now firstly, the duplicate question link he provided has an answer which doesn't work for me. Sure, the questions do look similar, but they are not. But there is now way I can communicate this to the guy who did this, because there is no facility for pm. And this screws the chance of anybody providing an answer now.  Is there no way I can prevent these self-proclaimed SE 'guru's to at least have the courtesy of asking the OP in a comment whether the new link actually solves the problem or not, and upon OP confirming it, close it, rather than close it on their own? Sure I understand, they are guys with responsibility more than even Batman, but can't they wield it with a little more caution and understanding?


How to append a line in a zipped file without unzipping?

mknod /tmp/oracle.pipe p  sqlplus / as sysdba << _EOF set escape on  host nohup gzip -c < /tmp/oracle.pipe > /tmp/out1.gz \& spool /tmp/oracle.pipe select * from employee; spool off  _EOF  rm /tmp/oracle.pip   I need to insert a trailer at the end of the zipped file out1.gz , I can count the lines using  count=zcat out1.gz |wc -l   How do i insert the trailer  T5 (assuming count=5)   At the end of out1.gz without unzipping it.


When attacking with Two-Weapon Fighting, can you break up your movement and attack a different target?

When you get the Extra Attack action, you can break up your movement and attack different targets at varying distances from your starting point.   Does the same apply with TWF? As in, can I approach my first target, use my attack action, then move, and use my bonus action to attack a different target?  From PHB 195:     "When you take the Attack action and attack with a light   melee weapon that you're holding in one hand, you can   use a bonus action to attack with a different light melee   weapon that you're holding in the other hand."   The key seems to be how to interpret "when:" either "immediately after" or "whenever (during your turn)."


I'm trying to understand something about electricity. Is electricity being wasted when you use it?  I mean when you use an electrical appliance, you need to plug it into a socket right? So you create a circle, where electricity goes into your device and returns back into socket... So does any of electricity actually wasted by the device, or does it just go through the device?  Understand what I mean? What the difference between electricity traveling through power cables, or traveling through a TV or a washing machine?


Can Ability Score increases caused by magic items qualify me for feats?

As far as I know, only a player character's non-temporary ability scores are considered for taking feats, taking prestige classes, etc. Meanwhile, any ability bonus that comes from spells, or magic items that are in effect only while worn, is not counted (except tomes which increase abilities permanently).  So a Fighter with low Int who wants to qualify for Combat Expertise can't use spells or items that gives an Int bonus to raise it high enough to qualify. Is that right?  For example:  Say our fighter has Str 12, so he can not take the Power Attack feat. Suppose he asks for a spell from the wizard to make his Str 16, or to borrow a ring which provides +4 Str from another character. (Or any other method that will provide him a non-permanent bonus). His Str is now 16. Can he take Power Attack with that non-permanent bonus now? Because after the spell duration ends or he takes off the ring, his Str score will be to low again to qualify for Power Attack.


Are there any advantages to running a 64 bit OS on 4GB of RAM?

My laptop has 4 gigs of DDR2 RAM and I am currently using a 32bit windows 7 OS. Will I notice any performance difference if I upgrade to 64bit or does all the benefits of X64 start at 5GB of RAM?


Why is one directory's file larger than 4kB?

I have a directory on my EXT4 filesystem that's showing up as larger than the usual 4kB:  $ ls -l total 24 drwxrwxr-x 2 jvilla jvilla  4096 May 24 17:57 'Season 1' drwxrwxr-x 2 jvilla jvilla 12288 Sep  3 16:04 'Season 2' drwxrwxr-x 2 jvilla jvilla  4096 Sep  6 11:23 'Season 3' drwxrwxr-x 2 jvilla jvilla  4096 Oct  9 11:16 'Season 9'   Why might this occur? How can I see what exactly is making it so (relatively) large?


Getting a null pointer exception during class call. Possible Constructor error

I am writing a program to take in infix expressions as a string and evaluate them, returning a double as a result. However, when I call the Calculator class from main, I get a null pointer exception. Am I missing something in my Constructor?  Here is my main class where the calculator is called from:  import java.util.Scanner; public class Generator {  public static Calculator calc;  public Generator() {     calc = new Calculator(); }  public static void main(String [] args) {     Scanner scan = new Scanner(System.in);     //calc = new Calculator();     System.out.println("Enter the string you want to process");     String equation = scan.nextLine();     double result = calc.solve(equation);      System.out.println("Result is: " + result); }  }   And here is my Calculator class.   public class Calculator {  public Stack<Double> operands; public Stack<Character> operators;  //Constructor public Calculator() {     operands = new Stack<>();     operators = new Stack<>(); }  public Double solve(String equation) { char current; String number1 = ""; double value1;  for(int i = 0; i < equation.length(); i++) {     current = equation.charAt(i);      switch(current) {         case '1': case'2': case'3':         case '4': case'5': case'6':         case '7': case'8': case'9': case '0':              while(isOperand(current))                 number1 += current;             value1 = Double.parseDouble(number1);             operands.push(value1);             break;          case '+': case '-': case '*': case '/':            while(!operators.empty() && !hasPrecedence(operators.peek(), current)) {                value1 = popStackAndSolve(operands, operators);                operands.push(value1);            }            operators.push(current);            break;         case '(':             operators.push(current);             break;         case ')':             char topOperator = operators.peek();             while(topOperator != '(') {                 value1 = popStackAndSolve(operands, operators);                 operands.push(value1);                 topOperator = operators.peek();             }             operators.pop();             break;         default:              break;     }     while(!operators.empty()) {         value1 = popStackAndSolve(operands, operators);         operands.push(value1);     } }     return operands.peek(); }   (I have not included the isOperand(), hasPrecedence(), and popStackAndSolve() methods because they work as they should, however, if you would like to see them anyway, please let me know.)  I believe I am making a very simple PEBCAC error here, but I can't figure out what it is for the life of me. I have spent hours going through textbooks, forums, and javadocs and can't find the solution. Any advice you could offer is appreciated.  EDIT: It is throwing the error on the line (double result = calc.solve(equation);).  EDIT 2: Solved. Thank you very much. id10t error at work.


What if my professor writes me a negative LOR, in order to keep me working with him?

I am a undergrad student, and I am currently conducting summer research under a professor.  During our last meeting, I have revealed that I wish to go to school A for my graduate study. But my prof rather wanted me to stay at my current school for master/phd; i.e., stay and work for him.  Well, I have already spent 3 years in my current undergrad school and I know it too well it is not where I want to go.  The problem is that, this prof is the only person who can comment on my research experience/potential.  (Because I have been working 2 years with him; this year is the second year).    Right now, I can sense something not right in the relationship between my prof and I. At the end, if I go ahead and ask him to write me a recommendation letter, I am sure he would write one. But the question is, there can be a chance that he writes negatively, such that I would get rejected everywhere, and have nowhere to go except staying at my current school and do graduate study with him.   What should I do?    More detail info:  There used to be a PhD student who published quality paper and taking care of things in the lab. The Prof is almost always away so he definely need someone to do this kind of lab managing job. As far as I know, none of his graduate students publish paper for 3 years in a row except for that Phd student. Currently, that PhD student is graduated this year so I guess he was looking for a candidate as a replacement.


Options for copying files and settings from dying drive?

My home PC has a dying hard drive.  We have backups of most of the important files, but there's a lot of settings we have that we'd like to save.  There's also a question of if our kids have been putting their important files in the proper locations to be picked up by our backups.  We have a Windows 10 machine, and have already replaced the main drive with a new one and installed Windows 10.  I know Microsoft used to offer a free tool for transferring settings, but that offer seems to have expired.  What do I need to do to copy Windows settings as well as other files from an external USB drive?  In the past, I've tried simply pulling data from the external USB drive, but that doesn't work so well when it's pulling from 'protected' spaces on the drive (like User files in Windows).


Merging two javascript objects into one?

I am trying to merge the following objects into one but having no luck so far - the structure is as follows in my console.log :      2018-05-11 : {posts: 2} // var posts     2018-05-11 : {notes: 1} // var notes   Once merged I want it to look like the following  2018-05-11 : {posts: 2, notes: 1}   I have tried object.assign() but it is just removing the initial posts data - what is the best approach for this?


I have downloaded  on my new Mac mini, but the icon seems to be some random dots. My Mac mini has the M1 Chip. Here is a picture of the icon in Spotlight:  A few steps I have tried:  Restarting the Mac Reinstalling VS Code Trying with a different user Contacted Apple Support, response was, "it is not our product (vs code) so we can no fix it"  Is there anyway to fix this?


What was the prime directive for keeping the Veil in the Department of Mysteries?

From the information I gathered from the H/P Wiki, it says that the veil is a barrier between the land of the living and the land of the dead.  Just wondering on this but what was the prime directive for keeping the veil? How did the Ministry of Magic come across it, and more importantly what information were the Department of Mysteries hoping to acquire since the Department of Mysteries is like the FBI and work on very top secret, undercover missions of some sorts and work of confidential nature.  Is this question answerable through in canon references? That would be highly appreciated. :)


Why can't I obtain links to comments on the moderator page?

Is it deliberate that I can't click on the timestamp of a comment on the election page, to grab a link? I could earlier tonight! The feature is useful for sharing comments in chat.  FF26 WinXP SP3


Is there any difference between dry yeast and fresh yeast?

Can you generally substitute dry yeast for fresh yeast and vice-versa? Is there any desirable result that can be accomplished by one, but not the other? Or are they completely equivalent if you just find out the correct conversion ratio?


Traveling to USA from Morocco through Barcelona do I need a transit visa If I am asked to collect my chec-luggage (using different airline company)

I am contacting you guys concerning one of the problems that I believe I will have them during my trip through Barcelona Airport.   I am traveling from Morocco (CMN Airport, Casablanca) to Indianapolis, USA. I have the USA visa and I found out that I may have problems ( I am sure that as Moroccan I don't need a Transit visa thought Spain), but in my electronic flight ticket I have to stay in Barcelona Airport for 6h and 35min and at the same time I have to get my checked luggage and I have to register them again in the same airport (Same Terminal 1 (Arrival/Departure).  My question is: do I am going to apply for a transit visa if I am going to stay 7hours in the airport waiting for my second flight (Even if I am asked to search for my checked luggage and I am asked to register them again which means that I have to pass through the security check I believe).   I hope I am being clear enough with my question and the situation description.  I would like to thank you in advance for your time and comprehension.


Python script executing on server, but not in a cron

I put together a python script that takes the output of a command and emails it to me every morning at 8. When running it manually, it runs fine, however when my cron runs it I receive the following:  Traceback (most recent call last):   File "/root/backup-mailer.py", line 50, in <module>     backups = json.loads(subprocess.check_output(['restic', 'snapshots', '--json']))   File "/usr/lib64/python2.7/subprocess.py", line 568, in check_output     process = Popen(stdout=PIPE, *popenargs, **kwargs)   File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__     errread, errwrite)   File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child     raise child_exception OSError: [Errno 2] No such file or directory   Is it /usr/lib64/python2.7/subprocess.py that it's having issues with?  My crontab:  0       8       *       *       *       . /root/.restic-env; /usr/bin/python /root/backup-mailer.py   I know . /root/.restic-env; runs fine because I use it in another cron which is successful. I've also ran /usr/bin/python /root/backup-mailer.py which executes fine. As I say, it's only when it's ran as a cron that it fails.  Any suggestions? Thanks


What is the purpose of LongLength for .Net Arrays?

What is the purpose of the LongLength property for arrays in .Net.  Using a standard integer for length, you could accommodate up to 2 billion indices.  Are there really people using .Net to maintain a single array with more the 2 billion elements.  Even if each element was a single byte, that would still be 2 GB of data.   Is it feasible to use such a large array in .Net?


Refusal of Italian Tourist visa for 17 days

I am an Indian working in Central Government and have applied for an Italian tourist visa for 17 days (to visit Rome-florence-paris-Vience-Rome-India). But my visa application got rejected with the reason "information submitted regarding the justification for the purpose and condition of intended stay is not reliable".  I have already submitted my original tickets to and from Italy and online hotel bookings, my salary slip, form 16 of the last 3 years, bank statement showing a good amount, nOC form employer and all the other relevant documents. May I know what the reason of refusal is and how I can get it corrected?


Misalignment on user bounty page when there is one answer vs. multiple answers

This is a very minor problem, but if we go to a user's bounty page (e.g. ), there is a misalignment between questions with 1 answer and questions with multiple answers.  I don't think this is intentional; it's inconsistent with the main page where 1-answer and non-1-answer questions are aligned.  I just thought I'd mention it. Firefox for Linux Mint 81.0 (64-bit):    Chromium Version 85.0.4183.121 (Official Build) Built on Ubuntu, running on LinuxMint 19.1 (64-bit):


In windows 10 settings, there's an option under Recovery for "Reset this PC". It allows you to choose whether to keep or remove personal files, and resets the computer. Using this option, if I were to select "do not keep files", would this 1000% ensure that no malware is left on my system after resetting? Does it completely remove all potential malware? I've heard about advanced malware which can survive resets, but that information seems outdated and I want to know for sure. If it's not 100% guaranteed, how can I 100% make sure no possible malware is left?


How do I install the latest version of iTunes in Ubuntu 16.04.1?

I use iTunes on Windows and recently installed Ubuntu 16.04.1. How can I install the same iTunes version in Ubuntu?  Thanks


kernel of $\varphi: \mathbb{C}[x, y] \rightarrow \mathbb{C}[t]$ $x \rightsquigarrow x(t)$ $y \rightsquigarrow y(t)$

Let $\varphi: \mathbb{C}[x, y] \rightarrow \mathbb{C}[t]$ be a homomorphism that is the identity on $\mathbb{C}$ and sends $x \rightsquigarrow x(t)$ $y \rightsquigarrow y(t),$ and such that $x(t)$ and $y(t)$ are not both constant. Prove that the kernel of $\varphi$ is a principal ideal. This comes from Artin Second Edition, page 357. The only way I know to prove someting is a principal idea is division with reminder. But this doesn't work since there're two variables. Many thanks!


Why can I see information travelling through HTTPS with Fiddler?

I was trying to make a website that require the user to log in to do something, but I want to know the advantage and disadvantage from HTTP and HTTPS first.  I was using a program called Fiddler that allowed you to logs all HTTP(s) traffic between your computer and the Internet  if I try to log in with the program on, I could see the username and the password that I used to log in to the website, even if it's HTTP or HTTPS using fiddler  so what's the use of HTTPS compared with HTTP?  This is what I am thinking.  The browser is supposed to enscrypt the password using the server's public key right? Then the server will descript it with the private key.  But fiddler doesn't know the server's private key. So how can it sees the plain password?  Am I wrong?


Handling French special character in PHP

I'm using utf8_encode || utf8_decode ..., but I'm struggling to handle some special characters (é, è ê ... ,)  I'm using php.  Could someone help?


PHP email and SPAM alternative approaches

I am running a simple order system based on PHP and MYSql on a shared Windows host.  I was using the standard Mail() PHP function in testing which was fine  BUT a large number of my order acknowledgement emails when we moved to pre live stage were identified By BY, Yahoo etc as SPAM  - usually linked to SMTP issue!!  So I moved to go to PEAR - but my hosting company doesnt support that (!!!). Is there another "standard" route that I am missing or do I have to get into some more intensive coding ?


What is the plural of "API" ()  Is it part of English irregular plurals ending in "-i"?


I have a requirement for a custom number system in C# which goes as following:  A - 1 B - 2 ... Z - 26 AA - 27 AB - 28   I've made a function that converts from arbitrary strings to numbers like this:      private const int Min = 'A';     private const int Max = 'Z';     private const int Base = Max - Min + 1;      private static int GetCharValue(char c)     {         if (c < Min || c > Max)             throw new ArgumentOutOfRangeException(nameof(c), c, $"Character needs to be between '{Min}' and '{Max}', was '{c}'.");          return c - Min + 1;     }      public static int GetStringValue(string s)     {         char[] chars = s.ToCharArray();         int[] values = new int[chars.Length];         for (var i = 0; i < chars.Length; i++)         {             values[i] = GetCharValue(chars[i]);         }          int position = 1;         int value = 0;         for (var i = values.Length - 1; i >= 0; i--)         {             value += position * values[i];             position *= Base;         }          return value;     }   I've tested it to be working for up to AAA (not rigorously, just skimming over the output of printing them all). However, I can't for the life of me figure out how to write the reverse function. In other words, I need 1 to return A, 26 to return Z and 27 to return AA. The "problem" is that this number system has no 0, so it doesn't easily convert to any base. For instance, if A was 0, then AA would also be 0, but it's not. So how do I solve this?


How to exceed left margin with longtable

I'm trying to make a longtable that is wider than the textwidth at a certain moment. I've tried different things always ending up with a different problem:  First possibility: If I use the adjustwidth environment the longtabu does not align correctly. The left margin stays fixed and the right margin gets out of the page. This in contrast, if I do the exact same thing to make a tabu (instead of longtabu), it works perfectly. I think using the adjustwidth is the best way to go, but I can't manage to get it working.  Second possibility: I've found a solution using the fullwidth package. That package does the trick on small longtables, but freezes when I'm trying to do it on my big longtable. The command \setlength\LTleft{-2cm} didn't work as well.  The final option I tried was to use geometry. But that changes the margin of the whole page thus making a page break which I'm not interested in. The code I used for this was  \newgeometry{left=1.2cm} \begin{longtable} long table stuff \end{longtable} \restoregeometry   Here's an example of what I want contra what I get  \documentclass[a4paper]{article} \usepackage{longtable} \usepackage{chngpage} \usepackage{lipsum} \usepackage{tabu}  \begin{document} \section{This is the original textwidth.} \lipsum[1]  \section{This is the width I need for my longtabu} \begin{adjustwidth}{-1in}{-1in} \begin{tabu} to \linewidth {*{13}{|X[l]} |} 01 & 02 & 03 & 04 & 05 & 06 & 07 & 08 & 09 & 10 & 11 & 12 & 13 \\ 01 & 02 & 03 & 04 & 05 & 06 & 07 & 08 & 09 & 10 & 11 & 12 & 13 \\ 01 & 02 & 03 & 04 & 05 & 06 & 07 & 08 & 09 & 10 & 11 & 12 & 13 \\ 01 & 02 & 03 & 04 & 05 & 06 & 07 & 08 & 09 & 10 & 11 & 12 & 13 \\ \end{tabu} \end{adjustwidth}  \section{This is what happens} \begin{adjustwidth}{-1in}{-1in} \begin{longtabu} to \linewidth {*{13}{|X[l]} |} 01 & 02 & 03 & 04 & 05 & 06 & 07 & 08 & 09 & 10 & 11 & 12 & 13 \\ 01 & 02 & 03 & 04 & 05 & 06 & 07 & 08 & 09 & 10 & 11 & 12 & 13 \\ 01 & 02 & 03 & 04 & 05 & 06 & 07 & 08 & 09 & 10 & 11 & 12 & 13 \\ 01 & 02 & 03 & 04 & 05 & 06 & 07 & 08 & 09 & 10 & 11 & 12 & 13 \\ \end{longtabu} \end{adjustwidth}  \end{document}


I have known the reason why skate can slide over ice is that water's melting curve in terms of pressure and temperature has a negative slope. If the pressure due to our mass increases sufficiently high, the ice starts to melt.  But someone says, according to latest research, it is not true because the time for which we pressure the ice is too short so the ice can't has enough time to melt.  Which is more reasonable between the two arguments?


Let $x$ be algebraic over $F$ such that the field extension $F(x):F$ satisfies $[F(x):F]$ odd. Then prove $[F(x):F]=[F(x^2):F]$ hence $F(x)=F(x^2)$. How to prove?  I only obtained the proof for the case $x^{2m+1}=1$. How to prove for a general polynomial $p(x)$ of odd degree such that $p(x)=0$?


"To mentor someone during a project" vs. "to mentor someone on a project"

..., whom I mentored during his final semester's project.   ..., whom I mentored on his final semester's project.      Which of these two is grammatically correct? Since I am not talking about the final semester but the final semester's project, I am not very sure about during. Can someone help me with this?


Trying to write a script which will read what a user has imput... I know it's basic but im stuck on the first if..  echo  "Please enter yes or no (y/n)?" read string if [ $string = "y" -o "n" ]    then       echo "User selected $string"    else       echo "You didn't enter y/n !!!" fi   I would like it to be if [ $backup = "y" or "n" ]  Any ideas?


i have cloud vps server, cpu 512 mb.  i have website. if i hold f5 in browser after 10-20 sec mysql server no responding and it gives me error  SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)   i also installed drupal, open home page and hold f5, it also crashes mysql.  after that mysql server need to restart service mysqld restart   i think problem is in mysql server configuration.  any advice?  server centos 6  log file after f5 hold      160502 10:42:45 mysqld_safe Number of processes running now: 0 160502 10:42:45 mysqld_safe mysqld restarted 160502 10:42:45 [Note] /usr/libexec/mysqld (mysqld 5.5.48) starting as process 12843 ... 160502 10:42:45 [Note] Plugin 'FEDERATED' is disabled. 160502 10:42:45 InnoDB: The InnoDB memory heap is disabled 160502 10:42:45 InnoDB: Mutexes and rw_locks use GCC atomic builtins 160502 10:42:45 InnoDB: Compressed tables use zlib 1.2.3 160502 10:42:45 InnoDB: Using Linux native AIO 160502 10:42:45 InnoDB: Initializing buffer pool, size = 128.0M InnoDB: mmap(137363456 bytes) failed; errno 12 160502 10:42:45 InnoDB: Completed initialization of buffer pool 160502 10:42:45 InnoDB: Fatal error: cannot allocate memory for the buffer pool 160502 10:42:45 [ERROR] Plugin 'InnoDB' init function returned error. 160502 10:42:45 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 160502 10:42:45 [ERROR] Unknown/unsupported storage engine: InnoDB 160502 10:42:45 [ERROR] Aborting  160502 10:42:45 [Note] /usr/libexec/mysqld: Shutdown complete  160502 10:42:45 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended


Solving a recurrence relation: $T(n^6) = 9T(n^{\frac{1}{6}}) + \log^2(n)$

I would like to solve the relation:   $T(n^6) = 9T(n^{\frac{1}{6}}) + \log^2_2(n)$   Now upon searching, I found that such relations can be solved using iteration method and making a substitution, hence I tried substituting $m = \log_2 n$. This gives the relation:  $T(64^m) = 9T(2^{\frac{m}{6}})+m^2$. Am I solving this correctly?? How do I proceed further? Please help, I am not good at this.


Proving $\lfloor 2x \rfloor = \lfloor x \rfloor + \lfloor x+0.5\rfloor$

I can intuitively see that this is true, but I'm having a very hard time proving it. I'm actually not even quite sure where to begin. I tried using the inequalities that define the floor function, and I'm pretty sure this is the way to go, but I'm failing to make any kind of progress.  I appreciate any help.


Anonymous new Response.Listener() can be replaced with lambda

@Override protected void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);     setContentView(R.layout.activity_main);      StringRequest request = new StringRequest(url, new Response.Listener<String>() {         @Override         public void onResponse(String response) {          }     }, new Response.ErrorListener() {         @Override         public void onErrorResponse(VolleyError error) {             Log.e("VOLLEY", error.toString());         }     });     mQueue.add(request); }  I have this problem, new Response.Listener() and new Response.ErrorListener() are Anonymous and when i try to run my full project, i have the error: Attempt to invoke virtual method 'com.android.volley.Request com.android.volley.RequestQueue.add(com.android.volley.Request)' on a null object reference Can anyone help me?


When overriding equals in Java, why does it not work to use a parameter other than Object?

I ran into an interesting behavior recently.  It seems that if I override .equals() to take a parameter other than Object, it doesn't get called.  Can anyone explain to me why this is happening?  It seems to violate my understanding of polymorphism in OOP, but maybe I'm missing something.  Here's much simpler code that shows what I'm seeing:  public class MyClass {   private int x;   public MyClass(int n) { x = n; }   public boolean equals(Object o) { return false; }   public boolean equals(MyClass mc) { return x == mc.x; }   public static void main(String[] args) {     List<MyClass> list = new ArrayList<MyClass>();     list.add(new MyClass(3));     System.out.println("Contains 3? " + list.contains(new MyClass(3)));   } }   When this is run, it prints "Contains 3? false".  It looks like the equals(Object) function is called, even though there is another that would work.  By contrast, if I write equals like this the code works as expected:  public boolean equals(Object o) {   if(!(o instanceof MyClass))     return false;   MyClass mc = (MyClass)o;   return x == mc.x; }   Why isn't it figuring out which version of the function to call based on the type of the parameter?


Name of the function which has been passed as a parameter

I have a class which gets a function as a parameter. I need to call a function then based on the previous function passed. Is there a way to do so?  For example, if myfunc() has been passed to the class, I need to call myfunc1() as it is the corresponding function(I already have the relationships between functions saved).


How do I connect to wifi using only the command line in Manjaro?

I recently updated my system with Pacman and am getting a could not start kdeinit5 error message.  After some Googling. It seems I simply need to update Pacman.  However, as I am on Wifi and have no means of connecting via Ethernet. I need to connect to my WPA2-PSK protected network before Pacman will function.  I'm a new Manjaro user. How can I connect to my network?


Let $R=\mathbb{Z}[i]/\langle2-2i\rangle$.  I want to know the number of elements in $R$.  The function $N$ given by $N(a+bi)= a^2+b^2$ is the norm, so $N(a+bi) < N(2-2i)$.  This leaves us with representatives $$ \{0,1,-1,i,-i,1+i,1-i,-1+i,-1-i,2,-2,2i,-2i\} \, . $$ So in this particular factor ring, $2 = 2i$. Then squaring both sides we see $1 = i$, so $R = \{I,1+I,-1-I, 2+I,-2+I\}$, where $I=\langle2-2i\rangle$.  So I find that the number of elements of $R$ is five. Is this solution correct?


Am I going to have trouble flying with a reversed name on the ticket?

I'm flying to Peru with my girlfriend next week and I realized that her name is incorrect on the reservation.  Instead of Sally Marie Jones it's Jones Marie Sally.  We're flying into Houston, then Lima, and in Lima we switch airlines for our flight to Cajamarca.  I booked the ticket with Orbitz who made the reservation with United. United booked the flight with LAN air, the Peruvian airline.  Both companies say that they are unable to change the name because of TSA restrictions not allowing a name change. I asked if I could just cancel and re-book, but United said they could not do this because there are multiple airlines involved.  A note has been attached to the reservation explaining the issue, and the United rep said that they would be able to print her boarding pass with the correct name. However, he said there are no guarantees that she'll be able to fly because although the boarding pass will be correct, the ticket will still have the reversed name.  I was prepared to just take the chance that it will all work out, seeing how it's really obvious the name is just backwards, but with recent events I'm worried that US airport security is going to be extra strict for the next little while.  Is this something I need to worry about, or are chances good that this will work out fine?  The United rep said there's a chance we could cancel the United flights and get a new ticket with the correct name for no cost, but we'd have to pay for new tickets within Peru ($500 out of the total $1300 ticket cost). I'd rather not do this unless there's a reasonable chance we'll have trouble at the airport.


Correlation between nominal and ordinal variables

In my survey data I have two variables: One is an ordinal variable with 5-scale scoring from Agree to Disagree. My second variable is an nominal variable where the participants had to choose from 7 different options. I now want to test if people who showed strong agreement to the ordinal variable are more likely to choose one specific option of the nominal variable. Is there any method to use for this situation? Sorry, if this has been asked many times already.


I´m having problems with a JQuery on click event over a dynamically created element.  The code created dynamically is this:

        <button class="close" type="button">x</button>             Ya esta suscrito a nuestras listas de envío, sus datos han sido actualizados.

   And I´m trying yo change the height of a container (class bloqFormulario) when the client click on the close button.  I have tried these options:  (function($){     $(".close").click(function() {         $(".bloqFormulario").height(200);        }); })(jQuery);    (function($){     $(".message_area").on("click", "button", function() {         $(".bloqFormulario").height(200);     }); })(jQuery);   But I have no result.  Can you help me?  Thanks a lot.


Kernel won't boot on start up of first time install "this kernels requires an x86_64 CPU

At boot time I get this message:  This kernel requires an x86-64 CPU, but only detected an i686 CPU. Unable to boot- please use kernel appropriate for your CPU


How i can resolve this issue with fonts and types

So, i've been having problems for the load fonts, some text (not all) is goes with symbols appear the fonts


Can somebody explain the difference between unit, component, and system testing with a real example. What I understand is unit testing is about testing individual functions with mock services if the functions use any, and component and system is about testing whole classes and their interaction, but really don't actually get the difference between them. Any detailed explanation with a real example would be great.


How to ignore transparency when using ffmpeg with PNG files?

Every topic I find shows how to keep the transparency but I want to remove it without having to change the image format. Camtasia is crashing when I import the ffmpeg encoded MP4 file using the PNG files. The advice was to use a video format without transparency.


Usage of "the" prefix where it doesn't seem to be grammatically correct

I've noticed 2 instances of usage of a  the prefix where it doesn't seem to correspond with standard usage of English.     The flu   I'd expect a flu or just flu:   He caught a flu She's infected with flu They have flu   Instead, the common usage seems to be the flu, such as  or  (with more examples inside).     The movies   Mid-way of writing my argument for this one, I've noticed it had been , albeit I was not convinced why "the movies" as a way to describe walking to a cinema to watch a movie, stayed as an idiomatic phrase today (a relic from a past usage of "moving pictures") and wasn't replaced by the simpler, singular form of a movie.  Happy to hear your thoughts for this one here or in the original thread.


Prove/Disprove that if two sets have the same power set then they are the same set

I am really sure that if two sets have the same power set, then they are the same set. I just am wondering how does one exactly go about proving/showing this?  I'm usually wrong, so if anyone can show me an example where this fails, I'd like that too.  The homework just asks for true/false, but I'm wanting to show it if possible. My thoughts are that since the power set is by definition the set of all subsets of a set, if each of the two power sets are identical, we have an identity map between each set, thus it's indistinguishable which power set is a given set's power set. I hope that wasn't verbose. Since a set has only one power set, we can conclude they are in fact the same set.


Prove alternating sum of binomial coefficients squared by induction

I am trying to find the sum  $${100\choose 0}^2-{100\choose 1}^2+{100\choose 2}^2- \dots+ {100\choose 100}^2$$  After the first few examples for small numbers this appears to be  $$\sum_{k=0}^{n}{(-1)^k {n\choose k}^2}=(-1)^\frac{n}{2}{n\choose \frac{n}{2}}$$ for all even $n$s. (For odd $n$ this is obviously $0$ because of the symmetry ${n\choose k}={n\choose{n-k}}$).  I tried to prove it by induction, but it is too messy and I am not sure that's the right direction. What I did is write it in terms of $m=\frac{n}{2}$ so then the induction step will be just $+1$, although that didn't help very much.  Thanks in advance for any help.


What's the definition of a "collection"?

I cannot seem to find a formal definition for the following.  What's a "collection" in the context of set theory?


I can't find where to find the flags raised by me.   I saw this link   But there is no flags count below my profile views.  Where can I check my flags?


Elementary proof of $\gcd(a, b) = 1 \wedge a\ |\ b\ c \Rightarrow a \ | \ c $

How does on prove $\gcd(a, b) = 1 \wedge a\  |\  b\ c \Rightarrow a \ | \ c $ with as elementary steps as possible (i.e. not using the fundamental theorem of arithmetic (unique prime factorization))?  EDIT:  I saw that this theorem is called Gauss Theorem and is proved formally for integers $\mathbb Z$ in Coq,   EDIT: Clarification:  I forgot to tell that I want to prove this for the natural numbers $\mathbb N \geq 0$.  Is Bezout's lemma applicable for the natural numbers, or is some other method needed?


I have downloaded the tar.gz package from the site and then I have extracted using tar -zxvf command as mentioned over there. After that I used sudo apt-get install build-essential then I further installed libssl-dev. Then I changed directory to the aircrack folder. But when I type either sudo make or just make I am getting this same error. I don't know what to do. I have installed the file what they have asked in the error as well. Still the same error is shown. Okay I am not permitted to upload images.   The error is :   common.mak:85: *** Cannot find development files for any supported version of libnl. install either libnl1 or libnl3..  Stop.


I use Qt Creator 4.8.2.   I already have a working program 'A' and added a subproject 'B' for testing.  I am trying to do a unit test using qtest.  How can I measure test coverage for Project 'A'?  If you have examples, please comment it.


Prove that $\forall n \in \mathbb{N}, n \ge 2 \Rightarrow n \nmid (2^n-1)$.  I have tried a lot of different ways to do such as induction way or make the counter assumption then to show the contradiction, however, I didn't succeed.  Can anyone give me hints or solution to this ? Thank you.


Is there MS guidance on how to organize a class file?

Is there an official (ie, FX Cop, Guidance on MSDN, etc) way to organize the Properties, Methods and Events in a class file?  I know this can be seen as a "preference" and I have seen it done many different ways, typically:   Constructor Properties Events Methods, in alphabetically order.   My goal is to have a well organized class file which becomes important as the size of the class file gets rather large.  (Therein is a different topic, splitting a class which is too large.)  It also becomes important when multiple developers are working together so there is an agreed upon standard.  So I am looking for something "official" I can use as a reference for this.


Using sed to find and change information in configuration file

There is a file named partner like:  abc def ghi   There is another conf file like:  part=abc var=x var=y id=123  part=def var=z id=345   and so on...  I am making a shellscript which reads line from 'partner' using while loop, then searches the block containing that partner name in conf file using sed. After that, and finally replacing id value (eg: from 123 to 123_1 )using sed and storing the new block in another file.  while read -r var || [[ -n "$var" ]] do sed -n '/part=$var/,/^$/p' conf.cfg | xargs sed 's/id=123/id=123_1/g' >> new.txt done   What am I doing wrong? As it only gives me empty lines of text as output.


What is the best way to encrypt a password in Php. Codeigniter's documentation says that password should be hashed using php's Password Hashing extension. Until now i have been encrypting password's using encryption key of codeigniter. Any suggestions.


Ok here's the issue. Normally the Chinese postdocs have to be under 35 years of age plus under 3 years from PhD. However, I am slightly over 3 years from PhD. However, I already will have a one year postdoc experience (currently pursuing) prior to starting a (second) postdoc in China. My age would be around 37 by that time though. So, aren't there any age relaxations for people already having some postdoc experience? By the way, I also have a 2.5 years of University (teaching+research) experience prior to starting my (first) postdoc. This is really an ugly rule if it still doesn't allow any age relaxations provided all the University experience plus a postdoc.


I get the following error when trying to open the "Music" folder on my Mp3 player when the device is connected:  "Failed to open directory "Music" -- Error when getting information for file '/media/rory/M5/Music/Emperor - Wrath Of The Tyrant': Input/output error".   (Sometimes it shows a directory to a different song or album).  When I connect the Mp3 player and type fsck in Terminal, this is what I get:  WARNING!!!  The filesystem is mounted.   If you continue you WILL cause SEVERE filesystem damage.  What can I do in this situation? Any help would be appreciated.


Do the same equations of motion imply the same Lagrangians?

If two Lagrangian (densities) $\mathcal{L}$ give the same equations of motion, are they equivalent?


Use t-distribution for sample mean of uniform RV's

Given there are 10 RV distributed by $U[0,\theta]$ ($\theta$ supposed to be uknown).I know sample mean ($\bar{X_{10}}$) of and sample variance ($\hat{s_{10}}$), can I found 95% CI for mean? My answer was correct, yes we can. But I assumed that we can use t-distribution for this, becase sample mean has normal distribution (by CLT) but we have small amount of sample (n=10), hence we use t-distribution. But it seems to be wrong, we can't use t-distribution to find CI in this case. Why can't we use t-distribution to find CI in this case? Because $X_i$ is not normally distributed? I want to understand why t-distribution is not applicable here, given that I know sample mean and variance? Thanks in advance. PS: The correct deriviation of CI  is a little bit complicated and uses Irwin-Hall distribution.


Withdrawing a paper after acceptance due to error

I had a paper accepted at a conference in theoretical computer science. However while revising the final version I found an error in the proof of an important lemma. Although I believe the error is fixable, It will require some effort. I will not be able to fix the error before the deadline for the final version.   1) Should I withdraw the paper?  2) Should I leave the lemma without proof, and add the corrected proof at the final version.  What would be the best thing to do? Would I be able to resubmit the paper to some other conference? What would be the damage for my reputation?


How to use custom names and lores in minecraft 1.14.2

How can I give  myself an item with a custom name, and how can I search for a player holding an item with a certain name.  This is what I tried:  /give @p minecraft:acacia_button{display:{Name:"ieat",Lore:[ieat]}} 1   It only gave me a regular acacia button.


In the old proverb:      Time and tide wait for no man.   Our first record of the proverb is from St Marher in 1225:     And te tide and te time þat tu iboren were, schal beon iblescet.   When it was already considered ancient. As near as I can make out, the Middle English proverb quoted above means:     “And the tide and the time that you were born shall be blessed.”   Thanks to  for pointing out the correct translation, and also for pointing out that this is just the oldest tide and time reference, not an actual translation of the whole proverb.   Even though that does not have the “wait for no man” aspect to it, nonetheless the modern proverb is always traced back to the St Marher quote in any source I consulted.  But what is the difference between tide and time?  To me, time and tide seem to mean the same thing: see yule-tide and Christmas-tide.  (Then again, “good tidings” and “good times” now mean different things.)  But why are they repeated in the proverb then if they are not different?  What aspect or nuance does one of time and tide possess that the other does not?  Or was this somehow done for poetic effect?    Apparently, Barrie’s idea of this originally being a rhetorical duplication of the same thing that counts as the same thing has some currency.  It turns out that there are plenty of mentions of the proverb with singular concordance, as in:   Time and tide waits for no man.   That shows that the speaker thinks of them as one lexical unit, as in:   Our new President and CEO is John Smith. Peanut butter and jelly makes the tastiest snackwich. Early to bed and early to rise, / makes a man healthy, wealthy, and wise.   However, in modern times, there are more instances of the proverb with plural concordance than with singular, which I suspect helped the reänalysis of the two words meaning essentially one and the same thing into two words meaning separate things.


Is there a database for experimental evidence of different physical theories? If not, how to find up-to-date information?

at present, I write a thesis about how one theory of physics can be "embedded" into another one in the sense that all phenomena that hold in one theory emerge as special cases or approximations in another, more general theory.  In order to obtain meaningful results, I do not only want to compare phenomena from a mathematical, formal point of view (e.g. by copying the proof that ) but I want to make reference to empirical bounds of the validity of these phenomena.  For example, as a start, I would like to have data on experiments in electrodynamics (Coulomb's law, Ampere's law, Faradays law) and if possible, I would like to plot this data, that means, it would be amazing if there are some actual data $tables$ that could be downloaded somewhere, though overall results are also welcome.  The experimental bounds will be necessary to describe clearly what the exact range of phenomena is that can be described by certain theories because their equations do not tell us everything about this (as all laws are interpolations of observations).  I know of the . This seems fine for determining the masses, charges, decay modes etc. of particles, which can then be compared with quantum field theoretical predictions. However I was not able to find a similar listing of tables for associated QFT laws like e.g. the  or the .   And especially not of simpler theories in physics like Newtonian mechanics, Electrodynamics and Special relativity. To search for and select original papers on these matters is possible but seems very tedious and first experiments were often not very accurate.  Any information and help is highly appreciated! Thanks.  EDIT: Thank you for pointing out that the threads  and  are related to the question. Indeed the answers point to interesting sites that contain more information on particle physics, for example the  and an attempt for  that comes nearer to the idea to consolidate a platform for common data.   However, I am not specifically looking for particle physics data. I know that the machinery to process this data is extremely complex and I am happy with the already filtered data in the opendata-project and on the particle data group site. For the overview (using a framework involving ) that I want to give over the connection of several theories, I want to start with the most simple laws and then gradually built up on that. Furthermore, many experiments that validate parts of QFT like the  or the  do not need to make use of particle accelerators.  I found another project on GITHUB that outlines an idea that comes pretty close to what I am looking for:  As said in the comments, it is actually a totally natural idea that something like that should exist. So if anyone has more sources, or even an efficient strategy to find papers with downloadable up-to-date data, please let me know.


How do I create a wide-angle / fisheye lens with HLSL?

What are the concepts that need to be implemented in order to achieve the effect of a wide angle lens of varying extremities?  Pseudocode and specific explanation referring to the various stages of the content pipeline, as well as what information needs to be passed in from the source code to HLSL would be very useful.     Also, what are the differences between implementing a wide-angle lens, and a fisheye?


I know this has been asked before. But I am trying to connect to my Windows network. I do not know Ubuntu very well but am learning. My laptop is running Ubuntu 18.04.05 and my Windows computers are all Windows 10. How do I connect to my Windows network? Dan


Unable to update variable value inside setInterval

I want to keep track of a count variable inside the callback function for setInterval but the incremented value does not seem to pass down after each call. Here is my code:  var count = 0; function open_link(count) {     $("a")[count].click();     count++; } setInterval(open_link, 5000, count);   I was expecting that count will be 0, 1, 2 and so on but the value of count always stays 0. How can I update it?  Thanks.


I want to know whether there is a hyphen in the word re-offend, or if it is spelt reoffend. I looked in Oxford English dictionary and the word "reoffend" appears, but then I checked Merriam-Webster and the word is not in there.  So is reoffend a word or is it re-offend?  I'm in Australia where we observe UK English if that matters.


I want to write a SQL statement to include the same data row:  Index            name       column  ----------  ----------  -------- 1           test1       1 1           test1       2 1           test1       3 2           test2       2 2           test2       3 3           test3       4 3           test3       5 3           test3       6   Output  Index            name       column  ----------  ----------  -------- 1           test1       1,2,3 2           test2       2,3 3           test3       4,5,6   How do I write such a SQL statement?


How to make the font size of the title larger than the largest

How can I increase the font of the title? For some reason it doesn't react to \huge or \Large etc. \documentclass[a4paper,12pt]{article} \usepackage{cmap} \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc}  \usepackage[english,russian]{babel}  \usepackage{caption}  \title{\Huge Latex}  \begin{document}      \maketitle  \end{document}  And also I can't center the title on the page. It turns out only indented  \title{\Huge \\[5cm] Latex}, but I think this is not correct and there should be an easier way.


Minecraft says org.lwjgl.LWJGLException: Pixel format not accelerated only after updating, I tried updating graphics card

The title explains most of it. I have a lenovo G580, originally windows 8, since I upgraded to windows 10 I got a crash report. I tried downloading Intel's upgrading graphics card software, it didn't work(That's how it's different from other questions!!). What should I do to fix it?     Here is my crash report (the header is normal text with dashes under it):    ---- Minecraft Crash Report ----   // This is a token for 1 free hug. Redeem at your nearest Mojangsta: [~~HUG~~]  Time: 10/3/15 10:59 AM   Description: Initializing game  org.lwjgl.LWJGLException: Pixel format not accelerated       at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat(Native Method)       at   org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52)       at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:247)       at org.lwjgl.opengl.Display.createWindow(Display.java:306)       at org.lwjgl.opengl.Display.create(Display.java:848)       at org.lwjgl.opengl.Display.create(Display.java:757)       at org.lwjgl.opengl.Display.create(Display.java:739)       at ave.ap(SourceFile:534)       at ave.am(SourceFile:363)       at ave.a(SourceFile:310)       at net.minecraft.client.main.Main.main(SourceFile:124)     A detailed walkthrough of the error, its code path and all known details is as follows:   ---------------------------------------------------------------------------------------  -- Head -- Stacktrace:       at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat(Native Method)       at org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52)       at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:247)       at org.lwjgl.opengl.Display.createWindow(Display.java:306)       at org.lwjgl.opengl.Display.create(Display.java:848)       at org.lwjgl.opengl.Display.create(Display.java:757)       at org.lwjgl.opengl.Display.create(Display.java:739)       at ave.ap(SourceFile:534)       at ave.am(SourceFile:363)    -- Initialization --   Details:   Stacktrace:       at ave.a(SourceFile:310)       at net.minecraft.client.main.Main.main(SourceFile:124)    -- System Details --   Details:       Minecraft Version: 1.8.8       Operating System: Windows 10 (x86) version 10.0       Java Version: 1.8.0_60, Oracle Corporation       Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation       Memory: 741648 bytes (0 MB) / 60702720 bytes (57 MB) up to 1037959168 bytes   (989 MB)       JVM Flags: 2 total; - XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G       IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0       Launched Version: 1.8.8       LWJGL: 2.9.4       OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.       GL Caps:        Using VBOs: No       Is Modded: Probably not. Jar signature remains and client brand is untouched.       Type: Client (map_client.txt)       Resource Packs:        Current Language: ~~ERROR~~ NullPointerException: null       Profiler Position: N/A (disabled)       CPU: <unknown>


I'm trying to scale only one loop in edit mode but when i select that loop and try to scale, it scales the entire mesh. What should i do?

I am a beginner in blender and I made a cylinder mesh then I went into the edit mode to scale only the base loop but everytime I try, it scales the entire mesh. I tried selecting only vertices or edges and both of them together but it made no difference. What am I doing wrong?


Can someone explain Cayley's Theorem step by step?

This is from Fraleigh's First Course in Abstract Algebra (page 82, Theorem 8.16) and I keep having hard time understanding its proof. I understand only until they mention the map $\lambda_x (g) = xg$. Can someone explain this proof step by step? Thank you so much! Here is the proof:  Let $G$ be a group. We show that $G$ is isomorphic to a subgroup of $S_G$. Define a one-to-one function $\phi: G \to S_G$ such that $\phi(xy)=\phi(x) \phi(y)$ for all $x,y \in G$. For $x \in G$, let $\lambda_x: G \to G$ be defined by $\lambda_x (g) = xg$ for all $g \in G$. The equation $\lambda_x (x^{-1} c) = x(x^{-1} c) = c$ for all $c \in G$ shows that $\lambda_x$ maps $G$ onto $G$. If $\lambda_x (a) = \lambda_x (b)$, then $xa=xb$ so $a=b$ by cancellation. Thus $\lambda_x$ is also one to one, and is a permutation of $G$. We now define $\phi: G \to S_G$ by defining $\phi(x) = \lambda_x$ for all $x \in G$. To show that $\phi$ is one to one, suppose that $\phi(x) = \phi(y)$. Then $\lambda_x = \lambda_y$ as functions mapping $G$ into $G$. In particular $\lambda_x (e) = \lambda_y (e)$, so $xe=ye$ and $x=y$. Thus $\phi$ is one to one. It only remains to show that $\phi(xy) = \phi(x) \phi(y)$, that is, that $\phi_{xy} = \lambda_x \lambda_y$. Now for any $g \in G$, we have $\lambda_{xy} (g) = (xy)g$. Permutation multiplication is function composition, so $(\lambda_x \lambda_y)(g) = \lambda_x (\lambda_y (g)) = \lambda_x (yg) = x(yg)$. Thus by associativity, $\lambda_{xy} = \lambda_x \lambda_y$.


Number of vertices after taking out an edge from a tree

I have a tree (v is number of vertex and d is the maximum  degree)whose maximum degree is $\geq 2$. I want to show that, if I take out an specific edge from this tree, I'll get $2$ trees whose number of the vertex in each tree is no more than $$\frac{v(d-1)}d$$


Type conversion from double to int. Never seen this difference

I got double type value as int form like no decimal digit. But when I typecast that value to int, the value reduces by 1. Like, val of type double, on calculation comes out to be 4. But when I typecast (int)val, then val becomes 3. I believe there is some interesting answers for this. CODE: #include<bits/stdc++.h> using namespace std; int main(){     int t;     cin>>t;     while(t--){         int a,b;         cin>>a>>b;         double res = log(a)/log(b);          cout<<"res (double) "<<res<<"\n";         cout<<"res (int) "<<(int)res<<"\n";     }      return 0; }  Input 2 571787 83 445943744 764  Output res (double) 3 res (int) 2 res (double) 3 res (int) 2


We are going to St. Petersburg for a week and we would like to buy a sim card for our Samsung smartphone, so that we can use phone and Waze. I looked for russian sim-cards in Google and all I found were plans with daily or monthly payments, that probably require a credit-card. Is there a way to buy a pre-paid sim card without a credit card? If so, what is the best place to buy - in the airport or on street shops?


Difference between /usr/local and ~/.local

I install .zip / .tar.gz programs in ~/.local/bin, but Ubuntu have /usr/local directory with content same as in ~/.local.   So, what is difference between this directories except for sudo access?


How do I get the screen to lgo blank in Ubuntu 18.04?

I have a desktop running Ubuntu 18.04 with Gnome, and two monitors. The screen does not automatically go blank or lock itself. I can manually lock the screen, but if I, say, go to bed, when I wake up in the morning the screen is still as I left it. Through Settings-> Power -> Power Saving, I have 'Blank Screen' set at 10 minutes, but that doesn't happen.   I'm not sure where to start trying to investigate what is going wrong. How do I get my screen to  go blank? I don't really care whether it locks or not, I just do want it to turn off my monitors.


How to determine or predict space on disk per table row?

I'm very new to Postgres so my math could be off here ...  This is my table:  CREATE TABLE audit (     id BIGSERIAL PRIMARY KEY,     content_id VARCHAR (50) NULL,      type VARCHAR (100) NOT NULL,      size bigint NOT NULL,      timestamp1 timestamp NOT NULL DEFAULT NOW(),      timestamp2 timestamp NOT NULL DEFAULT NOW() );   I want to make some estimations on how much space 1 row would occupy. After some reading I've come up with this, is it correct?  1 row = 23 (heaptupleheader) + 1 (padding) + 8 (id) + 50 (content_id) + 6 (padding) + 100 (type) + 4 (padding) + 8 (size) + 8 (timestamp) + 8 (timestamp) = 216 bytes   I also created this same table in my local Postgres DB but the numbers don't seem to match:  INSERT INTO public.audit(content_id, type, size)     VALUES ('aaa', 'bbb', 100);  SELECT pg_size_pretty( pg_total_relation_size('audit') );  -- returns 24 kb  INSERT INTO public.audit(content_id, type, size)     VALUES ('aaaaaaaaaaaaa', 'bbbbbbbbbbbbbb', 100000000000);  SELECT pg_size_pretty( pg_total_relation_size('audit') ); -- still returns 24 kb   Which brings me to think that Postgres reserves a space of 24 kb to start with and as I put in more data it will get incremented by 132 bytes once I go beyond 24 kb? But something inside me says that can't be right.  I want to see how much space 1 row would occupy in Postgres db so I can analyze how much data I can potentially store in it. Maybe I'm missing something very obvious.


I have a question about references.   I was reading a paper and I emailed the author asked him about something if it is already known or not. Let make it as example, I asked about basic property say $P$ and he stated the property $P$ in general case he said that he did not know a reference for this property. What's more, he did not believe if anyone write the property in this general case. My question, in case I need to use his idea in my project, what should I do ? since there is no reference for that just his email.


Is it easy to enter the UK multiple times on the same Business Visitor Visa?

I got a business visitor visa, sponsored by a company, for a 4-5 day visit. The visa was provided for a period of 6 months, with multiple entry possible.   First, what should I carry with me when entering the UK (at LHR)? Will they just take a look at my visa and let me in, or will I have an interview or something? (I haven't seen indication that I should carry documents or anything with me, but I thought I'd ask).  Second, if I want to re-enter the UK in a month or two (not for a business purpose), can I do that on the same visa, since it's multiple entry? Or is the second entry different than the first (i.e. if the first doesn't have an interview, they'll have an interview on the second entry?)


problem with position of inserted picture

I have problem with picture. Look position of picture in code and where overleaf put picture \documentclass[a4 paper, 12pt]{article} \usepackage{pgfplots} \setlength{\baselineskip}{17pt} \usepackage{geometry} \usepackage[croatian]{babel} \usepackage[utf8]{inputenc} \usepackage[unicode]{hyperref} \usepackage{floatrow} \usepackage[final]{pdfpages} \geometry{a4paper, left=25mm,right=20mm,top=25mm,bottom=25mm} \usepackage{multirow} \usepackage{tabularx,ragged2e,booktabs,caption} \usepackage{amsmath} \usepackage{amsthm} \usepackage{amssymb} \usepackage{amsfonts} \usepackage{pgfplots} \usepackage{graphicx} \usepackage{siunitx} \usepackage{mathtools} \usepackage{chngcntr} \usepackage{tikz} \usetikzlibrary{datavisualization} \usetikzlibrary{datavisualization.formats.functions} \counterwithin{figure}{section} \counterwithin{table}{section} \usepackage{enumitem} \usepackage{subfig} \usepackage{array} \usepackage{lipsum} \graphicspath{{images/}} \theoremstyle{plain} \newtheorem{defn}{Definicija}[section] \newtheorem{nap}{Napomena}[section] \newtheorem{thm}{Teorem}[section] \newtheorem{prop}{Propozicija}[section] \newtheorem{krl}{Korolar}[section] \newtheorem{lema}{Lema}[section] \theoremstyle{definition} \newtheorem{pr}{Primjer}[section] \numberwithin{equation}{section} \begin{document}  \noindent gdje je $\phi$ funkcija gustoće standardne normalne slučajne varijable:  $$\phi(x) = \frac{1}{\sqrt{2\pi}}exp\left(-\frac{1}{2}x^2\right).$$  Vidimo da su formule za Gammu jednake za call i put opciju. U sljedećem primjeru prikazati ćemo rezultate za $\Gamma$ i $\Gamma_{P\&G}$ za pojedine promjene cijena dionice. \begin{pr} Neka su dani sljedeći parametri $S_0 = 1000$, $K = 1000$ kuna te neka su $r=2\%$, $\sigma=0.2$ i $\tau=1$ godina. Promotrimo rezultate za te parametre ukoliko su se dogodile sljedeće promjene cijena dionice:   \begin{center} \begin{tabular}{  c | c | c | c | c | c | c }    S & 850 & 900 & 950 & 1000 & 1050 & 1100 \\ \hline   \Gamma & 0.0019452 & 0.0021011 & 0.0020964 & 0.0019552 & 0.0017214 & 0.0014424 \\ \hline   \Gamma_{P\&G} & 43.77 & 21.01 & 5.24 & 0 & 4.30 & 14.42 \\ \end{tabular} \captionof{table}{Vrijednosti $\Gamma$ i $\Gamma_{P\&G}$ za različite početne vrijednosti dionice} \label{tab:gamma} \end{center} \end{pr}  \begin{figure}[]     \centering     \includegraphics[width=10cm]{s2.png}     \caption{An image of a galaxy}     \label{fig:galaxy} \end{figure}  Prethodno smo zaključili da je Gamma jednaka za call i put opciju. Iz tablice za vrijednosti $\Gamma$ vidimo da njegov graf ima zvonoliki oblik. Najveća vrijednost za Gammu je u slučaju kada je cijena dionice manja od cijene izvršenja $K$. Također možemo primjetiti kako velikom promjenom cijena od početne cijene dionice stvaramo sve veće profite.         \end{document}


DNS Resolution for example.com - Can you explain?

When I type mynewdomain.com into my browser I believe the following happens.   My computer sends a request to my ISP's name servers to find the IP address of mynewdomain.com My ISP name server sends a request to the "." name server. The "." sends a response back to the ISP name server, saying try using the com. nameserver. My ISP name server sends a request to the com. nameserver. The com. nameserver finds mynewdomain.com. and sends my ISP nameserver back the A record. My ISP nameserver sends this back to my computer.    My question is about step 5. How does mynewdomain.com. get into the list on the com. nameserver? And given that there are hundreds of millions of registered .coms, how does it find mine in such a short time?


Understanding birthday attacks on 256 bit hashing and 512 bit hashing

Does it make a difference against birthday attacks if the algorithm that I am using is 512 bit hashing?


At what point do you put your SO reputation in your resume?

While this is half tongue in cheek, this website and community may end up being the premier site that over half the world's programmers regularly attend - especially if Jeff and Joel create localized versions (with automatic translation, please).  The rep doesn't have a 1:1 correlation with experience, ability, etc. It does strongly hint at the ability to quickly comprehend and answer a variety of questions (check out the top 25 - few of them strongly specialize in any one type of question or answer).  It also strongly hints at an obsession and perhaps spending more time on this site than working, but there may be a balance point with optimal rep - enough to indicate expertise, not so much to indicate wasted time.  At some point Stackoverflow may hit a critical mass where hiring managers will understand and use it as a hiring resource - checking out not only one's rep, but the types of answers and questions the potential hire posts, and seeing how their peers respond to them (comments, votes, etc).  I can't see what the tipping point would be though, assuming it exists in the future.   At what point would you seriously consider adding a link to your SO user page in your resume? At what point would you seriously consider putting your rep number on the resume itself?  (before you say never, first imagine a world where this is commonplace, and then work backwards to see what drastic, unimaginable changes would have to occur before you felt it was useful) If you knew your future employer is going to be looking at your questions and answers, would you review them in advance and consider closing/deleting/modifying anything? Ancillary - Reputation represents time, and time can also be represented by money.  At what point will we see financial transactions involving rep?  This certainly would happen before rep became a resume option.


How to boot WUBI installed Ubuntu within Windows 8?

I have Windows 8 Release Customer Preview on my laptop. I tried to install Ubuntu on it with Ubuntu Windows installer (I have always used this to install, although that was on Windows 7), it installs and asks to reboot, then immediately Windows 8 boots up.  I do not have the option to choose what OS to boot. How can I boot to Ubuntu? VM is not exactly what I would like to use, but it is an option, however a last resort. Any help?


Incorrect white background in compositing

Really straight forward question here, basically I have a few doors I want to render with an alpha layer and a shadow catcher, then I want to use the compositor to add in a PURE white background ( HEX: FFFFFF ).   Even though I have a pure white selected in the compositor when I render it and use a color tester it is quite a bit less than PURE white ...   Must be missing something simple I guess ?  Here is my compositing setup ( you can see my HEX code ):   Here is my test of the result ( which is not pure white ):


Why java Dictionary interface become obsolete and was replaced by Map?

The Dictionary class is now obsolete,   replaced    by  java.util.Map interface –   why?


Is a subgroup $H$ of a group $G$ normal if $g^2 \in H$ for all $g \in G$?

Suppose $G$ is a group, $H\leq G$, and for all $g\in G$ we have $g^2\in H$. Is $H$ a normal subgroup of $G$?


What am I supposed to so with this, nothing I've tried has worked.

Busybox v1. 22. 1 (Ubuntu 1:1. 22. 0-19ubuntu2) built-in shell (ash) enter 'help' for a list of built-in commands.


I was trying to get Civic Duty and try to improve the standards of a good post by voting (a lot). Got Suffrage and Vox Populi, blah blah blah, then I saw the "crime" I have committed: Serial Voting. WAHHHHH! But wait. I have never really pay attention to who I am voting on unless it is someone like Jon Skeet from SO or fredley from Coffee. Here is the page on newest questions on which I voted on:   This might change, but if you notice, lots of users are actually writing questions repeatedly within seconds/minutes. Looking at  user page, I voted nearly all his votes... With upvotes.   So I have accidently serial voted. Will I get in trouble, and will my votes get banned for accidental serial voting?


From what I've read, according to relativity, a photon does not "experience" the passage of time. (Can we say there is no past/present/future for a photon?)  Would it be better to say a photon is "fixed in spacetime"? If so, how do we explain the apparent movement of a photon? Is everything else moving relative to it in spacetime?


Is it correct to say "1 feet 1 inches"?  shows examples of such expressions. They might have been erroneously automatically generated, though. Notes: I'm not sure who would ever think this is a duplicate, but I just want to say that this question is, if anything, the opposite of what it's supposedly the duplicate of. There's no such question as "Why don't we pluralize “foot” in measurements?" here; I ask if it's correct to say "1 feet 1 inches" and that's it. Logically, I would assume that you don't say either "1 feet" or "1 inches" because those seem ungrammatical at the very least.


A ring which has many distinct left inverses

I'm trying to find a ring which has an element that has many(more than two) distinct left inverses.  I first tried the (square) matrices but then realized that if a matrix is a left unit, then it has determinant greater than 0, thus it is also a right unit and has unique inverse.  And then next I tried to do it with functions with usual addition and composition, and I found this example(in the first answer, by user23211):   But I realized that the space of functions does not form a ring since the distribution law fails.  To make distribution law hold, we can only have homomorphisms; while the elements in the above example are not.  I also have seen that we can construct a similar examples with infinite vector spaces, but they are not rings.  Is there any ring like this?


I have Ubuntu 14.04 and I never made any disk partitions.I'm trying to ask that if a install a certain game or program from Ubuntu Software Center, where exactly does it go? I have this game that I downloaded from the Software center but now that I need to apply mods, I really don't know where the game is stored. I even tried searching for it but only the launcher that was used to install the game appears in the search results.


How can I list ONLY open ports in a range with nc

I see many examples for nc, even one in the man page, that says   nc -zv 77.77.77.77 10-30   would report the open ports in the range 10-30. However, on my machine all the closed ports are also reported, so when I use a large range to check if any ports are open I am flooded with "connection refused" messages.  Why is the behavior on my machine different?  Should I simply filter away the verbose outut, or is there a way to let nc report only open ports?


I am trying to use sfm module for opencv. The problem is linking that. So, let's see the code.   main.cpp:  ...     cv::sfm::reconstruct(images_paths, Rs_est, ts_est, K2, points3d_estimated, true) ...   I compiled this code to main.o. And now, I would like to link it with libopencv_core.so and libopencv_sfm.so . The second one file contains a definition of function 'reconstruct'. Why am I sure? When I type:  nm -D libopencv_sfm.so | grep reconstruct   I got:   00000000000b4ca0 T _ZN2cv3sfm11reconstructERKNS_11_InputArrayERKNS_12_OutputArrayES6_RKNS_17_InputOutputArrayEb 00000000000b4ba0 T _ZN2cv3sfm11reconstructERKNS_11_InputArrayERKNS_12_OutputArrayES6_RKNS_17_InputOutputArrayES6_b 00000000000b2650 T _ZN2cv3sfm11reconstructESt6vectorISsSaISsEERKNS_12_OutputArrayES6_RKNS_17_InputOutputArrayEb 00000000000b2550 T _ZN2cv3sfm11reconstructESt6vectorISsSaISsEERKNS_12_OutputArrayES6_RKNS_17_InputOutputArrayES6_b   I checked signature of reconstruct function in main.o file. And it match to:   _ZN2cv3sfm11reconstructESt6vectorISsSaISsEERKNS_12_OutputArrayES6_RKNS_17_InputOutputArrayES6_b   So the shared library contains definition of reconstruct.   So now, I link:  g++ libopencv_core.so libopencv_sfm.so main.o -o main   and it gives me error:  undefined reference to `cv::sfm::reconstruct(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, cv::_OutputArray const&, cv::_OutputArray const&, cv::_InputOutputArray const&, cv::_OutputArray const&, bool)'   And I don't understand. After all libopencv_sfm.so contains definition of that function!  And please: don't tell me: use cmake. I tried use cmake and the problem is the same. So I try to understand it on low level.  Thanks in advance.  (gcc version: 5.1.1)


I tried many things, including ratio test, root test, comparison test, cauchy criterion, rewriting w.r.t e^n and doing all these tests again, but no luck in any direction. Any hints? It seems most likely that I missed out on rewriting this stuff to resemble something that can be compared.


How do I get a dark shimmery bronze skin look for my glamour photography? (image provided)

I'm looking to find out how I can recreate similar shimmery/metallic skin tones such as with the first image provided.  I've searched over youtube and skillshare, but can't seem to find any tutorials or helpful videos close enough to this look. The closest I have found to be is by using a blue filter in photoshop with blending mode luminosity, though this leaves my images looking flat.  First image is the one I would like to achieve, second is my own.  Thank you.


How do I get java logging output to appear on a single line?

At the moment a default entry looks something like this:  Oct 12, 2008 9:45:18 AM myClassInfoHere INFO: MyLogMessageHere   How do I get it to do this?  Oct 12, 2008 9:45:18 AM myClassInfoHere - INFO: MyLogMessageHere   Clarification I'm using java.util.logging


I have the following call to the \hypersetup macro:  \hypersetup{     pdfauthor={My Name},     pdftitle={Title},     pdfkeywords={LaTeX, PDF},     pdfcreator={PDFLaTeX},     pdfproducer={PDFLaTeX}, }   Which is only usable if I have the hyperref package loaded. So I tried to wrap it under conditionals:  \@ifpackageloaded{hyperref} {\hypersetup{     pdfauthor={My Name},     pdftitle={Title},     pdfkeywords={LaTeX, PDF},     pdfcreator={PDFLaTeX},     pdfproducer={PDFLaTeX}, }} { }   and I get the following compilation error:  ! You can't use `\spacefactor' in vertical mode. \@->\spacefactor                   \@m {} l.19 \@


Enter text below \author and above \begin{document}

I need to write text just below the name of the author but before the document begins. I think I'm dealing with the title page here. I'm fairly new to using Latex and I don't exactly know how to go about this. I'm using \documentclass{report}. Please help.


Find location of bash command binary file

I have a command letsencrypt which I use in the terminal.  I tried to find the binary via grep -R "letsencrypt" /. Not a good idea, some sort of loop was invoked.  Is there a simple command to see what the command letsencrypt actually invokes for binary?


Why am I unable to review First Posts and Late Answers? Am I now prohibited from reviewing posts? Or is it some technical error?


Tag buttons missing from top-right of post

There used to be a set of tag buttons on question pages, near the top-right.  I don't remember exactly where they were, but I think to the right above where the information about when the question was asked and how many times it's been viewed is shown.  Here's a screenshot with super-fancy freehand art:    I noticed that this is no longer present as of recently.  I miss it however, because that is what I always clicked on.  It's also super convenient because it's always in the same place no matter how long the post.  I just had to hit HOME instead of searching for the end of the question.  A quibble, perhaps, but I can't tell you how much I miss these buttons.  Can we have them back?  Actually I just noticed that these tags are still displayed in meta.  It's in the top-right in a section labeled "tagged"


I have been using blender for a few weeks onw and i came across this viewport issue that happens whenever i go to wireframe or solid mode but not on material preview or rendered. this issue moves all the object in a sort of line pattern and makes other object vanish. this glitch makes it look as if any object not on the shadow was not there. I am using cycles on gpu compute with 256 samples on the render and 32 samples on the viewport and rendering tiles of 288x and y. I have a ryzen 5 2600 on the laetst driver, an rtx 2060 running on the latest game ready driver (aka Game ready driver Version 466.27), a b450M/ac on the newwest BIOS version, and a 480Gb SSD with only 50Gb of free storage left (dont know if it matters). I experienced this issue seemingly out of nowhere and i do not know what it caused it. I do have many modifiers active and some applied on several different objects. I also have many different objects as parents. any help is appreciated.


How to get the TEXT from a layers attributes to display on my map

I'm totally new with GIS software, so I apologize if this is a question that's already been answered!   I'm working with the Texas Landgrid. It's composed of Leagues, Labors, Blocks, Townships, Sections, Surveys and Abstracts (Super confusing at times!). I've managed to find the shapefiles for the landgrid, but I haven't found a way to get the text to appear on the map. I'll provide screenshots for examples as to what I'm talking about.  Here is a screenshot from drilling info.com:   And here is a screenshot from my QGIS project:   As you can see, none of the text is displayed in my QGIS map, so it's improbable for me to be able to locate specific tracts of land for my purposes.   I have found that the data for Surveys, abstracts, blocks, etc. is contained within the "TX Land Grid" layer as attributes. (COUNTYID, SURVEYABS1, SURVEYNAME, SURVEYBLO3 & SURVEYSEC4).  So my question is, can I somehow get these attributes to display as text in a similar way to the screenshot from DrillingInfo? I need to be able to see the names/numbers within the separate tracts of land.  Here is a link to a zip file containing the "TX Land Grid" shapefile.


Let $T: \Bbb R^3 \rightarrow \Bbb R^3$ be the linear transformation given by reflecting across the plane $S=\{x:-x_1+x_2+x_3=0\}$ (...)   Then, $S={\rm gen}[(1,1,0),(1,0,1)].$  But how can I get the matrix $R_v$ such that reflects across $S$?   Thanks!


How can I show that $\int_{0}^1\int_{0}^1 \frac{1}{1-xy}dxdy=\frac{\pi^2}{6}$ through substitution?

I know that the answer can be arrived through integration of geometric series to evaluate $\zeta(2)$, but i was wondering if the result could be attained through a sub?


I created a shape out of a single mesh/edge.    I added an array modifier and a curve modifier to create the rough shape of a banana.  Is there a way to add a "skin" to the result in Blender 2.8 in a non-destructive way, e.g. by using a modifier or some other technique?


Given probabilities of a horse beating each other horse. What is the probability that the horse will finish in a particular position?

I have computed probabilities that horse A beats horse B, horse A beats horse C and so on. I want to find out the probability that the horse will finish in a particular position, say 2nd.  Edit: In a horse race, with multiple horses. I know the probability that horse 1 will be horse 2 and probability that horse 1 will beat horse 3 and so on. eg: probability of horse 1 beating horse 2 depicted as h1->h2: P h1->h2: 0.6 h1->h3: 0.7 h1->h4: 0.75 h1->h5: 0.8  i want to know what is the probability that horse 1 will attain a position say 2nd or 3rd?


How to access and edit Mapping Node via python?

I need to access Mapping Node via python to edit Location\Rotation\Scale    mat = bpy.data.materials['MaterialName'] mat_nodes = mat.node_tree.nodes map = mat_nodes['Mapping']  map.inputs[0] print(map.inputs[0]) **<bpy_struct, NodeSocketVector("Vector")>**   But there are no other inputs, and I have noidea what [0] input does  PS I know that my node named Cracks_Mapping  Found an answer here :


Why was Will not affected by the Aztec curse?

How did Will Turner not turn into a zombie when he was a child, when his father left him the last Aztec golden piece?


showing that $\Phi:\Pi_{1}(X,x_{0})\rightarrow [S^{1},X]$ is onto if $X$ is path connected.

We can regard $\Pi_{1}(X,x_{0})$ as the set of basepoint-preserving homotopy classes of maps $(S^{1},s_{0})\rightarrow(X,x_{0})$ . Let $[S^{1},X]$ be the set of homotopy classes of maps $S^{1}\rightarrow X$ , with no conditions on basepoints. Thus there is a natural map $\Phi:\Pi_{1}(X,x_{0})\rightarrow [S^{1},X]$ obtained by ignoring basepoints. Show that $\Phi$ is onto if $X$ is path-connected, and that  $\Phi([f])=  \Phi([g])$  iff $[f]$ and $[g]$  are conjugate in $\Pi_{1}(X,x_{0})$ . Hence $\Phi$  induces a one to  one correspondence between $ [S^{1},X]$ and the set of conjugacy classes in $\Pi_{1}(X)$ when $X$ is path-connected.  this is  problem 6 from hatcher page 38. for showing that it is onto,my Idea was to take $f$ in $[S^{1},X]$,and consider a point say $x\in f(S^{1})$,because of $X$ is path connected we can have a path from $x$ to $x_{0}$ call it $\alpha$,I know that it is not exact but I feel $f(S^{1})\cup \alpha$ is the element in $\Pi_{1}(X,x_{0})$ which we need.  for second part I have no Idea.  1.please help me to make them complete and exact.  2.I don't underestand this part well,when it say :"We can regard $\Pi_{1}(X,x_{0})$ as the set of basepoint-preserving homotopy classes of maps $(S^{1},s_{0})\rightarrow(X,x_{0})$" . please give me good imagination about it.  3.can you guide to how I must have a good vision to solve algebraic topology problems?I know by practicing it will be achieved but sometimes I feel that there is something that is more like a gap in my mind.  I will be very thankful for your consideration.


Does anybody know which typeface might this be and can it be used with LaTeX via a package?    Thank you!


How to automate backup downloads between two Ubuntu 14.04 servers

I have two Ubuntu 14.04, one is for production and one is for backup.  On the production server, I have a folder with backups automatically generated by a cron job. How can I make the backup server connect to that folder and download the files every day securely?  They're two separate servers on a different network.


I am writing a journal which has two column. I am using {figure} as well as {figure*} to place the figures in one column as well as stretch across two columns.   My problem is the order of the figures are not correct. e.g. their order of appearance is:                  Figure 1.                 Figure 2.                 Figure 5.                 Figure 3.                 Figure 4.   What should I do to make them appear in order?