My blog was published on September 10,2017. I have tried to place ads on this blog with Google Adsense on daily basis but I always get below generic reply. My blog is seen on daily basis by approx 6.5 users per day since it was published. But I am not sure why Adsense is rejecting my request with below generic reply. What I need to do to resolve it?  As mentioned in our welcome email, we conduct a second review of your AdSense application once AdSense code is placed on your site(s). We did not approve your application for the reasons listed below Insufficient content: To be approved for AdSense and show relevant ads on your site, your pages need to have enough text on them for our specialists to review and for our crawler to be able to determine what your pages are about. To resolve this issue, please work through the following suggestions:  Make sure that your pages have sufficient text - websites that contain mostly images, videos or Flash animations will not be approved.  Your content should contain complete sentences and paragraphs, not only headlines.  Ensure that your website is fully built and launched before you apply for AdSense - do not apply while  your site’s still in a beta or “under construction” phase or only consists of a website template.  Place the ad code on a live page of your website. It does not have to be the main page, but test pages that are empty except for the AdSense ad code will not be approved.  Provide a clear navigation system for your visitors so that they can easily find all of the sections and pages of your website.  If you’d like to monetize YouTube videos, please apply for the YouTube monetization program. Note that blogs and websites that contain only videos will not be approved.

After solving the first  issue for adsense (i.e “Unable to review your site” - AdSense),  again i applied to Google ad-sense with live blank ads on page, but In second review they disapproved my website by saying "- Insufficient content"  .   What should do now?


I have yet to play RfS yet, mostly because I'm concerned about difficulties.. how do I know if that door's lockpicking DC of 5 is too much or too little? Should I use a passive or active opposition?  I'm very confused as to how I should set DCs in a microsystem like this  Edit: I don't think this is a duplicate because I'm talking about passive opposition as well, not just "how many dice do I roll", but rather "Is a pre-established X DC too much" too

I'd like to run a game of , but I'm not sure how many dice I roll when the characters face various challenges. I'm under the impression that it's supposed to be the same number of dice the character uses, but that seems to make impossible tasks far too easy to perform. Is there a general rule saying how many dice the GM rolls against a character's attempt at a given task?  Should the GM's dice equal the character's dice, or should the GM's dice vary depending on the task's difficulty?


I have a script that extracts math formulae from a tex file, produces a small standalone file for each formula and compiles it with pdflatex. The standalone pdf files are then used to produce png images of the formulae. The script has always worked smoothly with Miktex 2.8 under windows Vista. Now that I have updated to version 2.9 and Windows 7, it does not work any longer. Every time it encounters an eqnarray environment, it gives the following error:   ! Missing \endgroup inserted. <inserted text>                 \endgroup l.6 \begin{eqnarray}   For example, I get this error when I run pdflatex on the following simple file:  \documentclass[12pt]{standalone}    \begin{document} \begin{eqnarray}     1&=&1\\ 1&=&1    \end{eqnarray}     \end{document}   Why am I getting this error? Has support for eqnarray been discontinued in new versions of latex?  Thanks for any help you might provide.

I was surprised to find that standalone package can not compile a document with an equation:  \documentclass{standalone} \begin{document} \begin{equation} % not working! F(V, T) = E(V) + D(T) \end{equation} \end{document}   Is there an option or some workaround that allows this? The current error is something like:   ! Missing $ inserted.   in line 4. (The idea of course is that the including (main) document can just \input the standalone without knowing if is going to be an equation or something else)


\url{...} produces a rather wide monospace font. It often does not fit into text width.  If I wish to make \url{...} another font (such as maybe the same font as the text font), how to do it?

When typesetting URLs in LaTeX using the url package, they are set in a mono space font by default. While I just accepted that as a fact for a long time, I am now starting to wonder why?  In Browsers, for example, the URL in the address bar is also not monospace. It does not make the link more readable, in my opinion rather on the contrary. The only explanation I can come up with is that it sets the link apart from the remeaining text. But honestly, even that sometimes looks a bit obstrusive.  So is the reasons really just to set links apart from the text?


Is it possible to create a kind of folder in the launcher that if your mouse is on top of it a menu will appear so I can bundle my programs in groups.  For example, I want to group my creative programs (gimp, stopmotion, scribus) in one icon on the launcher.  Same with my office programs, I want one icon on the launcher and when I move my mouse over it there will display a menu to show the office programs.

Is it possible to 'enclose' more than one application in a single Unity icon/button? In order to keep under control the number of buttons on launcher, it will be very useful to me to store some applications of the same type (e.g. small accessory applications like take screenshot or web application etc. ) in a single button as that is possible with the xfce panel...


We have a QA version, a UAT version, and a DEV version of webapp. Users need to access these via http://uat.company.com:41002/webapp, http://qa.company.com:41002/webapp, and http://dev.company.com:41002/webapp. There is also a different webapp on port 41001 and also on port 8080 they will need to access.  These url's are required to be available externally to the company, and we only have one public ip address they can be accessed on. As such DNS records need all 3 address to point to one IP. On that single IP address, a server resides running nginx. in the background I need for each url to point to a different server  http://uat.company.com --> 123.123.123.1 http://qa.company.com  --> 123.123.123.2 http://dev.company.com --> 123.123.123.3   I'm afraid I don't know the correct terminology, however the remainder of the URI and the port must also be carried over to the ip address. I.e. if someone visits   http://uat.company.com:41002/webapp/somepage`   it will appear as though that is the page they have visited, but really they will be looking at   http://123.123.123.1:41002/webapp/somepage   or if they visited  http://qa.company.com:8080/static/home.html   they would really be looking at  http://123.123.123.2:8080/static/home.html   but their browser would still say http://qa.company.com:8080/static/home.html  I have tried   server {      server_name uat.company.com;      listen 41001;     listen 41002;     listen 8080;      location / {             proxy_pass http://123.123.123.1:$server_port$uri;             proxy_set_header Host $host;     }   }  however this gives me a bad gateway 502 page with log: 2015/01/28 16:04:49 [crit] 30571#0: *1 connect() to 123.123.123.1:41002 failed (13: Permission denied) while connecting to upstream, client: 172.23.128.245, server: uat.company.com, request: "GET /webapp/ HTTP/1.1", upstream: "http://123.123.123.1:41002/webapp/", host: "uat.company.com:41002"  I hope this is more clear.    Update From Xaviers suggestion that SELinux might have been hampering, I have disabled it and I do get further. Using the nginx config above now seems to be connecting to the second server: The port however is still not carried through. I am calling   uat.company.com:41002/webapp/   This would, if calling the service directly, redirect to   uat.company.com:41002/webapp/spring/config/main   However what is happening through the proxy is that it is returning or ending up at  uat.company.com/webapp/spring/config/main   and thus failing to load a page...

