I have an issue with SMS sending from journey builder where the history shows "Failed - object reference not set to an instance of an object" for the SMS send activity for all contacts and they don't proceed further.  The data extension consists of the following fields:   ContactKey (Primary Key)  Email (Required)  Phone (Required)  Locale Name  Lastname   Further configurations:  The Journey is configured to use phone and email from the entry source. Contacts do not yet exist at the time of injection. The entry mode is set to "re-entry anytime". The journey runs once on activation of a new version. The journey sends:   Simple SMS with all contacts being subscribed to a defined keyword Simple text-only email   The entry data extension is not otherwise linked to the data model (attribute set or population).  In earlier versions without the email field in the data extension and email activity) worked without any problems.  Removing the email components didn't help.   Creating a completely new journey with the same components also didn't work.  Does anyone have an idea what the reason might be that the SMS activity suddenly fails after the email parts were added without changing the SMS components? I'm   Thanks a lot!

I have a Journey which sends the Subscriber SMS messages, 2/4 journey entries (all unique subscribers) don't receive the SMS.  The error displayed in the SMS activity in my Journey History is the following:      Failed - Object reference not set to an instance of an object.   Can anyone advise what this means? If it was configuration surely all subscribers wouldn't receive the message? I can confirm all subscribers have a mobile number and they use the same format and country code. Not sure if it helps but the entry source is Salesforce Data Entry.  Edit:  There can be entries where the Subscriber record does not exist in the AllSubscribers list as they do not have email addresses attached (only mobile numbers) but my journey only contains SMS message activities, no email. I have checked and even on some Subscribers that do have AllSubscribers records suffer the same activity error.


Can someone explain why    char *s1 = "abcd";  char *s2 = s1;  s1[0] = "z";  s1[2] = "\0";   gives me a bus error 10 BUT   char s1[] = "abcd";  char *s2 = s1;  s1[0] = "z";  s1[2] = "\0";   doesn't?  are char *s1 and char s1[] not equivalent? Please explain, thanks.

The following code receives seg fault on line 2:  char *str = "string"; str[0] = 'z';  // could be also written as *str = 'z' printf("%s\n", str);   While this works perfectly well:  char str[] = "string"; str[0] = 'z'; printf("%s\n", str);   Tested with MSVC and GCC.


I recently read a book about Data structures, int that book I found this equation under topic, "the average number of probes for an unsuccessful search":        but when I was trying to prove this I found another expression, here is how I tried:                So my proof led me to this equation    So what did I do wrong, I can't find any error above?  Or Am I right?

I would like to know: How come that  $$\sum_{n=1}^\infty n x^n=\frac{x}{(x-1)^2}$$  Why isn't it infinity?


I would like to know if it is possible to mount in mode writable. I mean to mount a content of an iso file in order to modify it in /media/USERNAME/NEWFOLDER

I tried to mount my Ubuntu 13.04 64-bit image using the following command :     sudo mount -o rw,loop /home/varun/Downloads/ubuntu-13.04-desktop-amd64.iso /media/cdimage   But I gets the following warning :     mount: warning: /media/cdimage seems to be mounted read-only.      Help me to eliminate the warning.


What is the easiest way to get reputations? As you guys can see I have one reputation in Stack Exchange and also for Stack Overflow, and I want to learn how to get a lot of reputation.

From "6 Simple Tips to Get Stackoverflow Reputation Fast" at codexon.com:   Be the First to Answer. Even at the cost of quality. Use Downvotes and Comments Strategically Use obnoxious in-your-face formatting and lists. Be Aware of the 200 rep/day Limit Edit, But Don’t Edit Too Much Associate your other accounts   Courtesy of . Agree? Disagree? Walnuts? Cantaloupe?


Anyone has idea how to simplify this summation: $$\sum\limits_{k=0}^{N}\binom{M-1+k}{k}\binom{M-1+N-k}{N-k}$$

In a proof I've come across the following identity:     $$ \sum_{l=0}^{n-j} \binom{M-1+l}{l} \binom{n-M-l}{n-j-l} = \binom{n}{j} $$   I see that it's right, when plugging in numbers, but I don't see the algebraic or combinatorial proof behind it. Can anyone help me with that?


