I am trying to run python startup script for QGIS with the following code: from qgis.core import * from qgis.utils import iface import os from qgis import processing project = QgsProject.instance() project.read('/home/r89/projects/qgis_python/project/main.qgz') path_to_shapefile = '/home/r89/projects/qgis_python/shapefiles/block1.shp' block_layer = QgsVectorLayer(path_to_shapefile, "Block layer", "ogr") project.addMapLayer(block_layer) iface.setActiveLayer(block_layer) iface.zoomToActiveLayer() e = iface.mapCanvas().extent() x_min = e.xMinimum() x_max = e.xMaximum() y_min = e.yMinimum() y_max = e.yMaximum() extent = str(x_min) + ',' + str(x_max) + ',' + str(y_min) + ',' + str(y_max) + ' ' + '[EPSG:4326]' result = processing.run("qgis:tilesxyzmbtiles", {'EXTENT':extent,'ZOOM_MIN':1,'ZOOM_MAX':12, 'OUTPUT_FILE':'/home/r89/projects/qgis_python/output/main.mbtiles'})  os._exit(0)  QGIS throws me an error on start: An error occurred during execution of following code: spec.loader.exec_module(module)   Traceback (most recent call last):   File "", line 1, in    File "", line 783, in exec_module   File "", line 219, in _call_with_frames_removed   File "/home/r89/.local/share/QGIS/QGIS3/startup.py", line 18, in      result = processing.run("qgis:tilesxyzmbtiles", {'EXTENT':extent,'ZOOM_MIN':1,'ZOOM_MAX':12, 'OUTPUT_FILE':'/home/r89/projects/qgis_python/output/main.mbtiles'}) AttributeError: module 'qgis.processing' has no attribute 'run'   Python version: 3.8.3 (default, May 17 2020, 18:15:42)  [GCC 10.1.0]  QGIS version: 3.12.3-București 'București', exported  Python path: ['/usr/share/qgis/python', '/home/r89/.local/share/QGIS/QGIS3/profiles/default/python', '/home/r89/.local/share/QGIS/QGIS3/profiles/default/python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/r89/.local/lib/python3.8/site-packages', '/usr/lib/python3.8/site-packages', '/home/r89/.local/share/QGIS/QGIS3/profiles/default/python']  When I run this code in QGIS python console, it runs OK. So, I think there could be a problem with processing module running from a startup script rather than from a QGIS app itself. I have seen a question with similar error() but it doesn`t seem to be helpful to me

I'm writing a script which must work outside of QGIS GUI. I call some API functions from qgis.core but I'd like to use the processing plugin.  I'm able to import processing with sys.path.append() but I can't run any process. Moreover, all "native" algs are missing in QgsApplication.processingRegistry().algorithms()  So is it possible to run processing that way ? What am I missing ?  import os, sys from qgis.core import * QgsApplication.setPrefixPath('/usr', True) qgs = QgsApplication([], False) qgs.initQgis()  sys.path.append('/usr/share/qgis/python/plugins') from processing.core.Processing import Processing Processing.initialize() import processing  layer1 = QgsVectorLayer('data/ROUTE_PRIMAIRE.SHP') layer2 = QgsVectorLayer('data/ROUTE_SECONDAIRE.SHP')  processing.run('qgis:union', layer1, layer2, 'test.shp') # returns nothing   I'm on QGIS 3.0.1 - Debian 9


I installed Ubuntu trusty 14.04 on my laptop along side windows dual boot. i have a problem with software center. i am unable to install any tool using this and also no updates were taking place. So i removed this software center and tried to re install it.  i used these codes sudo apt-get remove software-center then it removed. while i am trying to reinstall it using sudo apt-get install software-center it is showing   E: Package 'software-center' has no installation candidate  please help me.I need to install meep on this.

There are now errors when updating and I cannot install most software due to a corrupted  /etc/apt/sources.list   file. Is there a copy I can download to replace it?  The file would be for Ubuntu 12.04 (Final Beta) in the United States.


Let $a+bi\in\mathbb{Z}[i]$ with $\gcd(a,b)=1$.  I know that $\mathbb{Z}[i]/\langle a+bi\rangle\cong\mathbb{Z}_{a^{2}+b^{2}}$ by a ring homomorphism $\phi:\mathbb{Z}[i]\to\mathbb{Z}_{a^{2}+b^{2}}$, which maps $x+yi$ to $x-(ab^{-1})y\pmod{a^{2}+b^{2}}$ with $\ker\phi=\langle a+bi\rangle$.  My question is:  Is there a ring homomorphism as above $\phi$ if $\gcd(a,b)=d>1$?  I found the relation $\mathbb{Z}[i]/\langle a+bi\rangle\cong\mathbb{Z}_{d}\times\mathbb{Z}_{(a^{2}+b^{2})/d}$ if $\gcd(a,b)=d>1$.  But, i couldn't find the ring homomorphism between $\mathbb{Z}[i]$ and $\mathbb{Z}_{d}\times\mathbb{Z}_{(a^{2}+b^{2})/d}$ with kernel $\langle a+bi\rangle$  Give some advice! Thank you!

The isomorphism $\mathbb{Z}[i]/(a+bi) \cong \Bbb Z/(a^2+b^2)\Bbb Z$ is , when the integers $a$ and $b$ are coprime. But what happens when they are not coprime, say $(a,b)=d>1$?      — For instance if $p$ is prime (which is not coprime with $0$) then $$\mathbb{Z}[i]/(p) \cong \mathbb{F}_p[X]/(X^2+1) \cong \begin{cases} \mathbb{F}_{p^2} &\text{if } p \equiv 3 \pmod 4\\ \mathbb{F}_{p} \times \mathbb{F}_{p} &\text{if } p \equiv 1 \pmod 4 \end{cases}$$ (because $-1$ is a square mod $p$ iff $(-1)^{(p-1)/2}=1$).  — More generally, if $n=p_1^{r_1} \cdots p_m^{r_m} \in \Bbb N$, then  each pair of integers $p_j^{r_j}$ are coprime, so that by CRT we get $$\mathbb{Z}[i]/(n) \cong \mathbb{Z}[i]/(p_1^{r_1}) \times \cdots \times \mathbb{Z}[i]/(p_m^{r_m})$$  I was not sure how to find the structure of $\mathbb{Z}[i]/(p^{r}) \cong (\Bbb Z/p^r \Bbb Z)[X] \,/\, (X^2+1)$ when $p$ is prime and $r>1$.  — Even more generally, in order to determine the structure of $\mathbb{Z}[i]/(a+bi)$ with $a+bi=d(x+iy)$ and $(x,y)=1$, we could try to use the CRT, provided that $d$ is coprime with $x+iy$ in $\Bbb Z[i]$. But this is not always true: for $d=13$ and $x+iy=2+3i$, we can't find Gauss integers $u$ and $v$ such that $du + (x+iy)v=1$, because this would mean that $(2+3i)[(2-3i)u+v]=1$, i.e. $2+3i$ is a unit in $\Bbb Z[i]$ which is not because its norm is $13 \neq ±1$.  — I was not able to go further. I recall that my general question is to known what $\mathbb{Z}[i]/(a+bi)$ is isomorphic to, when $a$ and $b$ are integers which are not coprime (for instance $a=p^r,b=0$ or $d=(a,b) = a^2+b^2>1$).  Thank you for your help!


I can't figure out how to write ! symbol in bash scripts when putting it in double quotes strings.  For example:  var="hello! my name is $name! bye!"   Something crazy happens if I type the following commands:  $ age=20 $ name='boda' $ var="hello! my name is $name! bye!"   When I press enter at last command the command repeats itself (types itself) without the last !:  var="hello! my name is $name! bye"   If I press enter again:  $ var="hello! my name is $name bye"   If I press enter again it disappears nothing gets output:  $    If I try this:  $ echo "hello\! my name is $name\! bye\!"   Then it outputs: hello\! my name is boda\! bye\!  If I use single quotes then my name doesn't get expanded:  $ echo 'hello! my name is $name! bye!'   Outputs are: hello! my name is $name! bye!  I have it working this way:  $ echo "hello"'!'" my name is $name"'!'" bye"'!'   But it's one big mess with " and ' impossible to understand/edit/maintain/update.  Can anyone help?

I want to do something like bzr commit -m "It works!". I can sort of escape the exclamation mark by doing bzr commit -m "It works\!". However, then my commit message includes the backslash. How do I escape the exclamation mark, while still ignoring the backslash?


If a particle on earth is entangled with a partner particle in Andromeda, and the wave function collapses here on earth, the wave function would, as I understand it, collapse in Andromeda too. Does that imply there is a universal "now"? Doesn't that violate SR?

From everything I've read about quantum mechanics and quantum entanglement phenomena, it's not obvious to me why quantum entanglement is considered to be an active link. That is, it's stated every time that measurement of one particle affects the other.  In my head, there is a less magic explanation: the entangling measurement affects both particles in a way which makes their states identical, though unknown. In this case measuring one particle will reveal information about state of the other, but without a magical instant modification of remote entangled particle.  Obviously, I'm not the only one who had this idea. What are the problems associated with this view, and why is the magic view preferred?


I applied for the Schengen visa and it got rejected citing the reason:      One or more Member States consider that you pose a threat to the public order, internal security, public health Article 2 (21) of Regulation (EC) No 2016/399 (the Schengen Borders Code) or the international relations of one or more Member States.   1) I got the last Schengen visa from France and instead of entering France I made the first entry to Holland and came back from Holland itself. As my name is Abdullah, and I have seen in other articles that this name has some issues.  2) I had a visa issued by the German embassy in my old passport, which wasn't attached to my application as I only supplied the new passport.  Kindly guide me what should I do? I have one month to apply again. Shall I apply again and attach the old passport? Shall I provide clarification saying: I confess my mistake of having French visa and travelling to Holland?

I applied for German Schengen visa as a medical escort to my relative in a different country from  where I reside, but my visa application was refused and the refusal letter  was written in German as the following:        Ein oder mehrere Mitgliedstaaten sind der Auffassung, dass Sie eine Gefahr für die öffentliche Ordnung, die innere Sicherheit, die   öffentliche Gesundheit gemäß Artikel 2 Absatz 19 der Verordnung (EG)   Nr 562/2006 (Schengener Grenzkodex) oder die internationalen   Beziehungen eines oder mehrerer Mitgliedstaaten darstellen.      I was in Germany for nearly a year with my relative during his treatment; I extended my stay there 3 times; and I returned back home two months ago in order to renew my passport. I applied again using the same documents that I used for my extension in Germany.    First, can anyone tell me what the refusal means? Next, is there any possibility that there is a mistake in the assessment?    Note: In English this reason is...     One or more member state(s) consider you to be a threat to public   policy, internal security, public health as defined in Article 2(19)   of Regulation (EC) No 562/2006 (Schengen Borders Code) or the   international relations of one or more of the member states).


I am running iTunes 11, and have just plugged in my iPad 2 (running iOS 6.1.2) in.  I would like my back-ups to be unencrypted, but I can't uncheck the check box that would allow me to, as you can see in the screenshot:    Anyone know how to fix this?  I do know the backup password, and have tried changing it but to no avail.

Hi have backups which encrypted with passwords and i know the backup password, i can restore it. There is not any problem.  But i want to disable encrypting backup with password, here is the problem. In iTunes Encrypt "iPhone backup with password" checkbox is checked and disabled. So i cannot be able to change it.


How is  derived or proved? on a note, why does the energy of 3d subshell is More than that of 4s subshell, instead as 4s is greater in extent than 3d,4s should have greater energy! though I have read the answers here    I cannot find a definite explaination or proof of the above theory(rule)

What is the rigorous definition of the  and the mathematical model used for its description?   From Wikipedia, we have that the principle postulates a hypothetical process in which an atom is "built up" by progressively adding electrons. For modeling the postulate, we use the Madelung rule, Pauli exclusion and  "if two same energy orbitals are available, choose the less occupied one)". So, $n+\ell$ ordering with constraints. And I also know that the Aufbau principle has its exceptions.


I am from India. I am planning to attend the conference. We are a team of 4 members.   1st Attempt     VO: How was your day?      Me: Great and how about you?      VO: Perfect? What's the purpose of your visit to the USA?      Me: I am going to attend the Conference ABCD ...   (After a pause) Do you want to look at the invitation letter?      VO: No and where you are going to stay?      Me: I was going to stay at ABCD place.      VO: What you are going to do in the meetup?      Me: I am going to do ABCD.......      VO: Ok. Who is sponsoring for you?      Me: My college secretary is sponsoring for my team. (Do you want a   look at the sponsorship letter)      VO: No. Have you married?      Me: I have not completed the under graduation and I am single.      VO: Sorry for this time. Given the form 214(B)   I didn't understand why I got refused. I wanted to give it a try once again, so I applied a second time. Second time my interviewer is very serious and she did not even smile.  2nd Attempt     VO: How was your day?      Me: Great and how about you?      VO: Good and whats the purpose of your visit?      Me: I was asked to attend the ABCD.      VO: What mother and father do?      Me: My father was ABCD and my mother   is a housewife.      VO: What is your financial income?      Me: It was ABCD details.      Vo: Sorry for this time, you got rejected.   For the second time, I'm thinking she has looked into our financial status and my family members occupation and that's why I got refused.  I have many doubts about whether can I apply once again. After talking with one of my relatives he mentioned its not a wise idea to apply once again and mentioned the chances of getting accepted is 0% for the next time.  But I want to try once again.  Questions I have:   Is it a wise idea to apply once again after refused two times form B1 Visa?

Over the course of time here on TSE, I have observed individuals whose pattern of visa applications is best described as ''...     serial refusals - Two or more consecutive visa refusals issued by the same regime to the same person. Commonly for the same, or nearly the same, reasons. In some visa regimes Serial refusals can have a cumulative effect wherein the applicant's credibility is increasingly eroded, especially when the application pattern suggests a secondary agenda.   A common thread appears to be the need to visit the destination country (especially Schengen, the USA, or the UK) with a special sense of urgency. Also common in these cases are the following types of questions...   Should I just reapply once again? What are my chances? What can I do to improve my odds in the future? Can I somehow address the previous refusals to avoid them being a burden on all future applications? How can I break the pattern?      NB: This question is intended as a canonical about serial refusals. I have never been personally denied a visa.


double1 = .05100000000003;  double2 = .05295;  How do I round a decimal to three places? Respectively, I'd like the output to do this 0.051 and 0.053. I tried Math.round(double1); but I got back 0.0. Any ideas would be greatly appreciated thanks.

What I would like is a method to convert a double to a string which rounds using the half-up method - i.e. if the decimal to be rounded is 5, it always rounds up to the next number. This is the standard method of rounding most people expect in most situations.  I also would like only significant digits to be displayed - i.e. there should not be any trailing zeroes.  I know one method of doing this is to use the String.format method:  String.format("%.5g%n", 0.912385);   returns:  0.91239   which is great, however it always displays numbers with 5 decimal places even if they are not significant:   String.format("%.5g%n", 0.912300);   returns:  0.91230   Another method is to use the DecimalFormatter:  DecimalFormat df = new DecimalFormat("#.#####"); df.format(0.912385);   returns:  0.91238   However as you can see this uses half-even rounding. That is it will round down if the previous digit is even. What I'd like is this:  0.912385 -> 0.91239 0.912300 -> 0.9123   What is the best way to achieve this in Java?


I am trying to follow Prestashop under Area 51. I clicked follow, it gave me an email, I confirmed it, and it made a guest account. I didn't want to follow as a guest, so I unfollowed it, and then I logged in. It turned my guest example question into a question from me. Issue is, I am not unable to follow it. I can follow it, but it doesn't show me as a follower, and the number of followers stay the same, where as before I logged in with my stack account, I was affecting the number. I'd like to support a Prestashop stack site. Am I doing something wrong, or can this be fixed?

I recently (yesterday) followed  and noticed that I'm not in the list of followers: and the followers count is 19 which is exactly the number of user in that list (without me). Am I missing something? (cached?)


Why is space a vacuum? Also, why isn't the air from the Earth escaping due to the vacuum in space? The ozone layer is only gas and a magnetic field, so why doesn't the air escape from Earth into space?

Why is space a vacuum ? Why is space free from air molecules ?   I heard that even space has a small but finite number of molecules. If so, won't there be a drag in space?


i want to create a code which compares each column of the two lists below and outputs the position of io and rk. Unfortunately my syntax knowlegde is very bad by now. So i just splitted the string and tried a few things out, non of them worked out. I was hoping for a hint. category_1 = [     "19_IP21_IW_z9_FW_uh_ze_Ef_io_FC_9j_MB_2c_GX_Ly",      "19_IP21_IW_z9_FW_uh_ze_Ef_io_FC_9j_MB_2H_GX_Ly",     "19_IP21_IW_z9_FW_uh_ze_Ef_io_FC_9j_MB_Ad_GX_Ly",     "19_IP21_IW_z9_FW_uh_ze_Ef_io_FC_9j_MB_Fd_GX_Ly",     "19_IP21_IW_z9_FW_uh_ze_Ef_io_FC_9j_MB_Is_GX_Ly",     "19_IP21_Tx_z9_2S_EK_AG_Cd_io_FC_9j_wI_nC_Yy_Ly",     "19_IP21_Tx_z9_2S_zc_hI_z0_io_FC_9j_3Y_9z_Yy_Ly",     "19_IP21_Tx_z9_2S_zc_hI_z0_io_FC_9j_3Y_nC_Yy_Ly"]  category_2 = [     "19_IP21_Tx_z9_TF_EK_AG_Cd_rK_FC_9j_wI_9z_Yy_Ly",      "19_IP21_Tx_z9_TF_EK_AG_Cd_rK_FC_9j_wI_Fd_Yy_Ly",     "19_IP21_Tx_z9_TF_EK_AG_z0_rK_FC_9j_3Y_2z_Yy_Ly"]                      for name in category_1:       s_name = name.split("_")     print(s_name)      print("##############################################")  for name in category_2:     s_name = name.split("_")     print(s_name)

Given a list ["foo", "bar", "baz"] and an item in the list "bar", how do I get its index (1) in Python?


I would like to encrypt subscriber's email address in SFMC during an email send and attach it to the URL. Once the user clicks on that URL, he gots redirected to the website where the encrypted email will be extracted and decrypted in order to understand who is viewing the page.  For email address encryption I'm using the AMPscript's EncryptSymmetric function with des algorithm, cbc mode and pass the Password and Initialization Vector. I have copied the example values for Password and Initialization Vector from the official documentation, and in SFMC I'm able to encrypt and decrypt data successfully.   However, on the website (and basically using any online decryption tool) using the same algorithm and mode, I'm not able to decrypt the previously encrypted emails. There are always errors saying that the encrypted strings are heavier or lighter (in terms of bytes) than needed.   Is there any advice on how should the values for the password and IV look like? Or maybe can you paste an example values (I'll keep the length but modify the content) that I can use?  Thank you in advance!

We want to encrypt / encode URL parameters on our pages. I tried to encrypt a parameter using  with AES algorithm as explained in the   %%[SET @encData=EncryptSymmetric("test", "AES", @null, "1111", @null, "0000000000000000", @null, "00000000000000000000000000000000") ]%% AES: %%=v(@encData)=%%   The result of this function is      AT1r0irnzM+Ax1j8zN+zAw==   Then I tried to decrypt the value using an , but I always received an error message.  I suppose there is a difference between AES algorithm in Marketing Cloud and AES used in the online tool. Indeed if I encrypt the same word with an online tool (128-bit), I received this result      l4Yo3sFofFD1EMmtoh397w==   Do you have any deep information regarding this function? What could be the difference?


Let $B[0, 1]$ be the space of all bounded functions on $[0, 1]$. Show that the closed unit ball $D = \{f \in B[0, 1] : \|f\| \leq 1 \}$ is not compact in $(B[0, 1], \|.\|_{\infty})$.  can we reason as follows. If a closed unit ball which is bounded  of a Normed Linear Space is compact then the space should be finite dimesional. But $X=B[0,1]$ is not finite dimensional. Hence it is not compact? Will this work?

Show that the closed ball in $C([0,1])$ of center $0$ and radius $1$ is not compact.  I thought it will be compact since every closed and bounded set in $\mathbb{R}$ is compact?  Why is it not compact and how can I prove it?


I have following problem:  I have this code simplifyied:  $contents = $pdo->query($sql); $results = $contents->fetchAll(PDO::FETCH_ASSOC);  foreach($results as $row) {     $string = htmlspecialchars($row['content']);     array_push($all_matches, array("data" => $string, "id" => $row["page_id"])); }  echo json_encode($all_matches);   And in my database I have following content for example:
MRG Beispiel Seite

Ein Beispiel für Einbindung einzelner Felder / Strings aus dem Impressum-Modul:
   And my result is following:  [{data: "", id: "8"}]   My page_id displays but not my content, it stays blank, how do I fix this?  The query:  $sql = "SELECT * FROM `cms_page` WHERE page_id = 8";   When i do echo $row["content"] it actually shows me some content, its a string. The problem is the echo json_encode("data" => $row["content"] its blank  SOLUTION:  I fixed that problem by encoding my string to UTF-8 with:  echo json_encode(utf8_encode($row["content"]));

I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried this in the past on existing servers and always seem to end up having to fall back to ISO-8859-1.  Where exactly do I need to set the encoding/charsets? I'm aware that I need to configure Apache, MySQL, and PHP to do this — is there some standard checklist I can follow, or perhaps troubleshoot where the mismatches occur?  This is for a new Linux server, running MySQL 5, PHP, 5 and Apache 2.


It should be possible to change the closing reason or at least remove it.   Could remove the close vote when the user edits the post Could change the closing reason if need be   But the most useful thing is that you could change the question that you marked as duplicate. If I vote and say this question is a duplicate but I misread or the post was edited or I want to change it for whatever reason, I can't. Also, it will automatically put a comment of me saying that this question looks like a duplicate of x other post so I should be able to change the post it refers too.

Was voting to close a question as 'Not a real question', but my mouse slipped to 'Blatantly Offensive'. Would it be possible to have some means of changing my close reason, before the related question gets closed?


I have a shapefile containing three polygons of river basins with different values. I want to know the average values per country. The country thus contains three river basins. When I use join in Arcgis or join by location in QGIS the average value is just the average of the three values, not weighted by the amount of (area) overlap.   example: basin 1 value 1 overlap 1% ; basin 2 value 9 overlap 99% should result in an average value of 8.92 and not 5  the eventual analysis is a global one so speed is critical. I am aware of the option the rasterize and use zonal stats.

For a project I am working on I would like to intersect fire station response districts with income data to determine the median income per response district. However the borders of the layers obviously do not line up.  What is the best method to go about manipulating the data to have the output show the median income based on the response districts?  I am using ArcMap 10.2.2 for this analysis. I have a polygon shapefile with median income information and a polygon shapefile of fire stations first in response areas.


On UserVoice, it's clear how the bug/feature request procedure works:   Enter a bug Gain votes (or don't) Get declined by an admin or get a bug fix   How will this work on Meta (this site? Is there any suggestion for this? I would like to see the status of my requests.   How should I tag feature requests? How should I tag bug reports? In what way are bugs handled? In what way are feature requests handled?

Meta Stack Exchange seems to have different rules and user behavior than the "regular" Stack Exchange sites.  How is it different?    Individual questions answered below:                Related


I have a system76 laptop (Oryxp3) which works flawlessly with Kubuntu, hibernation and suspension too, drivers and everything too (battery sucks, but it's mostly a software problem which will take a lot of time to address), but for whatever reason only the DESKTOP makes some weird glitches when resuming from suspension/hibernation.  I can fix it by changing Layout from "Folder view" to "Desktop", applying and then reverting back to "Folder view", so it seems like a refresh problem.  Although I would love to have either a proper fix to refresh my desktop after suspend, or a command to do that. A hack or a workaround that I can bind to a command, I'm just too lazy to unlock widgets, right click, change option, apply, revert, apply every restore from suspension.  My GPU is NVIDIA GTX 1070 with NVIDIA drivers: 375.39  Here is how it looks, although sometimes is worse and the font gets all colored in weird ways and it's unreadable:

After some gorgeous updates I witness this:


Is there a 9 digit Zip Code (Example- 75001-6664, Zip + 4) data set that I can download? Please advise.

I was just wondering what the most up-to-date source for US Zip Code boundaries would be.    My first thought was TIGER, whenever that comes out, but then I thought that the Postal Service might be a better bet.    Does anyone have some input?


How can I prove $$\|AB\|_p ≤ \|A\|_p \|B\|_p$$ where $$\|A\|_p = \max_{x≠0}\frac{\|Ax\|_p}{\|x\|_p}, \qquad p = 1, 2, 3, \ldots$$ and known information below:  (i) $\|A\| ≥ 0$, with equality iff $A = 0.$  (ii) $\|cA\| = |c|  \|A\|$, for any $c ∈ \mathbb R.$  (iii) $\|A + B\| ≤ \|A\| + \|B\|$.  *Not duplicate of , I don't know whats the connection between that answer an my question.

I've been searching for the definition of the submultiplicative (I think it has multiple names from what I've seen) property in proof form. Some books define it as part of the properties that define matrix norms, and some include it as an additional property. I still haven't been able to work it out for myself or find it anywhere.  Let $A$ and $B$ be $n\times m$ and $m\times l$ matrices respectively, prove that:  $$\begin{align} \|AB\| \le \|A\|\|B\|  \end{align}$$


I really like the storyline, and I kinda miss it since the series hasn't released a new chapter in a long time.  Why is there no progress anymore on H.O.T.D?

I was really happy when I heard that HoTD would be continued. And even happier when the first new chapter actually came. but now after several months of waiting there still has been no other chapter. So my question is, has HoTD gone on hiatus again ?


I know that  mathematics says that $0.99999....=1$. but some say that logic says that $0.99999....<1$. what I want to know, is weather or not there is logical proof (proof without formulas, and that relies solidly on common sense ) that $0.99999....$ must be equal to $1$.  I have heard great arguments for both sides, but they all seem to end with logic and math disagreeing. I want answers that are insightful, and make math and logic agree with each other.   OK a lot of people are asking what the logical proof is, well a few of the ones that I have heard of so far are: If you move a ninth of distance to your destination then a ninth of whats left, then a ninth of whats left after that, and so on, and so on, you will never get there. Another logical question that comes up is: How can an infinite sum be equal to any non fractional whole number, isn't it never ending? can you help me explain why these ideas are flawed without using math?  Also if you'r wondering what I mean when say logical proof, I mean proof by logical deduction with as little use of mathematical formulas as possible, in other words I want proof using common sense. all of the other proofs I have seen are great and fallow the laws of mathematics perfectly, but their are some people that agree with their own common sense more than math. I want an answer I can give to them.  so the less formulas the better, try to rely on firm logic.

I'm told by smart people that $$0.999999999\ldots=1$$ and I believe them, but is there a proof that explains why this is?


I found a sentence on an English grammar book. I am confused why an article is used before a plural.     Each of the following sentences is preceded by a bare infinitive.

I was reading a paragraph about lions and I came up with a question about the definite article (the).  Let me tell you first what I know about it.     1->We use the before a singular noun (when we are sure about the noun.    And the listener and the speaker both know about it).      2->We use the before a plural noun (again when we are sure about the noun,   and we are not talking generally).   So, my question is why does the writer use the here as we are not talking about any specific lion or lions. We are talking generally.  The Paragraph:     Living in the grasslands, scrub, and open woodlands of sub-Saharan   Africa, the lion is the second largest cat in the world. It is dwarfed   slightly by the tiger, which is closely related and has a very similar   body type.    Can we re-write the paragraph something like this:     Living in grasslands, scrub, and open woodlands of sub-Saharan Africa,   lions are the second largest cat in the world. They are dwarfed   slightly by tigers, they are closely related and has a very similar   body type.


I get an error message when I try to publish a hosted layer to portal using ArcMap. Portal and server are federated, I have specified a hosting server and I am an administrator. I have signed in and out of portal and even deleted and re-instated the portal connection in Administrator but I still can't publish. There are no logs on server or error code provided - the error is:     The hosted server behind the portal could not be accessed. Please   check with your portal administrator or use another server for   publishing   I recently updated the admin URL in ArcGIS server /sharing/rest and I can publish service definition files from the server - I just can't do it from ArcMap. I found a local cache in AppData\Local\ESRI\Local Caches\MapCacheV1 which has the old server name so this could be the problem. Can I just delete this cache file or is there another way to refresh it?     The server and portal logs do not reveal anything related to the attempt to publish (on the verbose setting).

I am using the python script provided by arc help to publish map services but keep getting this error. I am using desktop ver 10.3 and publishing to arc server 10.1. Different version isn't a problem. I looked into that already. Here's what I'm getting..  Executing: StageService //gis/noble/Region/GulfOfMexico/MAPS/Rusty/PTRL_GOM_GBDS1.sddraft \\gis\noble\Region\GulfOfMexico\MAPS\Rusty\PTRL_GOM_GBDS1.sd Start Time: Wed Jul 27 12:58:45 2016 Submitted. Executing... Start Time: Wed Jul 27 12:58:57 2016 Succeeded at Wed Jul 27 12:58:58 2016 (Elapsed Time: 0.33 seconds) Succeeded. Succeeded at Wed Jul 27 12:58:58 2016 (Elapsed Time: 13.03 seconds) Executing: UploadServiceDefinition //gis/noble/Region/GulfOfMexico/MAPS/Rusty/PTRL_GOM_GBDS1.sd "GIS Servers\arcgis on hougsagis01.gs.nblenergy.com_6080 (publisher).ags" # # FROM_SERVICE_DEFINITION # STARTED USE_DEFINITION NO_SHARE_ONLINE PRIVATE NO_SHARE_ORGANIZATION # Start Time: Wed Jul 27 12:59:10 2016 Submitted. Executing... Executing (Publish Service Definition): PublishServiceDefinition i24681d7c-eb34-40ef-8223-32f7fc1c7e34 # {"buildInitialCache":false} # Start Time: Wed Jul 27 12:59:13 2016 Validating publish options. Connecting to the server. Getting basic item metadata for service definition upload. Getting server information (server folders, data stores, etc.). Extracting manifiest from uploaded service definition. Deriving arcgis server service from hosted service (hosted service definition). Validating service definition. Determining service's input folder name. Attempt to find service's input folder. Creating the service. ERROR 001487: Failed to update the published service with the server-side data location. Please see the server's log for more details. ERROR 001369: Failed to create the service. Failed to execute (Publish Service Definition). Failed at Wed Jul 27 12:59:14 2016 (Elapsed Time: 0.92 seconds) Failed. ERROR: the server's publishing job didn't succeed. Failed to execute (UploadServiceDefinition). Failed at Wed Jul 27 12:59:13 2016 (Elapsed Time: 3.01 seconds)   I cannot access the server folders past  Directory /opt/ags/arcgis/server/usr: permission denied. I cannot access the logs. Has anyone else run into this?


EDITED TO POSE DIFFERENT QUESTIONS THAN DUPLICATE:   poses the question:     Can standardized coefficients become greater than |1|? If yes, what   does that mean and should they be excluded from the model? If yes,   why?   The accepted answer can be summarized as:     Standardized coefficients can be greater than 1.00... They are a sign   that you have some pretty serious collinearity.   The second answer there nitpicks on the meaning of standardization, and states that:     (when you fit a) regression (with only a single predictor) then it is   mathematically impossible to see a coefficient outside of the -1 to 1   range since the slope will be the same as the correlation)   The two answers do not agree upon what to do with such coefficients, the first says:      Whether they should be excluded depends on why they happened - but   probably not.   While the second:     some sources suggest dropping those variables.   To summarize both answers: Yes, it can happen - only with collinearity, never in simple regression.    Given the above, my questions are:  (1) Is multicollinearity the only situation in which the standardized coefficient will be greater than +- 1?  (2) Why can't a standardized coefficient in simple regression exede +-1? I mean, what is the logical explenation here? From my own (very non-mathematically oriented) point of view, why can't 1 standard deviation in one variable contribute more that one standard deviation to a second variable?  Suppose we are predicting wages (y) by school years (x), and wages has a points at +6 s.d (people who make a lot of money), yet school years has only 3 s.d of data. Than why cant the standardized coefficient for school years be greater than 1?

Being aware of , I am curious about the question how big standardized coefficients can get. I had a discussion with my professor about that issue and she was arguing standardized coefficients (beta) in multiple linear regressions can not become greater than |1|. I have also heard that predictors with standardized coefficients greater than 1 should not be be included/appear in multiple linear regression. When I recently estimated a multiple linear regression in R using lm(), I estimated the standardized coefficients with lm.beta() function from the package 'lm.beta'. In the results I could observe a standardized coefficient greater than one. Right now I am just not sure about what is the truth.  Can standardized coefficients become greater than |1|? If yes, what does that mean and should they be excluded from the model? If yes, why?  I would be very thankful, if somebody could make this issue clear for me.


One thing I like about FAE is that attacks and defenses have to go beyond "I attack them with Fight."/"I defend with Fight." to justify using an approach or the other. Merely providing an adverb adds to the story.  The problem with Fate Core's Fight and Shoot, I feel, is the same as D&D's. No declarations beyond the "push button to attack" are necessary, and it feels dry unless there's incentive on the players to go further, and since my players are new (and a D&D session failed partially because of the lack of descriptive incentive) I need help with boring, brief declarations like the ones in the title in Fate Core.

I have a party of new players, who are enjoying a sporadic session of Fate Accelerated. I'm learning a significant amount from the experience, and I hope they are too. In addition to some problems I'm trying to correct in my GM techniques, I've also identified a systemic problem in many of the players' approach to roleplaying: they are not always descriptive enough of what they're doing to accurately paint a picture for both me and the other players. I don't mean to dismiss my GMing problems as theirs, but I feel I can help them grow as players by helping them describe their actions more thoroughly. I understand that part of this is simply experience with what works and what doesn't, but as the facilitator of gameplay I feel it is both within my power and is my responsibility to encourage good roleplaying. Except there's one little problem: I have no clue how to go about this.  As an example of what I'm seeing, I'll take a few lines from a recent session:  I run away and hide. I steal the wrench from him.  These result in miscommunication issues. Someone says "I tie him down," but since they think 'he' is someone else, metagame confusion results. What I am really looking for is something like:  I run back out of the alley and hide behind the nearby pillars. I wait until the worker has his back turned, then I slip behind him and remove his wrench from his belt.  The benefits are obvious: everyone knows exactly what's going on.  If I I just keep asking players to be more descriptive, I'm going to sound like a broken record. How do I encourage descriptive speech in-game? Are there any training campaigns or scenarios that I could, perhaps, run to get them in this mindset? And if it's merely a function of experience, what in-game opportunities should I provide to allow and encourage descriptive actions?


I have a HTTP server that serves images generated from a database. It has some level of caching built in, etc. It generates map tile images for javascript based web maps (a la Google Maps etc.) We're thinking of switching to the underlying technology, but the same results will be coming out. However we'd like to load test it first, to ensure that the new tech is able to perform about as well as the old tech.  We have lots of apache access logs from our production servers, in standard/default apache log format. I'd like to use these URLs (& timestamps) as a stress test for the new server, by replaying the same URLs, in order, with the same delay between requests. I want to make a request to the same URL, but I alway want them to be (as close as possible) to the same order, and with similar delay between requests, to simulate real world user behaviour, rather than just fire all URLs at the same time.  Is any open source software running on linux, which will take an apache log file, parse out the URLs (I can do that already with my  python library), and then "replay" the HTTP requests against the server, with appropriate delay between requests.  The output I'd like to get is approximately average response rates from the server, to see if it can handle the real world load.  I have  on the server so I can check for load.

I looked at  but I couldn't see how to replay my own existing logs in any of those tools. I have a bug that only occurs under certain load operations which my existing JMeter and AB testing stuff can't reproduce.  I want to simply give the tool access_logs and have it play them back, either faster or at the same speed.


I have a file named Overview-2015.xlsx and no matter what I do, my computer keeps telling me the file is still in use.  Here's what I have tried:   COMPUTER RESTART - The only reason I could possibly think that this wouldn't fix the issue is something is opening and running the program upon startup. Although, I have been using this file for the past 3 months and now all of the sudden it does this. Process Explorer - I used this program, as suggested by other threads, to try and fish out a program that may be using this file... couldn't find a single thing running an open file with the name Overview-2015 let alone an excel file   Any idea why this may be happening or a way that I could delete this file?

I am on Windows 7.  I have some files on my computer leftover from an old version of Photoshop.  (I think... I don't remember exactly where they came from, but they seem to be Adobe files.)  There are 124 of them in a folder, which I have named "KILL."  (I don't remember what the original name of this folder is, it's been on my comptuer a long time.)  These files seem to be absolutely undeletable, as far as I can tell.  I can move them around and change the name of the folder, but deleting them is out of the question.  I also can't move them onto a different hard drive or flash drive, I've tried that.  So, let me list the things I've tried first:   A whole bunch of different "unlocking programs."  Including: IObit Unlocker, Lock Hunter, FileAssassin, and Project Kill box.  What I use LockHunter I am told: "No processes locking this file or folder have been found."  All of the other programs I've tried give me similar messages, telling me that nothing is locking the files.  Yet when I try to delete the files using LockHunter, I am simply told "Cannot delete x."  No reason is given. Tried using cmd.exe.  Even when I run a command window under administrator, it won't even let me access the KILL folder, much less delete anything.  I also tried killing explorer.exe from the task manager, and then using the cmd window.  Still can't even access that folder. Tried using safe mode in combination with these other options, doesn't change a thing. Tried changing permissions of the files using the security tab under properties.  It simply says "not inherited."  It will not allow me to change a thing. I am definitely the administrator of this computer. Tried Disk Cleanup and Defrag.  I suspected that some files must be damaged or something, but Disk Cleanup wasn't able to find any errors.  Defrag didn't help.   So, let me just say that I am not a computer expert.  But based on all the things I've tried, I suspect that this might be some hardware problem?  It seems strange that these files don't seem to be used by any processes, and yet are absolutely undeletable no matter what I do.  Is there anything else I can try?  Has anyone had any similar experience, and have any idea why this might have happened?  EDIT: Interesting recent development.  As I have toyed with moving the folder around, I moved it to the Program Files folder.  Now that it's there, it suddenly CANNOT be moved nor renamed.  It is stuck there, apparently permanently, as a folder called "KILL."  How irritating.


how would I pass an unknown number of parameters into a function? I have a function defined in the following way  def func(x, *p): return ...   I'm trying to pass in a list of values to use as parameters. I tried using a list and a tuple but the function always returns zero. Has anyone got any advice? Thanks

In the following method definitions, what does the * and ** do for param2?  def foo(param1, *param2): def bar(param1, **param2):


I am in the process of going through all my SQL statements and updating them to have prepared statements.  This is working fine, however I realised that I wasn't preparing ALL my variables, just the ones in the WHERE statement.  So I had this PHP code:  $results = $this->PDOSelect("SELECT `hash` FROM {$db}.{$table} WHERE `hash`='{$hash}';",true);   Which works fine and returns the right result set, of course.  But then I wanted to update it and prepare the statement, as I have done others.  Then I realised that not only did I have to put :hash in the WHERE clause, but I have two other variables as well for the database.    So I tried the following (which doesnt look right to me):  $this->authPrepared = array("database" => $db, "table" => $table, "hash" => $hash); $results = $this->PDOSelect("SELECT `hash` FROM :database.:table WHERE `hash`=:hash;",true);   And it's not returning anything, as expected.  How can I prepare this statement? Can I only prepare variables that are in the WHERE clause?

Why can't I pass the table name to a prepared PDO statement?  $stmt = $dbh->prepare('SELECT * FROM :table WHERE 1'); if ($stmt->execute(array(':table' => 'users'))) {     var_dump($stmt->fetchAll()); }   Is there another safe way to insert a table name into a SQL query? With safe, I mean that I don't want to do  $sql = "SELECT * FROM $table WHERE 1"


I see this equation  $$ 1^r + 2^r +... + n^r = a_1 n^1 + a_2 n^2 +... + a_{r+1} n^{r+1} $$ in Introduction to Linear Algebra, where $a_k$s are some constants.     How can I prove it?

As far as every question I've seen concerning "what is $\sum_{k=1}^nk^p$" is always answered with "Faulhaber's formula" and that is just about the only answer.  In an attempt to make more interesting answers, I ask that this question concern the problem of "Methods to compute $\sum_{k=1}^nk^p$ without Faulhaber's formula for fixed $p\in\mathbb N$".  I've even checked this  without finding what I want.  Rule #1: Any method to compute the sum in question for arbitrary $p$ is good, either recursively or in some manner that is not in itself a closed form solution.  Even algorithms will suffice.  Rule #2: I don't want answers confined to "only some values of $p$".  (A good challenge I have on the side is a generalized geometric proof, as that I have not yet seen)  Exception: If your answer does not generalize to arbitrary $p$, but it still generalizes to an infinite amount of special $p$'s, that is acceptable.  Preferably, the method is to be easily applied, unique, and interesting.  To start us off, I have given my answer below and I hope you all enjoy.


I am using a the Tufte-\LaTeX class and compiling it in TextMate, which has a nifty LaTeX bundle and latexmk interface. The document is getting long, and I get heaps of these:  LaTeX Warning: Marginpar on page 31 moved.   This is mostly due to how the footnotes are handled by the class, and thus rarely of interest to me. From time to time, I also get this from my fonts:  LaTeX Font Warning: Font shape `OT1/zi4/m/it' undefined   As it happens, these issues are (really) trivial to me, but I do care about the other issues that get lost in the huge list of warnings.  Is there a way to suppress either all or a selection of warnings from my log? I could not find much on that topic by searching here or elsewhere.  (For the moment, it seems that my only option is to reprogram the TextMate bundle to display warnings, e.g., in minuscule text.)