I'm struggling with some strange permission related behavior: when I configure nginx to listen to port 8080 everything works as expected, but when I use any other port I get something like  2014/01/10 09:20:02 [emerg] 30181#0: bind() to 0.0.0.0:8090 failed (13: Permission denied)   in /var/log/nginx/error.log  I have no clue where to look at so I don't really know what parts of the configuration might be interesting.  in nginx.conf nginx is configured to run as nginx:  user  nginx;   Also user nginx is in another group 'git'  in the site-config I tried to listen like this:  server {     listen 8090; #does not work     #listen 8080; #works     #listen 9090; #does not work     #listen 9090 default; #does not work neighter     #listen 80; #works!     server_name <some IP>;     ... }   I have only one more listener which serves port 443.  When I start some other service e.g. a SimpleHTTPServer on port 8090 etc. as non-root everything works fine:  $ python -m SimpleHTTPServer 8090 Serving HTTP on 0.0.0.0 port 8090 ... localhost.localdomain - - [10/Jan/2014 09:34:19] "GET / HTTP/1.1" 200 -   What can the reasons be for denied permissions in general?  System is Fedora 18 ngnix is stock fedora 1.2.9


If Dark Energy is falsified by this paper, , does that mean the vacuum energy is also falsified?

According to Quantum Mechanics is it possible that the famous  and  are the same thing that drives the accelerated expansion of the universe or maybe related to each other?


I have these two SQL Server 2008 R2 queries:  SELECT COUNT(*) FROM OIS_NOA_Buffers WHERE geog.STIntersects(geography::Point(35.25934, -120.64432, 4326))=1; SELECT COUNT(*) FROM OIS_NOA_Buffers WHERE geom.STIntersects(geometry::Point(35.25934, -120.64432, 4326))=1;   The first returns a 1 and the second a 0. Both geog and geom are SRID 4326.  Geog geometry was derived from Set geog = Geom.STAsText()  Why wouldn't they both return 1?  (The point is under the polygons.)

I have PostGIS table with two geometry columns, both defined with SRID 4326. I can insert into the table without problem, using the following INSERT statement (where lng and lat are values passed in programmatically):  INSERT INTO pad_meta (     uuid, created, updated, name, origin, radius, area, expiry, creator ) VALUES (     $1, now(), now(), $2, ST_GeomFromText('POINT(lng, lat)', 4326), $3,      ST_Buffer(ST_GeomFromText('POINT(lng, lat)', 4326), $4), $5, $6 )   But when i query for an intersection using ST_Intersects, depending on the value of the point I get ERROR: Operation on mixed SRID geometries.   For example, this query works:  SELECT * FROM pad_meta where ST_Intersects(     'POINT(-122.334172173172 46.602634395263560)'::geometry, area::geometry  ) ORDER BY created DESC;   And this errors out:  SELECT * FROM pad_meta where ST_Intersects(     'POINT(-122.334172173172 47.602634395263560)'::geometry, area::geometry  ) ORDER BY created DESC;   Note, they are identical queries except the value of the longitude. I have experimented with different values, but not identified a clear transition point between the queries that work and don't.   I think I am fundamentally misunderstanding something. For the moment, I have solved/corrected/worked around the problem by re-formatting the query to use ST_GeomFromText and explicitly specifying the SRID:  SELECT * FROM pad_meta where ST_Intersects(     ST_GeomFromText('POINT(-122.334172173172 47.602634395263560)', 4326), area ) ORDER BY created DESC;   But I honestly don't really understand what the difference is, or if this truly "the" solution.    Why am I getting an error only for specific values, and what is the proper way to format this query?  Here is my table definition for reference:  CREATE TABLE IF NOT EXISTS pad_meta (   uuid CHAR(32),   created TIMESTAMP,   updated TIMESTAMP,   name VARCHAR(128),   origin GEOMETRY(Point, 4326),   radius INTEGER,   area GEOMETRY(Polygon, 4326),   expiry TIMESTAMP,   creator CHAR(32),   PRIMARY KEY (uuid) );   I have also verified that there is only one type of SRID in the geometry_columns:   SELECT f_table_name, f_geometry_column, srid FROM geometry_columns; f_table_name | f_geometry_column | srid --------------+-------------------+------  pad_meta     | origin            | 4326  pad_meta     | area              | 4326   I have also seen , but since I am already explicitly defining my geometry SRIDs when inserting into the table, it seems like that is not what is happening.


I'm trying to escape the space char for a path in Bash, but neither using a  or  works.  .sh script:  ROOT="/home/hogar/Documents/files/" FILE=${ROOT}"bdd.encrypted" DESTINATION="/home/hogar/Ubuntu\ One/folder"  mv ${FILE} ${DESTINATION}   After execute the script (./file) this is the result:  mv: target 'One/folder' is not a directory   Why does the mv command split the string, and how do I stop this from happening?

Or, an introductory guide to robust filename handling and other string passing in shell scripts.  I wrote a shell script which works well most of the time. But it chokes on some inputs (e.g. on some file names).  I encountered a problem such as the following:   I have a file name containing a space hello world, and it was treated as two separate files hello and world. I have an input line with two consecutive spaces and they shrank to one in the input. Leading and trailing whitespace disappears from input lines. Sometimes, when the input contains one of the characters \[*?, they are replaced by some text which is is actually the name of files. There is an apostrophe ' (or a double quote ") in the input and things got weird after that point. There is a backslash in the input (or: I am using Cygwin and some of my file names have Windows-style \ separators).   What is going on and how do I fix it?


I have an MSI GP60 2QF Leopard Pro laptop that has a 4th generation Intel core processor (i5-4210H) and an  RAM Memory (couldn't find a better nor original link) I want to upgrade my RAM memory by adding exactly 8 more GB of RAM of that same model but my problem is that the model I found is not DDR3 but . Both memories have the same exact specifications, the only difference is the voltage: the RAM I have I don't know why is of 1.5v but is configured to use only 1.35v (apparently, it came like this from the factory) while the one they sell because is DDR3L is of 1.35v: sudo dmidecode --type memory | less  throws this: Array Handle: 0x0024     Error Information Handle: Not Provided     Total Width: 64 bits     Data Width: 64 bits     Size: 8192 MB     Form Factor: SODIMM     Set: None     Locator: ChannelA-DIMM0     Bank Locator: BANK 0     Type: DDR3     Type Detail: Synchronous     Speed: 1600 MT/s     Manufacturer: Kingston     Serial Number: C003F863     Asset Tag: 9876543210     Part Number: MSI16D3LS1MNG/8G       Rank: 2     Configured Clock Speed: 1600 MT/s     Minimum Voltage: 1.35 V     Maximum Voltage: 1.5 V     Configured Voltage: 1.35 V  (CPU-Z also says that I am using a DDR3 memory of 1.35v) After hours of research I've found in many places statements like this :  Systems utilizing Intel 4th generation processors are not backward compatible with regular DDR3 memory modules.   DDR3 is a single voltage capable memory SoDIMM, which supports 1.5V operation only. It is NOT compatible with systems using 4th gen Intel processors, which exclusively support 1.35V operation for memory.  In every website I have visited what it says is that DDR3 is not backward compatible with intel 4th generation processors but I am confused because my case is different, by default I have a DDR3, I don't want to add another DDR3 RAM I want to add a DDR3L RAM. Besides, my memory (I don't understand why) is configured with 1.35v. I have not found someone that has had the same issues so that's why I am asking for help from you guys! Any help, comment or word will be highly appreciated :)

So I have a  which I need to buy RAM for.  Now the specs say that it supports DDR3-L.  I am thinking of getting the following kit:  CORSAIR Vengeance (2x8) 16GB 204-Pin SO-DIMM Model CMSX16GX3M2B1600C9 DDR3 1600 (PC3 12800) Cas Latency 9 1.35V (also supports operation at 1.5V) Dual Channel Kit Timing: 9-9-9-24   My question is whether this will work for a slot that is specified as DDR3 L?


Does opening and closign a wormhole to send a message within seconds across the galaxy violate causality?  Wouldn't different observers disagree about the order of events and what effected what? Is that observation just an illusion after all?  Update: Note that the Wormhole is stationary in both places and that both places can be considered to be in the same frame of reference. Also I am not sending matter, but information in form of light through the wormhole to simulate FTL-Communication.

We already have an answer why physically traveling faster than light would violate causality (the clock on board our hypothetical FTL spaceship would tick backwards to some outside observers).  However, would a wormhole-based FTL violate causality? In this case, never does an object actually move faster than light.  If this violated causality, then how could I send back information from, let's say, 2014 Earth to 2004 Earth?


Searching for a World Shapefile where you can see the country borders and the borders of big cities or regions.

I am searching for a downloadable database of administrative boundary shapes, best would be worldwide data.  I have found  but it seems a bit outdated, also the  seems interesting but I haven't found any exports based on this definition.  The detail level of the shapes is not that important as it would be used to let a user select the city/region (if not in a city or no data for that city available). A hierachical representation like Country > Region > City would be great.


I get a blank screen when trying to install Ubuntu 19.04 from usb. Does anyone have any idea how to fix this?  Secure boot is off.

I recently bought an  with a    Ryzen 7 3700U processor,  16GB of RAM and a 512GB NVME SSD.     I want to install Linux on it, but both Ubuntu, Manjaro, and plain Arch linux won't boot. I can get to the grub menu, but once I select the option to boot, the screen goes black and nothing happens.    By the way, I'm trying to boot Ubuntu 19.04, Manjaro 18.04, and Arch 08.01.2019 and yes, I've disabled Secure Boot already.  Any ideas? Is it possibly an issue with the kernel version?  Or maybe a boot argument I need to pass through grub?


\documentclass[aps,twocolumn]{revtex4} \usepackage{epsfig} \usepackage{amsmath} \usepackage{epsfig} \renewcommand{\baselinestretch}{1.45} \begin{document} \begin{multline} 2F_1(a,b,c,y){=}\frac{\Gamma(c)\Gamma(c-a-b)}{\Gamma(c-a)\Gamma(c- b)}~_2F_1(a,b,a+b-c+1,1-y)+\\    \frac{\Gamma(c)\Gamma(a+b-c)}{\Gamma(a)\Gamma(b)}(1-y)^{c-a- b}~_2F_1(c-a,c-b,c-a-b+1,1-y) \end{multline} \end{document}   In two column document class,Equation number is not coming on the line where equation ends, instead it comes in next line,  please help ??

\documentclass[aps,twocolumn]{revtex4}  \usepackage{epsfig}   \usepackage{amsmath}   \usepackage{epsfig}    \renewcommand{\baselinestretch}{1.45}   \begin{document}  \begin{equation}   V_S(x)=V_1 \Theta(x/a) + iV_2 \delta(x/a),~       \Theta(x<0)=0,\Theta(x>0)=1.       \end{equation}  \end{document}   Equation number is not coming on same line, in two column document class, please help ??


I am an Adjunct Professor teaching Blender for the first time. I am following through the exercises in BlenderBasics_4thEdition2011.pdf and have gotten to the section on texturing. The book goes through the creation of a Lighthouse and now I am texturing it. I want to have a closeup view of the roof of the lighthouse after partitioning it as the lesson describes on page 54.  In order to get a close up view I selected the roof and want to center the screen on the vertices of it so I pressed the "." key on the numerical key pad. When I do that the view zooms so that the roof is off the screen.   I was given the following answer by Ray Marilot:  While in object mode (as you are) the . key zooms to the centre, or object origin, of the object. In your case the object origin of the object is positioned at the bottom of the lighthouse (the small orange dot resting on the red 'X' axis line in the 3D view).  Two options are to either press . while in edit mode with the vertices you want to zoom to selected or you can change the origin of the object with Ctrl+Alt+Shift+C> Origin to geometry.  I tried Ray's answer and was able to move the origin but pressing the "." key after that still did not work. The centering was still on the bottom of the lighthouse, as if the origin was still there.    I still don't know what is wrong here.  Can you help?

I am following through the exercises in BlenderBasics_4thEdition2011.pdf and have gotten to the section on texturing.  The book goes through the creation of a Lighthouse and now I am texturing it.  I want to have a closeup view of the roof of the lighthouse after partitioning it as the lesson describes on page 54.    In order to get a close up view I selected the roof and want to center the screen on the vertices of it so I pressed the Numpad . key.  When I do that the view zooms so that the roof is off the screen.    What am I am doing wrong?    I tried Ray's answer and was able to move the origin but pressing the Numpad . key still did not work.  The centering was still on the bottom of the lighthouse, as if the origin was still there.


I have a sitemap.xml index fine with 3 XML files in it with around 120 pages for indexing. A year passed and I still have 1/3 of it indexed. All the most important pages for indexing are in 1st sitemap file, however Google takes a similar amount from each of the sitemap files instead...  How to make Google index all sitemap.xml records?  I have crawl rate set to MAX in GWT.

We use a  on Stack Overflow, but I have mixed feelings about it.  Web crawlers usually discover pages from links within the site and from other sites. Sitemaps supplement this data to allow crawlers that support Sitemaps to pick up all URLs in the Sitemap and learn about those URLs using the associated metadata. Using the Sitemap  does not guarantee that web pages are included in search engines, but provides hints for web crawlers to do a better job of crawling your site.  Based on our two years' experience with sitemaps, there's something fundamentally paradoxical about the sitemap:  Sitemaps are intended for sites that are hard to crawl properly. If Google can't successfully crawl your site to find a link, but is able to find it in the sitemap it gives the sitemap link no weight and will not index it!  That's the sitemap paradox -- if your site isn't being properly crawled (for whatever reason), using a sitemap will not help you! Google goes out of their way to make :  "We cannot make any predictions or guarantees about when or if your URLs will be crawled or added to our index"  "We don't guarantee that we'll crawl or index all of your URLs. For example, we won't crawl or index image URLs contained in your Sitemap."  "submitting a Sitemap doesn't guarantee that all pages of your site will be crawled or included in our search results"   Given that links found in sitemaps are merely recommendations, whereas links found on your own website proper are considered canonical ... it seems the only logical thing to do is avoid having a sitemap and make damn sure that Google and any other search engine can properly spider your site using the plain old standard web pages everyone else sees. By the time you have done that, and are getting spidered nice and thoroughly so Google can see that your own site links to these pages, and would be willing to crawl the links -- uh, why do we need a sitemap, again? The sitemap can be actively harmful, because it distracts you from ensuring that search engine spiders are able to successfully crawl your whole site. "Oh, it doesn't matter if the crawler can see it, we'll just slap those links in the sitemap!" Reality is quite the opposite in our experience. That seems more than a little ironic considering sitemaps were intended for sites that have a very deep collection of links or complex UI that may be hard to spider. In our experience, the sitemap does not help, because if Google can't find the link on your site proper, it won't index it from the sitemap anyway. We've seen this proven time and time again with Stack Overflow questions. Am I wrong? Do sitemaps make sense, and we're somehow just using them incorrectly?


If you like sour and the water is not rancid is there any danger in drinking the water? If so what is the danger? I grew up drinking it and it was delightful. There were never any warnings against drinking it. If the water is unsafe to drink then in my opinion the coconut meat is also unsafe. Please be specific.

The warning label on each coconut describes how to treat the water within each. The water on the brown coconut is to be discarded; the water on the white coconut is safe for consumption.   In what ways is the water from the brown coconut different than that of the white coconut?


I get American football in Brazil. I try to watch the game, but, honestly, can't understand a thing. One thing that made me curious was the numbers on the ground. For instance, there's a "1st & 10" beside a team.  But I thought I saw a "3rd & 8" beside the other team.  What does that mean?

One thing that made me curious while watching a football game on TV was the numbers that appear on the ground. For instance, there's a "1st & 10" beside one team, but there was a "3rd & 6" a few minutes prior (and I think it was beside the other team). What do these numbers mean?


So I am making a map for DanTDM, Logdotzip, etc. and my family. I am only 12 and I have no idea how to do advanced commands I only know basics. So I was wondering how you get player skulls on 1.14.60. I tried this command, /give @p minecraft:skull 1 3 {SkullOwner:Logdotzip} and others but it didn't work. I am on bedrock.

This question was recently split into different questions for each workaround. See   meta posts for more information.   Can you use NBT tags in commands? I’ve tried commands that normally work in Java Edition like: give @s minecraft:planks 30 1 {display:{Lore:["Wooden planks"]}} give @s stone_pickaxe{Unbreakable:1b} give @s item_frame{EntityTag:{Invisible:1b}} summon villager ~ ~ ~ {Offers:{Recipes:[{buy:{id:"emerald",Count:5b},sell:{id:"diamond_sword"}}]}} summon tnt ~ ~ ~ {Fuse:20s}


Star Trek TNG, S7E13, from the Memory Alpha :     Rozhenko reveals that he did not beam up the Boraalans without a plan; he plans to find a new class M planet for the Boraalans and to gradually change the terrain on the holodeck so it will appear that the Boraalans are traveling through the caves towards their new home. Although he is still very unhappy about the whole situation, Picard is forced to conclude that there isn't any other alternatives so they'll give the plan a try.      ...      Finally settling on Vacca VI, the Enterprise will reach the planet in 42 hours. I      ...      As he is noticing them, Vorin is drawing a chronicle, which documents the history of his village, including Worf and Rozhenko leading them to safety. Worf then announces that they must leave now. Vorin then realizes that he is missing one of his chronicles. Worf asks him to leave it behind, but Vorin says that without it, the village's future means nothing. Worf allows him to go. An elder Boraalan asks Worf to help him with his gear and asks him that if he does not make it to the Boraalans' new home, he wants Worf to become his daughter's husband. Worf assures the elder that they will make it.   So, the Boraalans are able to walk during 42 hours through the same holodeck in the same direction (they would notice if they were to walk in a cirlce for 2 days. So, Holodeck needs to be able to move the people from one side of the holodeck to the other? Otherwise, they'd walk into a wall after a few seconds. However, if the holodeck where to "really" move them, the Boraalans would sense the acceleration / deceleration. So, how does the Holodeck handle it that people can move for hours in the same direction without them noticing?  Furthermore, they are not only able to walk in the same direction for a long time, they are also able to split up and the Holodeck has to handle two different environments, where the bulk of the Boraalans are and where Vorin is. How is this handled?   Let's also consider Voyager - Fair Haven (S6E11). Paris built a whole Irish town, some people are in the pub, some are walking through the streets and Janeways goes out of the town with Sullivan (and to him, as she wakes up in bed with him). How is this handled with the perspectives (i.e. people being far away from an in hologram point of view but very close to each other on the holodeck)?  So, there are 3 questions:   How does Holodeck move people for them to be able to walk in the same direction for some time? How does Holodeck handle people being in different locations 'in the hologram' but in the same holodeck? How does Holodeck handle perspectives of people being physically close to each other but far from each other in the hologram?

In Star Trek we frequently see the amazing holodeck function with more than one person in it at a time. In some cases this makes sense, if the people are in only one or two groups, for example. But in some scenarios it seems conceivable that there might be large numbers of people in the same program with everyone off doing their own thing, such as in the Scottish town or beach resort programs in Voyager, or Vic's club in Deep Space Nine. In such situations is there a point at which the computer will not be able to adequately adjust the illusion to keep each group of people separate and isolated?    Obviously the size of the room would impact this (such as Quark's holosuites vs Enterprise-D's holodecks), but has this ever been covered in canon?


Why I write to table, I get error:  Cannot achieve consistency level ONE (Code 4096)   What could be wrong?  Here is my descriptions:  DESCRIBE schools  CREATE KEYSPACE schools WITH replication = {'class': 'NetworkTopologyStrategy', 'eu-central-1': '2'}  AND durable_writes = true;  CREATE TABLE schools.locations (     school_id int,     bus_id int,     date text,     unix_time bigint,     lat double,     long double,     round_id int,     PRIMARY KEY ((school_id, bus_id, date), unix_time) ) WITH CLUSTERING ORDER BY (unix_time ASC)     AND bloom_filter_fp_chance = 0.01     AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'}     AND comment = ''     AND compaction = {'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32', 'min_threshold': '4'}     AND compression = {'chunk_length_in_kb': '64', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'}     AND crc_check_chance = 1.0     AND dclocal_read_repair_chance = 0.1     AND default_time_to_live = 0     AND gc_grace_seconds = 864000     AND max_index_interval = 2048     AND memtable_flush_period_in_ms = 0     AND min_index_interval = 128     AND read_repair_chance = 0.0     AND speculative_retry = '99PERCENTILE';

if I run this simple query:  SELECT * from myapp.latests WHERE organization_id = 1 and user_id = 1;   I get error:  NoHostAvailable:   Running nodetool status results into:  Datacenter: eu-central ====================== Status=Up/Down |/ State=Normal/Leaving/Joining/Moving --  Address    Load       Tokens       Owns (effective)  Host ID                               Rack UN  10.0.0.53  190.96 KiB  256          0.0%              80f8bf0a-c46d-41ce-bb2e-498def5b3792  1a UN  10.0.20.5  189.35 KiB  256          0.0%              f25fe4bf-29b2-4403-8e3e-4e973a5f26ab  1b UN  10.0.0.54  183.13 KiB  256          0.0%              c46ac05a-6cb2-48f1-a776-2c57c33e7719  1a   And here is the description:  DESCRIBE myapp;  CREATE KEYSPACE myapp WITH replication = {'class': 'NetworkTopologyStrategy', 'eu-central-1': '2'}  AND durable_writes = true;  CREATE TABLE myapp.locations (     organization_id int,     user_id int,     date text,     unix_time bigint,     lat double,     long double,     PRIMARY KEY ((organization_id, user_id, date), unix_time) ) WITH CLUSTERING ORDER BY (unix_time ASC)     AND bloom_filter_fp_chance = 0.01     AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'}     AND comment = ''     AND compaction = {'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32', 'min_threshold': '4'}     AND compression = {'chunk_length_in_kb': '64', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'}     AND crc_check_chance = 1.0     AND dclocal_read_repair_chance = 0.1     AND default_time_to_live = 0     AND gc_grace_seconds = 864000     AND max_index_interval = 2048     AND memtable_flush_period_in_ms = 0     AND min_index_interval = 128     AND read_repair_chance = 0.0     AND speculative_retry = '99PERCENTILE';  CREATE TABLE myapp.latests (     organization_id int,     user_id int,     lat double,     long double,     unix_time bigint,     PRIMARY KEY (organization_id, user_id) ) WITH CLUSTERING ORDER BY (user_id ASC)     AND bloom_filter_fp_chance = 0.01     AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'}     AND comment = ''     AND compaction = {'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32', 'min_threshold': '4'}     AND compression = {'chunk_length_in_kb': '64', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'}     AND crc_check_chance = 1.0     AND dclocal_read_repair_chance = 0.1     AND default_time_to_live = 0     AND gc_grace_seconds = 864000     AND max_index_interval = 2048     AND memtable_flush_period_in_ms = 0     AND min_index_interval = 128     AND read_repair_chance = 0.0     AND speculative_retry = '99PERCENTILE';   Any idea?