I am running Linux Ubuntu 16.04 LTS, and I wasn't able to run my Operating System anymore after my latest update attempt. Here's what happened:   I first ran the upgrade procedures through terminal as usual: sudo apt-get update, sudo apt-get upgrade, sudo apt-get autoremove, and sudo apt-get autoremove. However, I was told that 4 not upgraded, so I decided to run Software Updater as well, and there was indeed updates available concerning Ubuntu base. I installed those successfully, and decided to proceed with restart my system.   After the restart, my system doesn't start though. Instead, I receive the following error message:  [ 1.452270] genirq: Flags mismatch irq 0. 00000080 (nvme0q0) vs. 00015a00 (timer) [ 1.452551] iounmap: bad address ffffc90001b88000 Scanning for Btrfs filesystems Gave up waiting for root device. Common problems:  - Boot args (cat /proc/cmdline)   - Check rootdelay= (did the system wait for the right device?)   - Check root= (did the system wait for the right device?)  - Missing modules (cat /proc/modules; ls /dev) ALERT! UUID=a5ccaf22-ffde-44c2-8c59-84a851f9fd90 does not exist. Dropping to shell!  BusyBox v1.222.1 (Ubuntu 1:1.22.0-15ubuntu1) built-in shell (ash) Enter 'help' for a list of built-in commands.  (initramfs)   I was able to recover my system through the +Advanced options for Ubuntu, which I opened after. There I had total of nine choices, three options for each version. I first tried the recovery version of the latest one, but it didn't work. After that, I tried the generic version of the second latest, and — thank God — that one managed to recover my system!  UPDATE: The three version I have available are the following, running from the latest to the oldest: 1) Ubuntu, with Linux 4.4.0-3**9** generic, 2) Ubuntu, with Linux 4.4.0-3**8** generic, and 3) Ubuntu, with Linux 4.4.0-3**7** generic. With the second one I was able to start the system.  What went wrong? How can I fix it? Now I am afraid to update my system :-( Please help!!!

I am using Ubuntu 14.04.  I ran in terminal sudo apt-get update. Then I rebooted the system. And now I see:   ALERT! /dev/disk/by-uuid/xxxxxxxxx does not exist. Dropping to a shell initramfs:_   I can't boot up LIVE Ubuntu from USB flash drive. Yes, I double checked BIOS setup and the USB flash drive is OK and runs on another machine. Right now I am going to buy a  DVD and burn a Live DVD from another laptop.  sudo blkid gives me:   /dev/loop0: TYPE="squashfs"   /dev/sda1: UUID="xxxx" TYPE="ext4"    /dev/sr0: LABEL="Ubuntu 14.04.1 LTS i386" TYPE="iso960"      /etc/fstab has the same UUID="xxxx" and there is a line with:   errors=remount-ro 0      I tried using boot-repair but I still can't log in to Ubuntu.  I don't want to reinstall Ubuntu, because I have a lot of data there.  Do you have any advice how this can be solved?


Is there any kind of mutual funds which can never have a loss, like maybe a currency fund?

Are there any securities traded on the stock market (i.e. ETPs) that never decrease in value?    As an aside (in case anyone mentions bonds):  I'm aware there's ETFs for AAA-rated government bonds, but even these dip significantly.  For example, the  has dipped by 9% in a 85-day period before (21/08/2016 to 13/11/2016).


My Nikon camera started acting up like 2 days ago, when it wouldnt take any pictures. I pushed the AE-L AF-L button a few times and it started taking pictures again. Then yesterday it wouldnt take pictures again. I took out the memory card and put it back in and it started to take pictures again, but then today I tried importing pictures to lightroom through the usb and it would only show previews to about 2 images. When i clicked on those images it wouldnt show full previews they were still blurry. Also on my camera itself the pictures look corrupted like a tv with a bunch of red blue and green lines going from left to right, and the pictures that look fine in the preview on my camera are actually not when you zoom into them..  Is it something wrong with the camera or with the SD card?

I have had my Nikon D40 for a while, and some of the pictures are coming out distorted. Two examples are below:   So my questions are:    How do I fix them after the fact? - i.e. after they have been imported from the camera - if possible How do I prevent future pictures from being distorted like this?   Thanks   and


I was wondering if there was a way that I could reference the numbers of the theorems in my document would actually having to write "theorem 1.11". So that if the numbering of my theorems change then my referencing of them automatically does as well?  Thanks for any help

Is there any way to cross-reference to sections/subsections via their title? I find myself writing "Please see section 4 for more details", and it gets annoying very soon, especially when I have to change the numbers repeatedly.  I am using lyx, so it would be nice if there's some way of automating some of the steps.


On Slovenian keyboard it's impossible to click the default shortcut.

I opened two Google Chrome windows (because I am using multiple Gmails) and when I do the Cmd ⌘ Tab ⇥ shortcut it just shows me other applications that I opened but does not show me the other Chrome windows that are already opened.  How to switch to the other Google Chrome window that I opened using keyboard shortcut?


my laptop's built-in microphone records nothing but static/white noise. I'm on Ubuntu 20.04.1 and my laptop is a Lenovo Ideapad 320. Any suggestions on fixing it?

Internal Microphone is only recording static noise on Lenovo Ideapad and Ubuntu 20.04. I've tried deleting PulseAudio config, restarting PulseAudio, and reinstalling Alsa. sudo pavucontrol was no help either.  I know the mic is fine since it works on another OS.   This is the Alsa config:  pouria@pouria-pc:~$ sudo cat /etc/modprobe.d/alsa-base.conf  # autoloader aliases install sound-slot-0 /sbin/modprobe snd-card-0 install sound-slot-1 /sbin/modprobe snd-card-1 install sound-slot-2 /sbin/modprobe snd-card-2 install sound-slot-3 /sbin/modprobe snd-card-3 install sound-slot-4 /sbin/modprobe snd-card-4 install sound-slot-5 /sbin/modprobe snd-card-5 install sound-slot-6 /sbin/modprobe snd-card-6 install sound-slot-7 /sbin/modprobe snd-card-7  # Cause optional modules to be loaded above generic modules install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; } # # Workaround at bug #499695 (reverted in Ubuntu see LP #319505) install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; } install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; } install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; } # install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; } # Cause optional modules to be loaded above sound card driver modules install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; } install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }  # Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway) install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; } # Prevent abnormal drivers from grabbing index 0 options bt87x index=-2 options cx88_alsa index=-2 options saa7134-alsa index=-2 options snd-atiixp-modem index=-2 options snd-intel8x0m index=-2 options snd-via82xx-modem index=-2 options snd-usb-audio index=-2 options snd-usb-caiaq index=-2 options snd-usb-ua101 index=-2 options snd-usb-us122l index=-2 options snd-usb-usx2y index=-2 # Ubuntu #62691, enable MPU for snd-cmipci options snd-cmipci mpu_port=0x330 fm_port=0x388 # Keep snd-pcsp from being loaded as first soundcard options snd-pcsp index=-2 # Keep snd-usb-audio from beeing loaded as first soundcard options snd-usb-audio index=-2   This is my hardware:  pouria@pouria-pc:~$ sudo lspci -knn | grep Audio -A3 00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-LP HD Audio [8086:9d71] (rev 21)     Subsystem: Lenovo Sunrise Point-LP HD Audio [17aa:380d]     Kernel driver in use: snd_hda_intel     Kernel modules: snd_hda_intel 00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-LP SMBus [8086:9d23] (rev 21)   I just upgraded my kernel but didn't have any effect  pouria@pouria-pc:~$ uname -r 5.7.0-050700-generic   UPDATE:  I asked the question  with no details (nor bounties), surprisingly some guy answered that gave me a clue.  In vokoscreen if I set the recording option to Pulse it doesn't record anything but when the recording option is set to Alsa it recrods.  So now I know Alsa is fine but PulseAudio is messing it up. Now please help me with PulseAudio.


Please advise if 'Seldom I am wrong' correct or wrong?

Wrong Sentence:     Never before in the history of the world such a thing has happened, I don't think that will ever happen again.   Right sentence:     Never Before in the history of the world has such a thing happened, I don't think that will ever happen again.   Why “has such a thing happened” is the right form, and why can't I use such a thing has happened?


I have 1900 files that I'd like to edit their name. The files contain the title of the file but also have unneeded characters that I'd like to remove. For example, one file might be titled Hello [U].txt.   Another might be Bye [U].txt. Is there a program that can remove that [U]?   Thanks!

I've got a bunch of files named with a the pattern 99 - DescriptiveName.txt and I'd like to remove the number from the front so I just have DescriptiveName.txt.  How can I do this? Can I do it from the command line or is there a utility that can do this?


Good morning stackoverflow lovers :) i wrote my Sqlite class , but there is an error  "Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.database.sqlite.SQLiteDatabase.execSQL(java.lang.String)' on a null object reference"  I know it is because (db) is null , but i already gave it a value of getWritableDatabase() and here is my code      public class sqlite extends SQLiteOpenHelper{     public SQLiteDatabase db;     public sqlite(Context context , String db_name , int db_version){     super(context, db_name, null, db_version, null);     this.db=db();     }      public SQLiteDatabase db(){        if(this.db==null){try{this.db=getWritableDatabase();}catch(Exception e){this.db=getReadableDatabase();}}        return this.db;    }     public void test(table){         db.execSQL("CREATE TABLE IF NOT EXISTS "+table); ***//ERROR db is null , why????***  } }

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


Is there a simple way to remove special characters (such as é, É, à, ç etc.) from a given string, via a command \removeSpecialCharacters{...}? More precisely I would like to remove all characters but a...zA...Z0...9 and, if possible, replace the accented characters by the non-accented characters.

I want to define a command that will take a name and create a readable string from it, that can be used as a filename. Something like  John Doe -> doe-john.  However, I want to avoid special characters, i.e. replace non-ascii characters by their ascii equivalent. That is, I need a macro that will remove accents and replace some special letters, e.g.  æüßéñ -> aeuessen.  Is there a way to do this in LaTeX with reasonable effort?


Tensor products can sometimes be decomposed. For example $$2\otimes 2 = 3 \oplus 1$$ $$4\otimes 3 = 6\oplus 4\oplus 2$$  Where the numbers represent the dimension of a representation of $SU(2)$ (I think) and so are equal to $2j+1$. I don't understand how this was done, and most internet resources use mathematical notation that is too complicated for me. I can see that multiplying the two on the LHS gives the same number as adding on the RHS, but I don't know how to find the numbers for the RHS. Thanks for any help!

I am familiar with the interpretation of the irreducible representations (finite dimensional) of $SU(2)$ in terms of homogeneous polynomials of degree $n$.   If I take two of these irreducible representations, say $\rho_{i}$ and $\rho_{j}$ of dimensions $i+1$ and $j+1$ respectively, and take their product $\rho_{i}\rho_{j}$, the resulting representation will be the direct sum of other $\rho_{k}$'s. For a fixed $k$, how do I calculate the multiplicity of $\rho_{k}$ as a summand in the product representation in terms of $i$ and $j$?


I'm reading about the notion of interned strings:  String s1 = "Hi"; String s2 = "Hi"; String s3 = new String("Hi"); System.out.println(s1 == s2); // true System.out.println(s1 == s3); // false System.out.println(s1.equals(s3)); //true   String is an object in Java, but the compiler allows us to use a literal for assigning to a String reference variable, instead of requiring us to use the new operator, because of the ubiquity of strings in programming. The use of the literal for assignments creates an interned string. All interned strings with the same literal point to the same space in memory, thus the equivalent operator is permitted.  It got me wondering, however: would it not be more proper to use the equals() method to compare two string reference variables, given that in Java strings are objects (and not arrays like in other languages) and the contents of objects should be compared using equals(), as the == operator in regards to objects only tells us that they point to the same spot in memory?  Or is it not more proper because the very concept of interned strings makes it clear that one String can only be equivalent (==) to another string if they share the same literal?  If it is more proper, do people commonly use the equals() method regardless, or is it considered overkill?

I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.  Is == bad? When should it and should it not be used? What's the difference?


Since I've found similar threads (, ) but are not helpful to my issues, I'm opening up a new question.  Occassionally when I run apt-get, I get:  The following packages were automatically installed and are no longer required: :   (list of packages)   This occurs often with the packages that I heavily use. However, because they are not used by the OS, the error message itself makes sense if required means OS is the one used to require those packages.   How can I stop this to happen / let OS know that I need these packages?  Since there ARE cases when this notification is actually useful (eg. packages that OS used to require are no longer in need AND I do not used them too), I prefer solution/workaround that allows case-by-case setting.  apt 0.8.16~exp12ubuntu10.11

Say I install package A, which depends on package B. Then I remove A.  Now apt-get autoremove wants to remove B, but I want to keep it. How do I "pin down" B so that the system acts as if I installed B myself?  I come from Gentoo, where the solution would be to add B to my world file. What's the Debian/Ubuntu equivalent?


Fish and meat gives us protein.  Or  Fish and meat give us protein.  Thank you I appreciate your help.

I was surfing the internet the other day when I found this phrase: Instead your precious time and attention is wasted. To my ears, it sounds wrong. But I'm not a native English speaker, so I consulted with a number of them, and some of them said that it was "is" because the adjective modifies only the noun "time" and not "attention". Others said it "is" because that's just how it is. But I still believe it should be "are". Any help is appreciated.


I flagged this question:  with a note:     Should this not be moved to codegolf? It is that type of question...   And I got the response:     declined - Too old to migrate.   What does that mean? CodeGolf did not exist when this question was posted, and now it does, so it should be migrated  We have done this before countless times, especially with many questions which used to be on Stack Overflow and now are here on meta.  As shown by the selected answer here: , We should be migrating old questions.

This has come up    : migrating old questions causes problems.   The most popular solution to this to date has been to . This is do-able, but frankly it feels like treating a symptom, and doing so in a way that penalizes folks who answer what are by all appearances valid, on-topic questions.   Migration works best as a way to salvage good but off-topic questions and give them new life on a site where they can thrive. But shuffling old, answered, on-topic questions around for the hell of it is a waste of everyone's time.   Therefore, I think the real solution is much simpler: just disable the migration of old questions. They're rarely welcomed or heavily improved post-migration, often overtly disliked by folks on the destination site, and can end up causing a rather bad experience for folks who were participating in good faith on the original.   I suggest that questions older than 601 days should not be eligible for migration, either by normal user close-votes or by moderators. In extreme cases, we can perhaps provide an alternate means of moving old questions, but under normal circumstances these should be done quickly or not at all.   1 60 days is actually based on a  introduced this past spring: migrated and then rejected questions older than 60 days cause the authors to suddenly gain (permanent) reputation on the destination.


Ok a brief background.  I'm trying out various ways to test an API and I'm trying to allow a user to provide a simple CSV file of a API calls that my test framework can iterate over using a generic test method.  I'm having trouble passing the type  to my generic API call method.  Allow me to demonstrate.  Given I have a method with the following basic structure  public T GetData<T>(Uri uri, HttpStatusCode expectedStatusCode) {         var myHttpWebRequest = (HttpWebRequest)WebRequest.Create(uri);         myHttpWebRequest.Accept = "application/json";         var response = (HttpWebResponse)myHttpWebRequest.GetResponse();          if (response.StatusCode != expectedStatusCode)             Report.Log(ReportLevel.Failure, "ExpectedResponseCode:" + expectedStatusCode.ToString() + " ActualResponseCode:" + response.StatusCode.ToString());          string responseString = "";          using (var stream = response.GetResponseStream())         {             var reader = new StreamReader(stream, Encoding.UTF8);             responseString = reader.ReadToEnd();         }          return JsonConvert.DeserializeObject<T>(responseString);     }   I can call the above as follows without issue  Person person = _apiHelper.GetData<Person>(uri, HttpStatusCode.Ok);   However assume I now have a Type that I have acquired as follows  Type returnType = Type.GetType(typeString, true, true);   why can I not call the GetData method as follows  var result = _apiHelper.GetData<returnType>(uri, HttpStatusCode.Ok);   Visual studio simply says it cant resolve the symbol

What's the best way to call a generic method when the type parameter isn't known at compile time, but instead is obtained dynamically at runtime?  Consider the following sample code - inside the Example() method, what's the most concise way to invoke GenericMethod<T>() using the Type stored in the myType variable?  public class Sample {     public void Example(string typeName)     {         Type myType = FindType(typeName);          // What goes here to call GenericMethod<T>()?         GenericMethod<myType>(); // This doesn't work          // What changes to call StaticMethod<T>()?         Sample.StaticMethod<myType>(); // This also doesn't work     }      public void GenericMethod<T>()     {         // ...     }      public static void StaticMethod<T>()     {         //...     } }


I have a Java server process which runs native code and the possibility of the entire process crashing due to a problem in native code is always there. Is there any mechanism offered by *nix operating systems wherein I can make the process re-spawn itself when it exists abnormally (exit status != 0)?  Is there any tool/utility out there which can automate this task for any kind of process by providing a certain level of control/configuration at the same time?

I have a job that I would like to "daemonize" on Unix: I want it to come up when the computer boots, and I want it to restart if it goes down.  A simple way to do this is to setup a cronjob that runs every 10 or 20 minutes. The cronjob should restart the application if it's not already running.  How do I write this last part of the script: "If the job is not currently running, then start the job"?


In the Stack Exchange Android app I tried to flag a question as a better fit for another site. However, I only got the meta site of the current site, Stack Overflow, Super User and Server Fault to choose from. It would've been a great fit on Unix/Linux, but Server Fault kind of worked too.  Is this four-sites limit intentional? Does it have anything to do with my reputation points?  (Tagged as bug because that was the only thing I was quick enough to read before the error message disappeared. And then I got stuck on the rate limit when I clicked again. Please retag.)

Earlier, I voted to close  as off-topic.  The question has since been closed.  There is an , but it didn't show up in the list when I selected "off-topic".  The options were:   Meta Stack Overflow Server Fault Super User Webmasters Programmers   Questions:   Should Wordpress appear in this list? Are there any other sites that should appear in the list?   Should all non-beta sites appear in that list by default?


I've always wondered this but never asked. Given this statement:     Energy can be neither created nor destroyed.   Should it be or or nor? This is on Wikipedia so they are probably correct in saying nor but why is this so? In my opinion it sounds like it should be or.  The more I think of it the more I think it can be left up to interpretation or emphasis. For example, it could be interpreted to mean:     Energy = ¬Created ∨ ¬Destroyed   or     Energy = ¬(Created ∨ Destroyed)   Some help here?

Given these facts:   The tool cannot be found in the kitchen. The tool cannot be found in the bathroom.   Which is the correct sentence to represent the situation above?        I can find the tool neither in the kitchen nor in the bathroom.   I cannot find the tool neither in the kitchen nor in the bathroom.   I cannot find the tool, neither in the kitchen nor in the bathroom.


As part of a larger trip my last two flights are DFW-LHR and LHR-AMS. However, I would be a lot faster, if I skip the last leg and book an extra flight from London to my final destination.  My question: Can I run into problems, if the additional flight is with the same airline, which I have my original reservation with. If they checked, the would see, that I booked two different flights at almost the exact same time.  The original booking was an error fare, so trying to change it, is probably not the best idea either. Can anyone provide me with some ideas or recommendations?

Say I want to book a flight from Fort Lauderdale to Chicago.  Say the airline also flies to St. Louis from Fort Launderdale but has a connecting flight through Chicago.  If I book that flights from FLL->ORD->STL and just get off in Chicago, what possible problems can I run into, assuming I didn't check any bags and only have carry on?  This scenario exist for Southwest, but I wanted this be more of a general question that would apply to all airlines.


I'm a beginner with adobe illustrator and for a project we need to split letters(A,B,C..) in many pieces because we need it for an application, and I did that using shape builder tool, pathfinder-divide, knife tool etc but when I save it as SVG(we need it like that) the shapes have a bit space in borders(like a white line). Does anybody know how can I divide without those lines or hide them?

I converted a raster image to vector in Illustrator CS6 using Image Trace then the Expand option, though when I save as an svg the image looks embossed. I suspect it's due to the layer background being white and the paths not lining up, but I'm unsure how to fix it or prove that theory without manually having to adjust every path.   This is how it looks in Illustrator before I export it:    The image looks like this when saved/exported with art optimized option:


I want the table to fit the available horizontal space. How to fix this problem?  \documentclass[12pt]{article} \usepackage[a4paper,hmargin=1cm,landscape,includemp,showframe]{geometry} \usepackage{array} \usepackage{xcolor} \usepackage{helvet} \pagestyle{empty}  \begin{document}  \begin{center}     \Huge\bfseries Mathematics and Physics Schedule \end{center}  \noindent \begin{tabular}{|>{\centering\arraybackslash}m{25mm}|*5{>{\centering\arraybackslash}m{\dimexpr\dimexpr\textwidth-25mm\relax/5\relax}|}}\hline Time & Monday & Tuesday & Wednesday & Thursday & Friday \\\hline 16:00-16:30 &&&&&\\\hline 16:30-17:00 &&&&&\\\hline 17:00-17:30 &&&&&\\\hline 17:30-18:00 &&&&&\\\hline 18:00-18:30 &&&&&\\\hline 18:30-19:00 &&&&&\\\hline \end{tabular}  \end{document}

I want to have my tables fill the entire width of the page (i.e., \textwidth). So far, the only thing I've managed to come up with is:  \renewcommand{\tabcolsep}{4.4pt}   By manually trying different values, I can eventually get the table to spread out and fill the space. However, this is tedious as I have a lot of tables.  I tried the tabularx package:  \begin{tabularx}{\columnwidth}{ r r r r r r r } \toprule & $z_{6}$ & $z_{8}$ & $z_{9}$ & $z_{11}$ & $z_{13}$ & $z_{14}$ \\ \midrule fileA & 0.00 & 0.00 & 0.00 & 0.08 & 0.79 & 0.08  \\ fileB & 0.01 & 0.00 & 0.13 & 0.00 & 0.84 & 0.00  \\ fileC & 0.00 & 0.39 & 0.02 & 0.49 & 0.00 & 0.00  \\ fileD & 0.75 & 0.08 & 0.00 & 0.00 & 0.00 & 0.00  \\ \bottomrule                              \end{tabularx}   However, this still relies on the \tabcolsep value. (If the value is small, all the columns will still be close; if it's large, the columns will be more spread out.) What I'm looking for is an automatic solution for two things:   the table to take the entire width of the page; and each column to be evenly spaced along the horizontal.   tabularx only does (1). How can I get (2)?


I'm looking for advice on how to determine which of my children is lying.  I have 4 kids, 12, 12, 8, 6.  About once a week, something bad will happen, (this last incident, somebody poured a bowl of cereal with milk and left it on the table uneaten).  When I ask who did that, all of them swear it wasn't them.  I try to ask them individually (looking for signs of lying like staring away from me when answering) I get nowhere fast.  Unfortunately, they usually win and have found lying is effective since I'm not a truth detector.  What am I missing here?

I'm trying to get my kids to be honest and take responsibility.   I'm seeing a repeated pattern where one or both of my kids will lie to get out of trouble. They're starting to see that they can deny responsiblity.   Our current system of reward involves a marble jar, where the family will go out for a collective treat. When this stuff happens we take marbles out of the jar as a joint penalty.   This seems to be decreasing in effectiveness.   My question is: What do I do when I walk into a room with a broken item and both children shrug their shoulders and say "Wasn't me"?  Clarification: Kids are girl: 5 and boy: 4. Cultural context is Australian middle class with two university educated parents.


It is a little observation i did when i was boiling the water.   what i observe is that when i turned off the stove on which the water was boiling i could see more steam coming out from it  than the steam which was coming before the stove was turned off i.e. the amount of steam coming out per second was more  when the flames which waere giving heat to the water is turned off   Why is that so?

I have a pot of vigorously boiling water on a gas stove. There's some steam, but not alot. When I turn off the gas, the boiling immediately subsides, and a huge waft of steam comes out. This is followed by a steady output of steam that's greater than the amount of steam it was producing while it was actually boiling.   Why is there more steam after boiling than during boiling? Also, what's with the burst of steam when it stops boiling?


I am getting the following error:  *E/AndroidRuntime: FATAL EXCEPTION: main      Process: xxx.mxxxa.xxx, PID: 10610     java.lang.NullPointerException: Attempt to invoke virtual method 'boolean    java.lang.String.contains(java.lang.CharSequence)' on a null object reference*    on the following lines:  public void onLoadResource (WebView view, String url) {                  if (datingView.getUrl().contains("messages.php") && datingView.getUrl().contains("messages.php" +                         "")){                     bannerReklam.setVisibility(View.GONE);                 }else if (datingView.getUrl().contains("upgrade.php") && datingView.getUrl().contains("upgrade.php" +                         "")){                     bannerReklam.setVisibility(View.GONE);                 }else if (datingView.getUrl().contains("index.php") && datingView.getUrl().contains("index.php" +                         "")){                     bannerReklam.setVisibility(View.GONE);                 }else if (datingView.getUrl().contains("join.php") && datingView.getUrl().contains("join.php" +                         "") ){                     bannerReklam.setVisibility(View.GONE);                  }else{                      bannerReklam.setVisibility(View.VISIBLE);                 }                  // if url contains string androidexample                 // Then show progress  Dialog                 if (progressDialog == null && url.contains("instasquare")                         ) {                      // in standard case YourActivity.this                     progressDialog = new ProgressDialog(arkadasBulMain.this);                     progressDialog.setMessage("Loading...");                     progressDialog.show();                 }             }   This problem causes the application to stop. This error occurs for versions below android 9.0.

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


I was reading this today:  We look forward to following your progress.  Am I correct in thinking that it is missing a be or that -ing should be removed?  So  We look forward to be following your progress.  or  We look forward to follow your progress.  Interestingly I get the same jarring feeling when reading the examples here

Some verbs are followed by ing, e.g. I enjoy swimming. We can't say I enjoy to swim. Likewise, some verbs are followed by to, e.g. I decided to make a plan.   Which particular verbs are followed by ing and to? Can you please provide a list for that?  Moreover, which verbs can be followed by both without having the meaning changed?


I am having an issue displaying the shortcode in the correct location when using a display child pages query.   Can someone fix this for me? Thank you!        function show_product_pages() {  global $post; $child_pages_query_args = array(     'post_type'   => 'page',     'post_parent' => $post->ID,  ); $child_pages = new WP_Query( $child_pages_query_args );  if ( $child_pages->have_posts() ) : ?>
 <?php  while ( $child_pages->have_posts() ) : $child_pages->the_post();     ?>
             <a href="<?php the_permalink(); ?>">
<?php the_post_thumbnail(array(240, 240)); ?>

<?php the_title(); ?>

<?php the_content($post->ID); ?>
             <a class="cta-link" href="<?php the_permalink(); ?>">Learn More
 <?php endwhile; ?>
 <?php endif; wp_reset_postdata(); } add_shortcode('show_product_pages', 'show_product_pages');

The shortcode produced by this function - a list of all sites in a multisite - outputs above the content in the loop, no matter where it is placed in the editor.  I've looked at the other related questions and answers on WPSE and realize that it has to do with the function using echo instead of return, but it's not as easy as replacing the instances of echo with return in the function below. Or adding echo=0 with a WP function like wp_list_pages()  Any ideas? Where is the function that needs to be returned instead of echoed?  // Output a single menu item function projects_menu_entry($id, $title, $link_self) {     global $blog_id;     if ($link_self || $id != $blog_id) {         echo '
';         if ($id == $blog_id) {             echo '';         }         $url = get_home_url($id);         if (substr($url, -1) != '/') {             // Note: I added a "/" to the end of the URL because WordPress             // wasn't doing that automatically in v3.0.4             $url .= '/';         }         echo '' . $title . '';         if ($id == $blog_id) {             echo '';         }         echo '
';     } }  // Output the whole menu // If $link_self is false, skip the current site - used to display the menu on the homepage function projects_menu($link_self = true) {     global $wpdb;      echo '
';      projects_menu_entry(1, 'Home', $link_self);      $blogs = $wpdb->get_results("         SELECT blog_id         FROM {$wpdb->blogs}         WHERE site_id = '{$wpdb->siteid}'         AND spam = '0'         AND deleted = '0'         AND archived = '0'         AND blog_id != 1     ");      $sites = array();     foreach ($blogs as $blog) {         $sites[$blog->blog_id] = get_blog_option($blog->blog_id, 'blogname');     }      natsort($sites);     foreach ($sites as $blog_id => $blog_title) {         projects_menu_entry($blog_id, $blog_title, $link_self);     }     echo '
'; }  // Adds a [bloglist] shortcode  function bloglist_shortcode($atts) {     projects_menu(false); }  add_shortcode('bloglist', 'bloglist_shortcode');


I have a problem with my Java Game. When i want to export it, it wont load the World. I'll get an "Thread - 0" Exception. This is my function:      private void loadWorld(String path){     String file = World.class.getResourceAsStream(path).toString();     file.toString();     String[] tokens = file.split("\\s+");     width = Utils.parseInt(tokens[0]);     height = Utils.parseInt(tokens[1]);     spawnX = Utils.parseInt(tokens[2]);     spawnY = Utils.parseInt(tokens[3]);      tiles = new int[width][height];     for(int y = 0;y < height;y++){         for(int x = 0;x < width;x++){             tiles[x][y] = Utils.parseInt(tokens[(x + y * width) + 4]);         }     } }   It needs to be loaded as a String since i need to split every String from it into an Array. What is the proper way to manage this?  EDIT: This is the Stack Trace:   C:\Users\User>java -jar C:\Users\User\Desktop\Game.jar Exception in thread "Thread-0" java.lang.NullPointerException     at dev.codenmore.tilegame.worlds.World.loadWorld(World.java:76)     at dev.codenmore.tilegame.worlds.World.<init>(World.java:36)     at dev.codenmore.tilegame.states.GameState.<init>(GameState.java:14)     at dev.codenmore.tilegame.Game.init(Game.java:61)     at dev.codenmore.tilegame.Game.run(Game.java:94)     at java.lang.Thread.run(Unknown Source)


We just realized that our garage refrigerator/freezer was not on. The eggs are still cold to the touch but the vegetables, rice w/shrimp and meatballs in the freezer are not frozen but still cold. The ice cream is mostly melted. This tells us that the frig hasn't been off for a long time but we don't know for how long. Should we throww all the frozen foods away? Or would it be safe to cook everything instead.

We were on vacation for a week. The neighbor said we were out of power the whole time.  We have a chest freezer full of beef. It thawed but remained in the freezer unopened the whole time. Is the meat bad if it is thawed but still cold? Can we refreeze it and eat it?


Since I updated from Ubuntu 18.04 to 20.04, autocomplete with environmental variables do not work. If I type: ls $HOME<tab>  I get what I want, but if I add a /: ls $HOME/<tab>  it autocomplete it to: ls \$HOME/  Where it stops showing what it's on the folder. What can I do to stop this behavior?

I have this on the command line:    ln -sf $PWD/wine-   and then I hit Tab to complete the filename.  In earlier versions of Ubuntu, this worked just fine to complete the wine- filename (and as a side-effect $PWD would be expanded at that time).  But now it turns it in to  ln -sf \$PWD/wine-   which isn't what I meant at all and doesn't complete anything as the file does not literally start with $.  How do I get completion back to the less broken behaviour?  set tells me these are my current settings:  BASHOPTS=checkwinsize:cmdhist:expand_aliases:extquote:force_fignore:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor


I am using a long poll script from , which working well.  In this script they used a text file for get new data.   Question 1: How to use update.php instant data.txt in this server.php file to get data?  Question 2: Is my update.php file have right format to show data?  //I was tried this in server.php file but not show anything $data_source_file = 'update.php';   server.php  set_time_limit(0);  $data_source_file = 'data.txt';  while (true) {  // if ajax request has send a timestamp, then $last_ajax_call = timestamp, else  $last_ajax_call = null $last_ajax_call = isset($_GET['timestamp']) ? (int)$_GET['timestamp'] : null;  // PHP caches file data, like requesting the size of a file, by default.   clearstatcache() clears that cache clearstatcache();  $last_change_in_data_file = filemtime($data_source_file);  if ($last_ajax_call == null || $last_change_in_data_file > $last_ajax_call) {      // get content of data.txt     $data = file_get_contents($data_source_file);      // put data.txt's content and timestamp of last data.txt change into array     $result = array(         'data_from_file' => $data,         'timestamp' => $last_change_in_data_file     );      $json = json_encode($result);     echo $json;      break;      } else {         // wait for 1 sec (not very sexy as this blocks the PHP/Apache process, but that's how it goes)         sleep( 1 );         continue;     } }   update.php  $u = mysqli_query($dbh,"SELECT * FROM updateside WHERE `parent_id`='".$parent."' AND `created` > '".$timestamp."' ORDER BY created DESC") or die(mysqli_error($dbh)); while ($row = mysqli_fetch_array($u)) { $parent_id = $row['parent_id']; $sub = $row['sub']; $detail = $row['detail'];  echo '
 // All result of above query Subject:'.$sub.'
 Detail: '.$detail.'
'; }   Clint.js      function getContent(timestamp) {     var queryString = {'timestamp' : timestamp};      $.ajax(         {         type: 'GET',         url: 'http://myweb.com/server/server.php',         data: queryString,         success: function(data){             // put result data into "obj"             var obj = jQuery.parseJSON(data);             // put the data_from_file into #response             $('#response').html(obj.data_from_file);             // call the function again, this time with the timestamp we just got from server.php             getContent(obj.timestamp);             }         }     ); }  // initialize jQuery $(function() { getContent(); });

I can find lots of information on how Long Polling works (For example, , and ), but no simple examples of how to implement this in code.  All I can find is , which relies on the Dojo JS framework, and a fairly complex server system..  Basically, how would I use Apache to serve the requests, and how would I write a simple script (say, in PHP) which would "long-poll" the server for new messages?  The example doesn't have to be scaleable, secure or complete, it just needs to work!


I have a 18.04.3 server set up running an OpenVPN server. This machine has fairly limited RAM since it is running on a virtual host with other servers. This machine is soley dedicated to VPN and is an important service for my work.  I noticed lots of snapd processes taking up much of the RAM. Is it safe to uninstall (or event just stop the processes) snapd to gain back this precious resource?

I've been running out of memory on some of my small-footprint Ubuntu appliances.  I noticed that snapd was running and using lots and lots of RAM. I took a chance and stopped the snapd service and things are still functioning, but I'm wondering if my machine is going to reboot properly. What I want to know is, are there core services in a generic install of Ubuntu 16.04 server that require snaps to function? Also, what are all the services that I need to disable with systemctl to get rid of snapd?


Good evening everybody, excuse me for such question, but i totally dont understand how to use .bib file for references in article, can somebody explain me step by step moves, how to include the file so that my WINEDT will see it and use it ? How to create bib file properly. Which folder should i put it ? Thank you

I just started LaTeX, so I have a very vague idea how to operate it. I am now trying to make a bibliography. From what I understood, I need a .bib document, which I then will insert with \bibliography{}. My question is, how can I make a .bib file? I have an OpenOffice document that I'd like to use. Browsing a bit on the internet, there seems to exist a possibility to convert .bib files into other types, but I haven't found the right conversion. On bibtex.org the converter is disabled.  I have a feeling I'm doing something very wrong, can someone please help?


why do we not define P on the power set of $\Omega$, which is equivalent to declaring that all sets are measurable. Even if $\Omega$ is uncountable, it's sigma-algebra and power set would also be- then how do we conclude that only the elements in sigma-algebra are measurable, while others are not

We have a random experiment with different outcomes forming the sample space $\Omega,$ on which we look with interest at certain patterns, called events $\mathscr{F}.$ Sigma-algebras (or sigma-fields) are made up of events to which a probability measure $\mathbb{P}$ can be assigned. Certain properties are fulfilled, including the inclusion of the null set $\varnothing$ and the entire sample space, and an algebra that describes unions and intersections with Venn diagrams.  Probability is defined as a function between the $\sigma$-algebra and the interval $[0,1]$.  Altogether, the triple $(\Omega, \mathscr{F}, \mathbb{P})$ forms a probability space.  Could someone explain in plain English why the probability edifice would collapse if we didn't have a $\sigma$-algebra? They are just wedged in the middle with that impossibly calligraphic "F". I trust they are necessary; I see that an event is different from an outcome, but what would go awry without a $\sigma$-algebras?     The question is: In what type of probability problems the definition of a probability space including a $\sigma$-algebra becomes a necessity?       provides a plain English accessible explanation. The idea is a spinning pointer rotating counterclockwise on a circle of unit perimeter:       We begin by constructing a spinner, which consists of a circle of unit   circumference and a pointer as shown in [the] Figure. We pick a point   on the circle and label it $0$, and then label every other point on the   circle with the distance, say $x$, from $0$ to that point, measured   counterclockwise. The  experiment  consists  of spinning the pointer and    recording the label of the point at the tip of the pointer. We let the random   variable $X$ denote the value of this outcome.  The sample space is   clearly the interval $[0,1)$.  We would like to construct a   probability model in which each outcome is equally likely to occur. If   we proceed as we did [...] for experiments with a finite number of   possible outcomes,  then we must assign the probability $0$ to each   outcome,  since otherwise,  the  sum  of  the  probabilities,  over    all  of  the  possible  outcomes,  would not equal 1.  (In fact,   summing an uncountable number of real numbers is a tricky business;    in  particular,  in  order  for  such  a  sum  to  have  any  meaning,   at  most countably many of the summands can be different than $0$.)    However, if all of the assigned probabilities are $0$, then the sum is   $0$, not $1$, as it should be.   So if we assigned to each point any probability, and given that there is an (uncountably) infinity number of points, their sum would add up to $> 1$.


I have to delete (not inactive) a trigger from Production.  I have gone through this link already    Mohith has mentioned that we have to set the Status as "Deleted"  But as per this Salesforce link     We will be able to set the status as only "Inactive" for triggers and "Deleted" for Apex classes.  So how will I be able to delete an apex trigger ?

I cannot install Eclipse, even if I wanted to.  It is not approved software for my org.  How can test classes be deleted from production, using deployments? There no 'active' checkbox when I am editing the classes in sandbox mode, so I can't just deactivate the test class, and i cant deploy a deleted class to prod...  how the heck is this done?  I dont want to use ANT or special software.  SF must have a native way to achieve this.  And if not...  then I am very disappointed in humanity.


In SQL Server one of the table, date column of datatype timestamp showing 0x0000000004C05C6E,I want to convert to date format. Can anyone help me to brief about this timestamp?

I need a select from table which does not have column that tells when row was inserted, only timestamp column (values like: 0x0000000000530278). Some data was imported to the table yesterday and now I need to find out what exactly was imported :(  Is there a way to do it using only timestamp info?  I found that:   Timestamp is a 8 bytes sequential Hex number, that has nothing to do with neither the date nor the time. To get the current value of timestamp, use: @@DBTS.   Perhaps there is a way to find what was timestamp value around specific time? That would help to form a select. Or maybe there is a well known solution?


So basically my client wants to make a custom whooping 280m print that i think is being used for the floor. I dont know how this works (if its with a sticker or something) but its basically a walkable monopoly board. I made it on photoshop as 280 m x 280 m with 200 dpi is this right?

(This question is meant to be a resource to direct others to given that this is a common question.)  Given the task of creating an image that will be printed at a certain size, what pixel dimensions and resolution should I be setting my file at?


I often create long screen-recordings of myself explaining code.  When scrolling text, the movement must be smooth enough. When static, the edges of text must be crisp for legibility.  I tried using CRF (Constant Rate Factor) but the trade-off space does not get me the size compression I believe is possible.  I'd be particularly interested in an encoder that could be "motion-aware".  e.g. if the video is static, don't store any information. But if there is movement in the video, start storing frames etc. There is a  in the new version, but it looks like its for notifications only.  Does anyone have any good encoders (or settings) they can recommend?  Thanks

I need to convert a set of still images (static cameras pointed at a road) to a video.  I have considered video codecs such as Theora, H.264, VP8, VP9, HEVC, Snow.   The video should have a minimum size with the maximum image quality. Now, from all available command-line arguments, I'm using framerate (fps), b:v (bitrate) and s (width*height). Also, for H.264 and HEVC there are -crf and -preset.  What other command-line arguments can be useful to achieve what I'm after? In ffmpeg dozens of command-line arguments and parsing each can take a long time.


I was reading some posts earlier today on our sister site Worldbuilding.  In particular  which discussed how an empire could communicate between cities/communities remotely.  The question jogged a very faint memory of a story that I read around 10-15 years ago which had a similar system in use as a minor part of the plot.  I know that the story I read is not from Terry Pratchett or the other authors noted in the comments, therefore I'm hoping that you guys can help me out on this.  What I remember:   The book was a novel but a slim paperback book, maybe 200 - 275 pages.  A semaphore system using a kind of "morse code" was used to keep the communities of this story up to date with news, events, and possibly attacks from raiders. The semaphore was I think usable in both daylight and darkness via using white coloured markers (during the day) or lanterns (at night).  The communities were separated but close to each other (possibly separated by water.) The communities were low level technology, I don't recall any machines in the story. There was a main protagonist and I recall that he went on a "quest" but I can't recall why. The very vague recollections of the story would I think date the writing to late 1950's or 1960's.  No details come to mind on the cover I'm afraid on this one.

I read a book a while ago ( read many years, maybe a decade ago, it was at least 20 years old then) about a watery planet ruled over by a monstrous overlord sea monster thing.   The hero rallies some of the floating villages to fight the monster and they make iron weaponry out of iron from blood as far as I can remember.   Beyond this I can't remember much about the book, but I'm sure at least one other person out there must have read it.  Edit for more potential details: I think the village folk were reluctant to trust the hero, he was maybe a stranger to them and a lot of them didn't want to upset the status quo.    The iron weapons were maybe to pierce the hide? A harpoon seems familiar, something to trap him with the aid of nets.


I'm quite new at calculus, how could I prove:  $$2xy ≤ x^2 + y^2$$  I just can end up in $(xy)^{1/2} ≤ (x+y)/2$. And even though I know that this is true too, I don't know how to prove it either. Thank you in advance :D

How can I prove that $xy\leq x^2+y^2$ for all $x,y\in\mathbb{R}$ ?


I was solving a question that said that I have to prove that the intersection of arbitrary family of rings is a ring. I have looked through the chapter and I have googled it but I cannot find a definition. I am assuming it means that two rings that have something in common because as I understand if the intersection is empty then it cannot be a ring. If anyone has any feedback that would be really appreciated.

If $R_1$ and $R_2$ are both subrings of $R$ , how to prove that $R_1 \cap  R_2$ is also a subring of $R$.  here is my attempt  (1)Since $R_1$ is a subring of $R$ then it must contain zero (identity with respect to addition) same thing for $R_2$ and so $R_1 \cap R_2$ must have at least zero so it is nonempty.  (2)Now how to prove that if $x,y \in R_1 \cap R_2$ then $x-y \in R_1 \cap R_2$ and $xy \in R_1 \cap R_2$ how can we guarantee that?


> proxychains skype > ProxyChains-3.1 (http://proxychains.sf.net) > ERROR: ld.so: object 'libproxychains.so.3' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.   I am using proxychains on Ubuntu 15.10 an have googled this issue many times and cannot find it. The problem is that skype is a 32bit application and proxychains is installed as a 64bit, so it isn't able to work with skype. I have googled this issue and found no legitimate solutions.   EDIT: not only does it not work for skype, but there are other applications as well that I have that are 32bit that it doesn't work with.  I also tried googling how to run a 32bit program on Ubuntu 15.10. To be clear, I do not just need to run it, it has to be ran as a 32bit and the libraries need to be downloaded as 32bit. Since i am on 64bit and proxychains is 64bit it already runs, just not with skype. Does anyone know I can fix this and get it working without the LD_PRELOAD error?

I installed Ubuntu 14.04 and the current Android development SDK, which contains 32-bit executables. I found that I cannot run those 32-bit binaries. Trying to start them from bash gives me an error: $ ./adb bash: ./adb: No such file or directory  It is there though: $ ls -al ./adb -rwxrwxrwx 1 thomas thomas 1231255 Jan 17 13:31 ./adb $ file ./adb ./adb: ELF 32-bit LSB  executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, not stripped.   Same symptom for all the other 32-bit tools in the Android SDK. In olden days one could just install 32-bit libraries on 64-bit Ubuntu to get 32-bit support, but that does not seem to work anymore. How do I run 32-bit apps on a 64-bit Ubuntu distribution?


As you can see above, there is a blue border/focus/highlight or whatever you want to call it around the application. It also effects things like textboxes, buttons, and overall the border goes around everything.  I'd like to remove that blue border, regardless of what color it is.  Please don't say to turn off narrator, because that's not the issue I'm talking about. It's the color around the application.  Edit: I'm not trying to change the color. Im trying to make it borderless. Like transparent.

Since updating to the windows 10 anniversary I now have these strange lines of pink around every windows that isn't maximised.I found on Reddit that someone else is having the same issue as me, but there have been no replies to their problem, just wondering if anyone else is experiencing the same problem?   As you can see, I'm downloading the ATI 5650m graphics driver for Windows 10 to see if this fixes my annoying problem.


I have had a lot of trouble to be able to solve the following problem: Show that $SU (2, \mathbb{C})$ is homeomorphic to the unit sphere $\mathbb{S}^  3 = \{x = (x_1, x_2, x_3, x_4) \in \mathbb{R}^4:||x|| = 1\}$. Note $SU (2, \mathbb{C})$ Is the group of unit matrices $A$ of $2 × 2$ with coefficients in $\mathbb{C}$, such that $A^∗ = A^{−1}$ , here $A^∗$ denotes the conjugate matrix transposed of $A$. We highlight that ||·|| denotes the standard Euclidean norm. somebody could help me?

Michael Artin's book on algebra  here is a section starting from " $SU_2$  is homeomorphic to the unit 3-sphere  in $R^4$ " and then   compare the $SU_2$ to the unit 3-sphere $x_1^2 + x_2^2 + x_3^2 + x_4^2 = 1 $ I am a bit confused   this unit-3 sphere can't be drawn right? this is a super gemoetry object in my understanding what does the comparison longtitude and latitude to conjugacy classes of $SU_2$ mean on earth What does homeomorphic mean ? I cannot think of it as isomorphic or homomorphic right ?   my understanding here is that by thinking concretely in 3-dimenisonal space, we can understand the structure of $SU_2$ better. can someone help elaborate a little bit ?


What does \; mean in the following command? I’m also not sure what {} means. Is \; really necessary?   find ./ -name file_1 -exec cp {} ./ \;

Sometimes I see a command like  find . -name * -exec ls -a {} \;   I was asked to execute this.  What does {} \; mean here?


From Terminator 3 and Terminator: Salvation, we know that T-800 is powered by two small nuclear power generators (working on hydrogen or something). They depicted it as highly unstable if damaged, thus any damage made to them can lead to a small nuclear explosion. We see them exploding in Terminator 3 and at the end of Terminator: Salvation. So, my question is - why didn’t they explode in Sarah’s face at the end of Terminator 1, when she literally crushed the whole Terminator in a metal press?

I was wondering if there is an explanation why in the final fight scene of T1, there was no explosion? Clearly the hydraulic press completely crushed the terminator unit and this should have compromised the hydrogen fuel cell.    If anything it would result in a explosion like this (picture from the T3 sequel just after terminator threw out the damaged hydrogen fuel cell) and blow up Sarah Conor along with the whole factory.


Suppose I am adjusting distribution $Q$ to make get a best fit for distribution $P$, should I minimize $KL(P||Q)$ or $KL(Q||P)$? What is the difference?    Related question:

I have learned about the intuition behind the KL Divergence as how much a model distribution function differs from the theoretical/true distribution of the data. The source I am reading goes on to say that the intuitive understanding of 'distance' between these two distributions is helpful, but should not be taken literally because for two distributions $P$ and $Q$, the KL Divergence is not symmetric in $P$ and $Q$.   I am not sure how to understand the last statement, or is this where the intuition of 'distance' breaks down?   I would appreciate a simple, but insightful example.


I'm trying to make use of an old Mac Pro with 10.6.8 I had lying around as a wireless home media server, backed up with Time Machine.  I'm just using a standard Huawei router provided to me by my ISP. I've set up file sharing and screen sharing, so that I can access the files on the Mac Pro with my Macbook Pro. But is there a way that I can save power by having my Mac Pro constantly asleep, but wake up automatically when I want to access it from the Macbook Pro? Then go back to sleep once I'm done?  I've ticked the Wake For Access Network on my Mac Pro and Macbook Pro. But that doesn't work. I did some research and saw that you need an Airport or Apple TV with Bonjour Sleep Proxy to get it to work. Is there any way to get it to work with what just the Mac Pro and Macbook Pro?

I want to setup wake-on-demand as described  so I can remote wake up my computer and ssh into it while I am oversea.  My iMac did not have ethernet connection and I want to wake-up it using Wifi.  Thats what I have:  iMac 27-inch, Mid 2011, Software  OS X 10.9.1 (13B42)  AirPortExpress, version 7.6.4  Raspberry-pi  ISP-provided router (Technicolor TG582n)  My Raspberry-pi is always on so it is fine if I need to ssh into it first to wake up my iMac.  I have follow the instructions provided in the article for iMac. But I don't know how to actually wake up my computer.  From Bonjour Browser, I can see that my AirPortExpress is publishing _sleep-proxy._udp so I think it have Bonjour-Sleep-Proxy on.    For some reason, I found this line in the log     mDNSResponder[47]: BeginSleepProcessing: en1    not capable of magic packet wakeup   whereas en1 is my wifi interface. But from System Information  en1:   Card Type:    AirPort Extreme  (0x168C, 0x9A)   Firmware Version: Atheros 9380: 4.0.74.0-P2P   MAC Address:  04:54:53:0f:c9:b1   Locale:   APAC   Country Code: ES    Supported PHY Modes:  802.11 a/b/g/n   Supported Channels:   1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140   Wake On Wireless: Supported <--- is this lying to me?   AirDrop:  Supported   Status:   Connected


I am looking for a term for systems or dynamics in which the ability to earn a particular resource requires having a minimum of that resource available, and grows progressively or exponentially with it. I want to do some research on “you need money to make money” situations, but applied to non economic contexts as well.  I originally posted this in the Economics Stack Exchange, thinking that there must be some economic or game theory concept that describes this, but to no luck.  P.D.: no, I’m not looking for the word “capitalism”.

I often hear news reports of rapidly increasing problems use the word "exponentially" for emphasis.  For example, tonight's BBC America World News included a segment on the growing Syrian refugee problem, saying the number of refugees was "increasing exponentially".  Now clearly this usage is not consistent with mathematically accurate usage and though I'm sure most understand the intent, it still bothers me.  For reference, the number of registered Syrian refugees increased from 471,808 on 2012-12-31 to 2,241,100 on 2013-12-13.  Neither "five-fold increase" nor "quintupling" seem to have the same impact.   Can anyone suggest an alternative word that is not so mathematical in nature to describe such an increase?  Of course, I'm looking for a word to describe future growth, not past.


I have a question about a game library and there's a guy named  who has contributed to the library. He generally answers my question about the library. As I say I have a question but I don't know how to ask him to answer my question. Perhaps I just need to wait for a while until he find my question.

On several occasions, I was reading a question thinking "I know a guy that knows the answer to this" and that guy (or gal) also happens to be a registered user. How can I bring this to the attention of this user?


I want to power my arduino nano with my phone external battery charger. The problem is, when I connect them through a USB cable and turn on the battery charger, it works for serval seconds and then the battery charger turn off. I was surprised because I didn't think that the battery charger is smart enough to identify the device it connected to. Any ideas how I can bypass it?

I usually power my beginner prototype circuits using mb102 power supply board, but it needs an external elimeter to draw power and then regulate it.  I was looking for a portable solution for my 5 volt and 3.3 volt circuit needs and came up with using a portable battery charger for mobile phones.  I tried powering up a simple transistor and LED circuit with it but it wouldn't power-up.   I feel that there is some load sensing circuit in the portable charger which doesn't detect these low power circuits.  I also tried connecting different resistors to the charger, the charger outputs 5 Volts for a few seconds and then again shuts down and doesn't stay ON continuously.  It would be really comfortable to use a portable charger since it could be charged using a phone charger and would be very handy.  What can I do to make the charger output power on low loads?


When I name branches in Git, I always tend to start with a letter. mybranch89 for example.  Are there any rules to naming Git branches? For example, should I always begin with a letter, or are number only branch names possible such as 876

I've been using a local git repository interacting with my group's CVS repository for several months, now.  I've made an almost neurotic number of branches, most of which have thankfully merged back into my trunk.  But naming is starting to become an issue.  If I have a task easily named with a simple label, but I accomplish it in three stages which each include their own branch and merge situation, then I can repeat the branch name each time, but that makes the history a little confusing.  If I get more specific in the names, with a separate description for each stage, then the branch names start to get long and unwieldy.  I did learn looking through old threads here that I could start naming branches with a / in the name, i.e., topic/task, or something like that.  I may start doing that and seeing if it helps keep things better organized.  What are some best practices for naming git branches?  Edit: Nobody has actually suggested any naming conventions. I do delete branches when I'm done with them.  I just happen to have several around due to management constantly adjusting my priorities. :) As an example of why I might need more than one branch on a task, suppose I need to commit the first discrete milestone in the task to the group's CVS repository.  At that point, due to my imperfect interaction with CVS, I would perform that commit and then kill that branch.  (I've seen too much weirdness interacting with CVS if I try to continue to use the same branch at that point.)


I read this book in 6th grade (2002-2003 school year). It has a female character and she meets this guy a week before she has to leave on a space mission with her father. Somehow she sees the end and beginning of the universe. She goes back and talks to her past self. She also gets with the guy she met. She clones herself and the guy. It is like a time loop. And I believe she meets a blue alien child. In the first chapter she coming back from the library were she was learning about the 20th century. She started to sing Led Zeppelin's rock and roll. It had a classic sci-fi cover. The main character was on the cover wearing a purple space suit. The cover looked like it could be from the 70's or 80's and the cover wasn't sexualized at all. I believe it was a book directed to teenagers.

I remember quite a bit, but can't seem to find the title or (female) author.   A girl accompanies her father as he captains a mission to travel at near-light speed in order to experience the effects of time dilation and return to Earth 100 years into its future. She leaves behind her boyfriend (Tal or Tel or something), who promises he'll find a way to stay with her despite the time travel that will render him, well, dead before her return. She's accompanied by a close friend who is deaf but lip-reads and speaks so well as to occasionally fool others into believing she is hearing. They spend a lot of time in the ship's garden. I believe he ends up either getting on a different ship to survive into the future via time dilation, or else having himself frozen. Either way, if I recall correctly, Earth isn't doing well at all by the time the mission with the girl returns. There's been a war or some other disaster. There's an extended period of vague, ambiguous, existential crap in which the girl (now a woman) eventually ends up transferring her consciousness into her own daughter, presumably in order to go on living. Everything wraps up somehow and the girl and her boyfriend walk together hand in hand on a desolate planet into the sunset near the end of time.   It was all really rather trashy and silly, I remember, and took itself entirely way too seriously, but I'd like to at least know what it was so I could read it again. Either it'll be worth a laugh, or it'll turn out to be surprisingly good.


I installed Ubuntu 12.04 LTS on my single partition with XP inside a folder (from the installer); machine is an old Lenovo desktop.  I have now optimized the Ubuntu, gotten it fully set up with accounts for everyone in the family, etc.  I want to get rid of the XP and shift the partition so that it is fully available to Ubuntu (without having to start from installing Ubuntu again).    Is this possible?  And if so, how do I go about it?  Can I create a new partition on the drive, move the Ubuntu into it, remove the other partition and then expand the partition with Ubuntu?  If it isn't possible, how do I take my current Ubuntu set-up and turn that into an image to install fresh over the XP system?  Hoping someone has some clear answers!  Thanks.

I want to keep Ubuntu but remove Windows.


When you're in the middle of the edit process of anything (tested on editing my own question) and you're logged off during that (on another tab, etc.) you'll see "An error has occured during posting" error (or something similar).  Could this be changed to something more meaningful (like in many, many other web pages in the very same conditions), e.g.:  "It seems, you have been logged off (possibly in another tab). Login again and submit this form", or something similar?

I used to open many interesting questions from Stack Overflow (10..80 tabs) in my browser and then read them slowly over weeks. My browser (Opera) knows to reopen the last tabs but I'm afraid it has an aggressive caching mechanism.  By that I mean it shows me I'm still logged in but when I try to post a response or a comment I'm given a strange error message (for example: Cannot add comment because the answer has been locked or deleted) when all that is wrong is that I'm no longer logged in.   Refreshing the page prior to posting (along with re-logging in) solves the problem.  My issue is: shouldn't the error message state something along the lines: "you're not logged in suckaa..."?


I am in advance sorry if this question is too easy for this site, but I am having real problem understanding how to solve this summation:  $$\sum_{i=1}^n{i*2^i}$$  I understand basics of summations but i don't know where to start, please help.

Given $$1\cdot 2^1 + 2\cdot 2^2 + 3\cdot 2^3 + 4\cdot 2^4 + \cdots + d \cdot 2^d = \sum_{r=1}^d r \cdot 2^r,$$ how can we infer to the following solution? $$2 (d-1) \cdot 2^d + 2. $$   Thank you


So I'm playing a Variant Tiefling from the SCAG, and I took the Winged trait. I also took the Lightning Lure cantrip, so that I could combine LL's 1d8 lightning damage with the 1d6 bludgeoning damage falling. Now with the background out of the way, my question is this:  When would the creature fall? Would it fall immediately after my turn, or would it hang in the air until its turn?

Situation:  Alice the Aarakokra sees Bob the Battlemaster coming. She ascends to 605', just out of the 600' range of Bob's longbow.  Bob (Str 14) performs a running high jump 5' into the air and successfully hits Alice with his longbow, despite firing at disadvantage for long range. He spends one of his maneuver dice to perform the Trip Attack maneuver, and succeeds on the contested roll to knock Alice prone.  Alice is now flying and prone, so she falls. Falling does 1d6 bludgeoning damage per 10' fallen, to a maximum of 20d6.  Questions:   When does Alice start falling? It is on Bob's turn as soon as she's knocked prone, or some time else such as the beginning of her own next turn? When does Alice hit the ground? On Bob's turn as soon as she's knocked prone, or some time else?   These answers determine whether anyone can save Alice from her 20d6 of certain doom.   Is a reaction (e.g. casting Feather Fall) on Bob's turn the only hope? Can Alice's ally Charlie swoop in on his subsequent turn within the same round to catch her? Can Alice spend half her movement on her next turn to "stand from prone" and pull out of her involuntary dive? If Alice had expected to be shot down, could she have spent an action to be Ready to "stand from prone" while moving through Bob's airspace?


I am making an open source solar battery shield for the Arduino Uno, would this circuit work? It's pretty basic but I think it would do the trick. Also,the power from the solar cell will come into the AMS1117-5.0 for positive and gnd for negative. PS: Yes, I know that I'm supposed to connect the EN pin of the 3.3V reg to Vin.

I am trying to design a circuit that runs an esp32 with a dh11 sensor but i am unsure if it would work.  On the top left is a mcp73831-5-OT li ion battery charging chip (the random wire on the left is 5v in from the solar panel) On the top right is the AMS1117 3.3v variant regulator (picked it for the tiny package and availabilty) On the bottom left is a esp32 module and its accompanying circuitry (im really suspicious abou that circuit though) On the bottom right is a dht11 connected to power and data with its accompanying pull up  So,if i build this,would it work? If not,what should i change?


Prove that the foot of the perpendicular from the focus to any tangent of a parabola lies on the tangent to the vertex.   My issue with this problem is that I don't understand it completely. I've tried drawing it a few times, but I can't seem to form a precise image in my head of what it's depicting. Here's my current understanding:  The "endpoint" of the perpendicular dropped from the focus to any arbitrary tangent of the parabola also somehow lies on the vertex. The tangent to the vertex of parabola, as I understand, can be described as the line $y = k$ or $x = h$ where $k$ is the ordinate point and $h$ is the abscissa.   If my above understanding is correct (which it 99.99% isn't), then I don't think the foot of the perpendicular from the focus to a tangent of a parabola can lie on the tangent to the vertex.  If anyone can provide a picture of the situation or give me a hint, that's more than enough for solving this problem. Thank you.

