okay, here is the thing -  I want to set up a Media + File server for my home...  I have a tp-link wifi router+modem.  I plan to use xbmc as the media server...i tried it out and i can now use it..  but, i have problems in the following -   how to use the same server as a file server?  i installed vsftpd but i cant understand how to use it from a remote ubuntu , android and windows machine...  is there any other software like xbmc for file server access apart from filezilla... filezilla is fine but i would like to know if there is anything as simple to use as a file manager to access the files on the server...i do use the ubuntu filemanager to access ftp server set up on my phone to access the phone but i cant seem to figure out how to use such a thing where i can just access a location in my network on ubuntu, android, windows pcs...  also, i cant figure out how to remotely upload files on the server for use through xbmc(like movies etc...i guess that shall also be done with ftp..but just asking if there is any other way)..  Access from outside the wifi network is not a priority at first though it would be a thing to add later for sure( guess it needs port forwarding on the router... :/ )  hope my question is understandable... thankyou...
I have the following pieces of hardware I would like to network mostly for file sharing (media primarily): 1 gaming laptop, 1 i7 (2.3Tb storage) desktop, 1 P4 desktop (500g storage), and 1 250gig PS3.  I am looking to setup a linux host (with a PS3 media server) with the i7 desktop but am concerned about leaving it on all the time. What stripped down, low energy usage distro can I couple with which windows &amp; PS3 friendly software?  Also, how should i reformat my i7 (in terms of partitions, RAID options, whatever)? It has 2 1Tb drives (likely adding a third), and 1 320 gig.
I'm a beginner in Leaflet and I need help to deal with GeoJSON files.  I succeeded in creating a Leaflet basemap. I can add markers without troubles but I cannot manage to show a GeoJSON layer.  Here is the code I picked up from Leaflet Tutorials website  :  var geojsonFeature = {     "type": "Feature",     "properties": {         "name": "Coors Field",         "amenity": "Baseball Stadium",         "popupContent": "This is where the Rockies play!"     },     "geometry": {         "type": "Point",         "coordinates": [-104.99404, 39.75621]     } }; L.geoJSON(geojsonFeature).addTo(map);   Unfortunatly, the GeoJSON does not appear in my map.   Can you tell me where I missed something ?    Alright, you're fine Francisco, this part was OK. I changed the whole script and it works !  However, would you know how to load a GeoJSON from an external source ?  I tried this :   var geojsonLayer = new L.GeoJSON.AJAX("foo.geojson");        geojsonLayer.addTo(map);   from   but this definitely does not work.  Any ideas ?    I am not skilled enough to understand your advice.  Here is the whole code I am using to create my map :  &lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;data&lt;/title&gt; &lt;meta charset="UTF-8"&gt; &lt;link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.3/dist/leaflet.css" /&gt; &lt;script src="https://unpkg.com/leaflet@1.0.3/dist/leaflet.js"&gt;&lt;/script&gt; &lt;script src="https://code.jquery.com/jquery-3.1.1.min.js"&gt;&lt;/script&gt;   &lt;script type="text/javascript" src="http://maps.stamen.com/js/tile.stamen.js?v1.3.0"&gt;&lt;/script&gt; &lt;script src="/js/leaflet-0.7.2/leaflet.ajax.min.js"&gt;&lt;/script&gt; &lt;script src="htdocs/webmap101/leaflet.ajax.min.js" type="text/javascript" &gt;&lt;/script&gt; &lt;style&gt;    #map {width: 960px; height:700px;} &lt;/style&gt; &lt;/head&gt; &lt;body&gt;   &lt;div id="map"&gt;&lt;/div&gt; &lt;script&gt;   // create map var lat = 44.933331; var lon = 4.9;  var map = L.map('map',{center: [lat,lon],zoom: 6});   // basemaps var base = L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png',   {attribution: '© &lt;a href="http://osm.org/copyright"&gt;OpenStreetMap&lt;/a&gt; contributors'  }); var toner = new L.StamenTileLayer("toner"); var watercolor = new L.StamenTileLayer("watercolor"); var landscape = L.tileLayer('https://tile.thunderforest.com/landscape/{z}/{x}/{y}.png'); base.addTo(map);   // markers  var mark1=L.marker([lat,lon]) mark1.addTo(map)    // layers panel  L.control.layers({"base": base, "water": watercolor, "toner": toner , "landscape" : landscape}).addTo(map);    // geojson files var geojsonFeature = {     "type": "Feature",     "properties": {         "name": "Coors Field",         "amenity": "Baseball Stadium",         "popupContent": "This is where the Rockies play!"     },     "geometry": {         "type": "Point",         "coordinates": [-104.99404, 39.75621]     } }; L.geoJSON(geojsonFeature).addTo(map);    //ajax  var geojsonLayer = new L.GeoJSON.AJAX("foo.geojson");        geojsonLayer.addTo(map);  &lt;/script&gt; &lt;/body&gt; &lt;/html&gt;   I know it's a bit messy but this is actually my very first HTML script... I guess I did not include in a proper way the AJAX library.    Actually, I just want a solution to replace the lines where I create the GeoJSON by something that tells javascript to load the GeoJSON stored locally in my folder. This :  var geojsonFeature = {     "type": "Feature",     "properties": {         "name": "Coors Field",         "amenity": "Baseball Stadium",         "popupContent": "This is where the Rockies play!"     },     "geometry": {         "type": "Point",         "coordinates": [-104.99404, 39.75621]     } };   should be transformed into something like (I don't know if it exists) :  var geojsonFeature = [foo.geosjon]   where "foo.geosjson" is a file like :  { "type": "FeatureCollection", "name": "abies", "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, "features": [ { "type": "Feature" How to remove GNOME Shell from Ubuntu 20.04 LTS to install other desktop environment from scratch? I have just installed the final version of Ubuntu 20.04 LTS desktop system from ubuntu-20.04-desktop-amd64.iso. After two days of testing I completely do not like its graphical interface - the GNOME Shell. Even installation of GNOME Flashback does not help either.  So I want to completely remove the GNOME Shell with all its trails from my system without re-installation. Just want to start from scratch like it was approximately if I have installed Ubuntu from . Correlations between continuous and categorical (nominal) variables I would like to find the correlation between a continuous (dependent variable) and a categorical (nominal: gender, independent variable) variable. Continuous data is not normally distributed. Before, I had computed it using the Spearman's $\rho$. However, I have been told that it is not right.  While searching on the internet, I found that the boxplot can provide an idea about how much they are associated; however, I was looking for a quantified value such as Pearson's product moment coefficient or Spearman's $\rho$. Can you please help me on how to do this? Or, inform on which method would be appropriate?  Would Point Biserial Coefficient be the right option? Not a problem, but have been seeing questions recently of people not being offered upgrade from 18.04 to 20.04.  I thought these upgrades were offered back in June.  I upgraded to 20.04 from 19.10 and this was offered back in May.  Imagine that different versions paths have different schedules, but google does not help explaining(that I found).  Does someone know the schedules? I mean 100+ MB big; such text files can push the envelope of editors.  I need to look through a large XML file, but cannot if the editor is buggy.  Any suggestions? Drag and drop not working inside Nautilus on Ubuntu 17.10 At the end of my animation, the animation pauses a bit then loops again, how can I stop the slow pause, and let the loop work fluently? What is the best way to solve equations like the following:  $9x \equiv 33 \pmod{43}$  The only way I know would be to try all multiples of $43$ and $9$ and compare until I get $33$ for the remainder.  Is there a more efficient way ?   Help would be greatly appreciated! Why doesn't the Moon fall onto the Earth? For that matter, why doesn't anything rotating a larger body ever fall onto the larger body? Well, one example is this file of the game The Sims 2 for PS2: quickdat.arc. The file contains this .arc extension, but it's no one an archive file and it contains some data of the game inside. How can I do this? Put so many files in one?  How to do something like this? All the game files inside one without using a file compressor? According to the , 3rd edition:        I wish to understand why this decision has been made. What's wrong with generic exceptions?  (As far as I know, generics are simply compile-time syntactic sugar, and they will be translated to Object anyway in the .class files, so effectively declaring a generic class is as if everything in it was an Object. Please correct me if I'm wrong.) How to open a new Terminal with shell prompt and running multiple commands in Command Line? I want to Open a new Terminal in from within terminal.  It should have Shell prompt as well as already run few commands.  How to do it ? Planet where humans fight for access to algae Set out on another planet where a human spaceship lands for a research and they observer a huge mass moving below them. On closer look this mass appears to be humans, and the density of the population increases towards the sea. The reason for this is algae,the only nutrition found on the planet. On a beach they discover tall, huge humans (developed due to the natural selection), controlling the best access to the algae. Eventually the researchers die, because humans eat them. How to show $\sum_{k=0}^{n}\binom{n+k}{k}\frac{1}{2^k}=2^{n}$ How does one show that $$\sum_{k=0}^{n}\binom{n+k}{k}\frac{1}{2^k}=2^{n}$$ for each nonnegative integer $n$?  I tried using the  but I guess I am applying it incorrectly. With the snake oil technique we have $$F(x)= \sum_{n=0}^{\infty}\left\{\sum_{k=0}^{n}\binom{n+k}{k}\frac{1}{2^k}\right\}x^{n}.$$ I think I have to interchage the summation and do something. But I am not quite comfortable in interchanging the summation. Like after interchaging the summation will $$F(x)=\sum_{k=0}^{n}\sum_{n=0}^{\infty}\binom{n+k}{k}\frac{1}{2^k}x^{n}?$$ Even if I continue with this I am unable to get the correct answer.  How does one prove this using the Snake oil technique?  A combinatorial proof is also welcome, as are other kinds of proofs. Let $a,b,c$ be $3$ distinct integers, and let $P$ be a polynomial with integer coefficients.Show that in this case the conditions $$P(a)=b,P(b)=c,P(c)=a$$ cannot be satisfied simultaneously.  Any hint would be appreciated. When a user on our site loses his password and heads off to the Lost Password page we need to give him a new temporary password. I don't really mind how random this is, or if it matches all the "needed" strong password rules, all I want to do is give them a password that they can change later.  The application is a Web application written in C#. so I was thinking of being mean and going for the easy route of using part of a Guid. i.e.  Guid.NewGuid().ToString("d").Substring(1,8)   Suggesstions? thoughts? I'm trying to find a post I made on my timeline (aka wall) several months (or even years) ago, but can't find a way to search for it. I , but that's very heavy.   Currently, I open the activity log (e.g., https://www.facebook.com/username/allactivity) and start scrolling down to get some info on the page. Then I use my browser to search for the text. But this is slow and, depending on how far back I want to go, tedious. Clicking on the earliest month/year in the filter only loads those periods specifically.    Anyone know of a better way that will find the search words anywhere on your activity log quickly?    Edit: There's a  (not really a bug, but lack of a feature) related to this on Facebook's developers forum. Calculate $E(X^{2n})$ where $X$ is normal (0,1) I need help proving the following:  Let $X$ be normally distributed with parameters $\sigma=0$ and $\mu=1$. Let $n$ be a positive integer. Show that:  $$E(X^{2n})=\frac{(2n)!}{2^nn!}=:(2n-1)!!$$  I've tried the change of variables $Y=X^2$ and then calculating the integral, but got nowhere. Any hints?  Thanks in advance! I am given $f,f' \in L^1(\mathbb{R})$, and f is absolute continuous, I want to show that:  $$\lim_{|x|\rightarrow \infty} f(x)= 0$$  Not sure how to show this, I know that $f(x)=\int_0^x f'(t) \, dt+f(0)$, and I can assume without loss of generality that $f(0)=0$, any help?  Thanks in advance. introduces  which will allow the introduction of new literal syntax based on existing literals (int, hex, string, float) so that any type will be able to have a literal presentation.  Examples:  // imaginary numbers std::complex&lt;long double&gt; operator "" _i(long double d) // cooked form {      return std::complex&lt;long double&gt;(0, d);  } auto val = 3.14_i; // val = complex&lt;long double&gt;(0, 3.14)  // binary values int operator "" _B(const char*); // raw form int answer = 101010_B; // answer = 42  // std::string std::string operator "" _s(const char* str, size_t /*length*/)  {      return std::string(str);  }  auto hi = "hello"_s + " world"; // + works, "hello"_s is a string not a pointer  // units assert(1_kg == 2.2_lb); // give or take 0.00462262 pounds   At first glance this looks very cool but I'm wondering how applicable it really is, when I tried to think of having the suffixes _AD and _BC create dates I found that it's problematic due to operator order. 1974/01/06_AD would first evaluate 1974/01 (as plain ints) and only later the 06_AD (to say nothing of August and September having to be written without the 0 for octal reasons). This can be worked around by having the syntax be 1974-1/6_AD so that the operator evaluation order works but it's clunky.   So what my question boils down to is this, do you feel this feature will justify itself? What other literals would you like to define that will make your C++ code more readable?    Updated syntax to fit the final draft on June 2011