Is the degree of freedom defined in  same as the degree of freedom in ? If not what is the formal definition of degree of freedom in thermodynamics?

In here, , the degree of freedom is defined as "the number of independent parameters that define its configuration." So, if $N$ particles are in the system, the degree of freedom is $3N$.  But here, ,  defined as "The set of all dimensions of a system is known as a phase space, and degrees of freedom are sometimes referred to as its dimensions." In this sense, the degree of freedom is $6N$.  What is the definition of the degree of freedom?


I am making an invite system. I am using ajax to load a list of search results. When an li is clicked I push the user's id into an array and append a checkmark to the li to let them know they were added to the list.   The push is working but the splice is not. Also when the list is empty the submit button does not return to its disabled state and original styling.   Lastly, when I search again (re-calling the ajax) it removes the appended checkmark. Is there a way with javascript to store which user was click on and retain the appended checkmark when they search for another name?  (^ when i load the results with ajax i check if a person is invited or not in my db i could do it so if they are already invited a click would delete from table..if not on li click i insert with an ajax and setTimeout on success.. do you think that would be a bad practice?)  Below is my html && script  HTML

$usersname
     <input type='hidden' value='$otherUserID'>
   $(function(){      var inviteList = new Array();        $(document).on('click', '.inviteUser', function(){            var inviteUserID = $(this).children('input').val();            inviteList.push(inviteUserID)            $(this).children('span').append("
&#x2713;
");            if(inviteList.length > 0) {                document.getElementById('imcSubmitButton').disabled = false;               $('#imcSubmitButton').css({'opacity':'1'});            } else {                document.getElementById('imcSubmitButton').disabled = true;               $('#imcSubmitButton').css({'opacity':'0.25'});           }        });        $(document).on('click', '.remove', function() {            inviteList.splice($(this).index(), 1);            $(this).remove();        });  });

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.


Dop I use a or an in the following sentence.  You are invited to attend a European Festival  or You are invited to attend an European festival

In the following example, is it appropriate to use a or an as the indefinite article, and why?     He ate __ green apple.   I know that in the case of just "apple", it would be "an apple," but I've heard conflicting answers for "green apple," where the noun is separated from the article by an adjective.  Also, which is more appropriate in this case:     He ate  __ enormous Pop-Tart.


I made chicken stock recently from chicken thigh bones and skin (just needed the thigh meat and the bone-in-with-skin were cheaper).  After cooling it in the fridge I ended up with gelatinous semisolid stuff underneath a layer of fat a few mm thick.  I removed the fat, but am wondering whether the "stock" underneath it is useable for anything.

We took our left-over turkey carcass and parts and simmered them for a few hours with water in a pot with some herbs and veggies.  After removing the solids, and separating the fat, we placed it in the fridge to be frozen the next day.  When we pulled it out, the entire bowl - not just the top - was completely gelatinous.  It is truly like Jello.    Is this OK?  Why did this happen?   We plan to vacuum seal and freeze it if safe.


I'm trying to align the tops of two images using the subfigure environment from the subcaption package. Unless I'm misinterpreting the other questions, I believe I have read multiple questions asking the same,  and  are two examples. The problem is, those answers don't seem to work as I expected, and I still can't get the tops of the images to be aligned.   example:  \documentclass{article} \usepackage{subcaption} \usepackage{graphicx} \usepackage{mwe} \begin{document}     \begin{figure}         \centering         \begin{subfigure}[t]{0.45\textwidth}             \includegraphics[width=\linewidth, height=20em]{example-image-a}             \caption{taller image}         \end{subfigure}         \begin{subfigure}[t]{0.45\textwidth}             \includegraphics[width=\linewidth, height=15em]{example-image-b}             \caption{shorter image}         \end{subfigure}         \caption{two images}     \end{figure} \end{document}   For me this generates the following:   I would have expected it to align the tops of the images. How do I do this?

I would like to be able to align two minipage at the top, without worrying about what is in the minipage.  I am aware of the optional [t] parameter, but still have some confusion as to how this all works.  I tend to think of a minipage as a regular page in that whatever is placed on it starts at the top and fills the page going across and then down the page, but this does not appear to be the case.  In the MWE example below, I have color coded the sections for reference purposes.   The first case (black) works just as I would expect. The two minipages are aligned exactly as I want with the [t] specifier.  No question here.  The next case (red) only works if the inner minipage also has the [t] specifier. Why is that necessary?  I would have thought that any content would be placed at the top of this page, and since both the outer minipage had a [t] things should have aligned at the top. I would like to place a graphic in the second mini page, and still have the two aligned at the top.   The simple case (blue) of using \includegraphics directly does not result in the content being aligned at the top.  So, then I attempt to put this in a \parbox (green) and this too does not yield the desired results.  I also try to place the graphic inside an inner minipage (brown) and specify the [t] alignment, and even though this worked in the red section, it does not here.  The only difference between the red and brown being that the red section had text, whereas the brown section has a graphic.  I am aware of question regarding  which suggests to place \vspace{0pt} at the top of the minipage, and that does provide the desired alignment (cyan), but adds vertical space at the top.  So, my second question is why is the \vspace{0pt} necessary when a graphic is included, but not when it is text.  This appears to be a hack and wondering if there is a replacement for minipage that works better without having to worry about exactly what is in the minipage?  Also, why did wrapping the figure in a parbox (green) or another minipage (brown) not solve this problem?   Here is the MWE:  \documentclass{article} \usepackage[demo]{graphicx} \usepackage{lipsum} \usepackage{xcolor}  \begin{document} \section{This Works - Aligned at top as desired} \begin{minipage}[t]{0.6\linewidth}     \lipsum[1] \end{minipage} \hfill \begin{minipage}[t]{0.3\linewidth}     \lipsum[2] \end{minipage}  \color{red} \section{Why does inner mini page required the [t]?} \label{Minipage-in-minipage} \begin{minipage}[t]{0.6\linewidth}     \lipsum[3] \end{minipage} \hfill \begin{minipage}[t]{0.3\linewidth}     \begin{minipage}[t]{\linewidth}% Why is [t] required here         \lipsum[4]     \end{minipage} \end{minipage}  \color{blue} \section{Why are These not aligned at top?} \begin{minipage}[t]{0.6\linewidth}     \lipsum[3] \end{minipage} \hfill \begin{minipage}[t]{0.3\linewidth}     \includegraphics[width=\linewidth]{foo} \end{minipage}  \color{green} \section{Why are These not aligned at top?} \begin{minipage}[t]{0.6\linewidth}     \lipsum[3] \end{minipage} \hfill \begin{minipage}[t]{0.3\linewidth}     \parbox{\linewidth}{\includegraphics[width=\linewidth]{foo}} \end{minipage}  \newpage \color{brown} \section{Why does this not work with the [t] as it did in red section?} This worked fine in Section \ref{Minipage-in-minipage}  \begin{minipage}[t]{0.6\linewidth}     \lipsum[3] \end{minipage} \hfill \begin{minipage}[t]{0.3\linewidth}     \begin{minipage}[t]{\linewidth}% Even with [t] here, this does not work         \parbox{\linewidth}{\includegraphics[width=\linewidth]{foo}}     \end{minipage} \end{minipage}   \color{cyan} \section{Adding a \textbackslash{}vspace\{0pt\} works} \begin{minipage}[t]{0.6\linewidth}     \vspace{0pt}% Hack!! But does do the job     \lipsum[3] \end{minipage} \hfill \begin{minipage}[t]{0.3\linewidth}     \vspace{0pt}% Hack!! But does do the job     \begin{minipage}[t]{\linewidth}% Why is [t] required here         \parbox{\linewidth}{\includegraphics[width=\linewidth]{foo}}     \end{minipage} \end{minipage} \end{document}


I know how to show $\lim_{n\to \infty} \frac{x^n}{n!}=0$ from the perspective of series. Namely use the ratio test to show $\sum\frac{x^n}{n!}$ is convergent, then the nth term must tends to 0. But I remember I have seen another way to do it in the forum. I think this question may duplicate, but the 'similar question' doesn't show. If it does duplicate, I apologize.

Why is     $$\lim_{n \to \infty} \frac{2^n}{n!}=0\text{ ?}$$   Can we generalize it to any exponent $x \in \Bbb R$? This is to say, is     $$\lim_{n \to \infty} \frac{x^n}{n!}=0\text{ ?}$$     This is being repurposed in an effort to cut down on duplicates, see here: Coping with  duplicate questions.  and here: .


I want to split a string in Java script using  str.split([separator[, limit]])  I want to split it by a space, but ' ' did not work. What should I use?

I have this string  'john smith~123 Street~Apt 4~New York~NY~12345'   Using JavaScript, what is the fastest way to parse this into  var name = "john smith"; var street= "123 Street"; //etc...


Trying to upgrade to 18.04 from 16.04, no free space in boot partition. Tried to expand boot size according some instructions searched from the web but failed. See attached Gparted report and advise how to resize the boot.

Previously, I have installed Windows 7 on my 320 GB laptop with three partitions 173, 84 and 63 GB each. The 63 GB partition was where the Windows was installed. The rest were for file containers.  Now I changed my OS to Ubuntu 12.04 LTS. I installed Ubuntu by replacing the entire Windows 7 on the 63 GB partition. The rest of the partitions remain as an NTFS Windows partition and I can still access them both (the 173 and 84 GB partitions).  Now I want to change the two partitions of Windows into an Ubuntu format partitions plus most importantly, I want to extend the 63 GB partition to more than a 100 GB because at the moment I am running out of disk space. Whenever I try to install any application, especially using wine, it always complains for a shortage of disk space.  How do I do the extending activity before I entirely format my laptop again and lose all the important files on my partitions?


I cannot understand what goes wrong in the following simple example in python 3.6.8: import functools  def test(cache=False):     def decorator_init(func):         @functools.wraps(func)         def wrapper_init(*args, **kwargs):             print(cache)             #cache = False         return wrapper_init     return decorator_init  @test(cache=False) def main():     return None  main()  Uncommenting cache = False will cause this program to fail saying that Traceback (most recent call last):   File "C:/.../debug.py", line 16, in <module>     main()   File "C:/.../debug.py", line 7, in wrapper_init     print(cache) UnboundLocalError: local variable 'cache' referenced before assignment  Why does attempting to mutate this variable lead to it being referenced before assignment, but otherwise it's fine to call it in a print statement?

The following code works as expected in both Python 2.5 and 3.0:  a, b, c = (1, 2, 3)  print(a, b, c)  def test():     print(a)     print(b)     print(c)    # (A)     #c+=1       # (B) test()   However, when I uncomment line (B), I get an UnboundLocalError: 'c' not assigned at line (A). The values of a and b are printed correctly. This has me completely baffled for two reasons:   Why is there a runtime error thrown at line (A) because of a later statement on line (B)? Why are variables a and b printed as expected, while c raises an error?   The only explanation I can come up with is that a local variable c is created by the assignment c+=1, which takes precedent over the "global" variable c even before the local variable is created. Of course, it doesn't make sense for a variable to "steal" scope before it exists.  Could someone please explain this behavior?


Can any one help me with the error in this line.  I am trying to build a TPL Multi - Threading application and my intention is to have a start stop button. On click on start the loop will start and like a counter it will display values one by one in the textbox.  and at any point of time if the user clicks on stop button, the task will stop.  Please see the below code for more reference.  Form1.cs:  namespace MultiThreading_Start_Stop_Counter { public partial class Form1 : Form {     CancellationTokenSource cancellationTokenSource = new CancellationTokenSource();     CancellationToken token = cancellationTokenSource.Token;       public Form1()     {         InitializeComponent();     }      private void button1_Click(object sender, EventArgs e)     {         Task task = new Task(() =>         {             for (int i = 0; i < 10; i++)             {                 if (token.IsCancellationRequested)                 {                     textBox1.Text = Convert.ToString(0);                     return;                 }                  textBox1.Text = Convert.ToString(i);             }         }, token);          task.Start();      }      private void button2_Click(object sender, EventArgs e)     {         cancellationTokenSource.Cancel();     }      private void button3_Click(object sender, EventArgs e)     {      }      private void button4_Click(object sender, EventArgs e)     {      } } }   EDIT:     Form1.cs:  namespace MultiThreading_Start_Stop_Counter { public partial class Form1 : Form {     CancellationTokenSource cancellationTokenSource = new CancellationTokenSource();     CancellationToken token = cancellationTokenSource.Token;       public Form1()     {         InitializeComponent();     }      private void button1_Click(object sender, EventArgs e)     {         Task task = new Task(() =>         {             for (int i = 0; i < 10; i++)             {                 if (token.IsCancellationRequested)                 {                     textBox1.Text = Convert.ToString(0);                     return;                 }                  textBox1.Text = Convert.ToString(i);             }         }, token);          task.Start();      }      private void button2_Click(object sender, EventArgs e)     {         cancellationTokenSource.Cancel();     }      private void button3_Click(object sender, EventArgs e)     {      }      private void button4_Click(object sender, EventArgs e)     {      } } }   Now am getting this exception: **An exception of type      System.InvalidOperationException' occurred in System.Windows.Forms.dll but was not handled in user code. Additional information: Cross-thread operation not valid: Control 'textBox1' accessed from a thread other than the thread it was created on.**

I have a scenario. (Windows Forms, C#, .NET)   There is a main form which hosts some user control. The user control does some heavy data operation, such that if I directly call the UserControl_Load method the UI become nonresponsive for the duration for load method execution. To overcome this I load data on different thread (trying to change existing code as little as I can)   I used a background worker thread which will be loading the data and when done will notify the application that it has done its work.   Now came a real problem. All the UI (main form and its child usercontrols) was created on the primary main thread. In the LOAD method of the usercontrol I'm fetching data based on the values of some control (like textbox) on userControl.    The pseudocode would look like this:  CODE 1  UserContrl1_LoadDataMethod() {     if (textbox1.text == "MyName") // This gives exception     {         //Load data corresponding to "MyName".         //Populate a globale variable List<string> which will be binded to grid at some later stage.     } }   The Exception it gave was     Cross-thread operation not valid: Control accessed from a thread other than the thread it was created on.   To know more about this I did some googling and a suggestion came up like using the following code  CODE 2  UserContrl1_LoadDataMethod() {     if (InvokeRequired) // Line #1     {         this.Invoke(new MethodInvoker(UserContrl1_LoadDataMethod));         return;     }      if (textbox1.text == "MyName") // Now it wont give an exception     {     //Load data correspondin to "MyName"         //Populate a globale variable List<string> which will be binded to grid at some later stage     } }   BUT BUT BUT... it seems I'm back to square one. The Application again  become nonresponsive. It seems to be due to the execution of line #1 if condition. The loading task is again done by the parent thread and not the third that I spawned.  I don't know whether I perceived this right or wrong. I'm new to threading.  How do I resolve this and also what is the effect of execution of Line#1 if block?  The situation is this: I want to load data into a global variable based on the value of a control. I don't want to change the value of a control from the child thread. I'm not going to do it ever from a child thread.   So only accessing the value so that the corresponding data can be fetched from the database.


What to do in that case? As far as I know, there is no way to request a particular member to answer my question. I put this up nearly a day and a half ago      No one answered, and this post has moved way down the list. What should I do? Should I delete and repost it?   It's not just about my post. This caters to anyone who does not get answers to their questions on there.

I asked a question almost as soon as I got my account. I got a few decent answers, but none of them helped solve my problem. The question has long since become buried by newer questions, and there's still no accepted answer. Unfortunately, because there are quite a few answers with votes, to a casual observer it probably looks like the question was answered and I just neglected to mark an answer as accepted, and the system does not consider it "unanswered".  Or, I asked a question that was a bit more difficult to answer. After waiting for some time, I received no answers, little or no comments, and only a few views. The question does show up in the "unanswered" list, but no one has answered my question.  In either case, what's the protocol for me to try to get this question answered?  I see several options:   Post the question a second time, possibly linking to the original, to get attention for the original question. This is encouraged on sites like Reddit.  However, it's probably not appropriate here, since we're encouraged to check for duplicates and not submit a question that's already been asked by someone else, so this probably falls under that heading. Wait for some kind of wiki-like talk page to be implemented, then post a plea on the talk page for input and hope that activity on the talk page bumps up the question. Edit the question, but do nothing further on the Stack Exchange site. If I edit my post to say that I haven't accepted any of the current answers but am looking for more, then the question might get answered eventually by people browsing through old questions to find something they can answer. Post the question on other sites, but link to my original question on Stack Exchange. People will either answer here, or they'll answer on the other site and I can post the accepted answer here myself.  This might be considered spamming, so it might be better to do this without the link.      For more information, see the "" page in the .


Which phrase is correct, "what happened is” or “what happened was"?

Let me provide one example from a local news:     "Essentially what happened is the state approved the same dollar   amount it did last year for the supplemental general fund"   My thinking is, the above, as well generally, is incorrect b/c of the verb-agreement rules -   and "what happened was" would be [more] correct, context depended obviously.  However,  based in somewhat equal google hits and in speech, I see a prevalent use of "what happened is..."  Please explain when it is correct and when it is NOT.


i'm trying to center layout using many ways, but still not find the best way how to do it. in my code below, the button rental not be in center. i think it because the margin-left but i'm not find anything. i'm always have a problem to make something to center. please help how the best way to do it. and can i make a margin between class="val" ?  this is my example code    a.button {   margin-top: 10px;   background-color: #008CBA;   font-size: 16px;   padding: 12px 28px;   border-radius: 2px;   border: 2px solid #008CBA;   -webkit-transition-duration: 0.4s; /* Safari */     transition-duration: 0.4s;     -webkit-appearance: button;     -moz-appearance: button;     appearance: button;      text-decoration: none;     color: white;     margin-bottom: 10px; } .button:hover {     background-color: #3399ff;     color: white;     border: 3px solid #008CBA; } ul{   list-style-type: none;     margin-top: 10px;     padding: 0;   /*overflow: hidden;*/   /*width: 20%;*/     /*margin-bottom: 10PX;*/ } li{   float: left; } li button {   background-color: #008CBA; }   #pencetan{    display: table;   margin: 0 auto;  }

<button id="less">-</button>

1

<button id="add">+</button>

 Rental

How can I horizontally center a
 within another
 using CSS?

Foo foo


The code snap is like below:    public static void main(String[] args) {     System.out.println(echo("jjj")); }  public static String echo(String str) {     try {         int a = 1/0;     } catch (Exception e) {         throw e;     } finally {         return str;     } }   Why can I get the output and no exception occurs? And if I put the return clause out of finally, then exception occurs. How could return(in finally) stop exception?

I was surprised recently to find that it's possible to have a return statement in a finally block in Java.  It seems like lots of people think it's a bad thing to do as described in ''. Scratching a little deeper, I also found '' which shows some pretty horrible examples of other types of flow control in finally blocks.  So, my question is, can anyone give me an example where a return statement (or other flow control) in a finally block produces better / more readable code?


How can I calculate the equation $x^x=5$  Is it an exponential function?  Thank you.

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


Given a variety $X$ in a projective space $\mathbb{P}^N$, $dim X=k$.  Let $A=\{(p,H): H\supset T_pX \}\subset X \times (\mathbb{P}^N)^*$.   Objective: to show that $A$ is irreducible.   Idea, way:  (1) The fibers of $\pi_1:A \longrightarrow X$ are isomorphic to $\mathbb{P}^{N-k-1}$.   (2) Item (1) implies that $A$ is irreducible.   Why is item (1) true and why does it imply that A is irreducible?

Let $\pi:X\rightarrow Y$ be a proper morphism to an irreducible variety and all fibers of $\pi$ are nonempty, irreducible, and of the same dimension.  Show $X$ must also be irreducible.  Thanks (Any hints would work too)


I remember that I read somewhere a comment about a building that is out of place, does not blend well with the surrounding architecture, and I think the author of that comment used a specific word to describe such building. Any thoughts?

The building is shaped like a matchbox. Or like a beehive. Designs of this sort need very little engineering and less imagination. It's mostly glass and concrete. More glass than concrete. It is a residential building.  In order to make room for it, an entire block of 19th Century buildings (very quaint and very much in keeping with the city's spirit) was mercilessly razed.   A handful of half-hearted protests from the neighbors followed. Those were ignored. The local media assessed the situation and found there was nothing worth reporting.  The monstrosity went up in no time. It now towers over the street, faceless and depressing.  Because the windows are walls, and the walls windows, it costs a fortune to keep the apartments warm in the winter and cool in the summer. Not that I think the tenants give a rat's ass: to those who can afford to rent a place in that building, the utility bill of any size is a trifling matter.  Ordinary pejorative words that people normally use to describe this type of architecture (matchbox, barn, etc) are way too weak. The monster is just too hideous, and the architects who designed it, contractors who built it, and tenants who live in it are too self-complacent and too dismissive of things that are beautiful and harmonious, as well as of the city's history, as well as of other people who live in the city.  To summarize. The building is neither a barn, shack, nor a matchbox. Those words are much too weak. Any suggestions?  Addendum: I once called the whole "ugly growth" phenomenon "a chancrous rash on the body of American architecture," but that's too general, I think. Nor is it an exclusively American thing either: London is chock-full of them, and so is any German city, and Paris is catching up pretty fast.  Before: buildings not unlike these:    ... and now:


Disclaimer:  I am not an artist.  I created a model in blender.  I switched my mode to "Texture Paint".  I painted the model.  When I export as an FBX or switch back to "Object Mode", my paint goes away.  I am opening my FBX View 3D, a native Windows 3D model viewer.  Why does this happen, and how can I prevent it from happening?

I used node textures in a mesh I exported to .FBX.  I then imported it into Unreal Engine 4 and it didn't import any textures; I clicked the Upload Textures option in Unreal Engine.  Is there something I'm doing wrong or is it Blender?


Do two specks of antimatter experience antigravity between them? If no is the answer then what 2 specks may ever be the cause of that?

I know that the gravitational interaction of antimatter is expected to be the same as normal matter.  But my question is, has it ever been experimentally validated?  I think it would not be a trivial experiment, because electromagnetic effects have to be eliminated, so neutral particles would be needed. Maybe diamagnetically trapped antihidrogen atoms could be examined as to which direction they fall?


So, I've been struggling to solve the following exercise:  $$ \int_0^1 \sqrt{4-x^2}\,dx $$  Most of the solutions I've seen online use substitution using $x = \cos(t)$ or $x = \sin(t)$, however I'm wondering how the substitution without $\cos$ or $\sin$ would work? Any help is appreciated!

I was asked to solve this indefinite integral using Integration by parts.  $$\int \sqrt{1-x^2} dx$$  I know how to solve if use the substitution $x=\sin(t)$ but I'm looking for the Integration by parts way.   any help would be very appreciated.


I have a question regarding the Z-Score test when it comes to compare two proportions.  Usually, one would use this formula to obtain the Z-Score:   and then compare it to a Standard Normal Distribution to find if the difference is statistically significant.  Yet, I was wondering how can we evaluate such a statistic when we have the following problem for example:  Let's say we have tow factories which produce the same set of products, some of them can break during the process. We have one proportion, which is the proportion of broken objects in each factory. We can compare this proportion between the two factories with the preceding formula.  But what if I'm interested by another proportion, that is the amount lost due to broken objects wich can be defined by :    where x(i) equals 1 if the object i is broken and 0 otherwise and P(i) is the price of the object i.  How can we derive confidence intervals and Z-score test for such a proportion ?   Thanks for your help  EDIT: I found a solution  Yet, in the demonstration written by wuber the variables X(i) are supposed to be independent. That is why he can write   What if it is not the case ? For example let's say that an object manipulated by a worker/machine is more likely to break if the worker/machine already broke an object or more in the past. How can we determine the covariance between these variables ?

I know the "textbook" estimate of the standard error of a proportion is $SE=\sqrt{\frac{p(1-p)}{n}}$, but does this hold up when the data are weighted?


How do I Differentiate between Ordinal and Nominal variables using Python?  The code needs to be dynamic and must be able to identify the difference for any data set that comes in. Is it possible to achieve this using python program?  The output must be the type of the variable (Nominal or Ordinal).

I have a data frame in python where I need to find all categorical variables. Checking the type of the column doesn't always work because int type can also be categorical.   So I seek help in finding the right hypothesis test method to identify if a column is categorical or not.   I was trying below chi-square test but I am not sure if this is good enough  import numpy as np data = np.random.randint(0,5,100) import scipy.stats as ss ss.chisquare(data)   Please advise.


Is there any other way to prove it rather than proving it using the formula by definition ?

One of the first things ever taught in a differential calculus class:   The derivative of $\sin x$ is $\cos x$. The derivative of $\cos x$ is $-\sin x$.   This leads to a rather neat (and convenient?) chain of derivatives:   sin(x) cos(x) -sin(x) -cos(x) sin(x) ...   An analysis of the shape of their graphs confirms some points; for example, when $\sin x$ is at a maximum, $\cos x$ is zero and moving downwards; when $\cos x$  is at a maximum, $\sin x$ is zero and moving upwards.  But these "matching points" only work for multiples of $\pi/4$.  Let us move back towards the original definition(s) of sine and cosine:  At the most basic level, $\sin x$ is defined as -- for a right triangle with internal angle $x$ -- the length of the side opposite of the angle divided by the hypotenuse of the triangle.  To generalize this to the domain of all real numbers, $\sin x$ was then defined as the Y-coordinate of a point on the unit circle that is an angle $x$ from the positive X-axis.  The definition of $\cos x$ was then made the same way, but with adj/hyp and the X-coordinate, as we all know.  Is there anything about this basic definition that allows someone to look at these definitions, alone, and think, "Hey, the derivative of the sine function with respect to angle is the cosine function!"  That is, from the unit circle definition alone.  Or, even more amazingly, the right triangle definition alone.  Ignoring graphical analysis of their plot.  In essence, I am asking, essentially, "Intuitively why is the derivative of the sine the cosine?"


I am running Ubuntu 14.04 and want to transfer some videos to my iPhone 5 (iOS7) to it.  When I connect the phone it is mounted correctly and I can see all the DCIM, Photo... folders in nautilus. But where do I copy my .mp4 files?  I have searched the net but all is related to syncing music files (mp3). , , .   Also, when I try to copy something in Document Folder or inside any app (2nd mounted iPhone point) it gives me an error:  ERROR: File doesn't exist   So, is there any folder in 1st mounted point (like DCIM, Photo etc..) where I can simply copy my MP4 files and watch it in my iPhone?   (NOTE: I don't need sync function but will not harm if it can be achieved).  EDIT:  Now I see two more problems:   For some reason my Document Folder is not mounted any more (even after unmounting and restarting). Only the Picture, DCIM etc. folders are mounted. I sometimes get this:     EDIT 2: When I tried the troubleshoot method in 1st link of duplicate I get  Error: Pairing with device xxxxx failed with unhandled error code -20. (And my phone was not locked)  Also, I get on re-connecting:

I have an iPad and a desktop running Ubuntu 12.04 with lots of movie files of various formats (avi, mp4, m4v, etc).  Is it possible to transfer those files from within linux directly to the iPad (without using iTunes to sync) over USB and then play those movies on the iPad without reformatting/resizing all of them?  I've used iTunes in a Windows XP virtualbox instance with other iOS mobile devices before but I would prefer a pure linux approach if possible.  (I'm creating this question so that I can share the solution I found because I failed to find a simple, satisfactory answer elsewhere).


According to the Help Center, the requirement of earning the Java bronze tag badge is:     Earned at least 100 total score for at least 20 non-community wiki answers in the java tag.   I've answered many questions with the  tag and gained more than 500 reputation, but I haven't gotten the Java bronze tag badge.  Could someone tell me why?  Am I misunderstanding some of the rules?

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.


This question is about empirical (real-life) usage of neural networks. In an ML class that I am taking right now, the instructor went through the basics of neural networks, from basic perceptron through basic feedfoward with 1 layer to 1 hidden layer, etc.   One thing that stood out to me was the . George Cybenko in 1988 showed that any function can be approximated to arbitrary accuracy by a NN with 3 layers (2 hidden, 1 output; see ). Of course, this paper doesn't say how many units each layer has, or the learnability of the parameters.  I thought of the post  on Gizmodo talking about an 11 hidden layers network used by Google for identification of house numbers. In fact, the actual paper  says that the deepest network has the highest accuracy, with accuracy increasing with depth of network.  Why is this the case? Why does "stacking more layers" work? Doesn't the theorem already say 2 hidden layers are enough?

I haven't seen the question stated precisely in these terms, and this is why I make a new question.  What I am interested in knowing is not the definition of a neural network, but understanding the actual difference with a deep neural network.  For more context: I know what a neural network is and how backpropagation works. I know that a DNN must have multiple hidden layers. However, 10 years ago in class I learned that having several layers or one layer (not counting the input and output layers) was equivalent in terms of the functions a neural network is able to represent (see Cybenko's ), and that having more layers made it more complex to analyse without gain in performance. Obviously, that is not the case anymore.  I suppose, maybe wrongly, that the differences are in terms of training algorithm and properties rather than structure, and therefore I would really appreciate if the answer could underline the reasons that made the move to DNN possible (e.g. mathematical proof or randomly playing with networks?) and desirable (e.g. speed of convergence?)


I don't understand how two photons of the same frequency can have different amplitudes, neither how to produce them.  I know that classically the square of the amplitude is proportional to the energy, but photons aren't classical particles.  My understanding is that a photon's energy is $h\nu$ - what does the square of its amplitude represent, then? Are there bounds to the amplitude of an EM wave?  Take two waves of amplitudes $A_1$ and $A_2$ and frequency $f_0$. If $A_2 = 2A_1$, can the wave with amplitude $A_2$ be said to carry/be two $A_1$ photons of frequency $f_0$?

Given a light pulse in vacuum containing a single photon with an energy $E=h\nu$, what is the peak value of the electric / magnetic field?


I'm trying this problem (2.14) in John M Lee's book on smooth manifolds:      For any two disjoint closed sets $A$ and $B$ we can find a smooth function such that $f^{-1}(1)=A$ and $f^{-1}(0)=B$.    Can someone give a hint on how to do this?   I tried to use normality and partition of unity and the fact that for any closed set $K$ there is a smooth function $g$ such that $g^{-1}(0)=K$. But none of these seem to work.

Let $M$ be a smooth manifold. Let $A$ and $B$ be disjoint closed sets of $M$. Show there exists a smooth function $f$ such that $f^{-1}(0)=A$ and $f^{-1}(1)=B$.   This is my idea so far,   Since $A$ and $B$ are disjoint closed subsets $\{M-A,M-B\}$ is an open cover for $M$. Therefore there exists a partition of unity $\{\psi_{1},\psi_{2}\}$ with $\psi_{1}$ supported in $M-A$ and $\psi_{2}$ supported in $M-B$. Furthermore $\psi_{1}+\psi_{2}=1$. Then $\psi_{1}(1-\psi_{2})$ is zero on $A$ and $1$ on $B$. I get the inclusions $A\subset f^{-1}(0)$ and $B\subset f^{-1}(1)$. I've tried adding a few more open sets to the cover like $M-(A\cup B)$ and $(M-A)-B$ and $(M-B)-A$ but I still can't ensure that the function only vanishes at $A$.   Then I moved on to attempt to find any bump function that is 1 only on $A$ and ran into the same problem.   Am I missing something here or do I just need to be clever with how I define a function. Any hints would be much appreciated. Thanks.


So I know that every time I refresh my question page, it increases the view count. Is there a way where I can see the IP address of the unique views on my questions?

I saw it's not just a page views number, because, if I press F5 several times, it won't increase the number of views.  They could store my IP address in a table, but wouldn't that make it slow? They would need to query a database one more time for each request.


I'm trying to create an empty copy of a certain layer, so no objects only tablestructure, crs etc.  from qgis.utils import * layer = qgis.utils.iface.activeLayer() print layer.name()                            provider = layer.dataProvider() print provider.fields()[0].name() writer1 = QgsVectorFileWriter("d:/temp/qgis/test3.shp",                                "CP1250",                                provider.fields(),                                provider.geometryType(),                                provider.crs(),                                "ESRI Shapefile")   When I open the created file (test3) there is no tablestructure, crs. etc.  Running the script the second time with test3 still open, it works.  Obviously I miss something .      An other good working solution I found later:   it loads it into a memory layer.

Being new with python so far, I got inspired by this answer:   to dive into it a bit.  When creating features in a new target layer from an existing source layer, all "solutions" I found so far to create that new layer, were to either   prepare the new target layer manually in QGIS beforehand, adding all fields (with field types, lengths etc). Hard-code the field settings into the python script when creating that new target layer.    It seems a bit odd to me that there should be no programmatic way to clone the attribute scheme of a layer, and create a new (memory) layer with this scheme, so you wont have to change your script for each new layer, or fumble things together manually.  I'm focused on the creation of memory-layers, cause I want to have the opportunity to decide by myself if the outcome is satisfactory and save it manually when it fits my needs.


Without a calculator, how can I calculate the sine of an angle, for example 32(without drawing a triangle)?

In school, we just started learning about trigonometry, and I was wondering: is there a way to find the sine, cosine, tangent, cosecant, secant, and cotangent of a single angle without using a calculator?  Sometimes I don't feel right when I can't do things out myself and let a machine do it when I can't.  Or, if you could redirect me to a place that explains how to do it, please do so.  My dad said there isn't, but I just had to make sure.  Thanks.


I have to prove that:  $\binom{n}{k}\binom{k}{m} = \binom{n}{m} \binom{n-m}{k-m}$  I'm not really sure how to approach this problem. I know the formula definition of combination but am unsure how to apply it to this question

I need to prove the following:  If $n,m,k\in \mathbb{N}$ and $k\leq m \leq n$, then  $$\binom{n}{m}\binom{m}{k} = \binom{n}{k}\binom{n-k}{m-k}$$.  I did the following steps:   \begin{align} \require{cancel} \binom{n}{m}\binom{m}{k} &= \binom{n}{k}\binom{n-k}{m-k} \\ \frac{n!}{m!(n-m)!}\cdot \frac{m!}{k!(m-k)!} &= \frac{n!}{k!(n-k)!}\cdot \frac{(n-k)!}{(m-k)!(n-k-m+k)!}\\ \frac{n!}{\cancel{m!}(n-m)!}\cdot \frac{\cancel{m!}}{k!(m-k)!} &= \frac{n!}{k!\cancel{(n-k)}!}\cdot \frac{\cancel{(n-k)}!}{(m-k)!(n-k-m+k)!} \\ \frac{n!}{k!(n-m)!(m-k)!} &= \frac{n!}{k!(n-m)!(m-k)!} \end{align}  The question is: is my proof correct? Are all my steps valid?  Thanks


How to avoid that the styles of a node style pass in a schema included in the node  thus on the ECM below, the node of right becomes green and is cut in 2 and that of left does not change of color but is cut off    \documentclass{standalone} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc}  \usepackage{tikz} \usetikzlibrary{fit, positioning} \usetikzlibrary{shapes.multipart}  \begin{document} \tikzset{rougelarge/.style={fill=red!20,minimum width=15em,minimum height=4em,text width=15em,draw}}  \newcommand{\nodeUn}{ \begin{tikzpicture} \node[rougelarge](aa){texte sur plusieurs lignes\\texte sur plusieurs lignes}; \node[right=5em of aa,draw](bb){texte}; \end{tikzpicture} } \begin{tikzpicture} \node[rectangle split, rectangle split parts=2,fill=green]{texte sur plusieurs lignes \nodepart{two} \nodeUn }; \end{tikzpicture} \end{document}

I'm nesting a tikzpicture inside a tikzpicture, and having problems with the 'text width' parameter leaking through from the outer tikzpicture to the inner. (The nesting is pretty much unavoidable -- in my actual use case the tikzpicture s are defined in different macros.)   MWE:  \documentclass[a4paper,11pt,landscape]{article} \usepackage{tikz,nopageno}  \begin{document}  \newcommand{\cost}{% \begin{tikzpicture}     \node[fill=red!85!black,shape=circle,inner sep=0.3mm,draw=black,text=white] {\raisebox{0pt}[\height][0pt]{\bf 1}}; \end{tikzpicture}}  \cost  \begin{tikzpicture}     \node[text width=10mm] {\cost}; \end{tikzpicture}  \end{document}     How should I modify 'cost' so that it behaves as if text width was not set?


Can you cross-play with people playing in Minecraft Pocket Edition, with Minecraft PC edition?   I don't have the digital money, or the permission to pay for Minecraft PE, and all of my friends are on the Pocket Edition, and I want to play with them.

My kids are playing Minecraft on 2 PCs, creative mode.  They are connected by the way of one of them starts a single player game on the other one than joins that game over the LAN.  Can I, using Minecraft PE on my iPad, join their game as well?


I came across the following example from a book. I am given a dataset generated from a bivariate normal distribution:    Among the data, there are missing values for the last 20 of x2i (but not for x1i). The example demonstrates how EM algorithm comes into play to impute the missing value. The procedures are attached below:    It is further commented that the E-step conditional expectation is derived from the following formula:    I don't understand how this formula (the one with epsilon) is derived. Could anyone give me a reference for that?

Suppose that $\mathbf{X} \sim N_{2}(\mathbf{\mu}, \mathbf{\Sigma})$. Then the conditional distribution of $X_1$ given that $X_2 = x_2$ is multivariate normally distributed with mean:   $$ E[P(X_1 | X_2 = x_2)] = \mu_1+\frac{\sigma_{12}}{\sigma_{22}}(x_2-\mu_2)$$  and variance: $${\rm Var}[P(X_1 | X_2 = x_2)] = \sigma_{11}-\frac{\sigma_{12}^{2}}{\sigma_{22}}$$  It makes sense that the variance would decrease since we have more information. But what is the intuition behind the mean formula? How does the covariance between $X_1$ and $X_2$ factor into the conditional mean?


I receive that message when I want install or try to don know that was installed, after it's here :   apt-get install linux-generic -(the error)- E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)  E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?   What do I have to do in this case, and how I can run a message automatically on my desktop if it's hacked?   P.S. I need a secure port, or a few secure number ports.

I get this error whenever I try to install programs using the terminal:  home@ubuntu:~$ apt-get install myunity E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?   Also I'm unable to install updates using the terminal.


In the list of constants:   '\0' char true, false boolean 2U unsigned / unsigned int 2 int 2L long 2.0 double 2.0f float "" string 0x0 hexadecimal integer 02 octal integer 1E-8 exponential     I see primarily all the constants corresponding to their standard data type or interpretation value. However I don't see a specific for (short / short integer / 2 bytes / word / int16). Is there any particular, reasonable argument for its absence ?

Very basic question: how do I write a short literal in C++?  I know the following:   2 is an int 2U is an unsigned int 2L is a long 2LL is a long long 2.0f is a float 2.0 is a double '\2' is a char.   But how would I write a short literal?  I tried 2S but that gives a compiler warning.


I downloaded a program called SmartCVS which came in a tar file which I extracted and stored into my home folder. To run the program, I use the terminal and enter my home folder and then into the program's folders -- (/home/username/smartcvs-7_1_9/bin) -- and run   [user@localhost]$ ./smartcvs.sh   to start the program. I however would like to add a shortcut here to run this program.

The GNOME on-board documentation covers only the things anyone can easily guess. I have an application for that I can only start from the command line. Not that I mind using a terminal but ...  Anyway, how do I add the command (and preferably a nice logo) to GNOME WM?


linked questions list, at right side of post is not getting updated when an answers is deleted.         It should be excluded as deleted answers is only visible to 10k users so it might be confusing.

Looking at  which has been closed as a duplicate (quite right), we see three 'linked' questions in the sidebar; however, only two of those questions are given as duplicate-close-targets.  which to my mind is the actual 'exact duplicate', isn't mentioned anywhere else except in the 'linked questions' sidebar itself! The  says:  The Linked sidebar... gathers up any links to this question provided by the community via comments, answers, or questions  So how did  get into the linked questions sidebar of ? (There's no explicit link in the other direction, in case you were wondering.)