I'm working through a classic Calculus book (Morris Kline), and one of the problems is:     Prove that the foot of the perpendicular from the focus to any tangent   of a parabola lies on the tangent to the vertex.   Basically, it's saying that if the parabola $y=x^2$ has a tangent line T at point $P$, and we draw a line $L$ perpendicular to $T$ that goes through the focus $F$, then $T$ meets $L$ at a point where $y=0$.  I managed to prove this by:   Calculating the equation of $T$ (based on slope of $y'$ and point $P$) Calculating the equation of $L$ (based on slope of $\frac{-1}{y'}$ and point $F$) Putting $y=0$ in both equations and solving for $x$ Observe that they both have the same $x$ at $y=0$ and therefore they meet on the $x$ axis.   HOWEVER, this seems like a very brute-force approach.  It's almost like I cheated or I simulated it on the computer with $1000$ points and determined that it is so.  I don't really understand WHY these $2$ lines must meet in this manner.  Is there any sort of geometric or intuitive proof?


Logging out and logging back in do not fix this problem. Rebooting does not fix this problem.  NOTE: Please do not mark this question as a duplicate, I'm aware of this question:  and have tried these things multiple times.    I've added my user account to some groups using usermod -aG, however I am not able to access any resources associated with that group. I can fix this using sudo su - $USER, however this only lasts for my current terminal session.  Example terminal session:  $ id uid=1008(erik) gid=1009(erik) groups=1009(erik) $ echo $USER erik $ sudo su - $USER [sudo] password for erik:  $ id uid=1008(erik) gid=1009(erik) groups=1009(erik),27(sudo),100(users),999(docker),1001(rvm)   I have to do this every time I open a terminal. Rebooting does not fix this.  Is there any way I get get all the groups assigned to me when I login?  Distro: Ubuntu 16.04 x64 User Catscrash has reported the same issue with Ubuntu 18.04    This seems to only happen when I open a terminal in my desktop. If I ssh to the machine or switch to a TTY (ctrl+alt+F2 for example), then I get the correct groups.  $ id uid=1008(erik) gid=1009(erik) groups=1009(erik) $ ssh localhost erik@localhost's password:  Welcome to Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-131-generic x86_64)   * Documentation:  https://help.ubuntu.com  * Management:     https://landscape.canonical.com  * Support:        https://ubuntu.com/advantage  0 packages can be updated. 0 updates are security updates.  ----------------------------------------------------------------   Ubuntu 16.04.2 LTS                          built 2017-04-20 ---------------------------------------------------------------- Last login: Thu Jul 26 09:18:38 2018 from ::1 $ id uid=1008(erik) gid=1009(erik) groups=1009(erik),27(sudo),100(users),999(docker),1001(rvm) $    Current using XFCE as my desktop environment. I also have KDE installed.  I've tried both possible values for starting the terminal as a login shell - neither makes any difference.    I've tried disabling apparmor via sudo systemctl disable apparmor and rebooted. After reboot, since I have docker installed, it still loads apparmor with the docker profile. So additionally I tried disabling docker: sudo systemctl disable docker and then rebooting.  After this, the output of apparmor_status is:  $ sudo apparmor_status apparmor module is loaded. 0 profiles are loaded. 0 profiles are in enforce mode. 0 profiles are in complain mode. 0 processes have profiles defined. 0 processes are in enforce mode. 0 processes are in complain mode. 0 processes are unconfined but have a profile defined.   so, that means it's loaded but not doing anything?   Either way, it doesn't resolve the issue. I still cannot access any resource that I should have group permissions for.  Any other ideas?

