I am not sure if this is possible or not.  Lets say a I have class C1 that have a List<double> inside:  class C1{     List<double> theList {get;set}     double someVar {get;} }   I can get somevar through the string path "C1.somevar" and the same thing is valid for the list. However, is there a way for me to use string paths to retrieve a specific element of the list? Something like "C1.theList.0"  The reason behind is that in OxyPlot I want to be able to set the DataFielYof a LineSeries to a specific element in the list.  Cheers

ok, ive a class and i pass an object as property.  the object that i pass is a List<X>  in my class im trying to access the Object index by reflection BUT I CAN'T!!!   Example:  this class works i just wrote down the part i want to show you and i need help.  class MyClass {     private object _recordSet;     public object RecordSet     {         get { return _recordSet; }         set { _recordSet = value; }     }      public string Draw()     {         system.reflection.Assembly asem = system.reflection.Assembly.getAssembly(_dataSource.GetType());          object instance;          instance = asem.CreateInstance(_dataSource.GetType().UnderlyingSystemType.FullName);          //to access de Count of my List         int recordcount = int.Parse(_dataSource.GetType().GetProperty("Count").GetValue(_dataSource,null));          //i need to do a          for(int cont = 0; cont < recordCount; cont++)         {             _dataSource[cont].Name; // <-- THIS PART IS NOT WORKING!!! because i cant access the Index Directly.... WHAT TO DO!! ???         }     } }


Citizens of the Lithuania, sounds wrong. Citizens of the Russia too. However, citizens of the Ukraine, sounds right. Also of the United States (of America) as well as of the United Kingdom.  What is the proper usage of 'the' to name a country?

I have been taught that it's grammatically proper to use the before countries like "Sudan and Yemen" but I was never given a reason (if there exists any, of course) when I asked why, except for "it is one of those ambiguous parts of English language that we – as non-native speakers – should just accept without trying to look for a reason". Now, I'd like to know if there is any answer to this "why" or I should keep on believing that there are no hard and fast rules when it comes to questions like these.