I'm using texmaker and I inside my text I mention a particular phenomenon. I then want to make reference to a series of papers, you know, like "... gaussian beams, [10,11]", but my list is longer than that. I wanto to write the reference as [10-14] but the best I can do is [10,11,12,13].  I'm using the command \cite{ref11, ref12, ref13, ref14}. How can I achieve this [10-14] form?

In my kile documents, I want to add multiple citations. For this I use the command   \cite{cristo,taylor,polgar,phillips,speirs,simoes,roberto}   The names in this command give numeric references, which is what I wanted, but not in the way I want it. It gives [1,2,3,4,5,6,7] instead of [1,2,4-8]. Is there any other way to manage this? My bibliography style is elsarticle-num, and I use bibtex for the bibliography.   I use this preamble in my document:  \documentclass[review,preprint,twocolumn,3p]{elsarticle} \usepackage{graphicx} \usepackage{color} \usepackage{url} \usepackage{ctable} \usepackage{booktabs} \usepackage{cite} \usepackage{tabularx} \usepackage{array} \usepackage{soul} \usepackage{multirow} \usepackage{lineno} \usepackage{subfigure} \usepackage{amssymb,amsmath} \newcommand{\tab}{\hspace{5mm}}


When you vote down an answer to a question, do you leave a comment to explain why? Personally I think this is very useful, since if someone has written something that is wrong they can be set straight. Obviously, this may not make sense for highly subjective answers...