I changed permissions of a file (chmod g+w testfile) and running ls -l testfile gives:  -rwxrwxr-x 1 user1 user1 0 2011-01-24 20:36 testfile   I then added a user to that group ("/etc/group" has user1:x:1000:user2 line), but am failing to edit that file as user2. Why is this so?


Let $a$, $b$ be a positive integers such that $(a+b)\mid ab$. Prove that $\gcd(a,b)\geq\sqrt{{a}+{b}}$. I have no idea how to approach this problem. Any hints or solutions are appreciated.

When $ab/(a+b)$ is an integer, where $a,b$ are positive integers?  clear; maxn:=30; for a in [1..maxn] do for b in [a..maxn] do q1:=a*b; q2:=a+b; if q1 mod q2 eq 0 then   print a,b,q1 div q2; end if; end for; end for;   the Magma code given above outputs the following.  2 2 1 3 6 2 4 4 2 4 12 3 5 20 4 6 6 3 6 12 4 6 30 5 8 8 4 8 24 6 9 18 6 10 10 5 10 15 6 12 12 6 12 24 8 14 14 7 15 30 10 16 16 8 18 18 9 20 20 10 20 30 12 21 28 12 22 22 11 24 24 12 26 26 13 28 28 14 30 30 15   So I conjectrue that $\frac{ab}{a+b}$ is an integer if and only if $\frac{a}{d}+\frac{b}{d} \mid d$, where $d=\gcd(a,b)$. It is true if $a=b$.  If $\frac{a}{d}+\frac{b}{d} \mid d$, then  $$\frac{ab}{a+b}=\frac{a}{d} \cdot \frac{b}{d}\cdot \frac{d}{\frac{a}{d}+\frac{b}{d}}$$ is a product of three positive integers and hence is an integer.  Conversely, i.e., $\frac{ab}{a+b}$ is an integer. Let $b=\frac{p}{q}\cdot a$ with $\gcd(p,q)=1$ where $p=\frac{b}{d}$, $q=\frac{a}{d}$ and $d=\gcd(a,b)$. Then $$\frac{ab}{a+b}=\frac{a\cdot \frac{p}{q}\cdot a }{(1+\frac{p}{q})a}=\frac{ap}{p+q}$$ Since $\gcd(p,p+q)=\gcd(p,q)=1$, it has $p+q \mid a$. Similarly, it has $p+q \mid b$. As a result, $p+q \mid \gcd(a,b)$, i.e. $\frac{a}{d}+\frac{b}{d} \mid d$. It completes the proof.


