Why am i not able to get a legendary item?

Question: I am a NG+ level 73 and I am not able to get any legendary item. Is it even possible to get a legendary item even if I am playing at veteran level? Or do i need to have version 220.127.116.11?
Comment: Pls help me this is Reynan a player also of torchlight thank you
Comment: Those tags make no sense at all. If you're talking about torchlight 2 you should say so.
Answer: The drops are totally random and its on your luck.
Yes Its possible to get legendary drops on any difficulty settings. The lowest level on which you can receive the legendary drop is 54, which you have achieved already.
Source
However if you are really desperate and want to increase the chances of getting the drop then you can try Mods which will increase the drop rate. You can even customize those drop rates and set it to your liking to get more drops.
Here is a Mod for increasing drop chance.
Increase Drop Rates Mod


making .exe file for java project containing sqlite

Question: I want to create .exe file for my java project and give it to my friend. I wrote my project in eclipse and it uses sqlite. I don't know how to make a .exe file that can be run in other PCs.
Can any one help?
P.S:I saw this link but it is not useful for me!
Create .jar of an eclipse project that uses Sqlite DB
Comment: Deploy the app. using [JWS](http://stackoverflow.com/tags/java-web-start/info) & give your friend a link instead.  This will also work for your friends on OS X & *nix.
Comment: How should I deploy app? I am not familiar with JWS
Comment: The term 'JWS' in my 1st comment was a link.  The content at the end of the link was written by me & contains the best overview of JWS that I can muster, certainly in a comment.  ;)  It **will** be a learning curve to get a JWS deployment happening, but it results in a great experience for the end-user.
Answer: .exe is a creature of Windows.
To run a Java program, you typically:

Create a .jar file (the "native" Java library format)
Write a DOS/Windows .bat file (or, equivalently, Linux shell script) to run your Java program (using the Java .jar file)
Optionally, create some easy-to-use mechanism for the end user to download the Java JRE (if it's not already installed on their PC).

Your .bat file can be as simple as this:
<code>start javaw -jar myjarfile.jar
</code>
Comment: *"how should I create .jar file?"*. Use the JDK installation's "jar" command or whatever is provided by your IDE or build tool. *"... and how to write .bat file?"*  Use a NotePad ... or any other text editor.
Comment: how should I create .jar file?and how to write .bat file?Thanks
Comment: When I create .jar using eclipse and type  "start javaw -jar myjarfile.jar" I have an error saying can not find main class!
Comment: I went to eclipse>file>export>java>jar... but I have an error saying can't find the mail class
Comment: Runnable jar needs a class containing main method.
Comment: I have it and I mention its name
Answer: Have you considered creating Runnable jar from eclipse.
In eclipse, go to File > Export > Java > Runnable Jar.
There you ll find some options and you can use what suits you. The jar created should be able to run all by itself (obviously it needs the java run time).
Try this out.
Comment: I created that too but when I double click on .jar file nothing happens!
Answer: I would recommend using a bat file. You can make a double clickable jar file, but I feel that is sometimes restrictive and not intuitive.

Not many end-users know that a jar file is double clickable.
You need to make sure the jar file has a main class and classpath defined. The classpath section in the jar file sometimes causes issues. Like you cannot reference a file or path on the file system. Only files or folders that can be relatively referenced from the location of the jar file.
For windows users, you cannot easily make an exe file from a jar file. There are methods like using jsmooth, that will wrap your jar file into an exe file (bloating the exe file in the process).

The easiest way is to create a bat file. You can easily convert a bat file into an exe and make the exe file have an icon and everything. Link to a converter here:
http://download.cnet.com/Bat-To-Exe-Converter/3000-2069_4-10555897.html
Comment: A bat file is just a file with an extension of .bat. The contents of the bat file will the be same thing that you use to run your java program from the command line. Like: java -classpath   .. Just put this line into a file.. name the file launch.bat
Comment: How should I create bat file?
Answer:
First create an executable jar file by clicking on File menu, then export, and then select runnable jar file.
Then select main class and click ok - the jar file will be created.
After that use Launch4j application to create .exe. Launch4j is the best option for creating an exe file.
Then use Inno Setup Creater to create an installer and it is done.


Why does Genesis 19:24 distinguish between the Lord and the Lord out of Heaven?

Question: From the Douay-Rheims translation of the Holy Scripture:

And the Lord rained upon Sodom and Gomorrha brimstone and fire from the Lord out of heaven. (Genesis 19:24)

Why is the Lord distinguished from the Lord out of Heaven?
Comment: Does it *actually*?
Comment: I think it's at least ambiguous (can't read Greek or Hebrew well enough to check the sources, but I think it's equally ambivalent in the Vulgate) whether "out of heaven" modifies "brimstone and fire" or "the Lord".
Answer: Since the 'trinity' tag is activated I am giving the trinitarian view on this passage.
Matthew Henry's Commentary

And the neighbouring cities, Admah and Zeboim, as appears from Deu 29:23 Jeremiah 49:18 Hosea 11:8.
Brimstone is added to the fire, either to convey and carry down the fire, which in itself is light and apt to ascend; or to increase it, Isaiah 30:33; or to represent the noisomeness of their lusts.
From the Lord, i.e. from himself; the noun put for the pronoun, as Genesis 1:27 2 Chronicles 7:2. But here it is emphatically so expressed, either,

To signify that it proceeded not from natural causes, but from the immediate hand of God. Or,

To note the plurality of persons in the Godhead, God the Son, who now appeared upon the earth, rained from God his Father in heaven, both concurring in this act, as indeed all outward actions are common to all the persons of the Trinity.

Benson Commentary

Genesis 19:24. Then the Lord rained, from the Lord — The Son, who had conversed with Abraham, from the Father, for the Father has committed all judgment to the Son. He that is the Saviour will be the destroyer of those that reject the salvation.

I would just add to say how remarkable it is to see, firstly, the restraint of scripture in regard to that which cannot, in righteousness, be spoken of until the Son is manifested, in humanity ; and, secondly, yet to see also the hints of that revelation which is yet to come.
This passage, so astutely pointed out by the OP, reminds me of the incident at the burning bush where the angel of Jehovah appears in the flame, Jehovah sees Moses turn aside and Elohim speaks from the midst of the bush. See Biblehub Interlinear : threefold descriptive aspects.
So, here, the sensitive, almost ambiguous, wording 'Jehovah rained on Sodom and Gomorrah brimstone . . . . .  and fire from Jehovah out of the heavens'. See Biblehub Interlinear
One active within the sphere of the earth with an earthly substance ; One
active from the heavens with heavenly energy.

and Jehovah hath rained upon Sodom and upon Gomorrah brimstone and fire from Jehovah, from the heavens; Genesis 19:24 Young's Literal Translation

Added note : 'brimstone' is sulphurous which forms sulphur dioxide on combustion which, if breathed in, forms sulphuric acid in contact with the mucous membranes, thus acidically burning the inner parts of the breathing system ; nose, mouth, throat, trachea and lungs.
Thus the 'breath of God' given as atmosphere to all in goodness and grace, here, in judgment, turns to a burning torment.
Thus fire without and sulphur within, cause external and internal burning, just as will the lake of fire and brimstone, which is never quenched.
Answer: FWIW, Young's Literal Translations inserts a comma indicating that 'out of heaven' modifies fire and brimstone rather than distinguishing between two Lords:

and Jehovah hath rained upon Sodom and upon Gomorrah brimstone and fire from Jehovah, from the heavens;
Comment: Punctuation is not in the original. Any emphasis or modifying must come from the words themselves.


Why are some Bluetooth devices susceptible to ping floods and some are not?

Question: Just for fun, I've ping flooded my bluetooth speaker at home using l2ping on Linux and I was unable to connect to it as the pinging continued. I've tried flooding my phone and it seems to have received the packets as I got a response (just like the responses i got from my speaker), but I was still able to connect it to my laptop and send files in between. So my question is, why are some devices susceptible to such attack and some not? Is there a mechanism used by my phone that my speaker doesn't use?
Answer: This is a type of Denial Of Service attack. You need to exhaust the resources of the victim in order to make a successful attack. The memory on a smartphone is way more than that of a Bluetooth speaker and so that attack has to be of a much larger scale even without any additional countermeasures deployed in the smartphone.
Comment: What kind of countermeasures could the phone deploy in this case?
Comment: @Doesitmatter for one it can rate limit the type and amount of connections that come in


Can SDL Tridion API be integrated with J2EE and running on the Apple OS X/Lion?

Question: I'm looking for customizable content management system for company intranet application, Can SDL Tridion API (e.g. content-manager) be integrated with J2EE and running on the Apple OS X/Lion?
Answer: Well that really depends exactly what you mean. The SDL Tridion Content Delivery functionality (this is the presentation layer) is native Java. So yes, you can write just about any J2EE app you want to host a website which uses SDL Tridion published content. Further more, if you are using a newish version of Tridion (2011 or newer) you can also retieve content using the ODATA based web service.
If you are talking about working with the Content Manager (the place where editors work with content), the native API is written using Microsoft.NET, but you would most likley interact with the Core Service API which is web service based and accesible from Java.
Finally if you are just wondering if editors can work with content in the CMS, the Content Management Exploer and XPM both support modern browsers to edit content using OSX.
Comment: Thanks for your valuable info, I sent a question how to get Tridion trial version or small scale of free download Tridion API to  http://www.sdl.com/contactus/, but I don't get any responses back.
Comment: @Alex: I am sure you will not get any response, by the way for your comment, this post on stackoverflow may help you:
http://stackoverflow.com/questions/15003091/sdl-tridion-license
Answer: Welcome to the Tridion community.
Yes, Tridion is a very robust system and can be used to manage intranet and extranet content across various platforms/channels in multiple languages.
Tridion is a distributed architecture consisting of primarily of two sets of servers: 1) content manager and 2) content deliver/presentation.
Content Manager runs on a Windows Server environment, while Content Delivery can be almost any architecture you can imagine (but primarily the native Content Delivery APIs are Java, .Net or a RESTful web service (aka odata).
The Content Manager also has a web service API to manipulate items with the CM. This is known as the Core Service. So you may bind to it using clients based on any technology, including J2EE.  Your custom app can of course be hosted anywhere you wish (e.g. Mac OS).
I highly recommend for you to read the documentation on SDL Live Content for a detailed explanation of the architecture and all the integration points.  Here is the link (login required): http://sdllivecontent.sdl.com/LiveContent
Comment: LiveCount signin page requires account, can you send me create account page of LiveContent. Thanks.
Answer: It totally depends on what type and with what area you want to integrate.
Following are the available integration points in SDL Tridion (you may search and learn for them in SDL Live Content):
1) Core Service - For interacting with Content Manager DB (e.g. related to CRUD operation in CMS)
2) Content Delivery API - For interacting with Broker DB (published data)
3) Storage Extension - For interacting with Storage Layer (you may want perform something in your J2EE application depending on storage activity in deployment)
4) Deployer Extension - For extending Deployer Process (you may want perform something in your J2EE application depending on your deployment process in Tridion)
5) Ambient Data Framework - For gathering and transforming website data
Below is the great article written by Bart on tackling integration in SDL Tridion, you may refer it for further details:
Tackling Integration in SDL Tridion
Answer: Assuming your "infrastructure" consists only of Apple OS/X Lion machines then: No. SDL Tridion requires a windows system for the content management environment (published websites may be virtually anything). You would always need at least one Windows machine in your "infrastructure" to host the Tridion Content Management environment.
Comment: Our development is done on Mac, deployed to Linux production server, so I shouldn't consider interfacing SDLTridion?