Note: If you're looking for a simple explanation as to why comments aren't required on downvotes, see .   I used to get "upset" (though that is too strong a term) when I got downvoted without comment. If my answer isn't good enough then I'd like to know why. Not only does it improve the answer for the OP but it improves my knowledge too.  Where the down-vote has been explained I've found it useful & it has improved my answer, or forced me to delete the answer if it was totally wrong.  So is there any way we can encourage people to leave a comment? Perhaps they don't lose rep if they explain their down-vote?  I must admit though that I haven't always explained my down-vote either so you could call me a hypocrite. I've also grown a thicker skin over the months of using SO (it seems to have come with the higher rep score ;-)), so I'm less bothered about this now.


I have a rest api that has to be executed only if the parameter "manual" is present in the request.  I tried with a RedirectMatch directive inside the virtualhost declaration      RedirectMatch 401 "^\/api\/file\.php\?.*(?!manual).*$   but it does not work. Actually seems that none of the last part of the regexp works.  EDIT: Umh, I just found out that RedirectMatch directive does not match against the query part of the get request...

Compare these two RedirectMatch's. The first doesn't work: RedirectMatch 302 ^/redirect\.php[?]page=(.+)$ http://somewhereelse.com/$1  Versus this, which will redirect to http://somewhereelse.com/?page=wherever: RedirectMatch 302 ^/redirect\.php([?]page=.+)?$ http://somewhereelse.com/$1  Does RedirectMatch only match the URI and not the query string? Apache's documentation is a bit vague in this area. What I'm trying to do is extract the page query parameter and redirect to another site using it. Is that possible with RedirectMatch or do I have to use RewriteCond + RewriteRule?