Background In C&K, it is possible for your road length to decrease. If you have the longest road, and it gets shortened (by the Diplomat progress card or by an opponent's knight), what happens to the Longest Road card? The base game rules say the following:  The first player to build a continuous road (not counting forks) of at least 5 road segments receives the special card "Longest Road." If another player succeeds in building a longer road than the one created by the current owner of the "Longest Road" card, they immediately take the special card (and its 2 victory points).  And the C&K rules say:  Knights ... can be used to break another player's "longest road..." If the red player places his knight at 'B,' it will break blue's road, shortening his road for purposes of determining the longest road.  Consider the following situations Assume the rest of the other players' road lengths are too short to matter. In all cases, Player 1 starts with the longest road: a) Player 1's maximum road length is 7, Player 2's is 5. b) Player 1's maximum road length is 7, Player 2's is 6. c) Player 1's maximum road length is 7, Player 2's is 7. d) Player 1's maximum road length is 5, Player 2's is 5. e) Player 1's maximum road length is 5, Player 2's is 3. If in all scenarios Player 1's road is shortened by 1 length, who ends up with the Longest Road card? a) Player 1's road is still longer, so Player 1 keeps the Longest Road card. b) The two players are now tied, so Player 1 keeps the Longest Road card. c) Player 1's road is now shorter, so Player 2 takes the Longest Road card. d) Player 1's road is now shorter, so Player 2 takes the Longest Road card. NOTE: Player 1's road length fell below the 5-length threshold of earning the Longest Road card in the first place. But Player 2 still has a road of length 5, so there's no question: Player 2 takes the Longest Road card. e) What happens now? Does the Longest Road card get set aside, belonging to no player, or does Player 1 retain the card because no other player has (direct quote from the rules) "succeed[ed] in building a longer road than the one created by the current owner of the 'Longest Road' card?" Scenario e) According to what is written in the base rules, a player must take the Longest Road card for themselves in order for another player to lose the Longest Road card. There is no mechanism for the Longest Road card exiting the game because there is no way for road lengths to shorten, and thus no way for no player to have a maximum road length of less than five after any player has gained the Longest Road card. The C&K rules do not explicitly specify whether or not the Longest Road card stays in play. They simply say that knights can affect the length of a road; the Diplomat card rules also do not mention anything of use here. The interpretation that my friends and I have settled on is that Player 1 retains the Longest Road card until another player takes it away by having a longer road, regardless of whether or not Player 1's road length is still above 5. However, Catan Universe seems to disagree with us on this one... Does anyone have an official ruling for this? Thanks!