Salesforce ContentDocumentLink public guest user

Question: I have a few documents uploaded to salesforce files and i have a force.com site with the public guest user profile. When i enter my force.com domain my visualforce page queries for ContentDocumentLinks, however when the guest user queries them only one of the three files shows up. The content document link have the same permissions, the content documents as well. I there any permission in any related object that i am missing?
Comment: Just found out, that if i upload the file to the contentDocuments via apex it shows, but not by the standard salesforce files upload button.
Answer: I believe I found a workaround for this issue. Creating a before insert trigger on ContentVersion that sets the Origin field to C, along with a before insert trigger on ContentDocumentLink that sets Visibility to AllUsers, allowed the public force.com site guest user to access the Salesforce File which was uploaded by the out of the box UI. So records started being returned when querying ContentDocumentLink and ContentVersion as the site user after uploading with those trigger changes in place.


How to change the default media player on iPhone?

Question: I have a jail broken iPhone and I want to change the default media player from "music" to "pandora downloader". I am thinking the only way to do this would be with I file? The main thing I want is to have pandora downloader play anytime I hit the play button.
Comment: Yeah, I don't think you can do this without a jailbreak solution.  Basically the applications decide for themselves which file types are to be include "open with" dialogs and the applications don't always even include the open with feature.

There is probably a plist settings file you can edit somewhere (if you're jailbroken and have access to it) with this info or even a cydia app to do it for you.  But ot sounds like you're asking for more than just changing the default player.  You want the built-in music app to actually switch over to pandora when you hit the play button?
Answer: There is no current way to make Pandora Downloader the default music app on iPhone (even jailbroken). There is a way to make Spotify the default music player (see here), but all that tweak does is change the little icon in the multitasking bar. When pressing play the music app still plays. While maybe that is a technical issue, there is also the functional problem of what the phone should do when the button is pressed. Should it play a random song? The first song in a playlist? It's unclear.


When connecting to a project in TFS block local repo

Question: In Visual Studio 2017, How do you connect to a TFVC project in TFS and prevent it from creating a local repo?  I want to be able to copy files from another project in VS 2017 and check-in but not have all the files from that project local?
Answer: In the source control explorer, drill down to the project folder you want to add the files to, right click on the folder (you don't have to have it checked out) and click "Add items to Folder".
You should see an "Add to source control" dialog that is showing files from your local computer. From there, it's not too hard to follow.
Answer: When you connect to a TFVC project in TFS you could select to create local workspace or not. But we could not restrict users to create local repo or not.
If you do not want others to pull files from server to local, you need to use permissions to do the restriction.
You could directly copy files from another project to your local workspace, VS will auto detect changes and list in the pending change list. You just need to check in files.
More ways about how to add files to the server, please review this official tutorial.


QFX5100 question about load balance

Question: I have a QFX5100 with 4x IP Transits (4x 10G) and I do not have bgp full table from them, is there anyway that I load balance my outgoing traffic? because with default route I can only force them to one of them, or add default route with different distance in route table just cause the backup and does not have load balance.
Comment: What type of load balance? Round-robin will break TCP, and it will create out-of-order packet delivery that will break real-time protocols, e.g. VoIP. You need to set up some type of flow-based balancing, where every packet of a flow uses the same WAN interface.
Comment: Junos only does per-flow load balancing, despite the "per-packet" nomenclature in the forwarding policy.
Comment: Are you saying you have 4 internet providers? Some kind of network drawing would be useful here.
Comment: Benjamin's answer using "show route forwarding-table" is the right answer, but in case you came to the conclusion that you weren't load balancing based on the ">" character only being present on one hop in "show route" (not "show route forwarding-table"), please know that it is purely cosmetic.
Comment: Did any answer help you? if so, you should accept the answer so that the question does not keep popping up forever, looking for an answer. Alternatively, you could post and accept your own answer.
Answer: The QFX5100 does support ECMP (Equal Cost MultiPath) forwarding/routing, however assuming that your 4 transits are from different providers, it is highly unlikely that your paths to all destinations are Equal Cost, and so load-balancing could possibly cause you a lot of problems.
If you're still keen to try it however, then the following configuration will activate ECMP:
set policy-options policy-statement ECMP then load-balance per-packet
set routing-options forwarding-table export ECMP

To confirm that the QFX is now treating all your default routes equally, use:
show route forwarding-table destination 0.0.0.0/0

And you should see output that looks like:
Destination        Type RtRef Next hop           Type Index NhRef Netif
0.0.0.0/0          user     0                    ulst 262668    2
                              x.x.x.1            ucst   540     3 xe-0/0/1.0
                              x.x.x.2            ucst   541     3 xe-0/0/2.0
                              x.x.x.3            ucst   542     3 xe-0/0/3.0
                              x.x.x.4            ucst   543     3 xe-0/0/4.0

showing four different next-hops installed for 0.0.0.0/0
As Jordan mentioned - despite the per-packet terminology Junos will actually load-balance per-flow - this is just a legacy command, which will hopefully get aliased in a future version of Junos.

QFX5100 question about load balance


Erasing lines in QGIS composer

Question: I am trying to make a map in QGIS composer.  The final image needs to be transparent and I cannot get rid of the unwanted lines by making the bounding box smaller.  Is there a way to remove/erase lines that I do not want in the final map (circled in red)?
Answer: One approach:

change your layer style to use the "Rule based renderer"
add a filter rule which is only matched when the map is rendered in composer: <code>@map_id <> 'canvas'</code>
add a subfilter under this which hides those particular lines. You'll need some way to identify them, such as any ID field which is present in your data.
Answer: You can change the scale to decrease the value (zoom in) to get rid of the unnecessary lines. Or you can fix the scale using Data defined override by simply copy/paste the scale value, and change the extent.

Another option is to add graphic on regions you want to hide:
Comment: The problem with this approach is that there are areas that I want that will be removed if I zoom in.  For instance I would like to keep the whole of Afghanistan which includes the protrusion in the upper right of the country.
Comment: Then you can use the add graphic to hide specific regions.
Comment: Sorry, I forgot to mention that I want the image to be transparent and adding the graphic to cover up parts does not allow me to do this.
Comment: Then you need to edit you question to add any additional information of what exactly you want to do.
Comment: My question has exactly what I want to do - erase those lines.  Not change the zoom, not cover them up.  Erase them.
Comment: All operations can execute in aplication not in composer. Make somekind mask layer

Erasing lines in QGIS composer


How do you write "castles" in algebraic?

Question: Sorry if this question is a duplicate one, but I can't find the algebraic notation for castling. What is it?
Answer: In either algebraic or descriptive notation, castling is notated 0-0 or O-O on the Kingside (when the King goes to g1 or g8) and 0-0-0 or O-O-O on the Queenside (when the King goes to c1 to c8).  See for example https://en.wikipedia.org/wiki/Algebraic_notation_(chess)#Castling
Comment: Small addendum: In PGN, O-O is the preferred notation - some programs accept 0-0, some don't. Chessbooks may even have OO or 00. The official version is Appendix C of the FIDE rules.
Answer: I assume you mean castling? 0-0 denotes kingside castling, i.e. the "short" way, and  0-0-0 is for queenside castling, i.e. the "long" way. The zeros represent the number of squares the rook travels.


What is a SQL Server instance?

Question: When I install SQL Server 2008 Express in prompts me to create an instance and aborts if I don't. Then I see that information in an entry in Sql Server Configuration Manager on SQL Server Services. What is a SQL Server instance?
Answer: An SQL Server instance is a complete SQL server and you can install many instances on a machine but you can have only 1 default instance.
An SQL Server instance has its own copy of the server files, databases and security credentials.
This url may help you
Comment: SQL 2000 supports 16 instances.  SQL 2005 and SQL 2008 support up to 50 instances per computer.

You can run SQL 2000 and SQL 2005 on the same computer, or SQL 2005 and SQL 2008 on the same computer.  However you can not run SQL 2000 and SQL 2008 on the same computer.
Comment: You can even have one instance be SQL 2000 and another 2005; biggest gotcha with multiple instances is memory management, if you use the default settings, all instances will try to claim all memory, it's best to explicitly limit max memory at each instance.
Comment: Yes, more than 1 instance can run at a time. You just need a unique name for each instance that you install (as well as filesystem path)
Comment: Be aware that not all SQL Server services are "instance aware" or multi instance. Integration Services, for example, is only installed once per Windows host. These instances include Express instances that might be installed by applications.
Comment: Can more than one instance be running at the same time?
Comment: I am pretty sure you can have up to 16 instances running on 1 computer.
Comment: How do I know which instance is default? How do I check that on SQL Server Configuration Manager?
Comment: You look at the name. The default instance has no assigned name, or a specific one.
Answer: SQL SERVER INSTANCE
    An instance of the Database Engine is a copy of the sqlservr.exe executable that runs as an operating system service. Each instance manages several system databases and one or more user databases. Each computer can run multiple instances of the Database Engine independently of other instances.
SQL Server is composed of three main parts:
1. An engine, which is the software started by a few Windows services that performs lookups, sorts, and other actions;
2. Meta-data such as the master and msdb system databases;
3. User databases where data is stored.
The master database contains the information that the engine reads when it starts up. It includes such things as security settings, file locations, sort orders, and database locations. The msdb database contains the information used by the SQL Server Agent program and information about maintenance plans. Yet another system database, called model, is the "template" from which other databases are created. Finally, the tempdb database is the "scratch" area that the engine software uses. This format holds true for all versions of SQL Server, although other control mechanisms are also implemented as Dynamic Link Libraries, or DLL's.

This means that a single installation of SQL Server has only one set of certain data, such as server-level security credentials, scheduling information, temporary files and other meta-data.

Beginning with SQL Server 2000, you can run multiple copies of the software, using what Microsoft calls Instances. Instances share a few files between them, mostly dealing with client tools. This allows you to have two different system administrators (sa accounts) and other server-level security on the same hardware. So if you have different security needs, say running more than one company with different administrators, you can install multiple copies of SQL Server on the same hardware.

Another advantage is that since some of the files that run the Instance are duplicated, you can apply service packs separately to each Instance. That way you can host several applications on the same hardware that require different service pack levels.

Instances also allow you to work with multiple versions and even editions of the product. You can install Instances at any time, even after SQL Server is installed and running for some time. So for Instance (no pun intended), you can install SQL Server 2005 Express Edition, SQL Server 2005 Enterprise Edition, SQL Server 2008 Standard Edition and SQL Server 2008 R2 Developer Edition, all on the same hardware.
If a connection request specifies only the name of the computer only, then connection is made to the default instance. A named instance is one where you specify an instance name when installing the instance. A connection request must specify both the computer name and instance name in order to connect to the instance. The computer name and instance name are specified in the format computer_name\instance_name.

Instances apply primarily to the database engine and its supporting components, not to the client tools.
When you install multiple instances, each instance gets a unique set of:
1. System and user databases.
2. The SQL Server and SQL Server Agent services. For default instances, the names of the services remain MSSQLServer and SQLServerAgent. For named instances, the names of the services are changed to MSSQL$instancename and SQLAgent$instancename, allowing them to be started and stopped independently of the other instances on the server. The database engines for the different instances are started and stopped using the associated SQL Server service. The SQL Server Agent services manage scheduled events for the associated instances of the database engine.
3. The registry keys associated with the database engine and the SQL Server and SQL Server Agent services  separate versions and releases..
4. Network connection addresses so that applications can connect to specific instances.

What is a SQL Server instance?


What does it mean by "(to) have a strong suggestion of"?

Question: I've faced with the sentence "the term 'hurry' often has a strong suggestion of agitated bustle or confusion", but I didn't understand what the sentence means.
Also I like to know what the clause strong suggestion of means?
If anyone can give me some examples with "strong suggestion of ..."?
Answer: Words have definitions, and they have implications.  There is the literal meaning of the word, and all the associations that come with a word that aren't part of its literal meaning that you would find in a dictionary.  These implications are often called "suggestions" or "subtext", and a "hard suggestion" would be an implication or subtext that is very strongly associated with the word.
Note the word "often".  When it comes to implications, the situation you use the word in can sometimes drastically change the implication/suggestion.  A word in one context can have a completely different feeling to its use in another context.  This is why the dictionary definition will almost never include the implication/suggestion/subtext-- because it can change.  The only real way to learn these implications is through frequent and constant use of the language.  As you see a word used in certain situations, the feeling of that word will grow more and more subtextual meaning that associates the word with that situation.
Comment: Should "hard suggestion" be "strong suggestion"? Also, I think that there's something wrong with the final sentence.


Why isn't Excel updating formulas automatically?

Question: Excel is not working correctly for me. When I change the input of a formula, the output is not automatically updated. Could this be due to a virus? How do I get Excel to update formulas automatically again?
Comment: No, it's not a virus.
Answer: If it is, this sounds like one of the most annoying viruses in the world!
No, most likely you simply have calculations set to Manual, or something else similar such as an add-in, macro or extension e.t.c. that is interfering with the normal operations of Excel.
To check for the easiest one, go to Formulas > Calculation Options, and make sure it is set to Automatic
Answer: I had the same problem and when I changed the format to "number" the cells started calculating and updating correctly.
Answer: I had trouble getting formulas to update, until I realised some cells had formatting applied (formatted as Text I think?). Fixed by right-clicking on the cell, selecting Format Cells... and choosing General under Category.
Comment: That is my goto trick as well. I still don't know why excel behaves this way and in my point of view it is definitely a bug.
Answer: I think this may be a bug.  I've had the same issue since we recently "upgraded" to Office 2013.
I have formulas linking to other tabs in the same workbook.  Some of them are not even formulas - they just "=" the number from the other tab.  Even these simple links don't refresh with F9.
I've found that if you click in the formula bar when in the source cell, and hit enter, it refreshes the cell which is linked to it.  To do this on a grand scale, I do a Find "=" & Replace with "=" for the whole workbook.  This forces recalculation of all cells.
Hope this helps...


No close/close-recommendation button for me

Question: I need to understand some moderation rules applicable to me. Currently, when for other peoples post, i don't see any close button. All i can do is either downvote or flag the post. If i feel that question doesn't belong to this site, Should i flag it or downvote to recommend closing the question ?
Answer: From the FAQ

250   Vote to close, reopen, or migrate your questions
  300   Create new tags
  500     Retag questions
  1000    Show total up and down vote counts
  2000    Edit other people's posts, vote to approve or reject suggested edits
  3000    Vote to close, reopen, or migrate any questions

I hate to say it, but seriously - read the whole FAQ. :) Clicking on each header expands it so you see the whole section (and doing all of them, gets you a badge).
And yes, if you think a Question should be closed - flag it.
Comment: Unfortunately, there's not a section on *flagging* in the FAQ :( But you can click the *flag* button and see what kinds of reasons are available. In *particular*, click on the `doesn't belong here` option, and see what choices are there. You **can** cancel before posting the flag, so don't worry about accidently posting. :)
Comment: thanks mate. I read it when i joined but Will do that again. And also will flag questions that i think should be closed. I was worried if flag can only be used for profanity or other question which disrespects or create flame-war.


Mtree Add-On Installation

Question: I would like to know what exactly I have to do to install this add-on, since what I tried didn´t work. I used already the zip-file, I used init.py both in the main folder and the python_classes folder. It´s for making trees. These are the relevant links:
https://github.com/MaximeHerpin/modular_tree/releases
https://github.com/MaximeHerpin/modular_tree
Comment: @IrenäusBlaszkiewicz: I have a macbook - i could install it and see it in the list - but i couldn't click on the "enable" checkbox - i have no idea why. Maybe you should report an issue on the github page of the add-on. I made good experiences reporting issues - often they help you quick. my error was: cause: cannot import name 'm_tree' from partially initialized module 'modular_tree' (most likely due to a circular import) (/Users/chris/Library/Application Support/Blender/3.2/scripts/addons/modular_tree/__init__.py)
addon not loaded: 'modular_tree'
Comment: [Installation Instructions](https://github.com/MaximeHerpin/modular_tree#installation-blender-addon) are available on the web site.  Note that you do need to pick the version for your OS because it includes a compiled C++ binary.
Comment: Yes, i used the .dmg version for OS, but how do you know I have a Mac :/
Answer: Download the zip file.
Then in Blender, go to the menu Edit > Preferences.
In the Addons category, click the Install button, select the zip file and validate.
After a few seconds it should display the addon alone in the addons list. You have successfully installed an addon.
Then all you have to do is to activate the addon by ticking its checkbox ON on the top left corner of the addon.
Most addons can be installed this way. When it's not the case, it is always in the addon's documentation.
Comment: The installation on itself seems to happen but it doesn´t display the add-on in the list when I search for it.

Mtree Add-On Installation


bound charges in materials

Question: I have a question regarding the bound charges in electrostatics, I think I am
a bit confused, on one side I have read that bound charges in a capacitor with a
dielectric inside the plates are on the surface of the dielectric material.
On the other side, in other books bound charges refer to the charges of molecules
which cannot move as it happens in metals (free electrons).
So, if I put a solid dielectric inside a capacitor the bound charges will be only
on the surface? what about the charges on the molecules which compose the solid?
If I take for instance a glass of water, are there bound charges?
Comment: armando, You lack the basics of stucture and composition of materials. What do You mean with this : ""as it happens metals"" ?
Comment: There is nothing lacking in this question. He means that in a metal charges are delocalized.
Comment: well, I meant, in metals the charges are free. But I am a bit confused, in some books bound charges refer to charges which cannot move in solids and solutions. In other books bound charges refer to the charges on the surface of dielectrics.
Answer: Bound charges are only on the surface of a dielectric if the dielectric is homogeneous and isotropic and free from free charge. Bound charge and polarization vector satisfy the equation
$$\rho= -\nabla\cdot \vec{P},$$
$$\sigma= \vec{P}\cdot\vec{n},$$
where $\rho$ is bound charge density and $\sigma$ is bound charge surface density, $\vec{P}$  polarization vector and $\vec{n}$ unit normal vector pointing outside.
In normal dielectrics, we have $\vec{D}=\epsilon\vec{E}=\epsilon_0\vec{E}+\vec{P}$, and wherever there is no free charge, $\nabla\cdot\vec{D}=0$, so $\nabla\cdot\vec{P}=0$, so $\rho=0$.
But if $\epsilon$ varies according to location, or is a tensor instead of scalar, bound charges will arise even in the middle of dielectrics.
Answer: The charges in the middle cancel, leaving only sheets of charge on the surface, and where the electric field changes.
An easy classical model of a dielectric is a collection of small conducting spheres in a non dielectric insulator. The average charge in any macroscopic region is zero, but the polarization isn't.
Comment: if for instance I want to compute the total bound charge in a solid/solution which charges should I take into account? Lets take  NaCl+water solution, the free charges are those of Na and Cl ions because they can move freely. The bound charges are those of water?
Comment: Yes-- but its not so simple to compute. The charges are the electrons and nuclei, and they make a dipole in an E field.

bound charges in materials


Can I have two apps running split screen on an iPad?

Question: Is there any way and have there been any examples of split-screening two apps on iPad so, for example, I can be scrolling through a PDF or PPT and simultaneously be typing notes about it in a text editor with an external keyboard?
Answer: You'd have to have one app that does both the displaying and input, and I know of no apps like that.
There is no provision for split-screening apps, even iPhone apps. The best you'll be able to do is fast app switching.
Comment: Using gestures if you are using an iPad 2 might shave a few seconds off each switch, but you are still required to switch.  I had high hopes of running iphone apps native side by side on an ipad, but it never happened, and never will.
Comment: @stuffe "never will" ;)
Comment: @grgarside Hehe, I'm gonna stand by this one, technically you still can't run 2 iphone apps side by side, only 2 iPad apps with dynamic layout ;) (and you can only type into the active window, which if you are mega pedantic isn't what the OP wanted!) :P
Comment: On a serious note, this is why all questions should be tagged with OS version
Answer: You can use iOS 9's Split View.

With Split View, you can open and use two apps at the same time. Open an app, then tap or drag the app divider to start using both apps. Slide down from the top of the screen to change the app on the right. If you want to close one of the apps, slide the divider over the app that you want to close.

This requires iPad Pro, iPad Air 2, or iPad mini 4. For more information, see:

About Multitasking on your iPhone, iPad, and iPod touch - Apple Support


ERROR : : error reading source directory: directory not found on linux when copying with rclone

Question: I am trying to copy from google drive to my remote with Rclone on Linux using
 $ rclone copy  name:a/b/c/myfolder/.  /home/b/c/myfolder

and get,
ERROR : : error reading source directory: directory not found

With the same command line I was able to copy some other folders in the same directory (c) but for some folders I get this error. When I do;
$ rclone lsd name:a/b/c

myfolder is listed.
I have also tried let rclone copy entire folder itself
$ rclone copy  name:a/b/c/myfolder  /home/b/c/myfolder

get the same error.
How can I fix this bug? Thanks
Answer: If anyone has a similar problem, renaming the folder name in google drive fixed the problem for me.


V8 JavaScript Engine on Windows (MinGW)

Question: The build instructions of V8 JavaScript Engine mention only Visual Studio 2005 and 2008. Has anybody been successful with MinGW on Windows XP/Vista?
Answer: There is a patch for MinGW support: http://codereview.chromium.org/18309
See also:
http://code.google.com/p/v8/issues/detail?id=64
Answer: You just need to change Scons a bit.
Take a look at C:\YourPythonFolder\Lib\site-packages\scons-YourSconsVersion\SCons\Script__ init__.py and go to line 560.
Change the linker to gnulink, the c compiler to mingw and the c++ compiler to g++.
Eventually it should look like this:
<code>linkers = ['gnulink', 'mslink',  'ilink', 'linkloc', 'ilink32' ]
c_compilers = ['mingw', 'msvc',  'gcc', 'intelc', 'icl', 'icc', 'cc', 'bcc32' ]
cxx_compilers = ['g++', 'msvc', 'intelc', 'icc',  'c++', 'bcc32' ]
</code>
Now MingW is activated by default :)
Answer: I've tried, but seems it automatically detect the WIN32 platform and tries to invoke the vc++ compiler, I tried to adding to the PATH the mingw-gcc compiler (I've not vc++ installed) and the build script correctly sees it, but doesn't compile out of the box.
I suppose deleting the "WIN32 flag" will do the work, since for successfully compiling under mingw the compiler needs to thinks to be on unix enviroment, but then even if it compiles probably it will have some problems due to the different platform.
Answer: V8 seems to use different parts of its code (especialy for the file system stuff) for different platforms.
I made a build under Cygwin which puts out a beautiful linux lib, which runs on linux but doesn't on Win. I think partwise this will be the same with MinGW if you erase the WIN32 flag!
At the moment I just can see 2 possibilities. One is simple: Use Visual Studio, it's free.
The second is very hard: write a makefile :)

V8 JavaScript Engine on Windows (MinGW)


Can non-central hamiltonians commute with $\vec{L}^2$?

Question: Central potentials $V(r)$ trivially commute with the operator $\vec{L}^2$ in quantum mechanics because the latter is a function of the angular coordinates $(\theta,\phi)$ only. Non-central potentials, may or may not commute with $\vec{L}^2$. It is not obvious. For example, in atomic physics, the Darwin term $H_{\rm Darwin}=C\delta(\vec{r})$ is a non-central Hamiltonian because it depends on $\vec{r}$ rather than $r$. But it still commutes with $\vec{L}^2$. Can anyone help me understand how $[\vec{L}^2,H_{\rm Darwin}]=C[\vec{L}^2,\delta(\vec{r})]=0$?
Answer: Isn't the Darwin potential central? We could rewrite it as:
$$H_\text{Darwin}=C\delta (\vec{r})=\frac{C}{4\pi r^2}\delta (r)$$
Disclaimer:
I tried to add a comment instead of directly answering, but I apparently need a higher reputation to do so.
Comment: @TheAverageHijano Can you explain how $\delta(\vec{r})=\frac{1}{4\pi r^2}\delta(r)$? It is not obvious to me.
Comment: Yep. Commenting is a privilege for gaining reputation through providing sufficient answers and asking good questions. Basically being a good part of this community. Before then you shouldn't post comments as answers. With that being said, this does answer the part of the question asking about this specific commutator, so I could see this being counted as a good answer.
Comment: I undertstand that it encourages new users to take part in the site and avoid potential vandalism. I think that earning privilages is a good method of awarding users, but I particularly find this privilege quite frustating since I can't help other users.
Comment: You can help other users through useful answers :) Comments are not the only way to be helpful. I would argue answers are much more helpful than comments.
Comment: @mithusengupta123 give a look at http://physics.fme.vutbr.cz/~komrska/Eng/DodFA.pdf and http://www.fen.bilkent.edu.tr/~ercelebi/mp03.pdf. I'll also think about it during the weekend, let me know if you discover anything.


What is Gradle in Android Studio?

Question: Gradle is a bit confusing to me, and also for any new Android developer. Can anyone explain what Gradle in Android Studio is and what its purpose is? Why is it included in Android Studio?
Comment: When someone asks a question on here that yes, does have a lot of links in Google about it, what they are really asking is for someone to answer the question with **plain language** and to put it in **context**, such as why do we need it, who will use it most, do we need to know it to build Android apps in Android Studio, etc. Because most often the links you find about it on Google are in "tech-speak" and for a beginner this is confusing.
Comment: To answer _why_ you would want a build tool such as Gradle, check out [this post](http://www.codinghorror.com/blog/2007/10/the-f5-key-is-not-a-build-process.html) from Jeff Atwood.
Comment: Gradle is the most annoying part of being an Android developer. When it asks you to upgrade your project to the latest version of gradle, think twice about it. Also make sure you have a backup first. In my experience almost every time I upgrade to a newer version it causes hours of searching the web trying to find out why it broke my project. Not fun!
Comment: See http://www.gradle.org/
Comment: Also check [what-is-real-android-studio-gradle-version](https://stackoverflow.com/questions/51391708/what-is-real-android-studio-gradle-version/51392464#51392464)
Answer: Short Answer
Gradle is a build system.
Long Answer
Before Android Studio you were using Eclipse for your development purposes, and, chances are, you didn't know how to build your Android APK without Eclipse.
You can do this on the command line, but you have to learn what each tool (dx and AAPT) does in the SDK.
Eclipse saved us all from these low-level, but important, fundamental details by giving us their own build system.
Now, have you ever wondered why the res folder is in the same directory as your src folder?
This is where the build system enters the picture. The build system automatically takes all the source files (.java or .xml), then applies the appropriate tool (e.g., takes .java class files and converts them to .dex files), and groups all of them into one compressed file - our beloved APK.
This build system uses some conventions: an example of one is to specify the directory containing the source files (in Eclipse it is \src folder) or resources files (in Eclipse it is \res folder).
Now, in order to automate all these tasks, there has to be a script; you can write your own build system using shell scripting in Linux or batch files syntax in Windows. Got it?
Gradle is another build system that takes the best features from other build systems and combines them into one. It is improved based off of their shortcomings. It is a JVM-based build system. That means you can write your own script in Java, which Android Studio makes use of.
One cool thing about Gradle is that it is a plugin-based system. This means if you have your own programming language and you want to automate the task of building some package (output like a JAR file for Java) from sources, then you can write a complete plugin in Java or Groovy (or Kotlin, see here), and distribute it to the rest of the world.
Why did Google use it?
Google saw one of the most advanced build systems on the market and realized that you could write scripts of your own with little-to-no learning curve, and without learning Groovy or any other new language. So they wrote the Android plugin for Gradle.
You must have seen the build.gradle or build.gradle.kts file(s) in your project. That is where you can write scripts to automate your tasks. The code you saw in these files is Groovy or Kotlin code. If you write System.out.println("Hello Gradle!"); then it will print on your console.
What can you do in a build script?
A simple example is that you have to copy some files from one directory to another before the actual build process happens. A Gradle build script can do this.
Comment: What I don't understand is why gradle tries to connect to Internet for every single project that I make or even every single time I want to compile
Comment: Another key advantage of gradle over the pre Android studio build system(s) is dependency management. Previously to use an Android library in a project, one would have to download the source code, add it to your project and compile it with your project. Instead, with gradle one can add a single line to the build.gradle and gradle will then download the compiled library from a public repository and add it to your project. Some examples: http://blog.teamtreehouse.com/android-libraries-use-every-project  This also works for standard Java jar files instead of putting them in the lib directory.
Comment: Gradle is a terrible build system.  In using Android Studio I want it to take care of the build.  I don't understand why adding some classes forces Gradle to do a sync before it can be useful.  Working with Visual Studio by comparison is awesome (or even X-Code) - no crappy extras needed.  The IDE builds the project and solution without the need to tinker around in random files for settings that the Android build process needs at times or through updates of old projects.  Gradle is the worst part of the Android experience.
Comment: I have to say that Gradle was giving me issues when taking an AndroidStudio project from one location to another. Mismatches of versions, missing modules, whatnot... it was giving me hard time. I ended up re-creating the project skeleton and cutting/pasting the parts of code that were from the old project to the new one. And this is under Windows for both sources and destination. I am going to move it now under a Linux-based lab.
Comment: @user1700737 : To generate simple apk android studio is provided over gradle so if you ask me then there is no need to go into internals of gradle as far as simple apk generation is cencerned. Gradle is build system and helps to achieve complex,dependent tasks in one go and automated way.
Comment: "This means if you have your own programming language ...you can write a complete plugin in Java or Groovy". There's no such thing as "your own programming language". You have to use Groovy.
Comment: Yes gradle is another background process which compiles code.Dependency is nothing but a jar file path or source code path which you wish to use in your project in simple format.
Comment: Gradle is coolest thing if we use it , example I had built system using gradle which based on task run picks dev or prod version of code and auto commits apk in  svn and then emails that apk and message to email ids configured in gradle itself. So my manual tasks are over.
Comment: In which language is build.gradle written?
Comment: @M.S.
Quote from the comment above by: Gagandeep Singh
"The code you saw in these files is groovy code."
Groovy is a Java extension: http://en.wikipedia.org/wiki/Groovy_%28programming_language%29
Comment: You can write your own plugin in Java Or Groovy
Comment: So is gradle just the background process that compiles the code I have written? Also, after looking at lots of other answers, they mention dependencies. What are those? THanks so much Gagandeep!
Answer: It's the new build tool that Google wants to use for Android. It's being used due to it being more extensible, and useful than Ant. It is meant to enhance developer experience.
You can view a talk by Xavier Ducrohet from the Android Developer Team at Google I/O here.
There is also another talk on Android Studio by Xavier and Tor Norbye, also during Google I/O here.
Comment: I thought IntelliJ already knew how to build Android projects without the need for another build system.
Comment: @user5562706 It doesn't compile the code, but it's responsible for calling the executable that does compile your code. After compiling your code, it can then run another task to package it up, another to copy it to a directory of your choosing, then maybe another to upload it to a server somewhere... It's those sorts of tasks Gradle, or any build system, will do.
Comment: So is gradle just the background process that compiles the code I have written? Also, after looking at lots of other answers, they mention dependencies. What are those? THanks so much daniel!
Answer: Gradle is a build system running on Android Studio.
In other languages for example:

Ant and Maven of Java
Rake of Ruby
A-A-P of C
NAnt of .NET
Make in Linux
Comment: When you said `Gradle` is similar to `make`, I just got its concept
Comment: One of the fastest ways I've found to learn what an unknown tool does and where it falls in the pipeline, is to type into Google the name of the tool and "vs". The results will usually show "X vs Y" where Y is some other tool you might be more familiar with.
Comment: PHING of **PHP**
Comment: Linux is not a programming language. It is mostly used for [C](https://en.wikipedia.org/wiki/C_%28programming_language%29). Perhaps *"Make of C on Linux"*?
Comment: webpack for javascript
Comment: Perhaps add [CMake](https://en.wikipedia.org/wiki/CMake) for [C++](https://en.wikipedia.org/wiki/C%2B%2B)? And [Webpack](https://en.wikipedia.org/wiki/Webpack) for [JavaScript](https://en.wikipedia.org/wiki/JavaScript) (web)?
Answer: Gradle is one type of build tool that builds the source code of the program. So it's an important part of Android Studio, and needs to be installed before starting developing your application.
We do not have to install it separately, because the Android Studio does it for us, when we make our first project.
Comment: What do you mean by building the source code of the program? Isn't that the job of a developer?
Comment: @committedandroider: the job of a developer is to _write_ the source code, not _build_ it. In system developement we use the word "Build" to mean the process of _packaging_ the _compiled_ source code into a final _product_ (a _package_ or an _executable_)
Comment: @MestreLion lol I was pretty confused back then because people used 'building' in reference to writing source code for their projects- i built this chat server, this app to...
Comment: This answer is completely wrong in the way it is worded.

Gradle is the packaging tool that comes bundled with Android Studio, so what it takes care of is building the apk.

The source code is always being built by the compiler and nothing else.
Comment: Yet from another question it sounds like Gradle won't work properly without a reliable internet conneciton, does this mean I have to throw away Android Studio until that is fixed?
Answer: Definition: Gradle can be described as a structured building mechanism where it provides a developer with the tools and flexibility to manage the resources of a project to create builds that are smaller in size, targeting specific requirements for certain devices of certain configurations

Basic configurations

minimumSdk
maximumSdk
targettedSdk
versionCode
versionName

Libraries
We can add Android libraries or any other third-party libraries in addition as per requirements. It is easy and was a tedious task earlier. If the library does not fit for the existing project, the developer is shown a log where the person can find an appropriate solution to make changes to the project so that the library can be added. It's just one line of dependency.

Generating varieties of builds
Combining build types with build flavours to get varieties of build variants
 ====================                         ====================
|     BuildTypes     |                       |   ProductFlavours  |
 --------------------  ====================== --------------------
|  Debug,Production  |      ||       ||      | Paid,Free,Demo,Mock|
 ====================       ||       ||       ====================
                            ||       ||
                            VV       VV
 =================================================================
|           DebugPaid, DebugFree, DebugDemo, DebugMock            |
|  ProductionPaid, ProductionFree, ProductionDemo, ProductionMock |
 =================================================================

Reducing size
Gradle helps in reducing the size of the generated build by removing the unused resources also unused things from integrated libraries.

Managing permissions
We can specify certain permissions for certain builds by adding certain permissions in certain scenarios based on requirements.

Builds for certain devices
We can manage generating build for certain devices that include certain densities and certain API levels. This helps in product deployments in the app store according to requirements across multiple types of devices.

Good reference
Vogella Tutorials
Answer: You can find everything you need to know about Gradle here:
Gradle Plugin User Guide

Goals of the new Build System
The goals of the new build system are:

Make it easy to reuse code and resources
Make it easy to create several variants of an application, either for multi-apk distribution or for different flavors of an application
Make it easy to configure, extend and customize the build process
Good IDE integration

Why Gradle?
Gradle is an advanced build system as well as an advanced build
toolkit allowing to create custom build logic through plugins.
Here are some of its features that made us choose Gradle:

Domain Specific Language (DSL) to describe and manipulate the build logic
Build files are Groovy based and allow mixing of declarative elements through the DSL and using code to manipulate the DSL elements
to provide custom logic.
Built-in dependency management through Maven and/or Ivy.
Very flexible. Allows using best practices but doesn't force its own way of doing things.
Plugins can expose their own DSL and their own API for build files to use.
Good Tooling API allowing IDE integration
Comment: Re *"everything you need"*: No, it is missing information about [DX](https://android-developers.googleblog.com/2020/02/the-path-to-dx-deprecation.html) (and D8 for that matter).
Answer: Gradle is a build system. Build systems are software tools designed to automate the process of program compilation. Build systems come in various forms, and are used for a variety of software build tasks. While their primary goal is to efficiently create executables.
Another related term is build automation which is the process of automating the creation of a software build and the associated processes including: compiling computer source code into binary code, packaging binary code, and running automated tests.
Few similar build system for other languages are (see complete list here):

Apache Ant and Apache Maven - Java
sbt - for Scala (Play Framework, etc.)
A-A-P - Python-based build tool
Rake (Apache Builder) - Ruby
Leiningen for Clojure
Answer: At the risk of being discursive I think behind this is the question of why the Android Studio / Gradle experience is so bad.
Typical Clojure experience:

download project with dependencies listed in project.clj.
Leiningen gets the dependencies thanks to Clojars and Maven.
Project compiles.

Typical Android Studio / Gradle experience:

"Import my Eclipse project".
OK, project imported.
Gradle is doing its thing ...  wait ... wait ... wait ... Gradle has finished.
Compile ... can't compile, because I don't know what an X is / can't find Y library.

I'm not sure this is Gradle's fault exactly. But the "import from Eclipse project" seems pretty flaky. For all of Gradle's alleged sophistication and the virtues of a build system, Android Studio just doesn't seem to import the build dependencies or build process from Eclipse very well.
It doesn't tell you when it's failed to import a complete dependency graph. The Android Studio gives no useful help or tips as to how to solve the problem. It doesn't tell you where you can manually look in the Eclipse folders. It doesn't tell you which library seems to be missing. Or help you search Maven, etc. for them.
In 2016 things like Leiningen / Clojars, or Node.js's npm, or Python's pip, or the Debian apkg (and I'm sure many similar package managers for other languages and systems) all work beautifully ... missing dependencies are thing of the past.
Except with Android. Android Studio is now the only place where I still seem to experience missing-dependency hell.
I'm inclined to say this is Google's fault. They broke the Android ecosystem (and thousands of existing Android projects / online tutorials) when they cavalierly decided to shift from Eclipse to Android Studio / Gradle without producing a robust conversion process. People whose projects work in Eclipse aren't adapting them to Android Studio (presumably because it's a pain for them). And people trying to use those projects in Android Studio are hitting the same issues.
And anyway, if Gradle is this super-powerful build system, why am I still managing a whole lot of other dependencies in the SDK Manager? Why can't a project that needs, say, the NDK specify this in its Gradle file so that it gets automatically installed and built-against when needed? Why is NDK special? Similarly for target platforms? Why am I installing them explicitly in the IDE rather than just checking my project against them and having this all sorted for me behind the scenes?
Comment: I fully agree that Gradle is a terrible build system.  It is the component that makes Android Studio far worse than X-Code or Visual Studio.  I realise these must "build" the system behind the scenes but I'm not really required to know/care/tinker with their internals.  Gradle on the other hand seems to break with every Android Studio update and bogs down the system even just adding a class.  No other IDE does that.
Answer: Gradle is an advanced build system as well as an advanced build toolkit allowing to create custom build logic through plugins!
Advantages:

DSL - Domain-specific language, based on Groovy
DAG - Directed acyclic graph
Incremental builds
Extensible domain model
Gradle is always up to date
Before a task is being execute, Gradle takes a snapshot of its task's input and output.
In case the snapshot has changed or it doesn't exists, Gradle will
re-execute this task.

Manifest entries
Through the DSL it is possible to configure the following
manifest entries:
Build variant
By default, the Android plugin automatically sets up the project to
build both a debug and a release version of the application.
Dependencies

Local Dependencies:

If you have binary archives in your local filesystem that a module
depends on, such as JAR files, you can declare these dependencies in
the build file for that module.

Remote Dependencies:

First the repository must be added to the list, and then the
dependency must be declared in a way that Maven or Ivy declare their
artifacts.
Answer: Gradle is to the Groovy JVM language what Ant is to Java.   Basically, it's Groovy's build tool.  Unlike Ant, it's based on the full Groovy language.  You can, for example, write Groovy script code in the Gradle script to do something rather than relying on a domain-specific language.
I don't know IntelliJ IDEA's specific integration, but imagine you could "extend" Groovy such that you could write specific "build" language primitives and they just became part of the Groovy language.  (Groovy's metaprogramming is a whole discussion unto itself.)   IntelliJ and Google could use Gradle to build a very high-level build language, yet, it's a language build on an expandable, open standard.
Comment: it's not "Groovys build tool" - it's a multi purpose build tool whose DSL is build on top of groovy
Answer: Gradle is an advanced build toolkit for Android that manages dependencies and allows you to define custom build logic. Features are like

Customize, configure, and extend the build process.

Create multiple APK files for your app with different features using the same project.

Reuse code and resources.

Reference
Answer: Gradle is an automated build toolkit that can integrate into lots of different environments, not only for Android projects.
Here are few things that you can do with Gradle.

Minimal configuration required for new projects because Gradle has default configurations for your Android Studio projects.

Dependency declaration. You can declare dependency JAR files or library files that is hosted on the local or remote server.

Gradle automatically generates a test directory and a test APK file from your project's source.

If you add all the necessary information, such as keyPassword and keyAlias, to your Gradle build file, you can use Gradle to generate signed APK files.

Gradle can generate multiple APK files with different packages and build configurations from a single module.
Answer: In Android Studio, Gradle is a custom build tool used to build Android packages (APK files) by managing dependencies and providing custom build logic.
APK file (Android Application package) is a specially formatted ZIP file which contains

Byte code
Resources (images, UI, XML, etc.)
Manifest file

An APK file gets signed and pushed to the device using ADB (Android Debug Bridge) where it gets executed.
Answer: Gradle is a build tool custom and is used for building APK files. It is also known as an application package kit.
Comment: What do you mean by *"build tool custom"*? Please respond by [editing (changing) your answer](https://stackoverflow.com/posts/38548948/edit), not here in comments (***without*** "Edit:", "Update:", or similar - the answer should appear as if it was written today).
Answer: Gradle is what makes it possible to automate the building of complex Android projects that involve 10s of thousands of lines of code from multiple sources, projects, libraries, etc.  It can conditionally generate multiple optimized APKs based on a plethora of configuration specifications - if you are interested, the other answers provide more details of this aspect of Gradle.
However, if you're new to Android development, Gradle in 99% of cases is what stops your project from building.  It is an inscrutable, complex system that effectively obfuscates the Android build process and essentially renders it unavailable to inexperienced developers, ie in order to build a simple entry-level Android App the unsuspecting newbie might need to study and understand many things that they didn't bargain for such as:

Android APK structure and ecosystem
Android Studio
Java Classpaths and dependencies
Groovy
Gradle build scripts
Many other complex and interesting technologies

All these things are interesting and useful for Android developers to know, but they are far from easy and present a formidable barrier to entry. I suspect that what inspired the OP to ask this question is the feeling of frustration that inevitably hits the neophyte developer after spending way too long trying to get a simple app to build and being continually thwarted by Gradle. The problem is perversely exacerbated by the overwhelming quantity of highly technical documentation that is available for all these technologies.  Also for a large amount of development needs, Gradle is overkill.
An alternative is to write a shell script that builds your project by automating the tools available in the Android SDK.  The virtues of this approach are many, for starters, it's probably the best way to study and understand the build process and the Android ecosystem, and it allows you to completely control how your app is built.  However, this approach is more suitable for deeply irredeemable tech-heads than it is to inexperienced noobs trying out android.
What is conspicuous by its absence (please inform me if there is such a thing) is an entry-level, lightweight IDE with a reduced feature set that simultaneously simplifies the build process while not obscuring it (so not Netbeans or Eclipse) it could possibly still use Gradle (what was wrong with Ant).  It should make it easy to generate APKs that conform to a few common configurations and use a project structure that can evolve to a full Android Studio project should you decide to take it that way.
Answer: By @Brian Gardner:
Gradle is an extensive build tool and dependency manager for programming projects. It has a domain-specific language based on Groovy. Gradle also provides build-by-convention support for many types of projects including Java, Android and Scala.
Feature of Gradle:

Dependency Management
Using Ant from Gradle
Gradle Plugins
Java Plugin
Android Plugin
Multi-Project Builds
Comment: What does "Brian Gardner" refer to?
Answer: In plain terms, Gradle is a tool provided by Android Studio in order to implement two important processes:

Build our projects
Package AndroidManifest.xml, res folder, and binary code into a specially formatted zip file called APK
Answer: Gradle = Groovy + Cradle
Reference: Hans Dockter forum comment
The confusion is a bit unnecessary when it could have just been called "Build" or something in Android Studio.
We like to make things difficult for ourselves in the development community.
Answer: Gradle is an easily customizable build system that supports building by a convention model. Gradle is written in Java, but the build language is Groovy DSL (domain spec language). Gradle not only supports multi-project builds, but it also supports dependencies like Ivy and Maven. Gradle also can support building non-Java projects.
https://medium.com/@ravirajdesai501/what-is-gradle-442458dd7ec1
Answer: Gradle is like a version of make that puts features before usability, which is why you and 433k readers can't even work out that it's a build system.
Answer: Short and simple answer for that,
Gradle is a build system, which is responsible for code compilation, testing, deployment and conversion of the code into . dex files and hence running the app on the device. As Android Studio comes with Gradle system pre-installed, there is no need to install additional runtime softwares to build our project.
Answer: Gradle and Android
Gradle is an open-source build automation tool. Gradle supports Java and Kotlin for Android
source files -> build tools -> output file(.apk, .jar, .aar ...)

You can use more low level build tools like javac, DX, D8[About], aapt[About], sign tools ...
Gradle is more hight level tool which do all this stuff under the hood. It has next advantages:

dependency manager[About]
uses Domain Specific Language(DSL) on Groovy or Kotlin to expose current settings or to customize/extends the build process. For example you are able to write some tasks and share them through any projects

[gradle vs gradlew]
Answer: i will explain it in terms of java in simple way possible.
let suppose we have simple hello world project (HelloWorld.java). In order to run the project we need to compile it (HelloWorld.class). Then we will run it in JVM (java virtual machine).

The process of compiling a code can be done using JDK (Java development kit) which comes with javac.exe (java compiler command). It compiles Java source files (.java) into bytecode class files (.class).

You call javac.exe with list of all the .java source files. For example for single source file
javac HelloWorld.java

to Compile multiple Java source files
javac Program1.java Program2.java Program3.java

which is not too much fun to do since once you start making big projects you might start using functionality provided by third party (jar files). for example
Compile a source file which depends on an external library:
javac -classpath mail.jar EmailSender.java

Compile a source file which depends on an external multiple library:(where Myprogram.java is your source file which depends on multiple libraries)
javac -cp lib1.jar;lib2.jar;lib3.jar MyProgram.java

remember sometimes source file depends on 100 and 1000 of multiple libraries which make manual compilation a real hard work. To solve this problem we have Built tools for example Gradle, Maven (which makes compilation error free process and and be done many times easily)
Other uses of Built tools like Gradle are

testing your source code is easy
packaging your application in to    format so that it can be
published and deployed is easy
Answer: A Definition of Gradle is a file where we can put the dependency of 3rd party library and some systems config files like core and components, etc with version.
We have a project base gradle and a module base gradle, The project base gradle has all project-related info with the respective repository, kotlin version, and the plugin info that we used for the projects.
In Module-related gradle, it consumes the plugin used for the module, module config like debug or release, type of build variant, binding info if we used, and the list of core and 3rd party dependencies. Just make sure to choose the latest version of the dependency.

What is Gradle in Android Studio?


Verification failed on ipod 6th generation

Question:
My daughter has the ipod 6th generation, it was working fine, then all of a sudden it started hitting random buttons, if there is a search bar or password area, it fills it with random letters, numbers, symbols all on its own before you can type in what your wanting to. It changes to different areas in the apps by itself, I was attempting to do a factory reset but it kept taking me to random different areas in settings. If I leave it off over nighthe, when I turn it back on in the morning it acts normal allowing me to do what I want except I keep getting this failure message when I try to bring up the messages, try to factory reset it, ect. Anywhere that requires the apple password. After about 30 mins to an hour, it starts the random stuff over again and you can't do anything. I have pictures showing the last back up to iTunes was on friday while it was connected to my computer trying to do a restore which I couldn't do because I can't shut off "find my ipod" 2 hours later it says it has never been back up, anyone have any advice??? Getting really frustrating
Comment: In the screenshot you have a Verification Failed error and your not connected to WiFi. Try connecting to a network before you try to sign in. This should't fix your problem where the iPod will enter random characters
Answer: I Would start with restoring the iPod using Device Firmware Update (DFU). You can put your iPod in DFU-mode using these steps (source):

Connect your iPod to iTunes
Hold the power button (the one on the top) and the home button (the one under the screen) for approx. 10 seconds
The iPod will be turned off, release the power button but keep holding the home button for another 13-15 seconds.
iTunes will say it has found an device that needs to be restored.

You can now follow the steps in iTunes to restore the iPod. After the iPod is restored, configure it again and see the problem is solved.
If the problem is not solved, it's likely an hardware issue. You can visit a local apple store to send it in for repairs. It's probably good to make an appointment with Apple Care. Apple Care numbers for your country can be found on this page
Comment: Note: You will lose any data that has been put onto the iPod.


Hook up between sink basket and P-trap

Question: Redid kitchen; deeper sink now. Only about 1 1/2 " to 2" between sink basket and P-trap. I need tail pipe with flange for dishwasher hook up? Is there any other place I can attach dishwasher drain? I need help
Answer: If the sink is deeper so that there is no longer room for the dishwasher connector, the only solution I know of is to move the P-trap† lower.
This may mean a considerable amount of cutting of wastepipes and joining new sections of pipes. If the wastpipe does not lead to an accessible vertical wastepipe, you might need to remove the back of the cupboard under the sink (or cut a large hole and re-patch later)
Some sink manufacturers sell specialized fittings that may make the problem easier to solve.
If the difference in height between old and new sink is small, you can try a flexible coupling between trap and drainpipe - here's one I used in similar circumstances - you have to reposition the trap using its swivelling connections to make room for the flexible coupling
Comment: Can't move plumbing enbedded in cement wall, new cabinets already in. I had one idea but don't know how to secure. Cut off some of the P trap and slip tail pipe inside is there anyway to seal so wouldn't leak? since will now have no threads?
Comment: @Ann: see updated answer.

Hook up between sink basket and P-trap


show that $x^2+y^2=z^5+z$ Has infinitely many relatively prime integral solutions

Question: How to show that this equation:
$$x^2+y^2=z^5+z$$
Has infinitely many relatively prime integral solutions
Answer: The number $z^4+1$ is a sum of two relatively prime squares. Let $z$ be the sum of two relatively prime squares. Then the product $(z^4+1)z$ is a sum of two squares, by the Brahmagupta identity
$$(s^2+t^2)(u^2+v^2)=(su\pm tv)^2+(sv\mp tu)^2.$$
Now we take care of the relatively prime part. Suppose that $m$ has a representation as a sum of two squares, but no primitive representation. Then $m$ is divisible by $4$ or by some prime of the form $4k+3$. In our case, primes of the form $4k+3$ are irrelevant. And if $z$ is a sum of two relatively prime squares, then $(z^4+1)z$ cannot be divisible by $4$.
So pick for example $z$ a power of $5$, or a prime of the form $4k+1$.
Answer: It is necessary to write down the formula!
In the equation:
$X^2+Y^2=Z^5+Z$
I think this formula should be written in a more general form:
$Z=a^2+b^2$
$X=a(a^2+b^2)^2+b$
$Y=b(a^2+b^2)^2-a$
And yet another formula:
$Z=\frac{a^2+b^2}{2}$
$X=\frac{(a-b)(a^2+b^2)^2-4(a+b)}{8}$
$Y=\frac{(a+b)(a^2+b^2)^2+4(a-b)}{8}$
$a,b$ - arbitrary integers.
Solutions can be written as follows:
$Z=\frac{(a^2+b^2)^2}{2}$
$X=\frac{((a^2+b^2)^4+4)a^2+2((a^2+b^2)^4-4)ab-((a^2+b^2)^4+4)b^2}{8}$
$Y=\frac{((a^2+b^2)^4-4)a^2-2((a^2+b^2)^4+4)ab-((a^2+b^2)^4-4)b^2}{8}$
where $a,b$ - any integers asked us.
Well, a simple solution:
$Z=(a^2+b^2)^2$
$X=a^2+2(a^2+b^2)^4ab-b^2$
$Y=(a^2+b^2)^4a^2-2ab-(a^2+b^2)^4b^2$


Code organization for Rails models accessed in different views

Question: I am confused about where I should put code for a model that is modified in the view for another controller.  Huh?  Here's the situation:
I have a Phone model and an associated controller.  In the Phones view you can modify simple things like who the Phone is assigned to.  In order to change more low-level things about the Phone, you have to go to the Settings screen, which has its own controller.
I have partials that are used to render information about Phones in the Settings screen.  Should these be kept in the app/views/settings directory or app/views/phones?  What about partials that are used in both views?
Also, if there is an action in the Phones controller that is only accessible from the Settings screen, should I keep the response (eg destroy.js.erb) in app/views/settings or app/views/phones?
Answer: I know this is an old question... but here is what I do:
It is perfectly okay to have several controllers accessing the same model.  I personally would put the phone partials that are used by the settings controller with the rest of the phone partials.  If you have partials that have no logical home and are used in multiple views, you can always create a new folder in /app/views/ to house your shared stuff.
Regarding the destroy.js.erb, that one is a little more tricky... I don't know if there is one right way to do it.
In the end, do whatever makes the most sense.


Transliterate this Sama Veda Mantra

Question: This is from the Sama Veda; Google Translator didn't help me with the transliteration, and I don't speak Sanskrit either. Can someone provide a transliteration.?
Comment: U mean transliteration.?
Comment: Yeah, that's transliteration. It's ok man, no need to be sorry. ..
Comment: The translation is already given in the picture only. "Oh Indra!....might."
Comment: Hi, thanks for the answer. Sorry what I meant was the pronounciation. Like how to say the mantra spelt out in english.
Comment: Sorry, don't know the exact terminology for it but something like this: ॐ भूर्भुव॒ स्सुवः॑
तत्स॑ वि॒तुर्वरे᳚ण्यं॒
भर्गो॑ दे॒वस्य॑ धीमहि
धियो॒ यो नः॑ प्रचो॒दया᳚त् ॥ = oṃ bhūr bhuvaḥ suvaḥ
tat savitur vareṇyaṃ
bhargo devasya dhīmahi
dhiyo yo naḥ pracodayāt. A similar thing to this for the mantra above, I am looking for the pronouncaition spelt out alphabetically
Answer: It says, in IAST,

endra pṛkṣu kāsu cin nṛmṇaṃ tanūṣu dhehi naḥ*
satrājid ugra pauṃsyam

*For some reason the visarga (ḥ) appears to have been rendered with a semi-colon instead of its proper form, which is ः and more like an English colon, without obviously actually being a colon, but it should properly be a visarga and the transliteration is naḥ not na;
However, although IAST is a standard scheme used by academics, it is not the only transliteration scheme available and it is often used with minor alterations.
You can find a transliteration of this verse using a slightly different though very similar scheme on the TITUS database here
https://titus.fkidg1.uni-frankfurt.de/texte/etcs/ind/aind/ved/sv/svk/svk.htm
You will need to navigate to Prapathaka 3.
I note that for whatever reason in neither the Devanagari version you provide nor in the transliterated version in the TITUS database are any accent marks present of any kind. The Sāma-Veda was of course meant to be sung, it was set to music, and therefore the manuscripts are generally annotated with a very precise set of accent and other marks. The words are also more or less altered to fit rhythms and songs much as is often done when words are put to music. You can find one version which has been typeset here:
http://www.sanskritweb.net/samaveda/index.html
These alterations may indeed be removed in many editions but I would have expected to see the pitch accent marked in some way even if the full Sāma-Vedic accent markings are missing.

Transliterate this Sama Veda Mantra


Why can't we calculate potential at a particular point due to an infinitely long thin wire with uniform positive linear charge density?

Question: I read in theory that we cannot calculate at a particular point due to an infinitely long thin wire with uniform positive linear charge density. Instead we can only calculate the potential difference of two points. I know that electric field due to an infinitely long wire with linear density -- (+x) can be written as 2kx/r. So, if r is at infinity then the point will experience 0 force. And hence won't potential be 0 at that point?
Comment: Zero field doesn't imply zero potential. Since you know the field, is something preventing you from using it to calculate the potential, at least up to a constant?
Comment: *infinitely long wire with linear density -x* Why are you using $-x$ to mean linear charge density? $x$ is usually a Cartesian coordinate.
Comment: it is not minus it's a hyphen
Comment: I will use the EF to calculate force on the charge (if it is present) then I will Multiply that force with the displacement from that I will get work done which i will present with a -ve sign to get potential .....in the formula if r is zero force is zero hence work done is zero hence potential is zero.
Answer: We can definitely calculate the electric potential, as long as we choose a valid (in this case, non-infinity) reference point with respect to which we measure the potential.
The common choice in electrostatics with point charges is to take the potential $V(r)\to0$ at $r\to\infty$. This is not a valid choice in the case of an infinitely long line of charge. You know (and can prove using Gauss's law) that the electric field as a function of distance $r$ of an infinitely long wire with linear charge density $\lambda$ is $$\mathbf{E}=\frac{2k\lambda}{r}\hat{\mathbf{r}}.$$
The electric potential at $r$ with respect to a point infinitely far away will turn out to be infinite: $$V_{\infty}(r)=-\int_\infty^r\mathbf{E}(r')\cdot\mathrm{d}\mathbf{r}'=-\int_\infty^r\mathrm{d}r'\,\frac{2k\lambda}{r'}=-2k\lambda\,[\log r']_{\infty}^r.$$
The potential with respect to any non-infinite distance $a$, however, would lead to a real-valued result like $$V_a(r)=-2k\lambda\,[\log r']^r_a=-2k\lambda\log\frac{r}{a}.$$
Thus, even though the magnitude of the electric field approaches zero as $r\to\infty$, it doesn't approach 0 "fast enough" for its integral to be convergent to any finite value. One way to develop some intuition for this is to consider the fact that there's an infinitely large amount of charge in the distribution. The other infinitely large source of electric field that is often treated in introductory E&M courses, the infinite sheet of charge, has a constant electric field that doesn't approach $0$ at $r\to\infty$, but similarly requires that you define the potential with respect to some "nearby" point.
Comment: Can you share a graph? E vs P.
Comment: @john9 Sure, but what quantity does "P" represent in this case?
Comment: Potential  difference


Looking for spatially referenced aerial photos

Question: I am trying to find a source of spatially referenced aerial photos that can be analyzed with ArcGIS or R. I cannot use Google Earth because I have nothing to georeference it to. I know they are out there but it has been years since I have used to program. Specifically, I am looking for Napa County, California.
Comment: can you elaborate on why you have nothing to georeference to in google earth?
Answer: USGS' Earth Explorer is an excellent resource for this type of imagery (unless the US Govt is on shutdown).
In this case I would look for NAIP imagery in your area of interest.


Dog not eating unless accompanied

Question: My 4 years old male Welsh Corgi has had this problem where he very often does not eat unless accompanied. We keep him in the backyard, and as soon as I leave him and close the glass door, he ceases eating. When I or someone he recognizes comes through the door and stays with him, he immediately starts eating.
There have been times when we placed food in his bowl and he doesn't eat until the next morning, when I come through the door to play with him.
Any thoughts or help would be great.
Comment: If he's hungry, I'm sure that he's gonna eat. I don't think you need to worry. Maybe he just likes company. By the way...did someone in the past train him not to eat from strangers or not to eat until you say 'eat'?
Comment: Is he fed as much as he wants?
Comment: @papakias We did train him to do a trick where we trained him not to eat the treat in front of him until said 'ok'...
Answer: When it comes to dogs who are stubborn for food a good way to get them eating is to place the dish down with their meal, give them a good 15-30mins. If they don't touch it remove the dish and try again at supper time, dogs who see their dish always available tend to have an easier time snuffing than if it's only there for a limited time.
Don't panic he will eat :)
Answer: Just leave food out for him and he will eventually eat when he gets hungry. Your dog may prefer eating with other people around, but he likely won't starve himself without them. Pets are pretty adaptable when it comes to eating. If you stay away from your dog's food bowl for long enough, he will learn to eat on his own.
Answer: I had a lab that did the same thing.  I just sat down with him while he ate.  It seemed to be important to him.   I also had another dog in the house that would eat it.

Dog not eating unless accompanied


Java based memcached client, optimization of putting data inside memcache

Question: I have say list of 1000 beans which I need to share among different projects. I use memcache for this purpose. Currently, loop is run over complete list and each bean is stored in memcache with some unique memcache id. I was wondering, instead of putting each and every bean in memcache independently. Put all the beans in hashmap with the same key which is used for storing beans in memcache, and then put this hashmap in memcache.
Will this give me any significant improvement over putting each and every bean individually in memcached. Or will this cause me any trouble because of large size of the object.
Any help is appreciated.
Answer: It won't get you any particular benefit -- it'll actually probably be slower on the load -- serialization is serialization, and adding a hashmap wrapper around it just increases the amount of data that needs to be deserialized and populated.  for retrievals, assuming that most lookups are desecrate by the key you want to use for your hashmap you'll have a much much slower retrieval time because you'll be pulling down the whole graph just to get to one of it's discreet member info.
Of course if the data is entirely static and you're only using memcached to populate values in various JVM's you can do it that way and just hold onto the hashmap in a static... but then you're multiplying your memory consumption by the number of nodes in the cluster...
Answer: I did some optimization work in spymemcached that helps it do the right thing when doing the wire encoding.
This may, or may not help you with your application.  In general, just measure when you have performance questions about your app.


Can I change my character's face without starting over?

Question: From what I've seen online, the appearance of your character's face depends on your answers to the questions you're asked while on the train. But I haven't found anything on how (or even if) I can change it without starting over. I didn't know this when I started, and now I'm stuck with a rather weird face. Is it possible to change it? How can I do it?
Answer: Your face itself cannot be changed after the beginning of the game. Only your hair and eye colour can be changed.
Comment: Note that you can make a Mii mask at Shampoodle's or wear a helmet which completely covers the face. But under those the face will always be the same.
Answer: You can't change your eye shape in the game. You can change your hairstyle and eye colour at Shampoodle once it's unlocked.
Answer: You can't change your face in the game. You can change your and eye colour though.
Comment: Welcome to Arqade. This information is already in the accepted answer. Do you have additional information?


Cricket loophole: time wasting tactic

Question: Having looked at this question about time wasting tactics by fielding teams in test cricket, I thought about the following scenario: What if, instead of the fielders refusing to chase the ball, the bowler takes and extraordinarily high amount of time to complete his or her runup to the crease? I understand that this is against the spirit of the game and that the fielding time will definitely be penalized for a slow over rate, but do any of the rules of cricket actually prevent this from happening? And if all the bowlers are banned from bowling, what happens to the innings?
Answer: A game of cricket isn't a computer program where everybody involved must just follow the rules blindly. If a team tries this, the umpires should first tell them to stop being silly, then warn them, then award the match to the opposition for refusal to play the game via Law 16.3.1:

a match shall be lost by a side which [...] in the opinion of the umpires refuses to play.  If so, the umpires shall award the match to the other side.

The losing team can then if they wish appeal to the organising body for whatever tournament was being played. The organising body can then expel the offending team from the tournament for being idiots.
Answer: In one day cricket teams are expected to adhere to a certain over rate so as to ensure games are finished in a certain amount of time. This has to do with tv schedules. Broadcasters want the game to finish in a specific amount of time.
Financial penalties for captains can be made if it turns into a chronic problem.

Cricket loophole: time wasting tactic


Why doesn't the search bar weigh question titles very heavily?

Question: A search is done when you type in the title of your new question, then click on the textarea to type the body of the question. I've found this search to be infinitely more helpful than the search bar. I believe the ask-question search just uses the titles of the questions. I don't know what the search bar uses but it usually isn't as helpful. I find myself hitting the ask question button so I could use it to do a search. Could we offer a way to use that search, as well as the search bar? Maybe an advanced search. Being able to search through the questions is an imperative feature. :D
Answer: A few recent changes in search..

Search now HEAVILY weights title in the results, since people seemed to really like that approach (used on the /ask page, which searched exclusively on title alone).
Any individual search terms which map directly to the top 40 tags will be auto-converted to tag searches. So if you enter

c++ entities

it will convert to

[c++] entities

automagically.
Try again and see if it is more to your liking.
Answer: Not that well. Instead, you should search with google:
    site:stackoverflow.com search items here
Searching with tags:
    site:stackoverflow.com inurl:questions/tagged/feature-request search terms
Searching multiple tags:
    site:stackoverflow.com inurl:questions/tagged/php+mysql search terms


Netflix Stopped Working on Chrome

Question: Netflix has suddenly and mysteriously stopped working for me when using it through Chrome version 47.0.2526.106 (64-bit) and ubuntu 14.04 LTS. When I click on a movie it gives me the spinning "loading wheel" continuously but never actually plays anything. I have googled how to fix it but the only thing I could find suggest removing the "user agent", which I don't have installed. The only think I can think of is I performed an update which changed something and made it stop working. Has anyone else had this issue or does anyone know how to solve it?? I'm behind on my binge watching!! Thanks,
Comment: Does it work on Mozilla Firefox?
Comment: No, it doesn't work on that either, asks me to install Silverlight
Answer: Same issue. I solved removing the chrome config.
<code>sudo rm -r ~/.config/google-chrome
</code>
Answer: I don't have a /.config/google-chrome
I did this in 14.04, worked great
sudo apt-add-repository ppa:ehoover/compholio
sudo apt-get update
sudo apt-get install netflix-desktop
ubuntu 15.10 works for the first two steps  but the last one returns 'unable to locate package netflix-desktop'
14.04 still finds the package...:(

Netflix Stopped Working on Chrome


Automorphism group of a group of order $p$

Question: Prove that the automorphism group of a group of order $p$ is cyclic.
I have tried to solve this question for days but made no progress, can somebody help me with it?
Answer: a group of order $p$ is cyclic. So without loss of generality let the group be $\mathbb Z_p$
Then an automorphism can be uniquely determined by giving the image of $1$. How many choices are there? As many as elements of order $p$ in $\mathbb Z_p$ which happen to be $p-1$ how does composing to automorphisms work?
We just have to go where $1$ goes under the composition. Suppose $\phi$ send $1$ to $k$ and $\sigma$ send $1$ to $l$.
Then $\sigma \circ \phi$ send $1$ to $kl$. So the automorphism group of $\mathbb Z_p$ isisomorphic to $\mathbb Z_p^{*}$ (the multiplicative group mod $p$)
We shall now prove $\mathbb Z_p^{*}$ is cyclic of order $p-1$. The part about the order is because there are $p-1$ positive integers relatively prime to $p$ less than $p$
To see it is cyclic we use the fact the multiplicative group of any finite field is cyclic.
Proof of this statement: Let $F$ be a field of order $n+1$ and let $m$ be the least common multiple of the orders all of its non-zero elements. Then the polynomial  $x^m-1=0$ has $n$ solutions(the order of the multiplicative group).
However it is a fact that a polynomial over a field cannot have more solutions than it's degree.
Therefore $n<m$ however by lagrange the order of all of the elements divides $n$. So we get $n=m$.
This means for every prime $p$ if $n=p^\alpha k$ with $p\nmid k$ there is an elment $g$ in the multiplicative group of $F$ with order a multiple of $p^\alpha$.
Therefore by the fundamental theorem of finitely generated abelian groups the $F\setminus\{0\}$ is a cyclic group.
Answer: I take as known that $\operatorname{Aut}({\bf{Z}}/(p))\cong({\bf{Z}}/(p))^\times$. Suppose there is $K\le({\bf{Z}}/(p))^\times$ such that $K\cong C_q\times C_q$, for some prime $q$. Therefore, there are $q^2$ elements $x\in({\bf{Z}}/(p))^\times$ such that $x^q\equiv 1\pmod p$: a contradiction, because this equation has at most $q$ solutions in ${\bf{Z}}/(p)$. So, $({\bf{Z}}/(p))^\times$ does not contain any subgroup isomorphic to $C_q\times C_q$, for any prime $q$. For this characterization of the non-cyclic finite abelian groups, $({\bf{Z}}/(p))^\times$ must be cyclic.