Is there anyway to get Ubuntu to look like Windows 7? Is there any themes out there to make this possible and if so how?

I want to know is there any theme available make it Ubuntu look like Windows 7 ?


How to send files from Android to Ubuntu over Bluetooth?

I have a problem when I send my files from phone to ubuntu 12.04 via bluetooth as the phone prompts with the message "the file not sent"! I can send any files from ubuntu 12.04 to my android phone.


Calculus 1..  couldn't figure that one.  Given $$\sum_{n=1}^n a_n^2$$ converges,   how do i prove that it implies the converges of $$\sum_{n=1}^n \frac{a_n}{n}$$ ?  Intuitively i thought about comparison test, but i am not given that $a_n$ is positive.  Thanks!

Let $a_1,a_2,a_3,\ldots$ be reals. Prove that if $\sum_{n=1}^{\infty} a_n^{2}$ converges, then so does $\sum_{n=1}^{\infty} \frac {a_n}{n}$.   For this I have shown the case for when $ a_n^{2} \le\frac {|a_n|}{n}$ $\Rightarrow$ $ |a_n|\le\frac {1}{n}$ $\Rightarrow$ $\frac {|a_n|}{n} \le \frac{1}{n^{2}}$ and we know that $\sum_{n=1}^{\infty} \frac {1}{n^{2}}$ converges and hence $\sum_{n=1}^{\infty}\frac {a_n}{n}$ converges by the comparison test. Now considering $ a_n^{2} \ge\frac {|a_n|}{n}$ $\Rightarrow$ $\frac {|a_n|}{n} \le a_n^{2}$ $\rightarrow$ combining the two cases for any n we have: $\frac {|a_n|}{n}\le\frac{1}{n^{2}}+a_n^{2}$ Hence using the comparion test again we know that $\sum_{n=1}^{\infty} a_n^{2}$ converges and $\sum_{n=1}^{\infty} \frac {1}{n^{2}}$ converges hence the sum converges so we can conclude that $\sum_{n=1}^{\infty} \frac {a_n}{n}$ is absoluetly convergent $\Rightarrow$ convergent.  Not to sure if this is correct, any help would be much appreciated, many thanks.