Here is a minimal example that showcases my problem:  \documentclass{article}  \usepackage{amsthm} \usepackage{hyperref} \usepackage{cleveref}  \newtheorem{thm}{Theorem} \newtheorem{lem}[thm]{Lemma}  \begin{document}  \begin{lem} Lemma \end{lem}  \end{document}   The warning I get is the following:  [1pdfTeX warning (ext4): destination with the same identifier (name{thm.1}) has been already used, duplicate ignored  \AtBegShi@Output ...ipout \box \AtBeginShipoutBox                                                    \fi \fi  l.16 \end{document}                    {<install dir>/MiKTeX/2.9/pdftex/config/pdftex.map}]   I know that it is just a warning and that, my document will still work perfectly fine with regards to cross-referencing and hyperlinking, but I would still like to know why I am getting this warning and if anything can be done to fix it without removing functionality of the included packages.   Bonus question: Whats going on behind the scenes when this warning (or any generic 'destination with the same identifier (name{XXX.YYY}) has been already used, duplicate ignored') is produced, as this is not limited to theorem environments.  From log file:  Package: amsthm 2004/08/06 v2.20 Package: hyperref 2011/04/17 v6.82g Hypertext links for LaTeX Package: cleveref.sty 2011/03/22 v0.17.9 Intelligent cross-referencing Package cleveref Info: `hyperref' support loaded on input line 2157. Package cleveref Info: `amsthm' support loaded on input line 2300.


