Get back Documents folder? I deleted my documents and downloads folder. How can I get them back. I don't want them to be like any other folder, I would like it to be like how it used to be where it shows on the side of the filesystem. Any idea on how i can get it back like that.
How to restore the down arrow icon on the Downloads folder in the home directory? I removed the original Downloads folder in the home directory and created a new one with the same name, but the down arrow icon on the new Download folder now disappeared. Could someone please tell me how to restore that icon?   In addition, from the image above we see "Downloads" disappears also in "Places" category in the left panel. I think it should be there originally. If after restoring the down arrow icon, the "Downloads" is still not in "Places" category, I would also like to ask you to help me put "Downloads" back to "Places". Thank you.  PS: I am not using any theme.
I need a shapefile for India which is up-to-date to display the regional borders. By up-to-date (in 2014), I mean that it includes Telangana as a state. Many shapefiles that I downloaded do not have Telangana as a state as it was partitioned a month ago, it is displayed as part of Andhrapradesh.  So I need the latest shapefile. PHP Echo Line Breaks On one of my machines I have a process running called "whoopsie". I'm running 12.04 server and never specifically installed anything with this name.  Google seems to imply that it has something to with error logs but I'm not finding too much information. The fact that I didn't manually install it and the 3 other servers I checked did in fact have no such running process OR executable made me a bit confused.  Does anyone know what the "whoopsie" process is?  Does anyone know what packages might have installed it? The server is quite plain, it has a LAMP stack, Samba and print servers and the Nagios NRPE plugin, nothing more installed, just standing there being a nice backup-server.  Some more info:  $ whoopsie -h Usage:   whoopsie [OPTION...]  Help Options:   -h, --help           Show help options  Application Options:   -f, --foreground     Run in the foreground   and  USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND   whoopsie   913  0.0  0.4  24448  2092 ?        Ssl  May07   0:00 whoopsie   and  $ sudo cat /etc/passwd | grep whoop whoopsie:x:107:118::/nonexistent:/bin/false How do I remove objects from an array in Java? How can I tell what year my bike was made? This is a canonical question that will hopefully encompass all of the questions we get asking us to determine what year a bicycle was manufactured (how old is my bike, how old is my frame, etc.). Each "answer" should address a different way to determine the manufacturing year of a bicycle. To some extent, these will also help you narrow down the model as well as it will tell you what distinguishing features to look at.  The span of answers would include things such as:      Skiptooth cranks Cartridge bottom brackets (BB30/90 etc) Elliptical chainring Quick releases versus contemporary through-axles How the steerer attaches to the fork (quill vs. threadless)  Braking system (especially with mountain bikes: v-brake, direct pull, etc.)   Shifting ramps and pins on cassettes/sprockets and chainrings (versus flat sprockets) Frame material (e.g., shift from tubular steel to use of CF and hydroformed aluminium)  Frame tubing type (e.g. Reynolds 531 tubing introduced around 1934, still used today; Reynolds 501 tubing introduced around 1983). So a frame with an original 501 decal can't be from the 70', 531 decal doesn't help as much because of the range of years produced. Also, see Decals.   *Decals: style/design, amount, placement, color, etc. can help not only determine models, but also year of manufacture. Many changed decal design for the same model bike often yearly, with special/limited editions even more specific. This applies only if decals are original or have been replaced with the identical design. Tubing decals (Reynolds, Columbus, etc.) also changed designs for same tubing made in different years, although the changes aren't made as often, and manufacturers didn't always put tubing Brand decals on every model. Earlier bikes tended to have less fancy, less colorful, less quantity of decals.   Headbadges: most early bikes had actual "badges", often quite detailed and fancy, made of metal, then plastic, and finally just using decals on the headtube. Most bikes lost their metal badges in the 60's and early 70's, although some brands still have actual badges to this day, but in general a real badge indicates an earlier model bike. Dropout style (including the later inclusion of lawyers lips) Presence or absence of CPSC reflectors (USA only) Manufacturing method (shift from lugs to TIG welding, for example)  Number of gears (shift from 2x5 ten-speed to 3x8, 2x9, 1x11, etc.)  Inspection of lug design: pantographs, cut-out, stampings, custom brazing/filing, chrome, fork crow n sweep, etc. Frame/Fork Braze-ons. Race bikes tended have less braze-ons the earlier the year of manufacture. Most 60's racers and earlier had few or none with cable guides/stops, shifters, bidons, etc. being clamp-on. By the 80's if it was clamp-on, it was a sign of very cheap models and most frames had braze-ons for all cables, with multiple bottle and accessory bosses depending on style and use.   and so forth. Please edit this question if you have an answer that isn't in the index above.   A couple of caveats:   A previous owner could have replaced or upgraded components on a bicycle, so this guide only applies to original equipment There is a delay between the introduction of a technology (such as indexed shifting) and when manufacturers start selling products that use it. Low-end manufacturers may continue using technology that is severely outdated (such as one-piece cranks, freewheels, or quill stems) because it is cheaper to do so. A number of bikes are built in a Retro style, but with modern components.  Dutch bikes, trendy coffee cruisers, and beach cruisers may be modern but appear to be 1950s styling.  These tend to have modern rims and brakes as a giveaway.     Note that bicycles.stackexchange does not do valuations of bicycles. How much your bicycle is worth depends on the location of the buyer and seller, how much the buyer wants the bike, etc. etc. etc. Today I started having the following issues in Pokémon GO:   I can't spin pokéStops and get rewards When I catch pokémon, even the lowest CP ones, they escape every time. I've tried using razz berries, that doesn't work. Neither does using great balls.   I do have Internet. I'm not on wifi. I can send messages and browse Internet.  NOTE: I did try to modify my gps location and I was unsuccessful. I only got a pokémon or two and deleted them immediately. I do apologize for trying to hack it but I'm now fully legit. How do I disable notifications in my personal profile for activity on pages I am an admin of? I'm an admin of several pages on Facebook (for technical stuff like RSS imports, etc.), but neither do I contribute content nor do I care about their content.  Still, as an admin, I get notifications (upper left hand, the globe icon) about activity (someone liked this, someone posted that) on those pages in my personal (!) profile .  Does anyone have the same issue? Is there any way to explicitly disable notifications for certain pages?  (This behavior seems to be new, by the way; I'm only seeing those notifications for a few weeks now.) Live search through table rows How can I assign different random values to each row in a SELECT statement? Please look at this code:  create table #t1(   id int identity (1,1),   val varchar(10) );   insert into #t1 values ('a'); insert into #t1 values ('b'); insert into #t1 values ('c'); insert into #t1 values ('d');   Now, whenever you execute this  select *,      ( select top 1 val from #t1 order by NEWID()) rnd  from #t1 order by 1;   you will get a result with where all rows have the same random value. e.g.  id          val        rnd ----------- ---------- ---------- 1           a          b 2           b          b 3           c          b 4           d          b   I know a way using a cursor to loop throw the rows and get different random values, but that is not performant.   A clever solution to this is   select t1.id, t1.val, t2.val from #t1 t1     join (select *, ROW_NUMBER() over( order by NEWID()) lfd from #t1) as t2 on  t1.id = t2.lfd    But I simplified the query. The real query looks more like  select *,      ( select top 1 val from t2 where t2.x &lt;&gt; t1.y order by NEWID()) rnd  from t1 order by 1;   and the simple solution doesn't fit. I'm looking for a way to force repeated evaluation of  ( select top 1 val from #t1 order by NEWID()) rnd    without the use of cursors.  Edit: Wanted output:  perhaps 1 call  id          val        rnd ----------- ---------- ---------- 1           a          c 2           b          c 3           c          b 4           d          a   and a second call  id          val        rnd ----------- ---------- ---------- 1           a          a 2           b          d 3           c          d 4           d          b   The value for each row just should be a random value independent from the other rows  Here is the cursor version of the code:  CREATE TABLE #res ( id INT, val VARCHAR(10), rnd VARCHAR(10));  DECLARE @id INT DECLARE @val VARCHAR(10) DECLARE c CURSOR FOR SELECT id, val FROM #t1 OPEN c FETCH NEXT FROM c INTO @id, @val WHILE @@FETCH_STATUS = 0 BEGIN     INSERT INTO #res     SELECT @id, @val, ( SELECT TOP 1 val FROM #t1 ORDER BY NEWID()) rnd      FETCH NEXT FROM c INTO @id, @val END CLOSE c DEALLOCATE c  SELECT * FROM #res This question has an inverse:     What would be the most efficient way to translate a combination of $k$-tuple into its positions within the $\left(\!\!\binom{n}{k}\!\!\right)$ combinations? I need this to be fast for combinations of $\left(\!\!\binom{70}{7}\!\!\right)$ order of magnitude - very large, but not exceeding 2 billion (fits into int32 maximum value).  Below is an example of $\left(\!\!\binom{6}{3}\!\!\right)$, where the aim is to quickly translate (a, d, f) tuple to value 9, while in the real problem $k$ ranges between 5 and 8.  $$\begin{array} {cccccc|c} a&amp;b&amp;c&amp;d&amp;e&amp;f&amp;^{combination}/_{sort\_order}&amp; \\\hline x&amp;x&amp;x&amp; &amp; &amp; &amp;1\\ x&amp;x&amp; &amp;x&amp; &amp; &amp;2\\ x&amp;x&amp; &amp; &amp;x&amp; &amp;3\\ x&amp;x&amp; &amp; &amp; &amp;x&amp;4\\ x&amp; &amp;x&amp;x&amp; &amp; &amp;5\\ x&amp; &amp;x&amp; &amp;x&amp; &amp;6\\ x&amp; &amp;x&amp; &amp; &amp;x&amp;7\\ x&amp; &amp; &amp;x&amp;x&amp; &amp;8\\ x&amp; &amp; &amp;x&amp; &amp;x&amp;9\\ x&amp; &amp; &amp; &amp;x&amp;x&amp;10\\ .&amp;.&amp;.&amp;.&amp;.&amp;.&amp;.\\  &amp; &amp; &amp;x&amp;x&amp;x&amp;20\\ \end{array}$$  I know that I could pre-calculate all the combinations and reverse the lookup dictionary. However, such dictionary would not be efficient in terms of memory usage. Therefore I am looking for either calculation-based approach, or a more efficient data structure to perform this mapping. I have a new HP Z800 Workstation, running Windows 7 Enterprise 64 bit. Z800 Specs are .  The machine has 4GB of RAM -- windows reported 1.99GB available, 2GB was "hardware reserved".  I added another 2 GB and windows reports that there is 6GB of physical RAM, but now 4GB is "hardware reserved".  The BIOS sees the full RAM amount as well.  The video card is an nVidia Quadro FX 580, so it shouldn't be using any shared memory at all.    Why is all my extra RAM marked as "hardware reserved" in Windows 7? The plot is simply that aliens visit Earth and their interest in collecting cow pies (and just like other collectibles, special attributes make them more valuable) creates interest in humans in obtaining them to sell. Then the aliens leave and the market plummets. I do not recall the name of the story and also at the end I think some new object is of interest which maybe someone remembers. As silly as the premise sounds, if you look at what people really do collect and the amazing prices, the story kind of resonates. Digital crypto-kitties or whatever and more recent things selling for tens of millions or cryptocurrencies themselves seem not so different than cow pie collecting. Moreover, the fundamental theorem of collectibles is that to make a huge amount, paradoxically the collectible had to not only start out as more or less worthless but also something people tended to use/read and then destroy or at least throw away. Old Nat Geo magazines are worth almost nothing because everyone kept them; Action Comics #1 on the other hand, well moms could not wait to toss those when their son went away to college or got married. The stories I have in just my own family. Systems of equations with a single number I'm about to fly from Istanbul to Seoul and I have a useful amount of Turkish Lira (TRY) left but I don't have any South Korean Won (KRW) to pay for the metro to my hostel when I get there.  Several times in the past I've ended up being stuck with currencies that are very difficult to exchange in the country I've arrived in.  Can I buy KRW at the airport in Istanbul?  (I've also asked , since Stack Exchange questions are meant more for the long tail than just for the original asker.) We are always introduced to magnets by pictures illustrating a parallepiped magnet, a horseshoe magnet, etc... Anyway the first time we actually calculate a magnetic field is for eelectromagnets. Indeed I've rarely seen explaining or calculating the magnetic field of a permanent magnet. I know formulas for the magnetic field of a moving charge, around a conductive wire, inside a solenoid, but I don't have idea on how to go about calcualting the filed of a simple permanent magnet. It's like that without the help of electricity I'm stuck. I'd guess it would be heavily dependent on the magnetic material, its shape and the medium in which is placed. I hope that someone would provide me some insights on why such formulas are  never introduced in most physics courses and lay down some examples of a permanent magnet field caluclation. I would like to know the model of my graphics card. I think it may be an ATI, but I want to be sure!   I have Ubuntu 11.10 (32 bit) and an Asus A6 VA laptop. I can't get the coordinates on my computer because it keeps changing the brightness.  I have a windows 8 Samsung, and I'm playing Minecraft version 1.6.4. The Earth is spinning, so why don't we jump and land on a different location? I know there are similar questions on StackExchange but I think it is different and detailed.  The earth is spinning 465 meters/second so why don't we jump and land on a different location?  I googled about this question and I got some answers:   When we jump, we (and the atmosphere itself) also spin along with the earth so we don't land at a different location. (But why we are also spinning along with earth ?) The earth is so big and we are very small relative to earth so the tiny jump won't make any difference.   But according to answer 1, We are also spinning with the earth. But the question is, "why are we also spinning along with earth" ??  Regarding the answer 2, it won't make any difference but logically it doesn't make sense or I just don't understand it.  Here is the followup question,   "When we jump why don't we thrown out of earth due to centrifugal force of the spinning earth ??"  Please provide some detailed answer to these questions. With logic if possible.   This phenomenon is not possible I know, but even if it exists, then traveling will be so easy, we just have to hang on space (with help of helicopter etc.. ) and we can travel the whole world in 24 hours :D Can anybody explain about real linear space and complex linear space? This is definition      "A real linear $V$ is said to have an inner product if for each pair of elements $x$ and $y$ in $V$, there corresponds a unique real number $(x.y)$ satisfying what we know as axioms for inner product."    What does it mean? $(x.y)=xy$ and $xy$ is a real number?   When $(x.y)$ is complex, it is called complex space, does that mean that $(x.y)=xy=$ complex?   I don't understand what inner product is. line segment joining two centers of circles is perpendicular to line segment joining two intersection point of the circles