I am doing a project on wasting food and was wondering which phrase would be grammatically correct. "40% of most household bins are food" or "40% of most household bins is food", thanks :)

I’m writing a dissertation on network security. I’m unsure which of the following to use:   ...89.9%, which is 57 million users.  ...89.9%, which are 57 million users.   Technically it should be are because it refers to a plural amount of people, but it doesn’t sound right to me considering that 57 million is in a sense one group.


We write = as "equals", + as "plus", $\exists$ as "thereExists" and so on. Supplemented with some brackets everything will be precise:  $$\exists x,y,z,n \in \mathbb{N}: n>2 \land x^n+y^n=z^n$$  instead of writing:  ThereExists x,y,z,n from theNaturalNumbers suchThat       n isGreaterThan 2 and x toThePower n plus y toThePower n equals z toThePower n   What is the reason that we don't write all words as symbols (almost like a Chinese word system?)  Is it for redundancy? Clarity? Can our visual system process it better?   Because not only do we have to write the words, in order to understand them, we have to guess the real meaning of them.  If algebra and logic had been invented in Japan or China, might the words actually have just been the symbols themselves?  It almost seems like for each word there should be an equivalent symbol-phrase that it corresponds to that is accepted.  This question seems pretty close to why aren't symbols written in words, but there's still the question why don't we write everything in symbols, and leave natural languages behind?