Imagine the following setup. There are 3 (or more) players with an equally long road. What would happen if the longest road was broken? How is it decided who obtains the longest road from there on?


How can I find the Killing form of $\mathfrak{sp}_{2n}(\mathbb{C})$? I'm explicitly working with basis vectors in trying to compute $\operatorname{tr}(\operatorname{ad}(a)\operatorname{ad}(b))$ but it's becoming really messy. Is there another way?

I have the same question as  from a long time ago. Is there an easy way to see that the Killing form on $\mathfrak{sp}(2n)$ is $\kappa(x,y) = (4n+2) \mathrm{tr}(xy)$?  For example, the Killing form for $\mathfrak{sl}(n)$ can be found from the easier to calculate case of $\mathfrak{gl}(n)$ using the decomposition $$\mathfrak{gl}(n) = \mathfrak{sl}(n) \oplus \mathbb{C}.$$ I don't know a similar argument for $\mathfrak{sp}(2n)$ though.


I've got a base class, Item, and derived class, Weapon & Shield. Both overload <<.   // item(base) operator overload ostream& operator<<(ostream& os, const Item& a_item) {     os << "     Item Object - " << endl;     os << "          Name: " << a_item.m_name << endl;     os << "          Cost: " << a_item.m_cost << endl;     os << "          Purpose: " << a_item.m_purpose << endl;      return os; }   And:  // weapon(derived) operator overload ostream & operator<<(ostream & os, const Weapon & a_weapon) {     os << "Weapon - " << endl;     os << "     Name: " << a_weapon.m_name << endl;     os << "     Cost: " << a_weapon.m_cost << endl;     os << "     Purpose: " << a_weapon.m_purpose << endl;      return os; }  // shield(derived) operator overload ostream & operator<<(ostream & os, const Shield & a_shield) {     os << "Shield - " << endl;     os << "     Name: " << a_shield.m_name << endl;     os << "     Cost: " << a_shield.m_cost << endl;     os << "     Purpose: " << a_shield.m_purpose << endl;      return os; }   Now, I have a vector<Item> inventory, to which I'm adding a Weapon and a Shield. When I loop through the inventory and cout the item, I get the Item operator rather than the one for that particular item. Here's how I'm calling the cout:  // person(derived) operator overload ostream& operator<<(ostream& os, const Person& a_person) {     os << "Person Object - " << endl;     os << "     Name: " << a_person.m_name << endl;     os << "     Level: " << a_person.m_level << endl;     os << "     Hit Points: " << a_person.m_hit_points << endl;     os << "     Inventory: " << endl;      for (auto i = 0; i < a_person.m_inventory.size(); i++)     {         os << "     " << a_person.m_inventory[i] << endl;     }      return os; }     My question is why is it calling the operator overload of the base, instead of the derived? Is it possible to tell it to call the one from the derived class?