I need to find out how much video/graphics memory is in my Acer Aspire 3680-2419 laptop so I can try to install a game using Play On Linux. I know it has a Intel Graphics Media Accelerator 950 that's most likely integrated onto the motherboard but I'm not sure. But since I'm fairly new to Ubuntu and Linux in general I'm not sure how to find that info.

In my Windows 8, video card shows 640 MB of available memory (Screen Resolution > Advanced Settings or with dxdiag). But ubuntu (with lspci command) shows 256 MB. so who's right?


I'm on Debian 8 and not sure what I have done as whenever I try and send an email using Roundcube it says there was an error sending the message, so I checked the logs and found:  postfix/sendmail[22146]: fatal: open /etc/postfix/main.cf: Permission denied   Everything was working a couple of days ago and I have not changed anything since, not even installed updates.  So I tried:  sudo chown root:root /etc/postfix/main.cf sudo chmod 0644 /etc/postfix/main.cf   Still no luck after restarting both Postfix and Dovecot :(  When using ls to view permissions:  -rw-r--r-- 1 root root 2363 Jun  3 23:32 /etc/postfix/main.cf   What do I do?  UPDATE:  Here are my permissions for /etc/postfix  drwxr-x---   3 root root  4096 May 30 19:44 . drwxr-xr-x 101 root root  4096 Jun  4 00:58 .. -rw-r-----   1 root root   329 May 30 18:08 dynamicmaps.cf -rw-r--r--   1 root root  2367 Jun  4 00:40 main.cf -rw-r-----   1 root root  6046 Jun  1 13:39 master.cf -rw-r-----   1 root root   149 May 30 19:43 mysql-virtual-alias-maps.cf -rw-r-----   1 root root   143 May 30 19:44 mysql-virtual-email2email.cf -rw-r-----   1 root root   139 May 30 19:45 mysql-virtual-mailbox-domains.cf -rw-r-----   1 root root   139 May 30 19:52 mysql-virtual-mailbox-maps.cf -rwxr-x---   1 root root 28047 Apr 29 17:01 post-install -rw-r-----   1 root root 20281 Apr 29 17:01 postfix-files -rwxr-x---   1 root root  8861 Apr 29 17:01 postfix-script drwxr-x---   2 root root  4096 Apr 29 17:01 sasl   I found  and tried everything there and nothing worked for my setup.  Also by running sudo service postfix status is shows that postfix is loaded from /etc/init.d/postfix but there is no directory located there? Is this normal and should it not be loaded from /etc/postfix ?