We could have written = as "equals", + as "plus", $\exists$ as "thereExists" and so on. Supplemented with some brackets everything would be just as precise.   $$\exists x,y,z,n \in \mathbb{N}: n>2 \land x^n+y^n=z^n$$  could equally be written as:  ThereExists x,y,z,n from theNaturalNumbers suchThat       n isGreaterThan 2 and x toThePower n plus y toThePower n equals z toThePower n   What is the reason that we write these words as symbols (almost like a Chinese word system?)  Is it for brevity? Clarity? Can our visual system process it better?   Because not only do we have to learn the symbols, in order to understand it we have to say the real meaning in our heads.  If algebra and logic had been invented in Japan or China, might the symbols actually have just been the words themselves?  It almost seems like for each symbol there should be an equivalent word-phrase that it corresponds to that is accepted.


In zsh:   % RESPONSE=$(ping -c 1 raspberrypi4b.local) % echo $RESPONSE | grep "% packet loss"  1 packets transmitted, 1 packets received, 0.0% packet loss   But in bash it's different:   $ RESPONSE=$(ping -c 1 raspberrypi4b.local) $ echo $RESPONSE | grep "% packet loss" PING raspberrypi4b.local (192.168.1.184): 56 data bytes 64 bytes from 192.168.1.184: icmp_seq=0 ttl=64 time=1.376 ms --- raspberrypi4b.local ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 1.376/1.376/1.376/0.000 ms   Yet when I run ping directly, the output is formatted identically:   In zsh:   % ping -c 1 raspberrypi4b.local PING raspberrypi4b.local (192.168.1.184): 56 data bytes 64 bytes from 192.168.1.184: icmp_seq=0 ttl=64 time=7.526 ms  --- raspberrypi4b.local ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 7.526/7.526/7.526/0.000 ms   in bash:  $ ping -c 1 raspberrypi4b.local PING raspberrypi4b.local (192.168.1.184): 56 data bytes 64 bytes from 192.168.1.184: icmp_seq=0 ttl=64 time=7.613 ms  --- raspberrypi4b.local ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 7.613/7.613/7.613/0.000 ms   It seems that bash is ignoring the newlines that are in the output of ping, but perhaps the variable assignment has caused this? In either case, can I get bash to handle this string in the same way that zsh does?

The old advice used to be to double-quote any expression involving a $VARIABLE, at least if one wanted it to be interpreted by the shell as one single item, otherwise, any spaces in the content of $VARIABLE would throw off the shell.  I understand, however, that in more recent versions of shells, double-quoting is no longer always needed (at least for the purpose described above).  For instance, in bash:  % FOO='bar baz' % [ $FOO = 'bar baz' ] && echo OK bash: [: too many arguments % [[ $FOO = 'bar baz' ]] && echo OK OK % touch 'bar baz' % ls $FOO ls: cannot access bar: No such file or directory ls: cannot access baz: No such file or directory   In zsh, on the other hand, the same three commands succeed.  Therefore, based on this experiment, it seems that, in bash, one can omit the double quotes inside [[ ... ]], but not inside [ ... ] nor in command-line arguments, whereas, in zsh, the double quotes may be omitted in all these cases.  But inferring general rules from anecdotal examples like the above is a chancy proposition.  It would be nice to see a summary of when double-quoting is necessary.  I'm primarily interested in zsh, bash, and /bin/sh.


Prove that $$\log(t):=\lim_{n\to\infty}n(t^{1/n}-1),$$ for any $t>0$.

How do I show that $\ln(x) = \lim_{n\to\infty} n (x^{1/n} - 1)$?  I ran into this identity on . I haven't been able to find any proof online and my efforts to get from $\ln(x) := \int_1^x \frac{\mathrm dt}t$ to that limit have been a failure.


I'm flying to Mexico and I have a connecting flight over Philadelphia (e.g. Munich -> Philadelphia -> Cancun).  My stop in USA is about 4 hours, and I am not planning to leave the airport during that time.  Do I need an ESTA or visa?

In Europe usually you don't need to go through immigration to change planes (unless you are entering/exiting Schengen). Is it the case in the US as well? May I catch a connecting flight on one of the US airports if I don't have US visa?


There is a TV show by this name. And I heard someone saying it too. I googled its meaning but the effort went in vain.

In English, I sometimes hear a phrase like green is the new black.  Literally, this makes absolutely no sense whatsoever.  What does it mean when someone says X is the new Y, when this makes no sense when taken literally?   gives plenty of examples:          I've found definitions online for specific examples, such as , but overall I don't understand what X is the new Y means, and I can't find it explained anywhere.  What does X is the new Y mean?  As far as I'm aware, this phrase exists only in English.


how can I add an SSH-key generated from a computer of a friend to my server?  Currently I don't have access to his computer he just sent me his SSH key.

I have an Ubuntu server on Amazon EC2, that I use for development, and today I stupidly cleared everything out of my ~/.ssh/authorized_keys file.  Luckily I have an SSH open, so I am still connected, and can fix the file, but when I try to put my key file back, it doesn't work.  I still get permission denied from the server on my local machine.    authorized_keys has the permissions 600. I have tried appending my SSH key with ssh-rsa and leaving the ssh-rsa off.  I also tried making the SSH key all one line, but that didn't work either.  Is there something else that I have to do like reload the file some how?


I have simple but a frustating doubt. I have seen that equation of a wave on a string can be given by $y=Asin(wt-Kx)$ or by $y=Asin(Kx-wt)$, where $w$ represents angular velocity of wave, $A$ represents amplitude, $K$ ($K=\frac{2\pi}{\lambda}$) represents wave number and $x$ represents displacement of wave at any time $t$. I was confused when I saw a sentence "Let's take a equation of a wave as $y=Asin(wt-Kx)$" in my textbook and a another statement "Let's take a wave equation as $y=Asin(Kx-wt)$" in another book. But how can both these different equation represents a wave tavelling in the same direction?. Because one of the wave equation represents wave travelling in $+ve$ y-axis and another represents the wave travelling in $-ve$ y-axis, from mean position at $t=0$  Being simple I would just ask that, If I am asked to write a wave equation which is traveling with a angular velocity $w$, with some amplitude $A$ starting from mean position at $t=0$ what would be my answer? Is it be  $y=Asin(wt-Kx)$ OR $y=Asin(Kx-wt)$? I get much confused while dealing with word problem questions as using these two equation gives two different answers. So I don't know which one to use when.

We know that in a wave equation $y = A \sin (\omega t + kx + \phi)$, $y$ = Displacement of particle on y-axis (assuming transverse wave) $A$ = Amplitude $\omega$ = Angular velocity $k$ = wave number and $\phi$ = phase difference  I understand that the everything within the bracket in the equation is an angle. But I dont understand what is the difference between those terms. When do we use $\omega t$ and $kx$ and $\phi$?  As much as I understand $\phi$ is taken into account when we need to find the angle difference between two waves. But I am really confused between the other two. Is there even any difference between both of them?  NOTE: I read  and  Phys.SE questions but they don't take into account the $kx$ term in their phase.


I have a HP dv6 6195sp, the Pc have a AMD Radeon™ HD 6770M GDDR5 and Intel HD 3000. After installation ubuntu only use the AMD graphic card, how to install and use only the intel graphic card ?

I got a integrated GD, which is Intel, and another discrete GD, AMD Radeon 6490 HD I am using ubuntu 11.10  1st, when I boot into Windows, my GD is indeed AMD Radeon 6490 HD, but when I boot into Ubuntu, it shows that I have AMD Radeon 6470 instead.  2nd, I try most methods only to install driver for my AMD/ATI graphic card. First by jockey(fail, boot with unity 2D instead) and install manually (fail, boot into blank screen).   3rd, I give up using the AMD/ATI graphic card. Then I got a new problem. Both my graphic cards are powered on on startup, which causes my laptop to over heat.   I view the content of /sys/kernel/debug/vgaswitcheroo/switch  0:DIS: :Pwr:0000:01:00.0 1:IGD:+:Pwr:0000:00:02.0   Then I switch off IGD using echo OFF > /sys/kernel/debug/vgaswitcheroo/switch and I get  0:DIS: :Off:0000:01:00.0 1:IGD:+:Pwr:0000:00:02.0   But after I reboot, the discrete graphic card is powered on again. How to solve this?


Why do we write WHERE 1=0 or 1=1 in SQL query under WHERE clause?

Why would someone use WHERE 1=1 AND <conditions> in a SQL clause (Either SQL obtained through concatenated strings, either view definition)  I've seen somewhere that this would be used to protect against SQL Injection, but it seems very weird.  If there is injection WHERE 1 = 1 AND injected OR 1=1 would have the same result as injected OR 1=1.  Later edit: What about the usage in a view definition?    Thank you for your answers.  Still, I don't understand why would someone use this construction for defining a view, or use it inside a stored procedure.  Take this for example:  CREATE VIEW vTest AS SELECT FROM Table WHERE 1=1 AND table.Field=Value