Someone mentioned it in the IRC as the slicing problem.


I have a nikon d3100 , A friend of mine needs a headshot for a billboard.I need to know if my camera can take a pic big enough (mp) I do have a 50mm lens I can use and plan to use a tripod and plan on using RAW.

Does anyone know the required resolution for a photograph to be used on a billboard?  Would the Canon 7D be able to provide a large enough file size to meet the requirements?


What's the meaning of the proverb "No man is an island entire of itself" by John Donne?

No man is an Island, entire of itself   From an excerpt by Francis Bacon (1561-1626).   What does the line mean? Does it count as a proverb?


Should professional, occupational and official titles be capped after a person's name?  Mike McCormack, Human Resources Director for the XYZ corporation, resigned on Friday.  If we use the definite article the, do we go lowercase?  Mike McCormack, the human resources director for the XYZ corporation, resigned on Friday.  The human resources director, Mike McCormack, resigned on Friday.  But:  Human Resources Director Mike McCormack resigned on Friday.  Are the four variations of the same sentence punctuated correctly?

Please excuse the contrived example below, but I am wondering if this example is properly capitalised? I'm assuming that capitals are used when addressing someone directly, but lower case is used elsewhere. Can someone give some rules on this?      The captain walked into the room.    "Hi, Captain," said the admiral.   "Hi, Sir," replied the captain.   "Call me Admiral."   "Hi Admiral."   The captain and admiral stepped forward.   "Prime Minister, this is Captain Jones," said Admiral Brown.   "Pleased to meet you," said the prime minister.