I am trying to set up a postfix server for smtp relay. Centos 5.5  I have followed  but am getting a FAILED error when trying to restart or reload postfix.  When I do:  cat maillog   I get:  fatal: open /etc/postfix/main.cf: Permission denied   Here is what I have tried:  chown postfix /etc/postfix/main.cf chmod u+rwx /etc/postfix/main.cf   After that, I do:  ls -l /etc/postfix/main.cf   Which gives me:  -rwx------. 1 postfix anotheruser 27531 Apf 29 12:19 /etc/postfix/main.cf   No dice. Same error. I even tried temporarily doing chmod 777 but got same error.  Any ideas on the permissions problem? I am assuming it is running the service as the postfix user.  Thanks


In a math display, I want to have the tag of an equation at the beginning of the equation. Something, like:  (Tag) ax=b.   It is not sufficient to just use a text{} or a mbox{} environment, since I want to quote this equation afterward.

Equations and amsmath environments put equation numbers to the right side by default, the output of  \begin{multline}   some equation \end{multline}   is:  equation (number)   How can I change it this way:  (number) equation


How can I get contents of parenthesis in Racket? Contents may have more parenthesis. I tried:  (regexp-match #rx"((.*))" "(check)")   But the output has "(check)" three times rather than one:  '("(check)" "(check)" "(check)")   And I want only "check" and not "(check)".  Edit: for nested parenthesis, the inner block should be returned. Hence (a (1 2) c) should return "a (1 2) c".

I have this gigantic ugly string: J0000000: Transaction A0001401 started on 8/22/2008 9:49:29 AM J0000010: Project name: E:\foo.pf J0000011: Job name: MBiek Direct Mail Test J0000020: Document 1 - Completed successfully  I'm trying to extract pieces from it using regex. In this case, I want to grab everything after Project Name up to the part where it says J0000011: (the 11 is going to be a different number every time). Here's the regex I've been playing with: Project name:\s+(.*)\s+J[0-9]{7}:  The problem is that it doesn't stop until it hits the J0000020: at the end. How do I make the regex stop at the first occurrence of J[0-9]{7}?


I cannot seem to understand the proof of why the interval $\left ( 0,1 \right )$ is not countable.   The proof that is written in my book using the method of Reductio ad absurdum.  It starts with the following statement:  We know that every real number can be written as a decimal.  Let $x_{1} = 0,x_{11}x_{12}x_{13}...$  $x_{2} = 0,x_{21}x_{22}x_{23}...$  $x_{3} = 0,x_{31}x_{32}x_{33}...$  Then by using the diagonial argument it constructs a $y = 0,y_{i}...$ but cannot understand the process that follows.

I'm having trouble understanding Cantor's diagonal argument.  Specifically, I do not understand how it proves that something is "uncountable".  My understanding of the argument is that it takes the following form (modified slightly from the  article, assuming base 2, where the numbers must be from the set $ \lbrace 0,1 \rbrace $):  \begin{align} s_1 &= (\mathbf{0},1,0,\dots)\\ s_2 &= (1,\mathbf{1},0,\dots)\\ s_3 &= (0,0,\mathbf{1},\dots)\\ \vdots &= (s_n \text{ continues}) \end{align}  In this case, the diagonal number is the bold diagonal numbers $(0, 1, 1)$, which when "flipped" is $(1,0,0)$, neither of which is $s_1$, $s_2$, or $s_3$.  My question, or misunderstanding, is: When there exists the possibility that more $s_n$ exist, as is the case in the example above, how does this "prove" anything?  For example:  \begin{align} s_0 &= (1,0,0,\mathbf{0},\dots)\ \ \textrm{ (...the wikipedia flipped diagonal)}\\ s_1 &= (\mathbf{0},1,0,\dots)\\ s_2 &= (1,\mathbf{1},0,\dots)\\ s_3 &= (0,0,\mathbf{1},\dots)\\ s_4 &= (0,1,1,\mathbf{1},\dots)\\ s_4 &= (1,0,0,\mathbf{1},\dots)\ \ \textrm{ (...alternate, flipped } s_4\textrm{)}\\ s_5 &= (1,0,0,0,\dots)\\ s_6 &= (1,0,0,1,\dots)\\ \vdots &= (s_n \text{ continues}) \end{align}  In other words, as long as there is a $\dots \text{ continues}$ at the end, the very next number could be the "impossible diagonal number", with the caveat that it's not strictly identical to the "impossible diagonal number" as the wikipedia article defines it:     For each $m$ and $n$ let $s_{n,m}$ be the $m^{th}$ element of the $n^{th}$ sequence on the list; so for each $n$,      $$s_n = (s_{n,1}, s_{n,2}, s_{n,3}, s_{n,4}, \dots).$$      ...snip...      Otherwise, it would be possible by the above process to construct a sequence $s_0$ which would both be in $T$ (because it is a sequence of 0s and 1s which is by the definition of $T$ in $T$) and at the same time not in $T$ (because we can deliberately construct it not to be in the list). $T$, containing all such sequences, must contain $s_0$, which is just such a sequence. But since $s_0$ does not appear anywhere on the list, $T$ cannot contain $s_0$.      Therefore $T$ cannot be placed in one-to-one correspondence with the natural numbers. In other words, it is uncountable.   I'm not sure this definition is correct, because if we assume that $m = (1, \dots)$, then this definition says that "$s_n$ is equal to itself"&mdadsh;there is no "diagonalization" in this particular description of the argument, nor does it incorporate the "flipping" part of the argument, never mind the fact that we have very clearly constructed just such an impossible $T$ list above.  An attempt to correct the "diagonalization" and "flipping" problem:  $$s_n = (\lnot s_{m,m}, \lnot s_{m,m}, \dots) \quad \text{where $m$ is the element index and} \quad\begin{equation}\lnot s_{m,m} = \begin{cases}0 & \mathrm{if\ } s_{m,m} = 1\\1 & \mathrm{if\ } s_{m,m} = 0\end{cases}\end{equation}$$  This definition doesn't quite work either, as we immediately run in to problems with just $s_1 = (0),$ which is impossible because by definition $s_1$ must be $ = (1)$ if $s_1 = (0)$, which would also be impossible because...   Or more generally, with the revised definition there is a contradiction whenever $n = m$, which would seem to invalidate the revised formulation of the argument / proof.  Nothing about this argument / proof makes any sense to me, nor why it only applies to real numbers and makes them "uncountable". As near as I can tell it would seem to apply equal well to natural numbers, which are "countable".  What am I missing?


for example in a story i'm writing, there is a character named Revenge who's main goal is to get revenge. Is there a single word for that?

There are (in real life) many amazing examples of this (Bill Gates, "gates" being the fundament of computers, Tiger "Woods", the greatest ever user of "woods" golf-clubs, etc) and it is a staple of fiction.  Is there a single-word for this, or a frequently-used term?  Note that in fictional usage, I observe there is literal "X", so, for example I just saw a children's movie where "Madame Work" was a taskmaster. However, authors often employ near-literal "X": for example, most of the minor character surnames in Harry Potter are 'kind of" "X".  So, is there an "X" for Bill "Gates", Tiger "Woods", an undertaken named Mr. Death, etc?  Sorry if this has been asked already, I couldn't find it.    Note - I've just found there's a "wikipedia" page claiming 'aptonym' or 'euonym' is sometimes used.  Wikipedia is often valueless, so I do not know if this is a meaningful claim.


Ive never put an OS on anything before. My brother in law wiped my entire OS off laptop, when he was certain he was just doing a factory reset! It HAD windows 10. Now, it has a black screen and a blinking cursor... please help

I would like to see a full how-to guide on how to install Ubuntu.


I was going through this . but I can't find a way to enable USB tethering through adb. Is there any other way I can do it?

I would like to activate "USB tethering" from within a bash script, so is there any possibility to run a command line with adb shell to change some Android settings ? Edit1: The following command open the needed settings but don't change anything alone : am start -n com.android.settings/.TetherSettings  I've found TetherSettings action name from aapt dump xmltree com.android.settings.apk AndroidManifest.xml | less +/ether  Related, but the opposite


As I understand, object references x in x = { greet: hi } stores a reference to object { greet:hi} unlike primitive types that hold actual values ( y=10)  In the following code, console.log(y) outputs {greet: "hi"}.  Why does y object reference is not updated to point to {greet: 'hello'} when x obj ref is updated to point to x = {greet: 'hello'}     var x = {greet: 'hi'}; var y = x; x = {greet: 'hello'};  console.log(y); console.log(x)

The primitive types (number, string, etc.) are passed by value, but objects are unknown, because they can be both passed-by-value (in case we consider that a variable holding an object is in fact a reference to the object) and passed-by-reference (when we consider that the variable to the object holds the object itself).  Although it doesn't really matter at the end, I want to know what is the correct way to present the arguments passing conventions. Is there an excerpt from JavaScript specification, which defines what should be the semantics regarding this?


I am currently stuck on an exercise in set-theory and would like to get some help: If $S$ is a stationary subset of a regular uncountable cardinal $κ$, and a subset $C$ of $κ$ is an S-cub if it is unbounded in $κ$ and $\sup(x) ∈ C$ holds for every $x ⊆ C$ with $\sup(x) ∈ S$, then how can we prove that for every sequence $(C_α | α < λ)$ of S-cubs with λ < κ,  $\bigcap_{α<λ} C_α$ is an S-cub?  Thanks in advance.

I'm trying to show that club filter of $\kappa$ is $\kappa$-complete for uncountable regular cardinal $\kappa$:  Let $\kappa$ be uncountable regular cardinal, let $C(\kappa)$ be the club filter generated by $\kappa$.  To show that $C(\kappa)$ is $\kappa$-complete it is enough to show that for every sequence $\langle \alpha_i\mid i<\gamma\rangle$ with $\gamma<\kappa$ and $\alpha_i$ club of $\kappa$ the set $\alpha=\bigcap_{i<\gamma}\alpha_i$ is a club of $\kappa$.  Showing that $\alpha$ is close is easy:     If $\beta_n$ is a sequence in $\alpha$ then for every $i$ we that $\beta_n$ is a sequence in $\alpha_i$, because $\alpha_i$ is a club it is close hence $\lim \beta_n$ is in $\alpha_i$ for every $i$ so it is also in $\alpha$   But I have a problem with unboundedness, my guess will be for each $\lambda<\kappa$ to find a sequence for each $\alpha_i$ such that all of the sequences converge to some $\mu>\lambda$, that way $\beta<\mu\in\alpha$. I think I'll have to use the fact $\kappa$ is regular, but I don't know how to proceed and prove my idea.  So, is my idea correct, and if yes how can I proceed?


I'm currently exploring and experimenting with my linux just for fun and educational purposes.  I have deleted the content of the /etc/bash.bashrc and /etc/profile and I don't have any configuration in the home directory for both root and local users, I also perform a reboot.  However when i run printenv PATH the values of the path was still there which is:   $PATH=usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games   what might be defining the $PATH?  EDIT:   I forgot to mention that I'm using Kali linux.  I've found one of the culprit is in the /etc/profile.d/kali.sh as mentioned by a guy named flyingdrifter in the comment section of this thread ->  (although his distribution is LinuxMint).   Now the $PATH variable has been reduced to   $PATH=/usr/local/bin:/usr/bin:/bin:/usr/games   which means that there are probably one last file that setting the PATH variable.

I've read in a couple of places that the PATH is set in /etc/profile or the .profile file that's in the home dir.  Are these the only places that the path is set in? I want a better understanding of it.  In the /etc/profile file, as the following comment says "system-wide .profile file for the Bourne shell". Does that mean that profile files are the main configuration files for bash?  In that file I don't see the PATH var being set at all. In the .profile file in the home directory there's this line:  PATH="$HOME/bin:$PATH"   That's resetting PATH by the looks because it's concatenating the already set $PATH string with $HOME/bin: right? But if etc/profile and ~/.profile are the only files setting PATH where is $PATH coming from in that line of code if it's not defined in /etc/profile?  Can someone experienced please give a broad and detailed explanation of the PATH variable? Thanks!


I learned that the firewall settings for 12.04 were by default disabled so I went to the software center and downloaded and enabled the GUFW firewall gui config. I thought having a firewall would be a good thing but it turns out that it isn't needed. I went back to the app and it was disabled automatically (for some reason). I removed it anyway.  I guess my question is, do you really need a firewall for desktops? Another question would be, did I do anything wrong by removing the app in the software center?

I don't have a  router, but I mostly use my desktop for online shopping and torrenting. So, do I have to enable the firewall? I hope not, because I'm really dumb and I don't think I will be able to configure the firewall.


I'm trying to utilize a selector on .mouseenter that was just added to an element with a click function in the same script. But it doesn't recognize the selector. The selector has to be there initially in the HTML for it to work.     HTML

Resources

      jQuery   $('.detail').click( function() {  $('.nav-item').addClass('open').removeClass('closed'); }); $('.nav-item.open').mouseenter(  function(){   $('.nav-item').removeClass('open').addClass('closed'); });   The mouseenter only seems to work if I set the .open class to the .nav-item in the initial HTML. But not after it gets added by the jQuery.  Actually I'm trying to close the open one when I rollover the closed ones, but I reversed it for simplification for this question. Basically it comes down to recognizing the selector I just added, and it still utilizes the selector that was just replaced. If I change the selector for mouseenter to the .closed, then it closes itself even though that .closed class was just replaced.  Hope this make sense. Thanks for any help or guidance you can provide.  Here is a

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


How to prove that any vector bundle on a Euclidean space is a trivial bundle? It is enough to prove it for the case of dimension $1$ and I hope it will be a nice exercise for me to generalize to the higher dimensional case.  What is the underlying topological reason that all bundles are trivial? Certainly simply connectedness will not do, as a counterexample is given by the Hairy ball theorem(of which I know only the statement; not the proof). Is it enough that the space is contractible?

What's the easiest way to see this? The only thing I could think of was to try to patch together trivializations. I couldn't find a way to make that work. Thank you! edit: For the record, here's why I asked about this special case of the more general result about fiber bundles over contractible spaces. In the much beloved book by Bott and Tu, it's claimed that the Leray Hirsch theorem can be proven in the same way the Kunneth theorem is proven:  induct on the size of a finite good cover for the base space, then apply the Mayer Vietoris sequence and the Poincare lemma for the induction step. It's assumed that there exists a finite good cover for the base space, but it's not assumed that this cover is a refinement of the cover of the base space, which gives the local trivializations of the fiber bundle. Therefore, to apply the Poincare lemma in the induction step, it seems that you need to know that the result I asked about is true. Since fiber bundles had just been introduced in the text, I thought there may be a short, elementary proof that the authors had taken for granted.


Have 12.04 LTS on laptop with win7 as a dual boot install. Want to upgrade it to latest LTS version 14.04.  So what is the best process, upgrade or do a clean install? Upgrade will be long path but should not affect current app;ications, thunderbird libre office  clean install will require thunderbird to be configured for all mail boxes. if clean instal how does one handle the partitions? will 1404 install recognise existing 12.04/win7 partitions or will I have to re-image win7 onto laptop as well?

Is it better to install Ubuntu completely new or is the upgrade process just as good? In other words, will my computer run just as problem-free and efficiently when I upgrade as opposed to a fresh install?


My PHP form is designed to insert data to a MySQL database. It's working great, except when there is an apostrophe in my input. Then, I get this error:   You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fdfdf','fdfdf')' at line 2  This is my first project using PHP. Can someone please provide sample code for how to escape the apostrophe?   <html> <body> <form action="http://thefaithperspective.com/verses">     <input type="submit" value="Add Another" /> </form> </body> </html>   <?php $servername = "..."; $username = "..."; $password = "..."; $dbname = "...";  $verse= $_POST['verse']; $book= $_POST['book']; $reference = $_POST['reference'];   // Create connection $conn = new mysqli($servername, $username, $password, $dbname); // Check connection if ($conn->connect_error) {     die("Connection failed: " . $conn->connect_error); }  $sql = "INSERT INTO myverses (versetext, book, reference) VALUES ('$verse','$book','$reference')"; if ($conn->query($sql) === TRUE) {     echo "New record created successfully"; } else {     echo "Error: " . $sql . "<br>" . $conn->error; }  $conn->close(); ?>