I had some doubts for function literals   Why does the function name in function literals have no significance? Why aren't they important? Why doesn't the function get invoked when we try to call using the function name in case of function literals?  var a = function b(){         //some code         } b(); //Doesn't work    Why does the name b have no significance but a does?  I am new to JavaScript and a beginner so any help would be appreciated!

I've recently started maintaining someone else's JavaScript code. I'm fixing bugs, adding features and also trying to tidy up the code and make it more consistent.  The previous developer used two ways of declaring functions and I can't work out if there is a reason behind it or not.  The two ways are:  var functionOne = function() {     // Some code };     function functionTwo() {     // Some code }   What are the reasons for using these two different methods and what are the pros and cons of each? Is there anything that can be done with one method that can't be done with the other?


How to write this in latex:    The closest I've come to it, is this:  \{\begin{matrix}     1 & 0 & 0 & 0 \\     0 & 1 & 0 & 0 \\     0 & 0 & 1 & 0 \\     0 & 0 & 0 & 1   \end{matrix}\}

Below it is a very useful command to create a matrix. But it has a short point to me since it shows Parentheses not Square brackets. My question it how should I change this to show square brackets? I appreciate your answer. Thank you so much.  \[ K =   \underbracket{\begin{pmatrix}    K_1 & 0      & 0    \\    0   & \ddots &    0   \\    0   & 0      & K_n    \\    \end{pmatrix}}_{d\times M} \]


So I'm coming over from Java, and I've been seeing (and using), a ton of these:  ["foo bar"] void method(param params) {      ..code things }   Can someone explain to me what they are? I don't even know what they're called, so I can't manage to figure it out from documentation.

What are attributes in .NET, what are they good for, and how do I create my own attributes?


If I put a  onto the battlefield, which would have summoning sickness, can I tap it that turn to use its ability or do I have to wait an extra turn to use it?

Note: this is intended to be a canonical question about summoning sickness.  "Summoning sickness", broadly, is the rule that stops you from attacking or paying {T} costs with a creature that you just played. But how exactly does it work? How does it interact with other rules and effects?  For example, if I'm trying to figure out how a creature is affected:   Does the status matter (tapped/untapped, face down/face up, etc.)? What if it came into play, but I didn't cast it? What if it's a token? What if it was on the battlefield when my turn started, but it wasn't a creature? What if it stops being a creature? What if it's a creature and also another card type? What if it's a double-faced card that just transformed? What if it changes control? What if it's a copy of another creature? Which of the creature's activated abilities can I use? Are any of its other abilities affected? Can I tap the creature to pay a cost that is not a {T} cost?   (These examples are primarily taken from questions about summoning sickness that have already been asked on the site)


Which integer type can be safely be used to always hold a pointer value? Would it be std::intptr_t?  But I thought int would also always hold a pointer value and is present in every build, and stuff like int32_t or int64_t would be changed if the input size is not exact

I am trying to adapt an existing code to a 64 bit machine. The main problem is that in one function, the previous coder uses a void* argument that is converted into suitable type in the function itself. A short example:  void function(MESSAGE_ID id, void* param) {     if(id == FOO) {         int real_param = (int)param;         // ...     } }   Of course, on a 64 bit machine, I get the error:  error: cast from 'void*' to 'int' loses precision   I would like to correct this so that it still works on a 32 bit machine and as cleanly as possible. Any idea ?


How can I keep a program on a VPS running after SSH session times out?

Let's say I launch a bunch of processes from a ssh session. Is it possible to terminate the ssh session while keeping those processes running on the remote machine?


I recently read a sci-fi book, where some (very few) people can communicate telepathically, which happens to be instantaneous.  So, every spaceship has a crew member who telepathically communicates with his/her partner on Earth.  Would this lead to a cause/effect paradox? How and why?    More about the book, in case anyone is interested:   - The book is narrated by Tom, a young man, who discovered he can telepathically communicate with his twin brother Pat. At age 16, they are hired as special communicators by Long Range Foundation. Tom leaves on a spaceship, while Pat stays on earth, and the pair serves as a communication link between Earth and the spaceship.  The rocket accelerates towards almost light speed. As the speed increases, the twins find it increasingly hard to communicate, because of time dilation. Back on Earth, Pat gets married, and has a daughter, while Tom is still a teenager...    ADDED: One thing that makes this different from generic FTL communication is that each pair of communicators started on Earth. Most are twin brothers/sisters, and there is also a set of triplets, where one stays on Earth, and the other two leave with two different spaceships into two different directions.     So the only way to make sense of this is to say that there is some   distinguished frame of reference whose simultaneity dominates. For   instance, perhaps some bond forms between Tom and Pat while they are   both on Earth, and this bond is formed specifically in reference to   the Earth's frame of reference. When Tom goes off into space, the bond   retains this frame of reference. It's "set" on Earth's frame of   reference, regardless of what Tom and Pat do.   There is definitely a special bond between each pair of communicators. They are either twins, or two people who spent a lot of time together to develop telepathic communication.  As the whole project originated on Earth, all these communicator bonds are "set" on Earth's frame of reference (whatever that means...)

I've always heard people saying, "Faster than light information transfer can't happen because it would violate causality!  Effects can precede their causes!"  However, I'm trying to think of a situation where this would happen.  I'm sure it has something to do with relativity or something like that.  I sort of understand that people going faster perceive time slower.  Can someone help illuminate this for me by showing a scenario where causality is clearly violated due to FTL information transfer?


I have an iPhone 5s (A1453). It is currently running iOS 9.x.  I need to upgrade it to iOS 11.x to perform testing of apps on this particular iOS version/device combination.  I've read couple of articles about a method with Prometheus, SHSH2, etc. But it seems that I'm out of luck, because this device never had iOS 11 installed on it, so there's no SHSH2 for this version, and it is already unsigned.   Am I right with my guess, or is there some way to do such an upgrade?

I'm trying to downgrade my iPhone from the current iOS to an older one, as per .  But every time I try, I always receive this error:     The iPhone could not be restored. This device isn't eligible for the requested build.     I have tried many times with and without DFU mode. Any ideas regarding this?


For example, the shield mastery feat gives the option to shove an adjacent creature 5ft as a bonus action. Could you make an Opportunity Attack on the creature because it leaves your threat range without using the disengage action?

If I cause an opponent to leave my reach with an ability, spell, or effect can I use my reaction to take an Opportunity Attack against them?


In the following sentence:     One out of ten people speaks (English) as their mother tongue   Is "one out of ten" considered singular, or should speaks be changed to speak?

I'm in an argument. To me "are" makes more sense. I understand the rationale for is because it's only one chicken, but chickens itself is plural. Help?


when we allocate memory dynamically using new operator for a int data type. it makes sense to use delete operator. For example  if a code would like bellow :      int *p=new int; delete p;  Here it makes sense to use delete . Here we can think like this that the block, p points ,delete/de-allocate that memory block . But for the bellow code :  int *p=new int[5]; delete[] p;  How does it make any sense to use delete[] here. I am asking this because p is not the name of the array. Here p is just a simple pointer which is pointing to the first element of the array memory block. Now how does delete[] works to delete the whole array.As here was not mentioned the size of the array. Then how does the statement delete[] p; delete the whole array.

Foo* set = new Foo[100]; // ... delete [] set;   You don't pass the array's boundaries to delete[]. But where is that information stored? Is it standardised?


So for example when you Google the name "Microsoft", you'll see a sidebar on the right showing information and links etc., and below the main link on the left, you see the main categories of the company. How can I do the same for my own site? Who decides on this though? Google itself or the team behind the site uses some SEO stuff to appear like that?

Does anyone know how to get your Google+ profile displayed in the right hand sidebar of the Google search results page? As in the screenshot below:


I picked up a light fixture at a reuse store and it says max 40w incandescent or 11w CFL. It doesn't say anything about LEDs. Thoughts?

What is the absolute maximum wattage LED bulb that can be used in a fixture rated for 75 watt incandescent bulbs?


While going through an introductory text in electricity and magnetism , in a section dealing with the electrostatic potential energy (EPE) , the author gave an example of the EPE in an ionic crystal , after some computations the EPE of this configuration (the ionic crystal lattice) turns out :   $U=\textbf{-}\frac{0.8738*N*e^2}{a}$    where $U$ is the EPE of the crystal , $N$ is the number of ions (positive and negative) contained within the lattice , $a$ was the spacing between the ions (see picture) and $e$ the elementary charge .  Then the author sad that the negative sign meant that "work would have to be done to take the crystal apart into ".  .  How did he come to this conclusion ? and what does it even mean for a given configuration to have a $\textbf{negative}$ potential energy ?  Reference :Electricity and Magnetism (E.M.Purcell)

Conceptual question:  Suppose we have a configuration of point charges. If the potential of the energy of the system is negative, this means work is positive.   I'm kind of rusty with my mechanics, does the fact that the work is positive mean that to arrange the configuration you have to do work against the electric field? I.e. supply energy via some external force?  In terms of electrostatics, is there a general way of interpreting the sign of potential energy and work?


At times when I am using my web browser – normally Google Chrome – I hear sound playing and I am not sure where it's coming from.   I always do research our performing multiple tasks thus I have many tabs open. So I am wondering if there is a way of determining which tab has sound coming from instead of having to close/search all the tabs.  I'm currently using Windows 8.

Part of the research I do online, with Google Chrome, requires me to go to several sites including those who, for some dumb reason, think it's alright to hide the music player.  If I want to listen to music I can play my own and I usually am listening to something else when a random site starts playing random looped songs.  So, how can I find out which tab is playing music, and eventually mute it?


I am creating a very simple class called Catalog.  It will be an immutable class and have an id and name field.  Out of habit, since I am not going to explicitly document this thing for extensibility, I put the final modifier on the class.  However I'm wondering that since this is such a simple value class, would it hurt to leave the final modifier off in case someone in the future decides they could use it?

What are good reasons to prohibit inheritance in Java, for example by using final classes or classes using a single, private parameterless constructor? What are good reasons of making a method final?


I have a site with copyright content and do not want any RSS on it! I cannot have the content distributed legally. Specifially all categories have a default /feed that can be added to the end of the URL. I just found google was indexing this feed, but more importantly anyone who knows wordpress structures can figure it out anyway.  Is there a way to remove RSS functionality across all categories (/feed)? I looked around the internet and there are older solutions for removing one category found here:   A more indepth question is how to completely remove all RSS.  This solution  is not very sound from a maintenance perspective as quoted "It's also super hackish and will probably break at some point in the future". Also I'm not sure how this would impact SEO to have an active link go to your homepage.  I would prefer that the links not exist versus doing a 302. Is this possible?  Is editing the .htaccess to redirect the best solution? This is what I had in mind but it seems messy.

I want to completely remove feeds from WordPress. I am using this little function from    /** * disable feed */ function fb_disable_feed() { wp_die( __('No feed available,please visit our homepage!') ); } add_action('do_feed', 'fb_disable_feed', 1); add_action('do_feed_rdf', 'fb_disable_feed', 1); add_action('do_feed_rss', 'fb_disable_feed', 1); add_action('do_feed_rss2', 'fb_disable_feed', 1); add_action('do_feed_atom', 'fb_disable_feed', 1);   Still there is tons of transient options.. like _transient_feed_mod or _transient_timeout_feed_mod  How can i completely remove feeds from WordPress?


I've been trying to understand how vectors work and this is my question so far: Is it possible to divide two parallel vectors? Is it possible to divide a vector by a scalar?

My question is:  We have addition, subtraction and muliplication of vectors. Why cannot we define vector division? What is division of vectors?


my website seems to be under attack.  i found this in one of the logs:     2014-12-23 01:37:35 46.148.31.54 - x.x.x.x 80 GET   /pagename.asp?fieldname=558211'+declare+@s+varchar(8000)+set+@s=cast(0x73657420616e73695f7761726e696e6773206f6666204445434c4152452040(...long   hex   code...)6f72+as+varchar(8000))+exec(@s)--|44|80040e07|Syntax_error_converting_the_varchar_value_'558211_declare_@s_varchar(8000)set@scast(0x73657420616e73695f7761(...long   hex code...)e636f... 500   Mozilla/5.0+(Macintosh;+Intel+Mac+OS+X+10_8_5)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/38.0.2125.104+Safari/537.36   I tried some online hex to string converter and it shows that all that hex is actually a sql statement meant to put a website link in all table columns.  it uses information_schema thing now I am very inexperienced, but this looks like some sql injection attack.  i use simple things like filtering characters etc.  But I wish to know how to stop this kind of attack when sql statement is converted to hex and then used in urls.  i searched around but couldn't find anything to prevent this particular type to attempt. thank you for your time

What is a strong way to protect against sql injection for a classic asp app?  FYI I am using it with an access DB.  (I didnt write the app)


For a finite group $G$ and a subgroup $H,$ Lagrange's theorem says that $|G|=|G:H||H|,$ where $|G:H|$ is the number of cosets of $H$ in $G.$ My question is for any subgroup $H$ can we find another subgroup with order $|G:H|$?

Can somebody explain me how is the converse of the  Lagrange's theorem  false by saying that $A_4$ (alternating group) doesn't contain any subgroup of order $6$?


I have no clue how to show some kind of positive integers has infinitely many. I guess perhaps I can use proof by contradiction? Say there is only a finite many, which means it will eventually stop at number $x$, and then show we can always find some integers after $x$, say $y$, such that $1^5 + ...x^5 + ... y^5$ is a square?   I am not sure it's the correct approach since I haven't figure out how to prove such y exists.  Thanks.

When is $1^5 + 2^5 + \ldots + n^5$ a square? I found that this happens sometimes: $n=13$ gives $1001^2$, $n=133$ gives $9712992^2$ and $n=1321$ gives $942162299^2$.  I feel that the identity$$\displaystyle\sum_{i=1}^n i^5 = \tfrac{1}{12}[2n^6+6n^5+5n^4-n^2]$$ will be useful, since it's all square powers except one.. but I see no way to connect that.


How do I get data from OpenStreetMap which I can then edit in QGIS layer by layer?  What is the best OSM output and what / how do I get to a suitable input for QGIS? OR...is there another approach to this?

In QGIS 1.8 I used the openstreetmap plugin to request data from the server, or open a .osm XML file, which produced 3 layers (polygons, polylines and points) in QGIS.  This was great (give or take the 64bit bug which highly affects the freshly mapped area I work on), but how do I do that in QGIS 2.x?   I can't find any updated documentation about it.  In the vector menu, I've tried importing from osm servers, I get a .osm file, but then I'm stuck. There's a menu option for loading an XML file, but it produces a spatialite db, which apparently only has non-geometry tables when I try to add it as a spatialite layer. If I open the attribute table, I can see node ids, ways and so on, but I can't figure out how to actually make use of them.  I've also tried adding a vector layer from a .osm XML file. I get a gpsbabel window that shows nothing, then finally an invalid data source message in QGIS.


Why does \subsubsubsection not work for \documentclass{scrbook} and how can I force it anyway?  There is a MWE:  \documentclass{scrbook} \setcounter{secnumdepth}{3} \begin{document} \chapter{Chapter} \section{Section} \subsection{Subsection} \subsubsection{Subsubsection} \subsubsubsection{Subsubsubsection} \end{document}   With this MWE a get an error: "undefined control sequence \subsubsubsection" and the pdf looks like this:    But I need "1.1.1.1.1. Subsubsubsection" in the last line.

I could do \subsection{} and \subsubsection{} but not \subsubsubsection{}. This command does not seem to be available in LaTeX. Is there an alternative command?


I've been trying to create a java app that can print the current date and time into a csv file. But now I'm experiencing NullPointerException with the program. Can anyone help me to identify the problem? Thanks for the help! import java.io.FileWriter; import java.io.IOException; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Vector;  public class Main {     public Vector<String> log;          public Vector getInstance(){         if(log == null) {             return new Vector<>();         }         return this.log;     }          public Main() {         getInstance();                  DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");                  //masukin tanggal hari ini 5x         Calendar cal = Calendar.getInstance();                  for(int i=0; i<5; i++) {             log.add(dateFormat.format(cal.getTime()));         }                  try {             FileWriter csvWriter = new FileWriter("status.csv");             for(int i=0; i<log.size(); i++) {                 csvWriter.append(log.get(i));                 if(i < log.size()-1) {                     csvWriter.append("\n");                 }             }                          System.out.println("Success write data!");             csvWriter.flush();             csvWriter.close();         } catch (IOException e) {             // TODO Auto-generated catch block             e.printStackTrace();         }              }      public static void main(String[] args) {         new Main();     }  }  Error Exception in thread "main" java.lang.NullPointerException     at Main.<init>(Main.java:27)     at Main.main(Main.java:50)

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?


The Question is still unresolved since the duplicate answer was wrong (has a false claim as I explained in my last comment) I have seen the following question:  Why the first Linux developers chose to implement a non preemptive kernel? Hint: Linux was developed in the 90s, where personal computers mostly had only one CPU core. Which advantage non preemptive kernel provides on s single core computer and why this advantage decreases in multi core?  I am still confused why a non preemptive kernel will give any advantage, any idea or help is appreciated.

Why did the first Linux developers choose to implement a non-preemptive kernel? Is it to save synchronization?  As far as I know, Linux was developed in the early '90s, when PCs had a single processor. What advantage does a non-preemptive kernel give in such PCs? Why, however, the advantage is reduced by multi-core processors?


Given the group $(\mathbb Z,+)$,then find $n\mathbb Z \cap  m\mathbb Z$ for arbitrary integers $n,m$.  From the definition we have: $$n\mathbb Z=\left\{nx:x \in \mathbb Z\right\}$$ $$m\mathbb Z=\left\{mx:x \in \mathbb Z\right\}$$ On the other hand : $a \in n\mathbb Z$ if and only if $n$ is a divisor of $a$: Proof: $\Longrightarrow$ From the definition $a \in n\mathbb Z$ if $a$ can be written as $a=nx$ for some integer $x$ and follows $n$ divides $a$. $\Longleftarrow$ If $n$ divides $a$ then there is some integer $x$ for which $a=nx$ does hold,from the construction of $n\mathbb Z$ easily follows $a \in n\mathbb Z$.  An element $a$ is in $n\mathbb Z \cap  m\mathbb Z$ if $ a\in n\mathbb Z$ and  $ a \in m\mathbb Z$,follows there is integers $x,x'$ such that :$a=nx$ and $a=mx'$ But I don't know how that helps to construct the elements of $n\mathbb Z \cap  m\mathbb Z$.

Given $m \in \mathbb{Z}$, let $m\mathbb{Z}$ denote the set of integer multiples of $m$, i.e. $m\mathbb{Z} := \{mk\mid k \in \mathbb{Z}\}$.   Now let $a,b \in \mathbb{Z}$ with $a,b$ not both $0$. Prove that $a\mathbb{Z} \cap b\mathbb{Z} = \operatorname{lcm}(a,b)\mathbb{Z}$.   I am trying to write a proof for this, but I am unsure of what method to use. Also I am confused by $mk\mid k$, because wouldn't $m=1$ for this to be true.


Here's the problem I have, specifically relating to a rocket in deep space: A rocket burns fuel at a constant rate. Assuming its mass remains constant, what happens to its acceleration? I seem to get two different answers depending on how I solve it (using conservation of energy or conservation of momentum): Conservation of Energy $\frac12mv^2=E_{exhaust}$, where $E_{exhaust}$ varies with time. $v=\sqrt{\frac2mt}$, meaning that velocity varies with $\sqrt t$, meaning that acceleration decreases over time. This also means that depending on your frame of reference's velocity relative to the rocket, the ship's acceleration must change...which makes about 0 sense, Conservation of Momentum $P_{exhaust}=mv$ Meaning that as more fuel is consumed, the velocity of the ship increases too (as $P_{exhaust}$ increases linearly with time, $v$ must also increase linearly with time). I am assuming that the mass of the spaceship is constant. While not quite true, the effect would be negligible and the paradox I'm running into would remain true anyways. Can anyone tell me what I'm doing wrong? The acceleration cannot possibly change depending on where you observe it from, but the acceleration also cannot remain constant as that violates conservation of energy. Thanks in advance!

If the velocity is a relative quantity, will it make inconsistent equations when applying it to the conservation of energy equations?  For example:  In the train moving at $V$ relative to ground, there is an object moving at $v$ relative to the frame in the same direction the frame moves. Observer on the ground calculates the object kinetic energy as $\frac{1}{2}m(v+V)^2$. However, another observer on the frame calculates the energy as $\frac{1}{2}mv^2$. When each of these equations is plugged into the conservation of energy, they will result in 2 distinct results (I think).


If one uses \left( and \right) to set functions an extra space is created between the function name and the brackets. How does one correctly set functions?  Here is an example:  \documentclass{article}  \begin{document}   Compare \[f(\frac{1}{2})\] and \[f\left(\frac{1}{2}\right)\]. \end{document}   Edit  Here is a (probably too easy) solution by using a negative space:  f\!\left(\frac{1}{2}\right)

If one uses \left( and \right) to set functions an extra space is created between the function name and the brackets. How does one correctly set functions?  \documentclass{article}  \begin{document}   Compare $f(x)$ and $f\left(x\right)$. \end{document}   Edit  Because of the duplicate tag that was not removed when I edited my question, I created a new question which has a useful answer here:


I installed a Lubuntu 16.04 LTS (and a v.17) both architectures x86 and 64 bits.   The problem is when I shut down the Virtual Lubuntu (installed) then, sometimes runs ok but one of them, the machine shows how is starting Lubuntu, but only shows an black screen. I can't do anything. I tried several times and I got always the same problem.   It was working fine the same machine I was working since 1 month and I never get this problem...

Trying to figure out what this means:    I got into the GRUB menu, chose Advanced Options, boot in recovery mode, login as root, and I did:  root@xps:~# sudo fsck -f / fsck from util-linux 2.27.1 e2fsck 1.42.13 (17-May-2015) /dev/nvme0n1p2 is mounted. e2fsck: Cannot continue, aborting.   Coincidentally, I am also seeing this fuzzy rainbow thing on the outside of desktop windows:    But now the machine won't even boot up at all.


Today I have installed Lubuntu on my old laptop and removed Windows 10 from it using a bootable usb stick. There are 3 hard drives in it. I wanted to install Lubuntu specifically on C drive but there was no option for it in the installer menu of Lubuntu, so I just continued and ended up using all the 3 hard drives unknowingly. I know it is my bad but the installer was quite different from the one being used in Standard Ubuntu. The other 2 drives (other than C drive) had some important files and photos. I want to restore them. I have tried searching all over the internet and ended up wasting 4 hours. I don't know how to live boot Lubuntu (so that I can try something like testdisk or photorec), but there's no option to live boot it like Standard Ubuntu (Try Ubuntu option after booting to bootable usb) I really need those files and photos. If you guys can help me out, I would really appreciate it! Thank You! Pardon me if I used wrong terminology anywhere, I am kind of a beginner.....

I have a Toshiba satellite A-200 laptop with a Vista OS on it with 4 NTFS partitions  (C:) Vista  (D:) Entertainment  (E:) Work  (F:) Sources   and I wanted to start using Ubuntu instead. So I tried it first from the live CD and everything was OK and all the partitions were shown and working and so I decided to install Ubuntu to replace Vista on the (C:) drive. After I did that I can no longer find my folders and files on the (D:), (E:), (F:) partitions and the only file system that is shown is one 198 GB although my HDD is 320 GB.  I can't access the lost data on the remaining 120 GB which I hope is still there and not totally lost  I am now working from the live CD but I am unable to install testdisk. Can I recover the Vista partitions by the product recovery CD to get my laptop back to the factory settings? Can I recover the NTFS partitions using a recovery program for Windows or will that make the problem worse?   I need these data badly as I don't have a backup for them.


I wouldlike execute my javaproject with "java crypter-v1.jar" but i have "Error: Could not find or load main class Crypter-V1.jar"

I want to package my project in a single executable JAR for distribution.  How can I make a Maven project package all dependency JARs into my output JAR?


Updated: 2014-10-05  I stopped using Windows 7 indexed search since I've discovered Archivarius 3000. If you want truly accurate indexed content search, I suggest you to try Archivarius 3000. Archivarius 3000 is awesome for indexed content search in text files, such as pdf, .epub, .mobi, .chm, doc, docx., txt etc.  Give Archivarius 3000 a try!  Original question:  I’m not able to find any text strings starting not from the beginning of word in filename or in file content using Windows 7 search.  My Windows 7 search configuration:        Let’s say I’m searching for a documents containing word “content”.  I’m able to find those documents when searching for “content”, “conte”, “con” (as long as the string includes the beginning of the word).  "content"    "con"    But if I search for “ontent”, “tent” or any other combination that doesn’t include the beginning of the word, Windows search won't find it.    I've tried other indexing/searching software such as Copernic Desktop search, Google desktop search. Those programs also weren’t able to find part of the word starting from the middle of the word. For instance, it finds “conte”, but doesn’t find “onte”.  Finds “conte”    Doesn’t find “onte”    I got the same problem using Copernic desktop search.  On the other hand, when I use non-indexing content search software such as Agent Ransack or FileSeek, I get the same results when searching for “conte” or “onte”:  “conte”    “onte”    Why do all pre-indexing content search applications (Windows search, Google desktop, Copernic desktop search) fail to search for a string inside the words?  Why do non-indexing applications find text strings wherever they are:  in the beginning, middle or end of the word?  I’ve tried wildcards and other constructions with no luck.  *onte  onte  “onte”  content:onte  content:onte  content:~onte  All these searched doesn’t find the word “content”.  How can I make Windows search find strings from any part of words?  Could you try these searches and see if they work for you? Or is this normal behavior?  Thank you.  Update:  Using wildcards before or after "onte" doesn't find any results.  content:~=onte doesn't find any results.

I am using windows 8 and I find that the built in search facility is not working as expected.  I have a folder like this    and when I search it like this, I get no result.     I would like the search tool to have matched on the partial file name. provides a good workaround, but ideally I would like to have this working out of the box. Is there a setting to change or any other means to get partial file search match without installing additional software?


Different SE sites have different styles. How about an (optional) default style for all of them?   Like reddit has custom styles for different subreddits but there's still an option to disable them.

Is it possible to switch a certain Stack Exchange site's interface (as a personal preference) to the theme used by beta sites?  Some sites have flashy decorations or unreadable fonts (I prefer to disable antialiasing on fonts). It would be nice to have an option to see a site with the "beta" theme.  If there's a solution using custom styles, I would accept that as an answer.


I recently , and the  rejected it within a fraction of a second.  What causes this behavior, and what can one do to prevent it from happening?  Is this possibly related to me logging on from the computer next to the one I usually use?

Why does the Community user sometimes approve or reject edits? How does a machine know if my edit is valid? What does it mean if my edit was rejected by Community?     See also:


My problem is very similar to  . But adding necessary user(Site owner) to Debug Logs doesn't help me. I don't see any logs at all. But webservice works well.

Normally, you can put debug monitoring on a user by name to see the details on the error they're getting (especially for the non-descript Error Loading a Visualforce Page).  But when you are trying to debug a site page, how do you get a debug log for the guest user?  Update  As of Spring '18 Salesforce has dropped the requirement to include the debug_logs cookie to get debug logs for the force.com site requests.     In Winter ’17, we introduced a change that required guest users to set   browser cookies to activate debug logging. We had the best of   intentions: All your public site visitors share one guest user   license. Thus, when you enable logging for the guest user, the   visitors’ collective activities can fill your debug logs quickly,   hitting the log-size limit and causing log truncation. Sadly, people   didn’t like the Winter ’17 change. Setting cookies is complicated, and   the change made collecting debug logs for public users’ asynchronous   activity impossible. We’ve seen the error of our ways. Your public   users no longer need a debug_logs browser cookie to trigger logging.   This change applies to both Lightning Experience and Salesforce   Classic.


Here's what I am trying to do in (jquery,html):  The aim is to make it so that when I hit the switch (basic/advanced) a block of html is added to the existing html. Within this new block there will be another switch (less/more) which should added another block.  However I can't seem to (less/more) switch to work. In fact the function is not running at all.  The function that corresponds to the (basic/advanced) switch is:  var selectInvestment = "basic"; function expandInvestment(){     $("input[type=radio][name=expandInformation]").click(function(){         selectInvestment = $(this).val();        var huge = 'huge block of html code in here';         if(selectInvestment == "advanced"){             $('.investmentBlock').empty();             $('.investmentBlock').append(huge);             expandedExpenses();         } else if(selectInvestment == "basic"){             $('.investmentBlock').replaceWith("<...more html code...>");         }     }); }   And it's similar for the less/more switch.  Here is jsfiddle preview.

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.


Suppose $(a_n),(b_n)$ are two convergent sequences such that there exists some $N\in\mathbb{N}$ such that $a_n\geq b_n$ for all $n\geq N$. Then $$\lim_{n \to \infty} a_n \geq \lim_{n \to \infty} b_n.$$   This is an obvious fact but I'm not sure how to formalize the proof.  Take the subsequences $a_{n_k}$ and $b_{n_k}$ which are defined to be the $N$th tail of $(a_n)$ and $(b_n)$ respectively. Since every subsequence of a convergent sequence converges to the same limit, we have $$\lim a_n=\lim a_{n_k}\geq \lim b_{n_k}=\lim b_n.$$  Is there a better proof than this?

Theorem  Let $\{a_n\}$ and $\{b_n\}$ be convergent real sequences. Assume that there exists a $N\in\mathbb{N}$ so  $a_n\le b_n$ (eq. 1)  for all $n\ge N$. Then  $\lim_{n\to\infty}a_n\le \lim_{n\to\infty}b_n$.  My attempt at proving  Let $a=\lim_{n\to\infty}a_n$ and $b=\lim_{n\to\infty}b_n$. $a$ and $b$ are real numbers because the limit of a sequence of real numbers is a real number (which is a corollary in my textbook). For proof by contradiction, assume  $b<a$.  Let $\epsilon=\frac{a-b}{2}$. Then we can find $N_a,N_b\in\mathbb{N}$ so  $|a-a_n|\le\frac{\epsilon}{2}$ when $n\ge N_a$, (eq. 2)  $|b-b_n|\le\frac{\epsilon}{2}$ when $n\ge N_b$. (eq. 3)  In a textbook I found that I should do the following:  Choose a $n$ so $n\ge\max(N,N_a,N_b$), then eqs. (1-3) are satisfied. Then  $a-\epsilon\le a_n+\frac{\epsilon}{2}-\epsilon$  How do I get that last thing? Is it necessary to do a proof by contradiction or can one do a direct proof?


Hello Stack Users, I am having trouble finishing this growth according to size algorithm problem. I was able to figure out the first two of the problem which are not listed in the picture. That would be 1. O(1) and 3. O(N) I was able to place these into their correct slots. I still cannot figure out how to determine the growth rate for 2,4,5,6 into the slots provided. Any suggestions on how to determine this?

Most people with a degree in CS will certainly know what . It helps us to measure how well an algorithm scales.   But I'm curious, how do you calculate or approximate the complexity of your algorithms?


I'm trying to create a simple website that has a Header containing the logo and other information, then a ribbon as separator and then a two-column section. Left column will have a selector. Right column will have information depending on the option chosen on the selector.  I was able to do this so far but now I wanna take it to the next level. I would like my site to always fit to the window so no vertical scrollbar needed. I'm comfortable with the sizes of my header and ribbon so I want the two-column section to take the remaining space in the window. The scrollbar, if needed, would be on the information div. Just in case, I want the left-half (selector) to take as much space as it needs. Right-half (information) should adjust to the space it has left.  I have this code so far:  CSS  .container {     display: table;     width: 100%; }  .left-half {     display: table-cell;     background-color:#7ec0ee; } .right-half {     display: table-cell;     overflow: auto; }   HTML

&nbsp;

         <select>..</select>

I am working on a web application where I want the content to fill the height of the entire screen.  The page has a header, which contains a logo, and account information. This could be an arbitrary height. I want the content div to fill the rest of the page to the bottom.  I have a header div and a content div. At the moment I am using a table for the layout like so:  CSS and HTML    #page {     height: 100%; width: 100% }  #tdcontent {     height: 100%; }  #content {     overflow: auto; /* or overflow: hidden; */ }

...

...

     The entire height of the page is filled, and no scrolling is required.  For anything inside the content div, setting top: 0; will put it right underneath the header. Sometimes the content will be a real table, with its height set to 100%. Putting header inside content will not allow this to work.  Is there a way to achieve the same effect without using the table?  Update:  Elements inside the content div will have heights set to percentages as well. So something at 100% inside the div will fill it to the bottom. As will two elements at 50%.  Update 2:  For instance, if the header takes up 20% of the screen's height, a table specified at 50% inside #content would take up 40% of the screen space. So far, wrapping the entire thing in a table is the only thing that works.


QUESTION:  Is there a way to tell the compiler to look the headers files in a specific directory ? I would like to use  #include "my_file.h"   Instead of  #include "/path/to/mylib/include/my_file.h"   (I'm trying to see how I could organize a custom library where headers files would not be in the same folder as the programs).  Sorry for the previous answerers, I had to completely recreate my question as it was not clear.  ANSWER:  Finally I found the answer. I could not add an answer since my post has been marked as duplicate (I believe), but anyway, I could use any of the following:   #include <my_file.h> #include "my_file.h"   The "trick" was to use the -I option, which adds a header directory.  gcc -I/path/to/mylib/include myprogram.c ~/path/to/mylib/src/file/my_file.c -o myprogram && ./myprogram   In this case, the structure is:   /path/to/mylib/include/my_file.h   /path/to/mylib/src/my_file.c   /path/to/myprogs/myprogram.c    And the current dir was /path/to/myprogs

In the C and C++ programming languages, what is the difference between using angle brackets and using quotes in an include statement, as follows?   #include <filename>  #include "filename"


Does VB.Net have an equivealent for c#'s yield break?  Public Function Validate(validationContext As ValidationContext)                  As IEnumerable(Of ValidationResult)                  Implements IValidatableObject.Validate     '' what is equivalent to C#'s - yield break; End Function

C# has the keyword called . VB.NET lacks this keyword. How have the Visual Basic programmers gotten around the lack of this keyword? Do they implement they own iterator class?  Or do they try and code to avoid the need of an iterator?  The  keyword does force the compiler to do some coding behind the scenes.  has a good example of that.


Typically without is used to mean not having something. E.g.  He went to work without his pants on.  However, I'm wondering if it can be used for outside the bounds of. We do this with within. For example:  Please keep your children within the bounds of the school.  So could the following:  The vigilante was operating without the bounds of the law (or) The shop refused to refund my item, as it was without the warranty period.  be viewed as being acceptable?

Does "within" have an antonym? If there is an antonym, which one is it?


How would you solve such an equation if it's infeasible to just start trying different $x$ values?  Example: $$x^x = 6.$$

Is there any "superlogarithm" or something to solve an equation like this:  $$x^x = 10?$$


I'm compiling this code and as result I have this table:     \begin{table}[!h] \centering \begin{tabular}{cc|c|c} \toprule                                                                                &                                                              & \textbf{$\mathcal{J}$ fairness index}           & \textbf{TB size}                                \\ \midrule                                                                                & \cellcolor[HTML]{9B9B9B}{\color[HTML]{000000} $16 \times 8$} & \cellcolor[HTML]{9B9B9B}{\color[HTML]{000000} } & \cellcolor[HTML]{9B9B9B}{\color[HTML]{000000} } \\ \cline{2-4}                                                                                & \cellcolor[HTML]{C0C0C0}$16 \times 4$                        & \cellcolor[HTML]{C0C0C0}                        & \cellcolor[HTML]{C0C0C0}                        \\ \cline{2-4}  \multirow{-3}{*}{\textbf{\begin{tabular}[c]{@{}c@{}}BLIND\\ METHOD\end{tabular}}}     & \cellcolor[HTML]{EFEFEF}$4 \times 4$                         & \cellcolor[HTML]{EFEFEF}                        & \cellcolor[HTML]{EFEFEF}                        \\ \midrule                                                                                & \cellcolor[HTML]{9B9B9B}$16 \times 8$                        & \cellcolor[HTML]{9B9B9B}                        & \cellcolor[HTML]{9B9B9B}                        \\ \cline{2-4}                                                                                & \cellcolor[HTML]{C0C0C0}$16 \times 4$                        & \cellcolor[HTML]{C0C0C0}                        & \cellcolor[HTML]{C0C0C0}                        \\ \cline{2-4}  \multirow{-3}{*}{\textbf{\begin{tabular}[c]{@{}c@{}}TRAINING\\ METHOD\end{tabular}}}  & \cellcolor[HTML]{EFEFEF}$4 \times 4$                         & \cellcolor[HTML]{EFEFEF}                        & \cellcolor[HTML]{EFEFEF}                        \\ \midrule                                                                                & \cellcolor[HTML]{9B9B9B}$16 \times 8$                        & \cellcolor[HTML]{9B9B9B}                        & \cellcolor[HTML]{9B9B9B}                        \\ \cline{2-4}                                                                                & \cellcolor[HTML]{C0C0C0}$16 \times 4$                        & \cellcolor[HTML]{C0C0C0}                        & \cellcolor[HTML]{C0C0C0}                        \\ \cline{2-4}  \multirow{-3}{*}{\textbf{\begin{tabular}[c]{@{}c@{}}HEURISTIC\\ METHOD\end{tabular}}} & \cellcolor[HTML]{EFEFEF}$4 \times 4$                         & \cellcolor[HTML]{EFEFEF}                        & \cellcolor[HTML]{EFEFEF}                        \\ \bottomrule \end{tabular} \caption{•} \label{tab_fairness_los} \end{table}   I would like to know how I can make the cline between coloured cells appear? Any idea? Is there something wrong in the code? Do I need a particular package?  If I use \hline instead of \cline this is what happens:  Sincerely I don't know how I should write

I'd like to draw a partial horizontal line just below of 'first second third' row, but \cline doesn't work. Any suggestion?  \documentclass[table]{beamer} \usepackage[T1]{fontenc} \usepackage{xcolor,multirow}  \begin{document} %%% \begin{frame}   \frametitle{table example}   \begin{table}[h]     \centering     \rowcolors[]{2}{blue!20}{blue!10}     \begin{tabular}{|c|cccccc|} \hline       \rowcolor[gray]{.9}       &       \multicolumn{2}{>{\columncolor[gray]{.9}}c}{first} &       \multicolumn{2}{>{\columncolor[gray]{.9}}c}{second} &       \multicolumn{2}{>{\columncolor[gray]{.9}}c|}{third} \\       \cline{2-7}       \rowcolor[gray]{.9}       \multirow{-2}{*}{left}       & $x_1$ & $x_2$ & $x_3$ & $x_4$ & $x_5$ & $x_6$ \\ \hline       A & a1 & a2 & a3 & a4 & a5 & a6 \\        B & b1 & b2 & \multicolumn{2}{>{\columncolor{blue!20}}c}{b34} & b5 & b6 \\       C & c1 & c2 & c3 & c4 & c5 & c6 \\       D & d1 & d2 & d3 & d4 & d5 & d6 \\ \hline     \end{tabular}   \end{table} \end{frame} \end{document}


I'm trying to use the toggle to indicate the on and off state of a feature. One of the features will be turned on by default and cannot be turned off. See below.  Feature 1 is turned on by default and cannot be turned off. Feature 2 and 3 can be turned on but are turned off by default. What's the best way to show it? How about checkboxes? Thanks!

I'm designing a ToggleButton control that has the ability to be in a locked state in which user interaction will not be able to further toggle the control. In general I would like the button to appear somewhat natural in the natural scheme of rules laid out in Microsoft's UXGuide but I don't mind the idea of using some sort of custom graphic or unique concept to signify fact that the control is locked.  As far as button appearance I could use:   An iPhone style . A toggle button featuring a custom graphic icon such as a power button that lights up when activated. A plain old Check Box.   If I'm to go with a check box I could use the disabled state to represent that the control is locked however this may look to the user as if the control's setting isn't in effect since it normally appears muted via a grayed out style. For the other two options, the only reasonable thing I can think of is to overly some type of padlock style icon on or near the toggle button when it is locked.  If somebody can lead me in the right direction it would be greatly appreciated.  Proposal#1: Below is a concept that I came up with that I think looks somewhat similar to the iPhone toggle but which was inspired by the . Also I incorporated the suggestion by Hisham to only show the padlock icon when in a locked state. This concept is more specific to toggle button that represnts on/off states but for that purpose I think it appears quite adequate.    Proposal#2: This is another take on the example above but uses the ubiquitous power icon instead of the on/off text. Additionally I used a grayed out text instead of the padlock to signify that the control is on but cannot be toggled any further. Note, I have seen some cases where the line that intersects the circle in the power symbol changes it's position depending on whether power is on or off however I cannot dig up any examples of this right now.    UPDATE: Since sometimes context is everything, I created a rough but more specific mockup to show how the toggle control I'm developing will be used. In general I would like be able to apply some of the concepts we develop here to other more common user interfaces but I figured I should at least elaborate further on what is leading more twords hardware style buttons. In the long run, whether I'm going to emulate a hardware look or not the important point is that this toggle control will be repeated in many places and will serve an identical purpose thus perhaps in some cases a specialized toggle control like the one I've proposed would be a good solution otherwise in some cases perhaps a more traditional UI one could use two radio buttons for the ON and OFF states and then use a label to explain or just disable these controls when they are to be in a locked state.    From this example one can see why I'm also moving away from the padlock metaphor as well since placing a padlock icon on the on/off toggle button may mislead the user into thinking the whole control is locked which would not be the case. The locked/disabled state is only supposed to affect the ability to switch the effect control on/off.  Some related links:


Let's say I have a SVD of a matrix $A = U \Sigma V^T$, $A \in \mathbb{R}^{n \times m}$, and I'm using top-k components corresponding to $\sigma_1, ..\sigma_k$, the k largest values on the diagonal of $\Sigma$. They are also square roots of k largest eigenvalues of $A^T A$.   I encountered the sum of $$\frac{\sum_1^k \sigma_i^2}{\sum_1^n \sigma_i^2}$$ being interpreted as "preserved variability". This makes sense if $A^T A$ were the variance - but it's not, not unless the mean along the rows of A is zero. What am I missing here? Is there an inherent assumption that SVD is only applied to "normalized" $A$?

Principal component analysis (PCA) is usually explained via an eigen-decomposition of the covariance matrix. However, it can also be performed via singular value decomposition (SVD) of the data matrix $\mathbf X$. How does it work? What is the connection between these two approaches? What is the relationship between SVD and PCA?  Or in other words, how to use SVD of the data matrix to perform dimensionality reduction?


I'd like to know how to accomplish saving, accessing old save files, and overwriting them.

I am making a game using the Unity game engine. I want to save the player's progress including level, experience points, chosen character, etc. Presently I am using playerprefs but I want to know whether this will work for gamers who will run this game on their mobile devices (Android/iOS) as well as desktops (OSX/PCs)? If not, then how should I save this information? I want to auto-save player progress after clearing each stage.


Why is the determinant of an integer matrix always an integer? I am using the definition of the determinant as being the product of the diagonal entries of a matrix in upper triangular form.

Why must the determinant of a matrix with integer entries be an integer?   Note: I know what a determinant of a matrix is, not sure how to explain this question.  Is that because if the matrix is made with integers the determinant has to be an integer as well?


I don't know which chapter season 2 episode 13 ends.  I just started watching it. I tried but could not find it.  Which manga chapter correspond to the end of episode 13 of season 2 of the anime?

Can anyone tell me which chapter in the manga is the end of episode 12 from the second season of Seven Deadly Sins?


Does it make sense to use both continuous and categorical variables as input variables to predict a continuous variable with Random Forest algorithm? Do continuous variables tend to have higher predictive power? If yes, why?

I am trying to find the variable importance on a credit scoring database. I have categorical inputs as well as numerical inputs. My question is does the random forest algorithm works the same way when I   case (1) : give only categorical variables as inputs  case (2): both categorical and numerical variables as inputs.  By this what I am actually asking is only categorical variables are enough or numerical variables should be included along with categorical variables as inputs to the algorithm...???  Thanks in advance...


I am very curious to know how it would be possible to find the name of a particular program installer package (before installing the program itself)  based on the subject my interest and the way to obtain information about it via the command line.  The only link that I have found is , and it would not work in Ubuntu.  Would you help me discover how to find for example the packages that install music players?

How can I get information about a package before installing it, from the terminal?  I mean something like man pages, but accessible even before the package is installed.


What led us to believe that space and time are actually interconnected? How did the idea actually originate? why do we believe that this concept is true?

Why is time considered to be a dimension? And the other 7 (except the 3 dimensions of space, and the dimension of time) dimensions that string theory suggests, why can't they be realized?


Do Young monsters or humanoids (or babies) have a different alignment to adult versions of those monsters/humanoids/babies?  Do they have an alignment at all?  Are they capable of having a non-neutral alignment?

Is there a rule that says what humanoid children have as an alignment?   I know that, barring a specific exception, the general rules of alignment would apply. Animals have a specific mention in the text as having an exception (they are always neutral). What I'm looking for is whether children have a specific exception that sets their alignment differently than the general rule does.  In this context, "children" means people up to the pre-teen years, whatever those years are for the different races.


I recently came across a Monty Hall problem involving 5 doors. You are participating in a contest. There is one car behind five doors. After you select a door, the host will open three of the four remaining doors that do not contain the car. You are now left with two options. Do you stay with the original door or switch to the unopened door? And how would you explain your answer by drawing a probability tree for this scenario?

I just learned about the Monty Hall problem and found it quite amazing. So I thought about extending the problem a bit to understand more about it. In this modification of the Monty Hall Problem, instead of three doors, we have four (or maybe $n$) doors, one with a car and the other three (or $n-1$) with a goat each (I want the car).  We need to choose any one of the doors. After we have chosen the door, Monty deliberately reveals one of the doors that has a goat and asks us if we wish to change our choice.  So should we switch the door we have chosen, or does it not matter if we switch or stay with our choice?  It would be even better if we knew the probability of winning upon switching given that Monty opens $k$ doors.


Does there exist a set $x$ such that $\mathcal P(x)\in x$, where $\mathcal P(x)$ denotes the power set of $x$?  In Zermelo-Fraenkel set theory, the axiom of regularity implies that for all sets $x$ and $y$, we cannot have $x\in y\in x$. Since $x\in\mathcal P(x)$, we cannot have $\mathcal P(x)\in x$, which gives an elementary proof.  However, many authors do not include the axiom of regularity in Zermelo-Fraenkly theory, mainly because almost all mathematical results can be proved without it, and the point of this axiom is basically a matter of convenience.  Therefore, I would like a proof which does not use the axiom of regularity either that we cannot have $\mathcal P(x)\in x$, or that this question is undecidable without this axiom.  In order to prove that this question is undecidable, I tried to show that the existence of a set $x$ such that $\mathcal P(x)\in x$ amounts to the existence of a set $a$ such that $a\in a$, or a set $b$ such that $b=\{b\}$, which (correct me if I'm wrong) are known to be two undecidable questions without the axiom of regularity.


The word2vec model saves its layer weights as embeddings. But do CBOW and skipgram both store the input layer weights?  I know they learn different embeddings for the words in the context and for the word as center word. CBOW features the context embeddings in the input layer and Skip-gram the center words.  I had a look at the C-Code and it looks like they are both storing the input layer syn0 as word vectors.  Am I right in my understanding?  Are the CBOW vectors therefore the context vectors and not the center word vectors as in skip-gram?  Why does CBOW not store the center word embeddings (output layer)?  Thank you

In word2vec's CBOW and skip-gram models, how does choosing word vectors from $W$ (input word matrix) vs. choosing word vectors from $W'$ (output word matrix) impact the quality of the resulting word vectors?  CBOW:    Skip-gram:


I am well aware that on my Physics Stack Exchange account, I have asked a few good questions and also some bad ones in the past.  For the Curious badge, I have an 8/5, but am unable to get it as I do not have a positive question record.  I am unable to delete those questions as others have already spent time investing an answer.  Hence, I would like to ask, given these circumstances, is there NO way that I can even get these badges?

Formerly List of all badges with full descriptions.  What are badge name's requirements? Why didn't I get badge name ? Which badges can I earn multiple times?    Jump to:                    Note: Some badges are awarded based on score. The term score means the total number of upvotes minus the total number of downvotes.  Any badge with a *** next to it is one of 20 badges that count towards the  displayed on a moderator candidate in an election. The candidate score is a total of 40 points: the first 20 are awarded based on the user's rep divided by 1000 and rounded down; the second 20 represents the total number of unique badges earned of the 20 that count. Note that if the same badge is earned multiple times, it will only count once towards the candidate score.  Any badge with a "(retired)" next to it is no longer awarded, but is retained by users who previously earned them. See  for more info on what it means for a badge to be retired.       Visit the  of the  on any site to see a complete list of badges that you can filter by earned, unearned, or type.


In communities, navigateToComponent or Lightning:navigation are not supported. So i found over the web force:navigateToURL is the way to go with. I am not able to make this work. I think the URL that i am trying to build is wrong. Can anyone suggest me the right way of using force:navigateToURL to navigate from one lightning component to another in communities?  I tried something like this. It did not work.  gotoAnotherComponent : function (component, event, helper) {       var urlEvent = $A.get("e.force:navigateToURL");       urlEvent.setParams({         "url": "/cmp/c__componentName"       });       urlEvent.fire();   }

Old way (using event force:navigateToComponent is deprecated) and new way (lightnign:navigation) is not supported in communities. How can I implement navigation?


Recently, I was helping a colleague to perform hypothesis testing for 2 independent samples, but the data one sample followed a normal distribution and the other followed a non-normal distribution. What would be the best approach when having a situation like this one? Is it better to perform a non-parametric test (for example, mann-whithey U-test) than a parametric (say t-test)?

I have following problem:   Within an independent groups 1-factor design I have two independent groups, with a sample size of 20 each. The data of the treatment group is not normally distributed, whereas the data for the control group is (checked with Shapiro-Wilk Normality Test). Now I want to check if the differences of the means of both groups are significant.  What is the appropriate test for this? I think it should be the Wilcoxon Rank Sum and Signed Rank Test, but I am not sure...  Could please anybody help me?


I have a table that shows 10 record and whenever i click on 'create PDF' button..whole page is rendered as PDF..But i have a requirement that if i select lets say any 5 record from the table using the check box..then only that records should appear in the pdf  my vf page:  <apex:page controller="queryaccountrecords"  > <apex:panelGrid columns="2"> <apex:form > <apex:pageBlock title="Account_Records"> <apex:repeat value="{!accts}" var="dbItem"> <apex:inputCheckbox id="ankita"/> <apex:outputField value="{!dbItem.Name}" />
 </apex:repeat> </apex:pageBlock> <apex:commandButton value="Create PDF" action="{!createpdf}"/> </apex:form> </apex:panelGrid> </apex:page>   my controller:  public class queryaccountrecords {     public Account[] accts{get;set;}     public queryaccountrecords()      {         accts= [SELECT Name FROM Account LIMIT 10];     }      public pagereference createpdf()     {     pagereference redirect = new PageReference('/apex/generatepdf');     redirect.setRedirect(true);     return redirect; }     }   page that is rendered as pdf:  <apex:page controller="queryaccountrecords" renderAs="pdf" showHeader="false" sidebar="false"> <apex:panelGrid columns="2"> <apex:form >  <apex:pageBlock title="Account_Records">  <apex:repeat value="{!accts}" var="dbItem"> <apex:outputField value="{!dbItem.Name}" />
 </apex:repeat> <apex:commandButton value="Create Pdf" action="{!createpdf}"/>  </apex:pageBlock> </apex:form> </apex:panelGrid> </apex:page>   can someone please help me?  Thanks Ankita Singh


I can boot from USB but the Ubuntu installation on my internal hard drive does not boot. I have reinstalled Ubuntu but it's still saying no boot device found.   This is what I can see in Gparted from a live USB session

My computer is a Sony Vaio Notebook. I used Ubuntu and Win 8 with dualboot but windows somehow managed to remove the menu to choose the OS at startup. I think the BIOS is UEFI. Secure boot was disabled already and Boot Repair somehow fails.  How can I fix this?


(NB: the original question title was: What is the best way to load XML from a string with a document specification?)  I need to get the XML content from an ODT opendocument (LibreOffice) file in an XmlDocument object. The ODT is a zip archive and I managed to get the content.xml part as a byte array. Converting to a string seems simple, but I was surprised to find that XmlDocument.LoadXml(string) does not accept a string that starts with an Xml document specification line, like:  <?xml version="1.0" encoding="UTF-8"?> <Offices id="0" enabled="false">   <office /> </Offices>   The exception is: Data at the root level is invalid. Line 1, position 1  I wonder if there is a library call to read such a string?  For now I use this function I improvised, but it feels unnecessarily complex to have to do stuff on the character level when handling xml documents:      /// <summary>     /// Convert an Xml document in a string, including document specification line(s),     /// to an XmlDocument object     /// </summary>     /// <param name="XmlString"></param>     /// <returns></returns>     public static XmlDocument LoadXmlString(string XmlString)     {         XmlDocument XmlDoc = new XmlDocument();         XmlDoc.LoadXml(XmlString.Substring(XmlString.LastIndexOf("?>") + 2));         return XmlDoc;     }   Is there a better way?  NB: I refer to   but this addresses the problem of parsing a string, with the solution of converting the string to a byte array, while I should not be parsing the string, and not convert the byte array to string to begin with, but just skip this step and directly parse the byte array after unzipping the ODT.

Does anyone have any idea why the following code sample fails with an XmlException "Data at the root level is invalid. Line 1, position 1."  var body = "<?xml version="1.0" encoding="utf-16"?><Report> ......" XmlDocument bodyDoc = new XmlDocument();             bodyDoc.LoadXml(body);


I am using ubuntu 14.04 LTS,  I am new to ubuntu and webstorm, I want to install monaco font in webstorm, so I installed monaco font in my system using this command  curl -kL https://raw.github.com/cstrap/monaco-font/master/install-font-ubuntu.sh | bash   font installed on /usr/share/fonts/truetype/custom location  But when I try to select this font via webstorm, monaco font not listed under settings->Editor->colors&fonts->fonts

I wanted to use Monaco.ttf with IntelliJ. Unfortunately it doesn't show up.  I also noticed that the Monaco font doesn't appear in the list of fonts got from awt:  java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames()   I installed Monaco.ttf  in /usr/share/fonts/truetype/osx  I also tried to copy it in /usr/lib/jvm/java-6-sun/jre/lib/fonts and even tried to manually update the /usr/lib/jvm/java-6-sun/jre/lib/fonts/fonts.dir file  I restarted the jvm at each try, but the fonts is not visible from the sun jdk.  All other applications see that font (even eclipse, which is in java but uses the SWT library)  Does anybody know how to make jdk see additional fonts?


I am building my own Json and I was just wondering if you could make a list of Json objects like this "familyList":{} instead of "familyList":[ {}, {}, {}] because in the one with the '{' instead  of the usual '[' you can put a key next to the {} like "Mother":{} which will be easier for me to sort through since I will be having a lot of data instead of having to open multiple brackets like this: {}, {}, {}. I am relatively new to JSON so an answer would be greatly appreciated :) !

I've looked on Wikipedia and Googled it and read the official documentation, but I still haven't got to the point where I really understand what JSON is, and why I'd use it. I have been building applications using PHP, MySQL and JavaScript / HTML for a while, and if JSON can do something to make my life easier or my code better or my user interface better, then I'd like to know about it. Can someone give me a succinct explanation?


I am at a loss of how to clear up system files manually on a 2017 MBP. Upon running du -h -d 1 I get;    Now the private folder is way too big and I am cautious to clear that out. I know I could clear the private/var files to an extent but want to try and avoid that. The user caches say they are  only taking up 7.3GB, after running du -sh ~/Library/Caches.   Any guesses of where/what I can purge to get this system's storage down? Any help is greatly appreciated.

Every few days I get notices on my MacBook that it's running or run out of hard drive space. Curiously, restarting the computer will enable me to recover gigabytes of space (this past time, it was able to recover about 2.2GB). However, I can't identify anything in my personal activity that consumed that space.  It's possible that it's a rogue iTunes podcast or a huge software update that my Mac is automatically downloading - would either of these reclaim the space upon a restart?  One possibility that I can think of is that FileVault has some sort of disk leak, allocating but not freeing files. Does this make sense? Is there a tool that I can run to determine where this space is going? Assuming it is FileVault, should I try to disable it? What's the best way to turn of FileVault on a nearly full computer?


I found where the Ubuntu file system is on Windows 10   C:\Users\{username}\AppData\Local\lxss\home\{username}   For some reason the lxss/ directory doesn't show up in Windows File Explorer. but if you type it in the title bar it shows up.  Now when I copy a file from the Windows file system into my home directory in the Ubuntu file system the Ubuntu file system doesn't show the file.  How do I get interoperability between the two file systems?

How can I use the Windows Explorer to create folders or files in my home directory using "Bash on Ubuntu on Windows"?  I tried the following:   Enter C:\Users{user}\AppData\Local\lxss{username} in the Windows Explorer Create a folder named "scripts" using Windows Explorer Open Bash on Ubuntu on Windows Run ls -a   RESULT: total 0  Are there any plans to make something like this work?  P.S. Workaround-ish:   I used mkdir & touch in bash to create folders & files e.g. scripts/menu.py I used the Windows Explorer & Notepad++ to edit menu.py I ran the script with python scripts/menu.py


I have been struggling with this for a very long time-in fact for a few days and it's preventing me from progressing-a severe hurdle.  Mainly,  1) what is $$\left \langle a^{k} \right \rangle$$? Is it read as the cyclic group generated by some element a to the power of k?  2) Can I have a step-by-step explanation as to how $$\left \langle a^{k} \right \rangle  \sqsubseteq  \left \langle a^{d} \right \rangle$$? To be specific, I cannot make the connection involved in 'and so'  I spent a couple of hours a day looking at this but it's not helping.  Edit: The link provided to the duplicate was not at all clear.  Topic in the other post clearly did not addressed the poster's question. It has also not answered my question on the implicit assumption made.

Theorem: $$\left\langle a^k \right\rangle = \left\langle a^{\gcd(n,k)}\right\rangle$$ Let G be a group and $$ a \in G$$ such that $$|a|=n$$ Then:  $$\left\langle a^k \right\rangle = \left\langle a^{\gcd(n,k)}\right\rangle$$  The proof begins by letting d = gcd(n,k) such that d is a divisor of k so there exists an integer r such that k = dr.  So, $$a^k=(a^d)^r$$.  $$\left\langle a^k \right\rangle \subseteq \left\langle a^{\gcd(n,k)}\right\rangle$$  I've spent a very long time on understanding this proof but found it to be obscure. I suspect there are some gaps in my understanding. If someone could show me the light I'll be really glad. I do not understand why the exponent r on a 'vanishes'.  Secondly, how does $$a^k\in \left\langle a^d\right\rangle$$ follows?  Thirdly, where does closure plays a role?


Suppose there're two systems $A$ and $B$, if we're in a pure state $|\psi\rangle\in\mathbb{H}_a\otimes\mathbb{H}_b$, let $\hat A$ be an operator acts on $\mathbb{H}_a$, and $|\psi\rangle=\sum_{i,j}\psi_{i,j}|a_i\rangle|b_j\rangle$. Then, the expectation value of A with respect to the state $|\psi\rangle$ can be calculated as: $$ \langle A\rangle_{\psi}= Tr_{\mathbb{H}_a\otimes\mathbb{H}_b}(A|\psi\rangle\langle\psi|)=\sum_{i,j}\langle a_i|\langle b_j|A\otimes\mathbb{1}_B|\psi\rangle\langle\psi|a_i\rangle|b_j\rangle=... $$ I'm very confused how those two equalities coming from? Especially for the term $|\psi\rangle\langle\psi|$ in the sum, can I understand their function as generating a $\psi$ matrix with different constants $\psi_{i,j}$? Thanks!!

Suppose there're two systems $A$ and $B$, if we're in a pure state $|\psi\rangle\in\mathbb{H}_a\otimes\mathbb{H}_b$. Let $\hat A$ be an operator acting on $\mathbb{H}_a$ and $|\psi\rangle=\sum_{i,j}\psi_{i,j}|a_i\rangle|b_j\rangle$. The expectation value of A with respect to the state $|\psi\rangle$ can be calculated as $$ \langle A\rangle_{\psi}= Tr_{\mathbb{H}_a\otimes\mathbb{H}_b}(A|\psi\rangle\langle\psi|)=\sum_{i,j}\langle a_i|\langle b_j|A\otimes\mathbb{1}_B|\psi\rangle\langle\psi|a_i\rangle|b_j\rangle=... $$ I'm very confused about where these two equalities coming from? In particular, where does the term $|\psi\rangle\langle\psi|$ in the sum come from? Can I understand its function as generating a $\psi$ matrix with different constants $\psi_{i,j}$?


I have been following this  and I can't understand this section.  So it says that pass by value creates copy of the data so that can be ineffiecient, since it creates copy of the data, makes sense:  string concatenate (string a, string b) {   return a+b; }   then you have this, to 'solve the creating copies of data' issue:  string concatenate (string& a, string& b) {   return a+b; }   which makes sense since it is using references.  But I do not get this:  string concatenate (const string& a, const string& b) {   return a+b; }   Which says:     By qualifying them as const, the function is forbidden to modify the values of neither a nor b, but can actually access their values as references (aliases of the arguments), without having to make actual copies of the strings.   Why just not use the second way? In this example no modification of data is being done anyway? Can somebody give me a better example ?  Is it just done for safety reasons?

How far do you go with const?  Do you just make functions const when necessary or do you go the whole hog and use it everywhere?  For example, imagine a simple mutator that takes a single boolean parameter:  void SetValue(const bool b) { my_val_ = b; }   Is that const actually useful?  Personally I opt to use it extensively, including parameters, but in this case I wonder if it's worthwhile?  I was also surprised to learn that you can omit const from parameters in a function declaration but can include it in the function definition, e.g.:  .h file  void func(int n, long l);   .cpp file  void func(const int n, const long l)   Is there a reason for this? It seems a little unusual to me.


Here is a situation I am in, and I am unsure of how to address it:  I asked a question (on Startups), and two people both work pretty hard to create good answers.  Neither answer is, in my view, complete, but taken together, they answer the question very well.  My question is, how can I reward the responders and indicate to future page visitors that both answers must be read?  I am sorry to ask such a basic question here, but I cannot find guidelines that outline principles that would apply here.  Thanks in advance.  Edit: Ironically, I ended up in exactly the same situation here.  Thanks to Bart and Andy.  (They got upvotes)

I'm kind of curious what kinds of criteria other people go through when selecting the correct answer to their questions.  Here's what I consider when selecting the answer to my question:   Is the answer objective?  It's easy to pick out biased answers.  Usually they involve a statement along the lines of "x sucks, you should ALWAYS use y." Do other members seem to support the answer?  Has it gotten a significant number of +1 posts or has it been voted up a number of times? Is the answer the most thorough?  Does it have an example?   With that said, there are a couple of BAD reasons to choose an answer in my opinion:   The answer is what you want to hear.  My biggest pet peeve is when somebody asks what ostensibly appears to be a valid question, but is really just a thinly veiled attempt to get someone to agree with them.  Thus, the question usually ends up showing a certain bias.  And guess which answer gets selected?  The one that confirms that bias. Nobody posted a better answer.  If you don't see a good enough answer, don't select one.   I'm sure there are a few things I'm leaving out, plus some of what I've said may be arguable.  What is everyone else's take on this?


Is there any way to change parameters of attribute at run time? I have a service in which I am assigning roles who can access the service. I want to assign these roles at run time.    [HttpGet]    [Authorize(Roles="admin")]     public DataTable GetAllProducts()     {         FormToken auth = new FormToken();         DataTable dt = new DataTable();         if (!auth.isAuthenticated())         {             dt.Columns.Add("Error");             DataRow dr = dt.NewRow();             dr["Error"] = "Login to get the Service";             dt.Rows.Add(dr);             return dt;         }         var rec = from log in db.Products select log;         return rec.ToDataTable();

I am not sure whether is it possible to change attribute's parameter during runtime? For example, inside an assembly I have the following class  public class UserInfo {     [Category("change me!")]     public int Age     {         get;         set;     }     [Category("change me!")]     public string Name     {         get;         set;     } }   This is a class that is provided by a third party vendor and I can't change the code. But now I found that the above descriptions are not accurate, and I want to change the "change me" category name to something else when i bind an instance of the above class to a property grid.  May I know how to do this?


The work that I'm referencing is Skip Williams's  and his work on the 3.5e Sage Advice Dragon magazine articles (issues 310-322).  The answers column in Dragon magazine (an official publication) are said to be "official answers." In the introduction to the Rules of the Game articles it states:        Have people that you play with presented you with a gloriously tangled rules question? Sit down with your rulebooks and get ready to go over them with our rules guru as he examines what happens when rules collide.     WoTC considered Williams to be their rules guru. I've read many of the Rules of the Game articles. From what I can tell, Williams has good insight and understanding when discussing the D&D 3.5 rules. I assume he has made a few mistakes, but is that enough to consider his work unreliable?   Obviously, if an answer could point out that Williams made 3.5 rules mistakes on a consistent basis, that would do it.  I am not asking about the D&D FAQ: I'm discussing William's Rules of the Game articles from Sage Advice.  Even if some of the Sage Advice answers are included in the FAQ, it's still different because I'm dealing specifically with the reliability of the above mentioned rules answers, not the FAQ's. This is not an attack on Williams (I believe his credentials are well attested).  It's an attempt to weigh whether the work mentioned is reliable as a rules source. Like WoTC I generally believe it generally is.  Good reasons: Showing consistently where the said material is clearly wrong by the rules from the books themselves. I do not see this as opinionated.

I've heard from several places that the  is generally a bad place to find information about the rules of the game.  I don't really understand this distrust, since it's an official document from the company that makes the game.  Why is it that many people feel that the D&D 3.5 FAQ is not a valid source for rules clarifications?  I'm not necessarily looking for a list of every single thing that's wrong with the FAQ; such a list could be prohibitively long for this format.  I'm mainly looking for an overview of the main perceived issues with the document.  If such a list exists elsewhere, I wouldn't mind a link to such a list, though.  I've spent a few minutes trying various google searches for this topic, and everything that I could find was either not applicable, clearly biased, or required reading dozens of forums in order to find anything useful.


so i am proposing to conduct a study on indirect contact as an intervention for stigma reduction in a police population.  My IV is the intervention with two levels (intervention group and control group) and my DV's are a attitudinal measure, intergroup anger and a behavioural measure.  I will be conducting a pre - post - follow up test and I am planning to use a repeated measures ANOVA and an ANCOVA so I can measure covariates such as (years in duty, previous contact etc). I am struggling to get this straight in my head as I confused if I can use covariates as a measure of moderator effects? Also slightly confused how I would introduce the covariates within the proposal?   Any help or guidance would be greatly appreciated

Imagine the following common design:   100 participants are randomly allocated to either a treatment or a control group the dependent variable is numeric and measured pre- and post- treatment   Three obvious options for analysing such data are:   Test the group by time interaction effect in mixed ANOVA Do an ANCOVA with condition as the IV and the pre- measure as the covariate and post measure as the DV Do a t-test with condition as the IV and pre-post change scores as the DV   Question:    What is the best way to analyse such data?  Are there reasons to prefer one approach over another?


I want to have a bibliography at the end of each chapter (and later also at the end of the book).  In this MWE this does not work. I expected to have at the end "[1] A B, Test Journal ..." Bibtex runs with "Process exited normally".  \documentclass{book}  \usepackage[ngerman]{babel}  \usepackage[sorting=none, backend=bibtex]{biblatex} % load the package  \begin{filecontents}{bibliography_file.bib} @ARTICLE{myref,   AUTHOR       = "A B",   TITLE        = "Test",   JOURNAL      = "Journal",   YEAR         = "2019",   NUMBER       = "1" } \end{filecontents}  \addbibresource{bibliography_file.bib} % add a bib-reference file  \begin{document}  \chapter{First Chapter}  Hello. We cite \cite{myref}  \begin{refsection} % refsection environment Citation section \thesection: \cite{myref} % collect citations \printbibliography[heading=subbibliography] % print section bibliography \end{refsection}  \end{document}

I can't seem to get the reference within my {refsection}.  \documentclass[a4paper]{article}  \newcommand{\myparagraph}[1]{\paragraph{#1}\mbox{}\\}  \usepackage[     backend=bibtex,     isbn=false,     url=false,     doi=false,     eprint=false, ]{biblatex}  %Point to the bibliography db \addbibresource{mybib.bib}  \begin{document}  \include{myparagraph}  \end{document}   My paragraph file  \myparagraph{\fullcite{dante1320}} \begin{refsection}  \cite{manzoni1827}  \printbibliography[heading=subbibliography] \end{refsection}   I get the first citation (dante1320) right, but the second prints as [manzoni1827]. I don't get any error when I run Bibtex concerning the missing reference. But I got it when I run Latex: LaTeX Warning: Citation 'manzoni1827' on page 2 undefined on input line 5.


I'm planning in buying a mountainbike but i'm not sure wether to buy a carbon or an aluminium one. My main concern is that when i fall, will the carbon frame break faster or become unusable significantly quicker than the aluminium one? It's either the Ghost htx 5 lc or the Thompson xc650 ALU.

Has anyone had experience with carbon fiber mountain bikes? I'm still skeptical as to how robust they are. Is it true that a scratch will make the frame useless? And Trek has this process called OCLV ... is that just hype or does their carbon layup process really have significant benefits?


You have been living in the house you bought 7 years ago for $300,000. At that time, you took out a loan for 80% of the house at a fixed rate 15-year loan at an annual stated rate of 8.0%. You have just paid off the 84th monthly payment. Interest rates have meanwhile dropped steadily to 6.0% per year, and you think it is finally time to refinance the remaining balance over the residual loan life. But there is a catch. The fee to refinance your loan is $5,000. Should you refinance the remaining balance? How much would you save/lose if you decided to refinance? Yes, gain $7,287.20 No, lose $12,287.20 Yes, gain $12,287.20 No, lose $7,287.20 What I tried: I tried calculating like this: I calculated the interest we are paying currently and balance after 7 years and they are as follows but when I calculate the interest after refinance and calculate profit loss the answers don't match? 240000 * (0.08/12) * (1 + 1/((1 + (0.08/12))^180 - 1) ) =2293.565 --> Current Interest (2293.565 + (1 + (0.08/12))^(84) * ((0.08/12) * 240000 - 2293.565))/(0.08/12) --> Balance after 7 years == 162242

I currently have a 4.5% mortgage with a balance of $247,000, and am going to refinance. However, my situation is a little atypical in that I don't plan to live in the house more than 3-4 more years.  To minimize cash outflow I am considering a 5/1 ARM, and want to know how to evaluate the wisdom of "buying down" the interest rate.    I have one set of offers shown below, with a plethora of options for paying points up front in exchange for a lower rate.  If I choose the middle-of-the road option (2.75 rate) my break-even over the current loan is 12-13 months.    Given that my time frame is 3-5 years, how would I analyze this table to determine the "best" option?  My objective is to minimize total cash flow over, say, 48 months assuming any money not contributed to buying down the rate is earning 3.5%.  Also, there are fixed closing fees of $1932 in addition to the discount points.  Location is in the US Pacific Northwest.  Rather than just giving me a solution I'd prefer an explanation of how to calculate the solution on my own.  Current Loan Balance   $247,000 Current Interest Rate     4.50% Current Payment        $  1,282 Remaining term (months)     341                                   Discount Fee                                   ------------------   Rate    APR     New Pmt       Pct          $ ------  ------    -------     ------------------ 1.500%  2.776%    $852.45     4.53%   $11,189.00 1.625%  2.787%    $867.34     4.13%   $10,194.00 1.750%  2.798%    $882.39     3.72%    $9,196.00 1.875%  2.809%    $897.60     3.32%    $8,198.00 2.000%  2.820%    $912.96     2.91%    $7,200.00 2.125%  2.831%    $928.48     2.51%    $6,205.00 2.250%  2.837%    $944.15     2.05%    $5,054.00 2.375%  2.833%    $959.97     1.44%    $3,567.00 2.500%  2.845%    $975.95     1.05%    $2,586.00 2.625%  2.857%    $992.08     0.65%    $1,606.00 2.750%  2.866%  $1,008.36     0.23%      $561.00 2.875%  2.892%  $1,024.78    -0.14%     -$346.00 3.000%  2.934%  $1,041.36    -0.51%   -$1,257.00 3.125%  2.978%  $1,058.09    -0.88%   -$2,166.00 3.250%  3.021%  $1,074.96    -1.20%   -$2,966.00 3.375%  3.064%  $1,091.98    -1.50%   -$3,700.00 3.500%  3.108%  $1,109.14    -1.79%   -$4,429.00 3.625%  3.152%  $1,126.45    -2.09%   -$5,155.00 4.125%  3.330%  $1,197.08    -2.18%   -$5,392.00 4.250%  3.375%  $1,215.09    -2.42%   -$5,970.00 4.375%  3.420%  $1,233.23    -2.65%   -$6,548.00 4.500%  3.465%  $1,251.51    -2.84%   -$7,005.00


This question is unique in the sense of its requirements.  I require a web host like Hostgator that offers the same level of features but is based and hosted in the UK.  This is required due to both UK and EU law relating to location of customer data, so I would appreciate unlike the other threads people don't attack suggest HostGator is fine because it is great but the law is the law.

This is a "catch-all" question designed to serve as an answer for all questions about choosing web hosting.  Pro Webmasters no longer accepts new questions about how to choose hosting.  All future questions pertaining to finding web hosting should be closed as a duplicate of this question. For more information about this policy please see .    How to find web hosting that meets my requirements?  What we're looking for in answers to this question are the basics about web hosting:   What is web hosting? What is the difference between shared, VPS, and dedicated hosting? How does a content delivery network relate to web hosting? Anything else you feel is helpful in finding a web host.   What we do not want is:   Endorsements or recommendations for specific web hosts We do not want your experience or other subjective information (just the facts please)


Suffixes indicating people and language of country vary by country:  _an: American, German, Italian, Belgian, Australian, Russian, Ukrainian, Korean,  Mexican, Brazilian, Chilean, Argentinean, Indonesian, Malaysian, Iranian, Egyptian, Somalian, Palestinian  _sh: English, British, Polish, Danish, Swedish, Turkish,    _ch: French, Dutch  _ese: Chinese, Taiwanese, Japanese, Vietnamese, Portuguese  _no: Filipino, Latino  _i: Israeli  _: Thai  Among the above, _an seems to outnumber other suffixes.  Are there any simple rule to govern appropriation of suffix turning a country name into adjective, indicating people and language of countries in the world in terms of say, region, race, or cultural background? Or is it just discretional?

Possible Duplicate:          I have some confusion regarding usage of suffixes such as -ites / -ians / -ish.  For example:   I have seen some people using the words Kerelite and Mumbaites for people from Kerela (a state) and Mumbai (a city).  Other examples:   Indians (where India is a country) Spanish (Where Spain is again a country) American Pakistani Chinese Welsh New Yorker   So on what basis do we decide what suffixes should be used, or is it very dependent on mood or environment?


This is a technical text     Looking back at the code, anyone that's not a member of   [db_accessadmin] or [db_owner] is going to attempt to run a DBCC   command they aren't authorized to run. Color me nonplussed. Maybe the   developer knows something I don't. But since the command is   undocumented, all I can do is guess.   I can't find a reference to this expression. What does it means?

I drowned in the search results of articles using "Color me confused" phrase.    What is its meaning and origin?


I have the following question for homework    I'm unsure what the first part of the question refers to. I'm assuming its asking for the size of the power set of A but I haven't seen any mention of power sets regarding relations.  The second part refers to the size of the Cartesian product A^2(A * A).  The third and fourth part I don't recall seeing in my text book and I can't seem to find any mention of "collection of relations" online.

How do I find find out how many non reflexive relations X on the set P = {1, 2, 3}?  I know $2^{n^2 - n}$ returns how many reflexive relations there on a set. Do I subtract that from something to get my result?


Inspired by , it occurs to me that if inanimate machinery (e.g. elevators) can lift Mjolnir, is Vision really proving himself "worthy" by doing so in Age of Ultron?  Vision is a synthetic, an Android, with an AI. I suppose this depends on what constitutes a "who" vs a "what" in the MCU, but still.   Is there evidence to suggest that as an artificial construct, not motivated by any human will, Vision would not be able to lift Mjolnir even if he weren't "worthy"?  Isn't he just a hyper advanced elevator with some extra features?

After being created and brought to life by a stroke of Thor's lightning      Vision casually passes Thor his hammer without even straining.   I think there was a gasp from the cinema audience at this point, I'm quite confident this was not in the comics.  Why is this character deemed worthy to lift Mjolnir?  I see three possible reasons:      The mind stone, an infinity gem, overpowers/overrides Odin's enchantment     Thors lightning imparts some of his worthiness     Vision is considered worthy by Odin    Which is it it, or is it another option?


first time posting in here so please forgive any protocol mishaps, I will try to adhere to the rules as much as possible!  So this is an often asked question and I'm not so sure how or why the absolute correct answer has never appeared.   Is there a way to change the parameters of a primitive object once one has exited the initial pop-up window that appears bottom left upon placement of a primitive?   Here are screenshots:      Apologies for the sacrilege, but in Cinema 4D, until you make the primitive editable, you can go back and change parameters way after initial placement:  ]     As a switcher from Cinema, it's little things like this that can make the transition questionable initially. For all of the far superior mdelling tools in Blender 2.8 compared to Cinema, this is an essential oversight. Yes one can simply delete and start again, but that really shouldn't be part of the equation…  Thanks

When you first add a cylinder, you have the option to change the number of vertices, etc, but once you do anything else in blender, it seems you no longer can edit those parameters.   Is there a setting anywhere or an add-on that allows these parameters to be edited later on? If not, how easy would such an addon/feature be to create for anyone reading this?


There's a process in my system (a standard desktop installation with upwards of 150 quiescent processes at any time) that is sporadically resetting a config file's permissions that I have explicitly set so that it could be read by multiple users.   Even though I have ways to prevent that from happening (eg, changing the file's owner), I really want to find the process that is doing the change, if only so that I can terminate it with extreme prejudice.  I know the kernel has at least 2 mechanisms for this, inotify and the more recent fanotify. However, the latter only intercepts changes to file contents, not to the inode, while the former does detect such changes but doesn't report the process responsible.   So is there another kernel mechanism which i don't know about? Or some other roundabout way of "trapping" the process as it's going to change the file's permissions, or after it has done so?

A specific file on our production servers is being modified at apparently random times which do not appear to correlate with any log activity.  We can't figure out what program is doing it, and there are many suspects.  How can I find the culprit?  It is always the same file, at the same path, but on different servers and at different times.  The boxes are managed by , but the puppet logs show no activity at the time the file is modified.  What kernel hook, tool, or technique could help us find what process is modifying this file?    lsof is unsuitible for this, because the file is being opened, modified and closed very quickly.  Any solution that relies upon polling (such as running lsof often) is no good.      OS: Debian testing Kernels: Linux, 2.6.32 through 3.9, both 32 and 64-bit.


Suppose $R_1$ and $R_2$ are $2\times 3$ row-reduced echelon matrices and that the systems $R_1X=0$ and $R_2X=0$ have the same solutions. Prove that $R_1=R_2$  I wrote down the $5$ different types of row reduced echelon $2\times 3$ matrices but it got me nowhere. It was tedious.  I tried contradiction; suppose $R_1\ne R_2,$ then there exists $i,j$ such that $ 1\le i\le 2,1\le j\le 3$ and $R_{1_{ij}}\ne R_{2_{ij}}.$ But I am not able to make use of this information to lead to a contradiction.   EDIT: I think I might be able to use this lemma :    Coming back to the solution - So now, I can conclude that since $R_1$ and $R_2$ are row-equivalent and they must be the same since row-reduced echelon matrices are unique.  Please help me verify.

Suppose $R$ and $R '$ are $ 2 \times 3$ row-reduced echelon matrices and that the system $Rx=0$ and $R'x=0$ have exactly the same solutions. Prove that $R=R'$.  In general, is it true that any 2 $m \times n$ matrices that have the same solution must be row-equivalent?


I'm trying to make this form redirect to a "Thank You" page after submission. I already have the "Thank You" page built I just need to figure out what code to insert to make this work. Help would be greatly appreciated. I'm pretty new to this.   <script> function validateEmail() {     var completed = '';     $('.input-group.required-field', $('#contact-form-container')).each(function () {         if ($(this).val() == '') {             $(this).addClass('invalid');             completed = 'false';         }     })     if (completed != 'false') {         console.log('tits');         submitEmail($('input#name').val(), $('input#email').val(), $('input#telephone').val(), $('input#subject').val(), $('textarea#message').val());     } };   function submitEmail(name, email, phone, subject, message) {     console.log(name + email + phone + subject + message);     $('table.dynamic-form input#contact-form-4477390504383779588-p_name').val(name);     $('table.dynamic-form input#contact-form-4477390504383779588-p_email').val(email);     $('table.dynamic-form input#contact-form-4477390504383779588-p_subject').val(subject);     $('table.dynamic-form input#contact-form-4477390504383779588-p_telephone').val(phone);     $('table.dynamic-form textarea.dynamic-form-long-text').val(message);      $('table.dynamic-form input.dynamic-form-button-right').trigger('click'); };     This is the existing code I have for the form but i'm not sure where to add the redirect.

How can I redirect the user from one page to another using jQuery or pure JavaScript?