Why is it, when I decide to land a council member in order to boost their opinion, do I end up losing them? If I give, say, my spymaster a minor barony that I own, they are still my direct vassal, but I end up losing them, which defeats the whole point of landing them in the first place. I can appoint, say, a mayor as spymaster, so why can't I make my spymaster a mayor? What exactly are the rules here?

I've noticed several times that if I have a landless council member and I grant him a landed title, his seat becomes vacant and I cannot appoint him again.  After an unspecified amount of time he becomes eligible again.  Why is that? Is that a bug or is there a reason for that?


This is kind of an opinion-leaning question.  I'm naming a set of items based on their order of significance. Their names will be prefixed with the following superlatives: super, ultra, mega, hyper, giga, epic, and more (in fact, if you have any more that would sound good as a prefix please feel free to list them).  In what order should these be?    This is not the same question at all:  I even clearly stated in a comment that it was not:     The answers there aren't what I'm looking for. The Greek and Latin   roots are obvious (for anyone who has studied them, as I), but not   exactly useful here. In this case they all have the same   meaning.   I even stated I was looking for opinions. I also have words that were never addressed in that question.

According to OED,  :  over, beyond, over much, above measure   :  beyond   :  over, above, higher than    They all have the meaning "higher than", but what is the order of them? That is, which one is the highest? Which one is modest higher? And which one is middle higher? Update: Thank you all. I have searched by myself and spotted that, according to , hyperfamily is larger than superfamily. Moreover, as Kris, Mitch and Robusto pointed out, hyper is higher than super in many other usage such as hypersonic/supersonic and hypermarket/supermarket. In addition super is higher than ultra in Audiology. So it seems  ultra < super < hyper  in common usage. On the other hand, in  of biological classification, the rank hypoorder is larger than suborder, which is larger than infraorder. So a conclusion seems can be made as infra < sub < hypo. Overall, does it seem the order is  infra < sub < hypo < ultra < super < hyper  in most usages?


My computer is old.  It has a 900 Mb processor, 1.2 Gb of RAM and 500 Gb HDD. Right now I'm running Lubuntu v12 and most of my stuff is working.   System updater wants me to update to Ubuntu V14.04.5.  Should I update ?  What is the best version my my old desktop ?

For a given hardware configuration, how do I find out if Ubuntu will run on it? What considerations should I take into account when choosing an Ubuntu version and  such as:    with a lighter desktop than the usual Gnome and Unity  with the even lighter LXDE desktop   Obviously Ubuntu does not run on some processor architectures. So how do I go about choosing the right version and derivate. How can I find out the minmal system requirements?


According to the definition, light cannot escape from a .  How did scientists deduce that light cannot escape from a black hole?

Photons do not have (rest) mass (that's why they can move at speed of "light").   So, my question is how the gravity of classical$^1$ black hole can stop light from escaping?  --  $^1$ We ignore quantum mechanical effects, such as, Hawking radiation.


Well, it looks like it's that time of the year again!     appears in HNQ. It probably shouldn't, for reasons discussed previously.  Related: ,

According to this question:  entire ruSO site shouldn't become hot. But I just saw the following while searching MSE:        Direct link to the question on ruSO:   Perhaps the HNQ filter works on question title (in the current case there are no non-Latin symbols) instead of site origin. Hence, according to the post mentioned before this behaviour should be interpreted as a bug.   However, I suggest to fix such "bug" by taking another feature request in mind:


Page 54 of A Practical English Grammar reads  We often use and... instead of to after try / be sure. This is informal. I'll try and phone you tomorrow morning.  However, in page 299, it reads  To talk about making an experiment - doing something to see what will happen - we use try + -ing.  Aren't both statements at odds? Try and cannot come from try to in I'll try and phone you tomorrow morning since, as the picture from the book that's what you mean shows, try followed by infinitive to implies an effort to do something (at least in the present tense used in those examples), unlike ,

I tried to open the door. I tried opening the door   We can use both infinitive and gerund with verb "try" as used in above sentences. Does it change the meaning of the  sentence if use gerund or infinitive?.(here i don't know if the meaning of sentences is changed.)     The same confusion arise in these two sentences.  1.I stopped seeing him. 2. I stopped to see him.(But in case of these two sentence i know the meaning is changed but don't know exactly what the change is).


What are all solutions to the differential equation  $$ u'(x)v(x) + u(x)v'(x) = u'(x)v'(x) $$  Where the derivative is with respect to $x$.

This is motivated by looking at the calculus exams of some of my undergraduate students. A recurring mistake is assuming that the derivative of the product of functions is a product of derivatives and the derivative of the quotient of two functions is the quotient of their derivatives.   This might be an ill formed question, but do their exist a pair of functions such that these rules hold. Explicitly, do there exist $f(x),g(x)$ satisfying all of: \begin{align*} f&\neq 0;\\ \frac{d(fg)}{dx}&=\frac{df}{dx}\cdot \frac{dg}{dx}\\ \text{and }\frac{d(f/g)}{dx}&=\frac{df}{dx}/ \frac{dg}{dx}\text{ ?} \end{align*}  EDIT: Just to clarify my question, looking at the responses so far. I am looking for functions satisfying all three conditions above simultaneously.


I have seen a [picture like this] several times:    featuring a "troll proof" that $\pi=4$. Obviously the construction does not yield a circle, starting from a square, but how to rigorously and demonstratively prove it?  For reference, we start with a circle inscribed in a square with side length 1. A step consists of reflecting each corner of figure $F_i$ so that it lies precisely on the circle and yielding figure $F_{i+1}$. $F_0$ is the square with side length 1. After infinitely many steps we have a figure $F_\infty$. Prove that it isn't a circle.  Possible ways of thinking:   Since the perimeter of figure $F_i$ indeed does not change during a step, it is invariant. Since it does not equal the perimeter of the circle, $\pi\neq4$, it cannot be a circle.   While it seems to work, I do not find this proof demonstrative enough - it does not show why $F_\infty$ which looks very much like a circle to us, is not one.   Consider one corner of the square $F_0$. Let $t$ be a coordinate along the edge of this corner, $0 \leq t \leq 1$ and $t=0, t=1$ being the points of tangency for this corner of $F_0$ and the circle. By construction, all points $t \in A=\{ \frac{n}{2^m} | (n,m\in \mathbb{N}) \& (n<2^m)\}$ of $F_\infty$ lie on the circle. I think it can be shown that the rest of the points, $\bar{A}=[0;1] \backslash A$, lie in an $\varepsilon$-neighbourhood $U$ of the circle. I also think that in the limit $\varepsilon \to 0$, points $ t\in\bar{A}$ also lie on the circle. Am I wrong in thinking this? Can we get a contradiction from this line of thought?   Any other elucidating proofs and thoughts are also welcomed, of course.

What is wrong with this proof?    Is $\pi=4?$