If user input is inserted without modification into an SQL query, then the application becomes vulnerable to , like in the following example:  $unsafe_variable = $_POST['user_input'];   mysql_query("INSERT INTO `table` (`column`) VALUES ('$unsafe_variable')");   That's because the user can input something like value'); DROP TABLE table;--, and the query becomes:  INSERT INTO `table` (`column`) VALUES('value'); DROP TABLE table;--')   What can be done to prevent this from happening?


I am not testing for a player.Ive already tried looking online for hours and tried several different versions of the teleport command. i looked up target by volume under commands but it seems i cant use it to teleport a specific player, only @a and @e, and so on...  im specifically looking for a command that will teleport a player away to different coordinates once they step within a certain range of other coordinates.

If I do:  /testfor @p[x=,y=,z=,r=]   It says:     The entity UUID is in an invalid format.


Sorry my bad English ı append new data using ajax like this  Comment..   and javascript is   $(function(){     $(".commentbuton").click(function() { ...   but its not working on new appended data please help thanks.


Consider a user can have multiple addresses. There is a users table, an addresses table, and a user_addresses table that links addresses and users with a many to many relationship. Users can define what their default address is. Is it best to have the users table have a default_shipping_id column linking to the appropriate entry on user_addresses, or should the user_addresses table have a is_default column? Users table     ID name default_user_address_id     -------- -------------- --------------     v.s. User_addresses table     ID user_id address_id is_default     -------- -------------- -------------- --------------     What's the better approach here?

I want to have a one-to-many relationship in which for each parent, one or zero of the children is marked as a “favorite.” However, not every parent will have a child. (Think of the parents as questions on this site, children as answers, and favorite as the accepted answer.) For example,  TableA     Id            INT PRIMARY KEY  TableB     Id            INT PRIMARY KEY     Parent        INT NOT NULL FOREIGN KEY REFERENCES TableA.Id   The way I see it, I can either add the following column to TableA:      FavoriteChild INT NULL FOREIGN KEY REFERENCES TableB.Id   or the following column to TableB:      IsFavorite    BIT NOT NULL   The problem with the first approach is that it introduces a nullable foreign key, which, I understand, is not in normalized form. The problem with the second approach is that more work needs to be done to ensure that at most one child is the favorite.  What sort of criteria should I use to determine which approach to use? Or, are there other approaches I am not considering?  I am using SQL Server 2012.


I am a high school student and I am a little confused in how ATP gives us energy by breaking bonds? I used to think that ATP is quite stable molecule that's why it is present in free form inside cells, so instead of giving energy , energy should be required in order to break its bonds ,isn't it?

When ATP is used as the energy currency to make, say, reaction X + Y → Z happen, is what happens on a physical level down at the molecular scale that during the reaction    ATP + H2O → ADP + Pi       ΔG˚ = −30.5 kJ/mol (−7.3 kcal/mol)    that 30.5 kJ/ mol is conferred by ATP molecules physically bumping around the reactants X and Y, the kinetic energy of the above reaction being what does it?  I mean, is the energy coin of ATP conferred to reactions by molecular collisions, or is it an electric field effect in the spatial geometry the way the ATP molecule tends to break apart?


If $A,B$ are invertible, show that $AB$ is invertible and express $(AB)^{-1}$ in terms of $A^{-1},B^{-1} $.   $($$A,B$ are matrices.$)$    I did the following: Suppose $AB$ is invertible.  $$AB(AB)^{-1}=I$$  $$A^{-1}AB(AB)^{-1}=A^{-1}I$$  $$B(AB)^{-1}=A^{-1}$$  $$B^{-1}B(AB)^{-1}=B^{-1}A^{-1}$$  $$(AB)^{-1}=B^{-1}A^{-1}$$  I found what $(AB)^{-1}$ might be, now I need to show that $B^{-1}A^{-1}$ is really the inverse:  $$ABB^{-1}A^{-1}=A[BB^{-1}]A^{-1}=[AA^{-1}]=I$$  $$B^{-1}A^{-1}AB=B^{-1}[A^{-1}A]B=[B^{-1}B]=I$$   Is it correct? Do I need these two steps? I feel that the first step shows me what the inverse would be if it exists and the second actually shows that it is the inverse.   EDIT: This question is completely different of . In the aforementioned question, the person didnt know how to do it. I asked if mine is correct and asked if the first part would be required. It is sad that MSE users don't read the questions completely anymore.

I have shown that if two $n\times n$ matrices $A$ and $B$ are invertible, then $AB$ is also invertible. I am having problems though with showing that $(AB)^{-1}=B^{-1} A^{-1}$. I thought of using their left-multiplication transformations but it seems that this is only associative and not commutative so I can reverse $L_A L_B$


my homework exercise gave skeleton of attendaces and my job was to name weeks so it maches values in arrays and get avarage attendance for each week and get output  and the code is:  public class AttendanceTest {      public static void main(String[] args) {         final Integer CLASS_SIZE = 15;         Integer[] attendances = {10, 14, 12, 9, 11, 15, 12, 13, 8, 14};         final Integer ACADEMIC_WEEKS = 10;         final String[] weeks = {"1", "2", "3", "4", "5", "6", "7", "8", "9", "10"};         Double totalAvg;          for (Integer week = 0; week < ACADEMIC_WEEKS; week++) {             totalAvg = (double)(attendances[week]*100)/CLASS_SIZE;             System.out.println(weeks[week] + "    " +totalAvg);         }     } }   and gives output of:   1    66.66666666666667 2    93.33333333333333 3    80.0 4    60.0 5    73.33333333333333 6    100.0 7    80.0 8    86.66666666666667 9    53.333333333333336 10    93.33333333333333    how can i round the output to 2 decimal point using String.format and/or .places?  so the output will be:   1   66.67 2   93.33 3   80.00 4   60.00 5   73.33 6  100.00 7   80.00 8   86.67 9   53.33 10  93.33

What I would like is a method to convert a double to a string which rounds using the half-up method - i.e. if the decimal to be rounded is 5, it always rounds up to the next number. This is the standard method of rounding most people expect in most situations.  I also would like only significant digits to be displayed - i.e. there should not be any trailing zeroes.  I know one method of doing this is to use the String.format method:  String.format("%.5g%n", 0.912385);   returns:  0.91239   which is great, however it always displays numbers with 5 decimal places even if they are not significant:   String.format("%.5g%n", 0.912300);   returns:  0.91230   Another method is to use the DecimalFormatter:  DecimalFormat df = new DecimalFormat("#.#####"); df.format(0.912385);   returns:  0.91238   However as you can see this uses half-even rounding. That is it will round down if the previous digit is even. What I'd like is this:  0.912385 -> 0.91239 0.912300 -> 0.9123   What is the best way to achieve this in Java?


I am working on online exam page if the user click on start exam button there are three process have to done    disable button click on back button in browser it will going to redirect to login page    In the section, I have completed 1. But how to achieve point 2? Does this require C#, JavaScript, jQuery or ASP.NET?  Could this work? Response.Redirect() or Server.Redirect()

Is there a way to respond to the back button being hit (or backspace being pressed) in javascript when only the location hash changes?  That is to say when the browser is not communicating with the server or reloading the page.


How can I make my spreadsheet look like in the picture below? Starting row 5, I want to color the entire row based on the status in Column L.

In my example I would like to conditionally format column B cells. Those marked with x should be formatted according to value in column A (in the example the value is 1):  A | B 1 | x 2 |  3 |  1 | x 1 | x 4 |  8 |  // x can be any value and is here merely to mark the cell that should be formatted   IMPORTANT 2014 NOTE: Conditional formatting based on formula that may include other cells is now possible in Google Sheets, and works very similarly to how Excel spreadsheets work.  explains its use.


I have this board and it is the first time I work with it. How can I connect 2 elements in it, and how to solder IC with all the circuit lines that connect all the elements.    EDIT

I hope this question won't be closed as too subjective. I'd like to know best practice - how to make traces on universal PCB's with individual holes without traces (like the following image). My idea is to bend the ends of discrete components and use them to make traces to other components. Is this approach acceptable, or nasty? Although this is called "prototype" PCB, I'd like to use it for my simple final circuits (low frequency, low current applications), because I hope it will save time.


I have an HP pendrive of 16GB. One day my little brother tried to make a bootable Hackintosh using that pendrive and we had a power cut when the write process was going on (my brother was using Mac OS X 10.6 (Snow Leopard) hackintosh).  After that happened, I tried to format it with  but it gave me the following error message below; Is there a way to fix this  pendrive?

When I plug in my USB flash drive, it shows up on my computer as write-protected or read-only. I am unable to transfer data to it, nor can I modify or delete any files already stored on it. I also cannot repartition or reformat the drive using Windows Disk Management, DiskPart, GParted, or other tools. The drive does not have a write-protect switch.  Why did this happen and what can I do about it? Is there a way to remove the write protection?  (Note that this can happen with some memory cards, too, as they often use controllers similar to those used in flash drives. In some cases, the system may report that the drive or card was formatted successfully even though it was never actually formatted; the original data reappears when the device is reinserted.)     This question comes up often and the answers are usually the same. This post is meant to provide a definitive, canonical answer for this problem. Feel free to edit the answer to add additional details.


In "" the bug that left review flags visible in the top-bar counter was supposedly fixed, but it's never actually been fixed for me. This is what I'm looking at today:    My review queues are all empty though. Six is abnormally high, normally it sits (every day, all day) at 3. This is on , where we get lots of flags but we have enough reviewers that the queues are usually dealt with super-quickly. The only time the flag count drops to zero-and-invisible is when I get to the queues first and clear them out myself. I don't know why it should make a difference whether it's me or someone else clearing them, but if I don't, it's that [ 3 ] shouting at me all day.  The review flag count has been useless for long enough that I just don't click it much. This is really counterproductive, especially for one of the top users of the site.  Why is the review count unrelated to the content of the review queues?  Update: This appears to be a symptom of using the skip button in a review queue. It seems like the number/flag doesn't clear when a review item is skipped, even though that dismisses the item and removes it from my queue.  If that's the case, skipping should either not remove it from the queue interface and the count/flag left working how it does now, or skipping should clear that item's count/flag and the queue left working how it does now.

Since a , I see more than I should:    I see no reason to see 134 posts are awaiting review, when there is literally nothing I can do about them. I think it is a bug, because notification is meant as something that will make me act. When I know I usually can't, obviously I will start to ignore it.  If it's not a bug, please remove bug tag and explain how it is supposed to be useful, or how can I switch to only seeing notifications about things I can act on.  Note that apaprently there are no flags for me, neither. I see only stats, migrated, close, delete, there, as if there was no flags waiting:    If you expect us to click on it every few minutes  just to see personalized numbers next to queues, why don't you simply query for personalized numbers every few minutes and cache them for us? It should cost you similar, in database usage, and will save us a lot of clicking and frustration.  If all this number means is "there might be reviews, or not" or "for sure there are none"  it would be simpler just to hide "review" link in the second case. We don't need two links with the same function next to each other, thank you, one is enough, and meaningless numbers are only irritating.


When I try:     Wood plank | stick | wood plank -------------------------------   wood plank | stick | wood plank     in the crafting bench, it doesn't work.

I'm on survival and so far I've had no problems but as soon as I try and craft a fence I get nothing.


Is there an easy way to find out how much RAM (in MB) does my program use after different operations (large matrix manipulation)? I am using Windows 10.

I once had the task of determining the following performance parameters from inside a running application:   Total virtual memory available Virtual memory currently used Virtual memory currently used by my process Total RAM available RAM currently used RAM currently used by my process % CPU currently used % CPU currently used by my process   The code had to run on Windows and Linux. Even though this seems to be a standard task, finding the necessary information in the manuals (WIN32 API, GNU docs) as well as on the Internet took me several days, because there's so much incomplete/incorrect/outdated information on this topic to be found out there.  In order to save others from going through the same trouble, I thought it would be a good idea to collect all the scattered information plus what I found by trial and error here in one place.


I am building a decent multiplayer iOS-Android card based game. While this game is played with regular old 52 cards deck, it does have unique rules and game play. That makes it little hard to market since no one is precisely looking to play  initially.  I have been researching quite a bit about game marketing and most recommendations are to build out fan following which is also quite hard and time consuming (taking away from building game).  I have some indie marketing budget (~5k) I set aside to help gain some traction. While I understand that this not my strengths, what are the best ways to invest it into the game?

I would really like to hear how other independents generally approach marketing their game with limited resources. I know how critical marketing is since I've seen it first hand on several fronts. I've been part of teams that didn't put an ounce of marketing into their project and didn't come close to meeting expectations. I've also poured a lot of time into visiting forums to discuss our previous title which resulted in minor bumps over time.  I really think  is doing some amazing grass roots marketing with the way they are managing their community around their Blog. They've massed a following that is willing to pay (far in advance) them for their game before they finish it to help support them. That's awesome.  But how many people are really willing to divulge such information that early? Should that be a concern? Should I start talking about my next project before I really have anything implemented?   What has worked for you? I would be particularly interested to hear how people approach Apple's iTunes store. I believe we're looking at around 33,000 games on the store these days.


I am having trouble constructing a stem and leaf plot in "R"  The data is: 1717, 1719, 1645, 3739, 3024 (This is only a subset of a larger sample but it is sufficient to show my problem)  The output I get is:  The decimal point is 3 digit(s) to the right of the |  1 | 677  2 |   2 |   3 | 0  3 | 7  This does not reconstruct my data as the numbers would be 1600, 1700... It seems my numbers have been rounded. I want to make the stem to be one digit as the thousands number and the leaves to be 3 digits to represent the hundreds, tens and ones. For ex) I want to 1717 to be 1|717  And I have tried scaling but that doesn't fix my problem, How do fix this issue?

How to make a stem and leaf plot with the following data in "R":  1717 1719 1645 3739 3024 3664 3830 2991 2430 2730 3469 5086 2119 3021 3292 2844 3426 2067 3215 2767 3124 2573 2840 2449 2584 1505 1390 1645 2497 3466 3228 3192  The only way to get a reasonable amount of stems is to make the stem the first digit in each number and the leaves will all be 3 digit numbers. I am not able to split the data in this way, R represents the stem with 1 digit but round my numbers  so 2584 is shown as 2| 5 (3 decimals to the right) which would be 2500. How do I adjust my stem and leaf numbers?


hi i have a second hand iphone 4 my partner brought off his sister for me christmas prezzy. this phone asks me for icloud password and i askedmy in law for it this morning this phone says its incorrect but my sisternlaw said its the only password she uses for everything so i dont know what to do. i cant get apps or anything really without this password either so i really need help. im also useless with tech like this lol so i need like more help than most lol just wanted to ask how i can change my icloud password or keychain

I bought a used iPhone 4.  The previous owner re-set the phone, but did not remove the device from their iCloud.  It is asking me for their iCloud information when I try to set-up the phone.  I don't have contact with the previous owner anymore.  Is there a way to remove the device from their iCloud so I can use a new one?


I have already (past participle) I already (simple past)  I feel like when I'm reading literature or any serious writing, the present perfect is always used with "already". I would guess that this use is preferred, and I always make the effort to use it over the alternative. However, I often hear the simple past used with "already" in conversation, as in "I already saw the movie." What is the status of this usage? Is it "acceptable", colloquial-only, really bad? It sounds really grating to my ears, but I'd like to make sure.

Compare:  'We already/just gave him a response'. 'We have already/just given him a response'.  Do 'already' and 'just' strictly require the present perfect?


In the opening, I understood the lyrics, as it has been translated and as I also take Latin. But the art and depictions I did not understand. What are significance of them and what do they mean?

The anime Elfen Lied is notorious for its one of a kind OP, featuring the mesmerizing theme song Lilium composed by MOKA and performed by Kumiko Noma, as well as sequences of art porn, a homage to Austrian symbolist painter Gustav Klimt. The idea to pose the characters as in Klimt's artworks came, as far as I know, from director Mamoru Kanbe, who continued this idea in the OP of Sora no Woto. (In my humble opinion, the OP of Sora no Woto is rather bland, and seriously, Klimt with Kalafina?)  This is a self-answered question and a modest attempt at unraveling the sources of and the symbolism represented in Elfen Lied's OP scenes. Other answers and/or suggestions are welcome.


Someone told me that "time" is us seeing 3D slices of 4D spacetime, and that an object in spacetime is a 4D object which is tenseless and contains the past present and future of that object. I don't know much about physics, so is this a good explanation?

This is an attempt to gather together the various questions about time that have been asked on this site and provide a single set of hopefully authoritative answers. Specifically we attempt to address issues such as:   What do physicists mean by time? How does time flow? Why is there an arrow of time?


Need to find a faster alternative to python's dict(zip(list1,list2))  I'm using dict(zip(list1,list2)) in a script for random forest classification which creates a dictionary from two lists. This takes about 0.002 seconds per execution. However its too slow for bulk prediction(when it needs to be executed 80K+ times)  for inp in listOfInputs[:]:     pp = clf.predict_proba(inp)[0]  # clf is the classifier     probaDict = dict(zip(clf.classes_,pp))   This loop takes 0.6 seconds if len(listOfInputs)=290 which is slow. I need an efficient alternative for use with large bulk inputs for which  len(listOfInputs)=80,000+

Imagine that you have the following list. keys = ['name', 'age', 'food'] values = ['Monty', 42, 'spam']  What is the simplest way to produce the following dictionary? a_dict = {'name': 'Monty', 'age': 42, 'food': 'spam'}


Say $L \subseteq \{a,b\}^*$ is a regular language with words whose length is divisible by 3. Each word $w \in L$ has the form $w=xyz$ with $|x|=|y|=|z|$, where $y$ is then called the middle third of $w$.  I want to show that the language  $$L^{'}=\{y \in \{a,b\}^*:y \text{ is the middle third of a word } w \in L\}$$  is regular.  I could think of a description of language $L$ with the regular expression $((a+b)(a+b)(a+b))^*$. Would this be correct?  Unfortunately, I have no idea how to start to show that $L^{'}$ is regular. Could you please give me some hints to get started? I'd like to know how to solve this problem using an automaton, e.g. a NFA.  Thank you very much in advance.

Let $L$ be a regular language. Show that $L'=\{x \mid\exists_{y,z} xyz\in L \text{ and }|x|=|y|=|z|\}$ is also regular.  Firstly I show my idea. When you accept it I will try to formalize it. Every automat can have exactly one accept state. So let automat for language $L$ has exactly one accept state.    And now we start in two place - in $q_0$  and $a_{accept}$.  From $a_{accept}$ we guess symbol. For one symbol we do two steps. From $q_0$ we go according to symbol - one step. State accepting is when two "starts" meet in one state.  What about idea ?


$$π1:( 1+k , -3 , 6 )$$  $$π2: ( 1 , 5+k , 3k)$$  Does anyone know the values of k that would make these parallel and perpendicular, ive been trying for hours but nothing seems to work  The original equation is   $$π1:(1+k)x−3y+6z−4=0$$  $$π2:x+(5+k)y+3kz+1=0$$

Given two planes  $\pi_1: (1+k)x-3y+6z-4=0$   $\pi_2: x+(5+k)y+3kz+1=0$  Find the value of $k$ such that $\pi_1$ is parallel to $\pi_2$ and when $\pi_1$ is perpendicular to $\pi_2$


The question I am working on is this one:     If $a$ and $b$ are coprime integers then prove that $\gcd{((a+b)^m, (a-b)^m)} \leq 2^m$.   Here is the progress that I have made:  $\gcd{(a, b)} \mid a-b$ and $\gcd{(a, b)} \mid a+b$.  Hence, $\gcd{(a, b)} \mid \gcd{((a+b), (a-b))} \implies \gcd{((a+b), (a-b))} \geq \gcd{(a, b)} = 1$.  Now, $\gcd{((a+b), (a-b))} \mid 2a$ and $\gcd{((a+b), (a-b))} \mid 2b$. From a similar line of reasoning as above, $\gcd{((a+b), (a-b))} \geq \gcd{(2a,2b)} = 2\cdot\gcd{(a,b)} = 2$.  Hence, I have proved $1 \leq \gcd{((a+b), (a-b))} \leq 2$.  Now, if I manage to prove that if $\gcd{(a,b)}=d$, then $\gcd{(a^n,b^n)}=d^n$, it would allow me to finish the above proof.  I tried to justify this by saying that if $a$ and $b$ have some prime factors in common, $a^n$ and $b^n$ have the same prime factors in common, but they will be exponentiated by $n$. However, I doubt I will be able to write this explanation in a exam or take the above for granted. I need help formalizing this.

If $a$ and $b$ are two coprime integers then prove that $\gcd((a+b)^m, (a-b)^m) \leq 2^m$  My attempt:  I took two cases first one in which a and b are both odd then very clearly the gcd will be 2^m but I'm stuck in the second case in which one of the integer is even and the other one is odd I am reaching no where I tried everything even binomial expansion but I'm stuck.


i'm having a problem with starting activity from inside java class , i want to active an activity from java class i tried this code but it doesn't work :   public class AlMA_PRO_Class{    public static void Start_Setting(){         ActionBarActivity mn = new MainActivity2(); // this is the setting activity         //i've tried it like this way ==>  mn.setContentView(R.layout.activity_main_activity2);         //but not working , so i've tried this code below         Bundle b = new Bundle();         b.putString("command","not used , just because it's needed");         startActivity(new Activity(), new Intent(new Activity(),MainActivity2.class), b);    } }   and it return with the following error :  java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Context.getPackageName()' on a null object reference   i've tested many many different ways to do it ,but nothing worked !! any help ?

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


I wounder to know what is the basic idea of field theory? Field theory wants to concern what aspects, and formulate what problems in nature?

There was a reason why I constantly failed physics at school and university, and that reason was, apart from the fact I was immensely lazy, that I mentally refused to "believe" more advanced stuff until I understand the fundamentals (which I, eventually, never did). As such, one of the most fundamental things in physics that I still don't understand (a year after dropping out from the university) is the concept of . No one cared to explain what a field actually is, they just used to throw in a bunch of formulas and everyone was content. The school textbook definition for a field (electromagnetic in this particular case, but they were similar), as I remember it, goes like:  An electromagnetic field is a special kind of substance by which charged moving particles or physical bodies with a magnetic moment interact.  A special kind of substance, are they for real? This sounds like the authors themselves didn't quite understand what a field is so they decided to throw in a bunch of buzzwords to make it sounds right. I'm fine with the second half but a special kind of substance really bugs me, so I'd like to focus on that. Is a field material? Apparently, it isn't. It doesn't consist of particles like my laptop or even the light. If it isn't material, is it real or is it just a concept that helps to explain our observations? While this is prone to speculations, I think we can agree that in scope of this discussion particles actually do exist and laws of physics don't (the latter are nothing but human ideas so I suspect Universe doesn't "know" a thing about them, at least if we're talking raw matter and don't take it on metalevel where human knowledge, being a part of the Universe, makes the Universe contain laws of physics). Any laws are only a product of human thinking while the stars are likely to exist without us homo sapiens messing around. Or am I wrong here too? I hope you already see why I hate physics. Is a field not material but still real? Can something "not touchable" by definition be considered part of our Universe by physicists? I used to imagine that a "snapshot" of our Universe in time would contain information about each particle and its position, and this would've been enough to "de" it but I guess my programmer metaphors are largely off the track. (Oh, and I know that the uncertainty principle makes such (de)serialization impossible — I only mean that I thought the Universe can be "defined" as the set of all material objects in it). Is such assumption false? At this point, if fields indeed are not material but are part of the Universe, I don't really see how they are different from  except for perhaps a more geeky flavor. When I talked about this with the teacher who helped me to prepare for the exams (which I did pass, by the way, it was before I dropped out), she said to me that, if I wanted hardcore definitions,  a field is a function that returns a value for a point in space.  Now this finally makes a hell lot of sense to me but I still don't understand how mathematical functions can be a part of the Universe and shape the reality.


const value = message.content.split(' ')[2]   if(!value) let value = 1;   const value2show = 50000000 * value;   let tro = new Discord.MessageEmbed()   .setAuthor("Sɱαɾƚx Gαɱιɳɠ YT", "https://cdn.discordapp.com/avatars/701780003959996497/2354797acbac60d124a80de2c3e52191.png?size=256")   .setFooter("Bot made by Sɱαɾƚx Gαɱιɳɠ YT")   .setTitle("Pepe Trophy")   .setDescription(`Pepe Trophy x${value} costs **⏣${value2show}**`)   .setTimestamp()   message.lineReplyNoMention(tro)  I want that if there is no value it set the value to 1 thank for help.

What is the scope of variables in javascript? Do they have the same scope inside as opposed to outside a function? Or does it even matter? Also, where are the variables stored if they are defined globally?