Voting to close as duplicate asks for question id or URL

I tried to close a question as a duplicate on  meta. It already has three close votes, but the app still asked me for a question id/link without offering the current duplicate target.     App Version: 1.6.1.2 Device: iPhone 6 OS Version: Version 10.0.2 (Build 14A456)


How do you qualify to become a "Blue Ghost"?

In Episodes I~VII, we see several "Blue Ghosts" (I don't know the proper term, sorry!):   Yoda Obi-wan Kenobi Anakin Skywalker Qui-Gon Jinn (I think) possibly others I can't remember   How does someone qualify to become a "Blue Ghost"? Is it limited to Jedis?    If you can't tell, Star Wars isn't my main fandom...


Let $f:\mathbb{R}\to\mathbb{R}$ be twice differentiable with $$|f(x)|\leq M, |f''(x)|\leq M'',\forall x\in\mathbb{R}$$ Prove that $|f'(x)|\leq\sqrt{2MM''},\forall x\in\mathbb{R}$  I am thinking about using Taylor's theorem: For any $x\in\mathbb{R}$ and $a>0$, by Taylor's theorem $\exists \xi\in(x,x+a)$ s.t. $$f(x+a)=f(x)+f'(x)a+\frac{f''(\xi)}{2}a^2$$ Thus $$|f'(x)|\leq\frac{|f(x)|+|f(x+a)|}{a}+\frac{|f''(\xi)|}{2}a$$ However with this approach the best bound we can get is $$|f'(x)|\leq 2\sqrt{MM''}$$ Thus I feel that there is probably a completely different trick.


As per my knowledge orange color object (say orange) absorbs other color light except orange color light. So we can see orange object as orange.   If this is true then is it possible "In a ideal light free room, If we put pure red light on a pure orange color object, we will see nothing? Because orange color object will absorbs red light"


Can i include blender scripts in each other?

I created two blender scripts :  a MeshCleaner : that cleans the meshes for my glb file a HierarchyCleaner :  that cleans the hierarchy for my glb files  To clean the code , i added an IOHandler for reading and writing glb files so i can reuse the IOHandler in both the MeshCleaner and the HierarchyCleaner . When running one of the scripts i run blender in the background  MeshCleaner.py  import bpy from .IOHandler import import_gltf_file , export_gltf_file , read_filename  def remove_default_cube ():     objs = bpy.data.objects     objs.remove(objs["Cube"], do_unlink=True)      def clean_heavy_gltf_file(filename):     import_gltf_file(filename)     export_gltf_file(filename)  if __name__=="__main__":     remove_default_cube()     filename = read_filename()     clean_heavy_gltf_file(filename)    HierarchyCleaner.py  import bpy from IOHandler import import_gltf_file , export_gltf_file , read_filename from MeshCleaner import remove_default_cube  def clean_hierarchy():     objs = bpy.data.objects     nodes=objs.values()     print(nodes)     for node in nodes :         if(len(node.children)==0):             node.name=node.data.name      def correct_file(filename):     import_gltf_file(filename)     remove_default_cube()     clean_hierarchy()     export_gltf_file(filename)   if __name__=="__main__":     correct_file()   IOHandler.py:  import bpy import sys  def import_gltf_file(filename):     bpy.ops.import_scene.gltf(filepath = filename)  def export_gltf_file(filename):     bpy.ops.export_scene.gltf(filepath = filename)  def read_filename():     filename=sys.argv[4]     return filename  I run the code using sh scripts running : GLB_FILE=$1 ;  blender --background --python HierarchyCleaner.py $GLB_FILE ;  or GLB_FILE=$1 ;  blender --background --python MeshCleaner.py $GLB_FILE ;  when trying to run the code i have an ImportError stating that there is no such module as IOHandler . all the scripts are within the same directory . Is there a way to make this work and  ?


travel london from Paris on schengen visa

I am a Sri Lankan and I work in Israel. I will be applying for schenegan visa from Israel. I would like to know is it possible by Schengen visa to travel by Eurostar to London from Paris? Do I need uk visit visa also?


Today accidently I poured a little bit of water on a very hot pan , and something weird happened , where the quantity of water split into smaller spheres that moved around fast in the pan. I'm wondering about the physics concept behind that..


Man page with preserved text decorations, proportional text and fixed-width code

How can I get contents of a man page without the text being wrapped around column 80 or so? I'd prefer the output to have proper formatting, line bolding, underscores, fixed-width font for examples etc.  However, all the command-line utilities and online man page resources provide either wrapped () or un-formatted (man mmap | col -bx > mmap.txt), or improperly formatted (man -t mmap | ps2pdf - mmap.pdf) versions.  How can I get the properly formatted unwrapped text from a man page to be used for further booklet printing?


Lightning Web Components, Lightning-datatable / Lightning-tree-grid DOM traversal

With the API I managed to get this.template.querySelector("lightning-tree-grid"), but getting to any inner element returns empty proxy object. With the browser console I manage to find the required: this.template.querySelector("lightning-tree-grid").shadowRoot.querySelector("lightning-datatable").shadowRoot.querySelector("[aria-level='2']")  But, unable to reach it in code. Is it possible?


What is the electric charge of the Sun and its corona?

What is the net electric charge (in magnitude and sign) of the Sun and its corona?


Over contribution to 401K between two employers, and maximizing employer match?

I have a situation like this:  I worked for an employer this year from January to May and contributed $14,500 to my 401K. There was no matching from this employer. In mid-May time frame, I changed jobs and my new employer matches $0.90 to every dollar, up to a maximum of 5% of base salary in 401K/Roth IRA. Since the 2013 401K individual contribution limit is $17,500, I would like to take advantage of my employer contributions to maximize my tax free gain. How can I do this? Please suggest my options.  Reading thru the web, I came to know that employer contributions do not count towards the $17,500 individual 401K limit. Is this correct? Can I contribute up to $17,500 before-tax in my 401K and still get employer matching, let's say $3000, on top of that? Which will take my 401K total contributions for this year to $20,500? Please advise.


Generate Uniform Random Variates with Constant Norm

How can one generate $k$ uniform random variates centered at zero, $X_1, X_2, ..., X_k$, given a constant Euclidean norm, $c =\sqrt{X_1^2+X_2^2+...X_k^2}$?


How can I get the node ID from a path alias?

I want to be able to get the nid but the only information I have is .  Is there a way to get either the internal path of /node/*  for that alias if I am not on the page?  Or is there a way to just get the nid from that alias right away?


Polish space in which the interior of each compact set is empty

Could someone give me an example of a Polish space, in which the interior of each compact set is empty? I guess it is trivial, but can't find such an example.


Identifying Coordinate System of Shapefile when Unknown?

I have a Shapefile but its coordinate system is Unknown, and there is no *.prj file.   How can I identify it now?


Program for getting the cursor's x,y coordinates?

Is there a program which lets you easily get the x,y coordinates for your cursor?  Basically, I move my cursor to somewhere on my screen, it shows me the x,y coordinates and has an option to copy them to the clipboard or export them somehow.  I can already do this if I take a screenshot and open it in MS Paint, then as I move the mouse cursor over the screenshot it shows the coordinates in the status bar, however I have to manually write them down, hence its not convenient.


Avoiding the review queue in a hold/close question, having an answer

Pretty straight forward, I can answer a question which was tagged as unclear and put on hold. What should I do?  The question mentioned is  one. Essentially, what the OP asks is help on an algorithm that fills any empty space (O) that has at least two adjacent 1 values.  I understand very clearly the need to put unclear questions on hold but it is disturbing when you understood the question and think you have a valid answer to give, but you can't because it's on hold...


How do I summon mobs with block heads on Minecraft?

I can't figure it out. I can only summon mobs with other mob heads. I've been wanting to summon a cow with a water source block head and name it " Underwater Mission Fail"— Is that possible?


Help IDing a book series about a war between alien races, one of them being bird aliens

I believe I read this book series back in high school ('97 - 2001). It was about a war between alien races, one race was like frog/lizard/amphibian like, one race was bird/crane like. I think they called themselves the Wais(?). The main human character (or one of the main human characters) was a jazz musician and somehow he got recruited into fighting. I also remember some battle scenese being pretty brutal for what I thought was YA novel series. I think it was a trilogy of books.  Any help is appreciated.


How to deal with damaged cards from a MTG booster pack?

I bought a Magic the Gathering display box today with cards from the new edition Innistrad. Unfortunately one of the cards in a booster pack was damaged. It is not just a simple scratch - one corner is bent and a small part of the card is missing. According to different trading platforms this card would be worth about 6 Dollars minimum in mint condition. So it is not really expensive but also not totally worthless.  What can I do about this? Can I obtain a replacement card from the producer (WotC) or from the store I bought it from? How can I prove that the card was damaged when I opened the booster pack? I am sure I am not the first person who got a damaged card from a booster pack. How are such issues usually handled?


Should nouns after "any" be singular or plural?

While I was answering a question on ELL, I got confused with a  from a fellow user. After I indicated that:     "Do you have any idea to prove it?'   is grammatically correct, the OP commented that "ideas" should be used in place of "idea".  The comment befuddled me. I thought until now that "any" should be followed by singular noun and not plural. So I searched Google and saw it's a huge debate going on and there is no end to it. I got no perfect and trustworthy source. So I thought to post the question here.  So what is the right rule? Should singular or plural be used after "any"?


Why potential difference across no resistance wire is same across two points.


Error 0x80073cf9 when installing or updating apps from windows store

On my Windows 8 desktop I keep getting error 0x80073cf9 when I try to install or update an app from the windows store.  In the installings apps pane it just says "This app wasn't installed -- view details" and when I select that it says "Something happened and this app couldn't be installed. Please try again. Error code: 0x80073cf9"  I am using the built-in windows firewall and antivirus. And my laptop is able to install updates when it is on the same network.  This is what winstore.log shows when I try to update the maps app:  2012-10-18 15:31:47.328, _Info_                WS   [00015160:00011628] *********************************************************************** 2012-10-18 15:31:47.328, _Info_                WS   [00015160:00011628] Process name: C:\Windows\system32\taskhost.exe 2012-10-18 15:31:47.328, _Info_                WS   [00015160:00011628] User name: Desktop\User 2012-10-18 15:31:47.328, _Info_                WS   [00015160:00011628] Computer name: desktop 2012-10-18 15:31:47.328, _Info_                WS   [00015160:00011628] Windows build: 9200.16424.amd64fre.win8_gdr.120926-1855 2012-10-18 15:31:47.328, _Info_                WS   [00015160:00011628] Client version: 615 2012-10-18 15:31:47.328, _Info_                WS   [00015160:00011428] CWSTileUpdateHandler::Worker: Broker is handling badge updates. 2012-10-18 15:31:47.554, _Info_                WS   [00002572:00008200] CProgressDispatcher::OnProgress: AppId = 97a2179c-38be-45a3-933e-0d2dbf14a142, PFN = Microsoft.BingMaps_8wekyb3d8bbwe, InstallPhase = 1, PhasePercent = 0, TotalPercent = 0 2012-10-18 15:31:47.558, _Warning_             WS   [00002572:00008200] CDownloadProgress::IDownloadCompletedCallback::Invoke: Download complete result 0x80073cf9 for Microsoft.BingMaps_8wekyb3d8bbwe 2012-10-18 15:31:47.559, _Error_               WS   [00002572:00008200] CActionItem::_DoDownload: Download failed for 97a2179c-38be-45a3-933e-0d2dbf14a142, hr=0x80073cf9 2012-10-18 15:31:47.560, _Info_                WS   [00002572:00008200] CActionItem::_DoDownload: Notifying progress handlers of download failure for 97a2179c-38be-45a3-933e-0d2dbf14a142, hr=0x80073cf9 2012-10-18 15:31:47.560, _Error_               WS   [00002572:00008200] CProgressDispatcher::OnError: PFN = Microsoft.BingMaps_8wekyb3d8bbwe, InstallPhase = 1, hrError = 0x80073cf9


Why is a $3d$ orbital in transition metal higher in energy than a $4s$ orbital?

I was studying this chapter lately, and this part of chapter always confuse me. I often think why $3d$ orbital in transition metal is higher in energy than 4s orbital? (the whole question will refer to transition elements). My confusion arises when I look at the explanation on a website (attached below), it says that because ionization energy always removes the electron from the highest, which mean that first removed electron is the last electron being put in the orbital, so I conclude that $4s$ is higher than 3d in transition element. But I found another website (attached below) stating that the highest orbital is $3d$. Now my question which one is the correct one? First link:  Second link:


What and with what was Luthor doing in the ship at the end of the movie?

After Doomsday was defeated, a spec-ops team sent to the Kryptionian ship in Metropolis found Luthor submerged in water, in front of a... thing, which "held" three metal cubes. The thing looked up, roars, and dissipates into thin air.    What the hell was that all about? I am really confused. What was that creature and what was Luthor doing with it?


I am trying to /testfor 10 wheat anywhere in the players inventory.  I have tried this command:  testfor @a {SelectedItemSlot:0,Inventory:[{Count:10b,id:minecraft:wheat}]}  But it gives me this same error all the time:  The entity UUID provided is in an invalid format  How can I do this?


Can I Specify who the Help Action helps?

Let's say my party is attacking a dragon. I'm a Mastermind rogue who can use Master of Tactics to use the  as a bonus action if I'm within 30' of the dragon. Can I specify who in my party I'm giving the help to? Or will it necessarily be the next player who attacks the dragon?  Let's say the paladin in my party has his turn next and he decides to attack the dragon... but I'd really like to give advantage to the other rogue in my party who goes after the paladin. Can I specify that I'm helping the rogue?  If so, how would this be role-played to make some kind of logical sense? How would it play out?


How to make clean junctions of line with `\draw`

Here is the MWE (sorry it's not too short)      \documentclass[border=2pt]{standalone}     \usepackage[utf8]{inputenc}      \usepackage{pgfplots} %pour Tikz et pgfplot     \usetikzlibrary{positioning}      \usetikzlibrary{calc,decorations.markings}      \tikzset{         damper/.style={              decoration={                 markings, mark connection node=dmp, mark=at position 0.4 with                      {                      \node (dmp) [inner sep=0pt,transform shape,rotate=-90,minimum                         width=15pt,minimum height=3pt,draw=none] {};                      \draw ($(dmp.north east)+(10pt,0)$) -- (dmp.south east) -- (dmp.south                         west) -- ($(dmp.north west)+(10pt,0)$);                      \draw ($(dmp.north)+(0,-5pt)$) -- ($(dmp.north)+(0,5pt)$);                     }                 },  decorate             },     }     \begin{document}     \begin{tikzpicture}[thick]         \node (start) at (0,0) {};         \coordinate (top) at (1,1) ;         \coordinate (join) at (3,0) ;         \draw (start) -| (top) -- ++ (0.05,0); % the last point to make it clean         \draw[damper] (top) -- ( top -| join) node[pos=0.5,above=0.3cm] {$c$};          \draw (top -| join) -| (join);         \draw (join) -- ( top -| join) ;      \end{tikzpicture}     \end{document}     The interesting bit is inside the tikzpicture   See,  if you use \draw (A) -- (B) -- (C) the junction in B will be clean. if you use \draw (A) -- (B) and \draw (B) -- (C) the junction will be visible, like on the right in the picture.  The problem is, I can't use the first way when only one line has the decoration to make the damper, that's why I kept it in the MWE.  So you can see I patched the problem for the corner on the left using -- ++ (0.05,0) which is more a bandaid than really fixing...  Got an idea ?


Extremely rare occurence of Heart cancer?

The occurrence of Heart cancer (similar, but not the same as Rhabdomyosarcoma) is extremely rare, about 1 per year according to . The reason for this rarity is explained to be the post-mitotic nature of cardiac muscles. Since they stop dividing early in the life cycle of humans and grow only by increasing in volume, they are very less prone to oncogenic activation events caused due to mutation as a result of an error in DNA replication (since they do not replicate their DNA as they do not divide).    Although I am not an expert in tumours and cancers, I think that malignant tumours in nervous tissue, i.e. brain tumours are fairly common, at least more common than heart cancer by several orders of magnitude. But neurons constituting these tissues are also permanently in interphase and hence do not divide.   Moreover, secondary malignancies in Brain and nervous tissue is also much more common than secondaries in heart (rare) though metastatic secondary tumours, I believe, do not require oncogenic transformations in the host tissue. A metastatic fragment of a primary malignancy transported by blood is enough to cause secondary tumours.  How then these tumours (primary and metastatic-secondary) are more common in nervous tissue than heart, though both are post mitotic, i.e. permanently in interphase?   and  are a few links which give some basics of cardiac malignancies, though they don't address the question quite directly.  provides possible explanation of lack of cancer due to high oxygen content.


What to do when you can't press 3 keys at the same time with a laptop?

I bought this new laptop and when I played some of my favorite games, it didn't let me use 3 keys at the same time. What do I do? Buying a new laptop isn't a solution for me.


Layers with the same Geographic Coordinate system don't overlap

I am a GIS newbie. I'm having a problem that, from the looks of things on this website, is a fairly common problem. I have 3 layers, all in the same GCS that do not line up. I have read all the the strings that others have posted on this website regarding this kind of problem, but I still haven't been able to figure out how to fix my particular issue. I am just a social studies student, trying to do a project. I don't have GIS training, so I feel very lost at sea, with all the complex technical terminology.  Here are the details:   I am working with data for the City of Chicago, USA. I have a street map for Chicago (chicagostreets1999, derived, I think from the US Census), a map of census tracts for the year 2000 (tracts2000, from the US census), and a zoning map (Zoning_nov2012, provided online by the Chicagy City Hall).   Census tract boundaries run along streets. The tract boundaries in tracts2000 line up nicely with the street map from chicagostreets1999. Zoning boundaries also follow streets, but the zoning map does not line up properly with these two other files. When I compare the zoning map to the street file, its lines are about 175 feet (53 meters) south, and 148 feet (45 meters) east of the relevant lines on the street map.  I looked at the "source" information on each file in arcGIS. Here is the info on their Geographic Coordination Systems.  Tracts 2000***** Data Type:  Shapefile Feature Class  Geometry Type:  Polygon  Geographic Coordinate System:   GCS_North_American_1983 Datum:  D_North_American_1983 Prime Meridian:     Greenwich Angular Unit:   Degree ![Misalignment, zoom in][1\  *Chicago streets 1999****  Data Type:  Shapefile Feature Class  Geometry Type:  Line  Geographic Coordinate System:   GCS_North_American_1983 Datum:  D_North_American_1983 Prime Meridian:     Greenwich Angular Unit:   Degree  **Zoning_nov2012*******************  Data Type:  Shapefile Feature Class  Geometry Type:  Polygon  Projected Coordinate System:      NAD_1983_StatePlane_Illinois_East_FIPS_1201_Feet Projection: Transverse_Mercator False_Easting:  984250.00000000 False_Northing: 0.00000000 Central_Meridian:   -88.33333333 Scale_Factor:   0.99997500 Latitude_Of_Origin: 36.66666667 Linear Unit:    Foot_US  Geographic Coordinate System:   GCS_North_American_1983 Datum:  D_North_American_1983 Prime Meridian:     Greenwich Angular Unit:   Degree  I tried setting the coordinate system for all three files by double clicking the "Layer" meta-category in the data view window, and then selecting "Coordinate System" within the data frame properties window. The coordinate system was already defined as:  *Layers**** NAD_1983_StatePlane_Illinois_East_FIPS_1201_Feet Projection: Transverse_Mercator False_Easting: 984250.000000 False_Northing: 0.000000 Central_Meridian: -88.333333 Scale_Factor: 0.999975 Latitude_Of_Origin: 36.666667 Linear Unit: Foot_US  GCS_North_American_1983 Datum: D_North_American_1983  This seemed to be the same as all three layers, so I did not change it.   I asked the GIS librarian at my university what the problem might be and what, if anything could be done, to fix the misalignment. He said that he did not know how to fix it, and that the problem was probably due to the City Hall GIS people scanning in their zoning map "at a different scale" than the Census people did. I don't know whether that is true, but I really would like to get these files to align properly with each other. It will make the process of analysis a lot easier (ie not horribly visually confusing), and also more accurate.  I am happy to share the files in question with anyone who might be able to help. The Zoning data, for instance, is freely available here on the City of Chicago's City Hall government website:     I can email the street file to anyone who is willing to help.  Thanks so much for your advice!


Cantor - No set is equinumerous with its power set.

Theorem:  No set is equinumerous with its power set.  Proof:  Let $A$ be a set. We want to show that if $f: A \to \mathcal{P}A$ (a random function) then $f$ is not surjective.  We define the set $D=\{ x \in A: x \notin f(x)\}$ and obviously $D \in \mathcal{P}A$.  We assume that there is an $a \in A$ such that $f(a)=D$.  Then we have:  $$a \notin D \leftrightarrow a \notin f(a) \leftrightarrow a \in D, \text{ contradiction}$$  Therefore for each $x \in A, f(x) \notin D$, i.e. $f$ is not surjective.  Could you explain me the proof from the point where we assume that there is an $a \in A$ such that $f(a)=D$?  We have show that $D \in \mathcal{P}A$ and we want to show that $D \notin f(A)$ in order to show that $\mathcal{P}A$ isn't the image of $f$. Why do we do it like that? Why do we assume an $a \in A$ such that $f(a)=D$?


How can I activate the terminal? Is the only way to click on the icon in the far left upper corner the only way? Thanks for a shortcut, John


Using the Bulk API, can I create both Custom Objects and their parent Person Accounts concurrently?

Our org uses Person Accounts. Each Person Account will be a parent record for at least on Bank_Detail__c record. We have an externally hosted website which will collect information about our pending customers including their bank details. While originally I wanted to use the REST API to upload each Account and Bank_Detail__c into Salesforce as  a composite, because we have concerns about API limits, we rethought this and now believe it might be better to use the bulk API. If we wrap the Accounts within the relevant Bank_Detail__c records, would it be possible to create both concurrently?  Or would we need to create all the Accounts first, then match up all the Ids, and then eventually make another API call to create the Bank_Detail__c records?


A function or macro to create an RPG-style bullet points

I'm looking to create a function or a macro that takes as an input a number n between 0 and 5 and returns five circles with the n leftmost circles filled, something like this:    I'm still reading documentation, but I've never made a macro or a function like this before, so I cannot show a MWE. Any help will be appreciated.  Thank you very much in advance!


Usually happens the opposite.. but today I have too much noise caused by too much light! (at least, I suppose It is because of that...)    I have also Volume scatter and absorption applied to a cyclinder that surround an area lamp      Here my setups:    light:    and there's also an environment texture:    It is a part of the scene where all the lights are on for a while:    any idea on how to get rid of all this noise? It occurs only when all the lights are on.. as You can see from this render (same samples)


How to Obtain a Bold Upright Integral Sign?

Having searched around I couldn't find a package that could produce the following integral sign.    How do I produce this bold looking vertical symbol? Xe-/LuaTeX are totally fine with me.  \documentclass{article} \begin{document} $\int_a^b$  \end{document}


Can I stay overnight [15-hour layover] in Haneda airport without a Japan visa?

I’m a Filipino citizen. My flight goes from Vancouver to Manila via Tokyo Haneda. I will arrive in Japan at 6pm then depart at 9am the next day. I'm not planning to go out of the airport during my layover, so I don't see a need to have a transit visa. However, I called the Consulate-General of Japan here in Canada, and they asked me to get a transit visa.  Then I called the Ministry of Foreign Affairs in Japan and asked them the same question.. at first, they told me I don’t need a visa as long as I stay inside the airport, but when I told them that the Consulate-General of Japan in Canada asked me to get a visa, they also asked me to get one.  I'm so confused. I would like to know your knowledge or experience regarding this.


Will changing a favicon daily destroy SEO or raise any concerns with search engines?

I've been reading this question on StackOverflow , but I'd like to know if changing the favicon daily mess up any SEO or raise any concerns with search engines?   I am using Ubuntu's Apache.


What does “sunset” mean when used as a verb?

There was the following quote from Adam B. Schiff, Democrat Representative on President Obama’s request for a formal authorization of Congress to fight the Islamic State in New York Times article (February 10), titled “Obama to seek war bill from Congress to fight ISIS.     “Representative Adam B. Schiff was uncomfortable with much of what he   has seen floated, especially the lack of a 2001 repeal. “If you don’t   sunset that” he said, “any sunset you put in a new authorization is   pretty meaningless because any president can rely on the 2001   authority to claim they have all they need.”   Oxford Advanced Learnner's Dectionary at hand defines 'sunset' simply as a noun meaning 1.(u) the time when the sun goes down and night begins. 2. (c) the colours in the part of the sky where the sun slowly goes down in the evening.  I don’t think I’ve ever seen the case of the word “sunset” being used in tandem in the form of both verb and noun in a line in this way.  Is it common to use “sunset” as a verb to mean (as I take it) “to repeal” or “put something to an end” in this way? What does “sunset” exactly mean here?


I have two list as follows (both list contains super long data):  list_1 = ["apple", "orange", "banana", ......] list_2 = [[1,0,0,0,0], [0.5,0,0.5,0,0], [0,0,1,0,0], ......]   I want to have an outcome of :  list = {"apple" : [1,0,0,0,0], "orange" : [0.5,0,0.5,0,0], "banana" : [0,0,1,0,0], .......]   What I want to do is like putting list_1[0] to list_2[0], list_1[1] to list_2[1] and so on.  Is there a way to do automatically pair the data up no matter how long the datasets are ?  Thanks


I need the last backup date, time, and type of backup for all databases

I need a query to find the last backup date, time, and type of backup for every database in a particular SQL Server.  How would I get that info?


How do I prevent apt from attempting to update a manually configured and installed package?

I have a custom NGINX setup (some additional 3rd party modules), and I don't want Ubuntu to think it needs to be 'updated' to its version that doesn't have the modules I need.  How do I stop Ubuntu from attempting to update it?  Is it as simple as:  $ sudo apt-mark hold nginx  Or is there more to it?  EDIT: I'm using 1.13.1, so by version number my version is newer than what's in the Ubuntu repos, if that makes a difference.


I had an editor who was very picky about the use of the adverb "also" used with the past tense of "to be." According to her, there was a difference between "was also" and "also was." For example: to say someone "was also" a high school teacher means he or she was a high school teacher in addition to being something else. As in, "The serial killer was also a high school teacher." Whereas, "also was" is the correct usage for saying someone shared an attribute with someone else, as in, "Andrew was a serial killer, and his sister Marie also was a serial killer."  But as anyone who's ever worked with more than one editor knows, they tend to be idiosyncratic, and all have their own little pet peeves. And they go on to become our pet peeves (one of my first editors took umbrage with "over" used to mean "more than" -- to this day I still feel a twinge when I see that usage).   I did some searches on usage of also and did not find any evidence to support her position -- but I know some of the fine points of English usage can be abstruse, so I decided to come here, where the grammar black belts congregate ;)  I read the post on "should also have named" "also should have named" with interest, and it sheds some light. But I'm not convinced this rule (if it really is a rule) applies to all verbs, let alone compound verbs.  Is some of this a matter of just avoiding awkward usages, even if they are technically correct -- or anyway, not blatantly grammatically incorrect?  Thanks!


SELECT MySQL field that contains a substring

Using LIKE is very common in MySQL. We use it like this: WHERE field LIKE '%substring%'. Where we have a substring and field has full string. But what I need is something opposite. I have substrings in field. So, I want that row which contains a substring of my string. Suppose the table is:  ----+-------------------  id | keyword ----+-------------------   1 | admission ----+-------------------   2 | head of the dept ----+-------------------   and I have a string from user: Tell me about admission info. I need such a MySQL query that returns admission as this is a substring of user string. Something like:  SELECT keyword FROM table WHERE (keyword is a substring of 'Tell me about admission info')   thanks in advance.


RPG Tools (Virtual Board w/ LAN support) (Automatic or Decent Map Generator)

I am in search of a free virtual board with LAN connectivity. All it needs to be able to do is allow different users connected via LAN to be able to move pieces in real time. A specific user-lock for each character piece would be nice as well as a table displaying whose turn it is, but neither of these capabilities are a necessity. I am also looking for perhaps an automatic generator for caves and dungeons as well as outside areas. If no one has any information about a free automatic generator then a good free map designing software would be great.


Semantics of smart pointers and raw pointers

I am not sure to have fully understand when to use a smart pointers over raw pointers.   I have the following code structure.  First of all, Snake_cell defined as follow  struct Snake_cell {   Snake_cell(const unsigned int origin_x, const unsigned int origin_y)   unsigned int origin_x_;   unsigned int origin_y_; };   Then, I have a Snake which contains a vector of Snake_cell  class Snake { public:   Snake(const unsigned int first_cell_x, const unsigned int first_cell_y);  private:   std::vector<std::shared_ptr<Snake_cell>> cells_; };  Snake::Snake(const unsigned int first_cell_x, const unsigned int first_cell_y) {   // Create three successives cells   cells_.emplace_back(std::make_shared<Snake_cell>(first_cell_x, first_cell_y));   cells_.emplace_back(std::make_shared<Snake_cell>(first_cell_x + CELL_SIZE, first_cell_y));   cells_.emplace_back(std::make_shared<Snake_cell>(first_cell_x + 2 * CELL_SIZE, first_cell_y)); }   Finally, I have a main.cpp file following this format:  std::unique_ptr<Snake> snake(std::make_unique<Snake>(500-CELL_SIZE, 500-CELL_SIZE));  void func1(...) { }  void func2(...) { }  void func2(...) { } /** Main **/ int main(int argc, char* argv[]) {   return 0; }   Each of these functions either and some of them are rendering functions so they would be called a lot of time.    access Snake attributes modify Snake attributes   Hence, it made sense for me, in order to avoid unnecessary copy of Snake_cell or Snake objects to :    Define a vector of smart pointers to Snake_cell within Snake Create a smart pointer to Snake within main.cpp    Yet, I think I'm not doing it right and could use raw pointers.    Are my assumptions correct to use pointers here? I know we are not dealing with a huge amount of data but funcX will be called a lot of time so it might become expensive If yes, am I right to use smart pointers here? I've read that there should be preferred over raw pointers every time I'm considering using pointers. If yes, am I right to use shared_ptr here? In my code, I'm creating a new smart_ptr object based on snake object everytime I need to use it. I feel like it's not the right way to use it.    For instance, here is one function I'm using.   void display() {   glClear(GL_COLOR_BUFFER_BIT);   glColor3f(1.0f, 1.0f, 1.0f);    glBegin(GL_QUADS);     for(unsigned int i = 0; i < snake->size(); ++i)     {       std::shared_ptr<Snake_cell> cell(snake->getCell(i));       glVertex2i(cell->origin_x_, cell->origin_y_);       glVertex2i(cell->origin_x_ + CELL_SIZE, cell->origin_y_);       glVertex2i(cell->origin_x_ + CELL_SIZE, cell->origin_y_ + CELL_SIZE);       glVertex2i(cell->origin_x_, cell->origin_y_ + CELL_SIZE);     }   glEnd();    glutSwapBuffers(); }   Thanks for your help,


I would like to know if db_owner can change the recovery model of database.  Using TSQL-   alter database db set recovery simple


How to Disable new terms (free tagging) with Taxonomies?

I have a "term reference" field, in a form that uses an auto-complete widget. I want to limit user input to terms in the vocabulary only, and output a message when a user tries to enter a non existing term.  I found the  module. However this does not work with forms that contain a field collection or a field group.  There is also a contributed patch . But I was wondering whether there was a simpler/cleaner solution like a module or maybe I missed an already existing way of doing it with latest drupal and taxonomy versions.


I have list of objects like     actors = [Person('Raj' ,'Hindi'),           Person('John',  'English'),           Person('Michael' 'Marathi'),           Person('Terry','Hindi'),           Person('Terry', 'Telugu')]   I want to sort this list of peoples depending on their mother tongue. In sequence Marathi, English, Hindi, Telugu. Means i want to sort objects in customized logic rather than in ascending or descending order.   I am using python 3.7.  Could you please help me how can this be done ?


I followed an online tutorial! All I had to do was replace Windows 8 with Ubuntu and the tutorial clearly said that you choose 'Replace OS with Ubuntu' during installation. That option was not available but the installation had one "use entire disk and install Ubuntu, this will delete your files and programs in all your operating systems"   Windows is the only Operating System and Ubuntu has wiped my whole disk now on Ubuntu, the command mount on terminal gives me this  NAME   FSTYPE   SIZE MOUNTPOINT LABEL sda           298.1G             ├─sda1 ext4   294.2G /           ├─sda2            1K             └─sda5 swap     3.9G [SWAP]      sr0            1024M        It only shows one 298 GB partition. I had very very important data on my partitions. Ebooks,Important Pictures I had collected through out the years (I am a self learned programmer). Yes, I know I Should have created a back up but I did not. My system is a laptop. How can I retrieve my Lost data from this partition?


What does the parameter -1 in numpy shape[::-1] mean?  template = cv2.imread('template.jpg',0) w, h = template.shape[::-1]


Program multiple arduinos simultaneously

I have a 10 port USB extender hub and connected to it are 10 arduinos. Is there a way by which I can send the same program to all of them at one go and not program them one by one?


I know it is possible to comment on someone's question or answer, but is it possible to ask a question about or on his profile?


Compiler error CS0311 by using extension method with generics

I want to create an extension method with generics. But when using this method I get the error Compiler Error CS0311. How can I solve this? Here's an example.  using Compare; using System.Collections.ObjectModel;  static class Program {     static void Main()     {         var OldItemListe = new LoadListe();         var NewItemListe = new LoadListe();         bool ReturnValue = new Import().Compare(OldItemListe, NewItemListe);  //Here I got the Error CS0311     } }  namespace Compare {     /// <summary>Baseclass for all Elements </summary>     public class BaseClass     {         /// <summary> Elementname </summary>         public string Name { get; set; }         /// <summary> Beschreibung </summary>         public string Description { get; set; }     }     public abstract class BaseListe<T> : Collection<T> where T : BaseClass, new() { }     public class Load : BaseClass{}     public sealed class LoadListe : BaseListe<Load> {}       public class Import     {         public bool Compare<U>(U OldItemListe, U NewItemListe) where U : BaseListe<BaseClass>         {             // do something             if (OldItemListe[1].Name == NewItemListe[1].Name) return true; // only Example             return false;         }     } }


Update Query said "ORDER_DETAILS"."QUANTITY": invalid identifier

Update Query said ORDER_DETAILS.QUANTITY is an invalid identifier. I check and there is a table named ORDER_DETAILS with a field named QUANTITY.     Error at Command Line : 14 Column : 57 Error report - SQL Error: ORA-00904: "ORDER_DETAILS"."QUANTITY": invalid identifier 00904. 00000 -  "%s: invalid identifier"  ///////////////////////////////////////////////  UPDATE  (SELECT Orders.Order_ID, Order_Details.Quantity, Products.Units_In_Stock, Orders.Shipped_Date, Orders.This_Order_Was_Shipped FROM Products  INNER JOIN Orders  INNER JOIN Order_Details ON Orders.Order_ID = Order_Details.Order_ID ON Products.Product_ID = Order_Details.Product_ID WHERE ((Orders.Shipped_Date Is Not Null) AND (Orders.This_Order_Was_Shipped='YES')))  SET Products.Units_In_Stock = Products.Units_In_Stock - Order_Details.Quantity;


How can I safely do a complete hard disk drive wipe and Windows 7 reinstall due to a virus?

I have a Dell inspiron 1545 running Windows 7 professional and I have recently fallen victim to a Trojan virus that has somehow managed to surpass AVG, ZoneAlarm and Malwarebytes too!  I have tried running full scans with all 3 security programs and the Trojan keeps coming back so now it’s the final straw for me.  What I am kindly asking your help for is how can I completely wipe the hard disk drive 100% and also how to completely remove the OS and reinstall it.  Basically I want to wipe absolutely everything from scratch but I have no idea where to start?


Omission of subject -- Can we omit 'it' (subjective) in any cases?

Following are a few examples;   (It) Looks like you didn't study much for the test. (It) Seems like I'm the third wheel here.   Are the above omissions valid either formally or informally? How so?


I need to decide whether to show prices on an online store with or without taxes. This is significant for the site and the user as the service is labeled as the cheapest on the market.  If taxes wouldn't be included then we would tell the user explicitly (e.g. " X price + taxes". This is a B2C site so user will always pay full price (meaning he won't be able to deduct those taxes as business can).  I'm afraid this can cause sticker shock to our users at the moment of checkout and I don't like it as practice but could work (Amazon does that and I still end up paying for something...)  What do you guys think?


\usepackage[turkish]{babel} and \includegraphics inconcistency

Here is my document :   \documentclass[12pt]{book}  % must-have packages \usepackage[turkish]{babel} \usepackage[utf8]{inputenc} % This package will support Turkish chars % must-have packages  \usepackage[a4paper,left=2.5cm,right=2cm]{geometry} \usepackage{graphicx} \usepackage{listings}  % settings \setcounter{secnumdepth}{0} % settings  \begin{document}  \framebox{\includegraphics[scale=0.5]{./images/image_3.png}}  \end{document}   When I try to build a pdf out of this file I received bunch of errors. here is one of them :      Missing \endcsname inserted   ...graphics[scale=0.5]{./images/image_3.png}}   When I remove the babel package, it runs smoothly. Even when I change the language to another language, it runs as well.  What is happening here?


How to use RDP as proxy for browser connections?

Now I have some websites that open only inside an RDP connection. However I would like to proxy all my browser requests through the RDP connection. Is there a simple way to do so on windows 10?


QGIS failed with error: latitude or longitude exceeded limits

I have some shapefiles from vegetation types in QGIS and I wanted to put a Google map in the background, so I installed the OpenLayers plugin. But every time I tried to load the map, there's an error message:   "failed with error: latitude or longitude exceeded limits".    What to do then?


Let $x,y,z>0$: Prove that:   $\frac{1}{(x+2y)^2}+\frac{1}{(y+2z)^2}+\frac{1}{(z+2x)^2} \geq\frac{1}{xy+yz+zx}$  I tried to apply Cauchy - Schwarz's inequality but I couldn't prove this inequality!


Can Dual Wielder be used with Tavern Brawler?

Here's the logic: You have a level 4 Fighter who has Tavern Brawler and Dual wielder. He is using the shield as an (improvised) melee weapon and his empty main hand as the other. That logic leads me to believe this could work per the Dual Wielder feat (PHB page 165):     You gain a +1 bonus to AC while you are wielding a separate melee weapon in each hand.   Now, Tavern Brawler implies the unarmed strike is a melee weapon. If that's not the case, you could grab a "stick" to count as a weapon.  My question is, can I get the +1 AC from Dual Wielder in this situation?


Consider the following C functions:  int f1(int n) {     if(n == 0 || n == 1)         return n;     else          return (2 * f1(n-1) + 3 * f1(n-2)); }   I have to find the running time of f1(n)  My Solution:-  The recurrence relation for running time of f1(n) can be written as  T(n) = T(n-1) + T(n-2) + c Where c is a constant Also T(0) =  T(1) = O(1) {Order of 1 (Constant Time)}    Then I used recursion tree method for solving this recurrence relation              ---              |                   n  -------------------- cost = c                   |                /     \              |              n-1      n-2 ---------------- cost = 2c              |             /  \      /   \              |           n-2  n-3   n-3  n-4 ------------ cost = 4c (n-1) levels |           /                 \              |         ......................              |        ........................              |       .........................\              |      ..........................n-2k              |      /             ---    n-k                        The left sub tree goes till   n-k = 1 => k = n-1   So the asymptotic upper bound comes out to be   c+2c+2^2c+2^3c+....+2^(n-1)c     = Big-Oh(2^n)   Similarly the right sub tree goes till   n-2k = 1 => k = (n-1)/2   So the asymptotic lower bound comes out to be  c+2c+2^2c+2^3c+....+2^((n-1)/2)c    = Big-Omega(2^(n/2))   Since the upper and the lower bounds differ by a function (and not by a constant value)  Upper bound = 2^n =  2^(n/2) * 2^(n/2) Lower bound = 2^(n/2)   so in my opinion I cannot write T(n) = Theta(2^n)  But the answer to this question is given as  time complexity = Theta(2^n)  What am I doing wrong?


What's the difference between 'sudo [command]' and 'sudo sh [command]?

I'm trying to install VMware Workstation in my Ubuntu 12.04.2 LTS. If I execute the following command:  sudo ./VMware-Workstation-9.0.1-894247.x86_64.bundle   it finishes at once and the installation never starts.  If I execute this command:  sudo sh ./VMware-Workstation-9.0.1-894247.x86_64.bundle   The installer can be launched successfully.  Why does this make a difference?


Is there any way to gain access to the standard "Insufficient Privileges" page that everyone knows and loves(hates), in order to edit/replace it with something else?    I imagine something along the lines of creating a Visualforce page to render in its stead, but I'm not sure how to call it.


on StackOverflow, I asked a . There are many good answers but I can not accept just one of it. I would prefer to create my own answer where I summarize all answers. Is that allowed?


Store the full OpenID URL, including scheme and domain name, differentiating HTTP from HTTPS

The association of an OpenID with the relying part must store the scheme used (OpenID spec 11.5.2):     11.5.2. HTTP and HTTPS URL Identifiers      Relying Parties MUST differentiate between URL Identifiers that have different schemes.   However StackExchange strips the scheme from the URL and stores only the base domain name. Thus if I provide a URL of https://www.mywebsite.com/... StackExchange associates only mywebsite.com/....  This is wrong on two counts, the lost scheme and the stripping of the subdomain (www).    Since StackExchange is then prepared to make the initial relying request using HTTP, the login is subject to having the response altered, allowing an attacker to substitute their own response, for example altering the response to delegate to a provider of their choosing:  <link rel="openid.server"   href="https://www.myopenid.com/server"> <link rel="openid.delegate" href="https://xxx.myopenid.com/">   In addition, failure to clearly and visibly use HTTPS for the authentication form is a major fail on the part of the StackExchange network (see ).  And, of course, the authentication cookie is vulnerable to sniffing and session hijacking, a weakness that's been known for years.  To mitigate these problems I request that:   Stack Exchange stores the entire URL provided in the login form. The login form be changed to permit the browser to store and autofill previous values for the manual OpenID field so that I don't have to type the entire URL every time I login. (done) That Stack Exchange run parallel HTTPS support for the entire network so that security aware users can avail themselves of it.


I run MemTest86 a lot at work on customer's machines, and it's great for troubleshooting memory issues. My question is, how can I test that a GPU is starting to go?  I know of programs like 3DMark to push the graphics card to its limits, but what about with Video Memory? Is it worth testing? Is there a stress tool actually able to catch issues in the video card (memory), perhaps using CUDA/OpenCL?


Should I ask for confirmation of my admission from University academic department

I have applied to two Canadian universities for MS program. One of them has accepted my application and has given me admission. While for the other one, status is "Under department review". I am waiting for second university response. But the problem is that I have to give my confirmation with in two weeks time. In this case, can I ask them to accelerate the decision process for me and can give me a definite answer? Is this polite to do it? Do I need to mention the University name in mail?


Why were some English phrases written in double negatives when the speaker actually wants to express a single negative?

For example, I just saw this phrase on social media:  The way 2020 going, I ain't buyin' no PS5.  I mean, in this instance, I can ultimately see that what the poster actually mean is that "I ain't buyin' any PS5". But I actually saw many instances of phrases like this in the past that's a lot harder to decipher whether the poster actually meant the phrase to be a positive or negative.


There are buttons on the r.h.s. of Blender which are starting from bottom: Material properties Object Data Properties Object Constraint Properties Physics Properties Particle Properties etc. Now, in Material Properties I can add Materials like this: Material Material001 Material002 etc. Now I want to find in which one of the buttons listed above there is a menu offering an existing Material001 so that I can create a link to this particular object named Material001 and make use of it and its properties like color.


I'd like to write the matrix equation A = (x y) B (x y)^T, where (x y)^T is written as a column vector and B is a 2x2 matrix written as such. I can (almost) do this by, for example, the following:  A = (x \ y) \begin{pmatrix} a & b \\ c & d \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix}   But I'd like the row vector (x y) to be aligned with the first row of the matrix B. How do I do this?


Does every element have a right inverse, when it has a left inverse?

In a set endowed with an associative operation with a left identity and where every element has a left inverse, I was wondering, is every element bound to have a right inverse too? Or is there at least one set with a respective operation and such properties that at least one element doesn't have a right inverse? Clearly, an easy proof shows that if there is a right and a left inverse and the aforementioned properties hold, they have to be equal.  Note: This is merely a question of mine and not somehow part of homework.


I'm looking for a way to batch create a folder followed by sub-folders.  I'm looking at something like  c:\users\user\desktop\sample\1 c:\users\user\desktop\sample\2   etc.  Any ideas?  I'd prefer .cmd/PowerShell methods to do so.   If there's a way to do so via a terminal, I'll be happy to attempt any ideas/solutions by booting into a Linux live disc via usb.


How to influence the name of the pdf file created with pdfLaTeX (from within the source code)?

I have a source file called 2011-05-27_Myfilename.tex and I'd like to create a PDF file from it called only Myfilename.pdf.  Can this be configured from within the .tex file itself?  (It seems to be possible with    pdflatex -jobname=Myfilename.tex 2011-05-27_Myfilename.tex   However, as many different files are concerned, It would be easier to have an option like output=Myfilename in the LaTeX source code.)


Why I can't edit "Your Communities" list in stackexchange.com and Area 51?

I can edit "YOUR COMMUNITIES" in the upper left drop-down menu from any of my communities: (e.g. )    But in  portal there's no "edit" link:    Why is that and how can I edit the list in  portal?


Block specific IP for a number of minutes after 10 connections

I am writing some code that makes connections to a host, and if the host blocks a connection, it sleeps for a predetermined amount of time, before trying again.   Basically I need Ubuntu to allow 10 ftp connections from a specific ip, then block any attempts for 10 minutes then re-allow connections from that IP address again.  How can I do that?


Why am I getting segmentation fault for this?

I am getting "RE (SIGSEGV)" for the following line of code: int dp[105][100005];  My laptop has 8GB of RAM. Is it not sufficient to store 10^7 integers?


I usually sleep my laptop. After waking, the swap usage has increased.


"not only.... but also..." in questions?

Here is a multiple-choice question:  _____ not only I but also he going to Paris? A. Am B. Is C. Are D. Be  Which choice is correct?


May someone confirm that the least residue of $44^8$ modulo $7$ is $4$ please? And that $2^2 \equiv  4\, (\!\!\!\mod 7)$? Thanks in advance.


When I am doing regresion, I get a p-value 1.86e-1, what does this mean? Also there are p-values like <2e-16, what is the actual number? Thank you for answering.


i accidently saved over an important blender file and don't know how to recover it I have already looked it up and cant find anything, if you know how to recover blender files then please tell me


Why a musical instrument's string oscillates with many frequencies?

I am trying to understand why when we play a note on a stringed instrument, not only it oscillates with it's fundamental frequency but also the multiples of that. For instance if you play a D on the lowest string on the cello, it causes the one octave higher D string vibrate also, as well as all other multiples of the fundamental frequency. The explanation I've heard is that ''the string oscillates with all multiples of the fundamental frequency''. It seems to me any vibrating string with fixed ends oscillates with a a fixed frequency. What is meant by this sentence exactly? Does it have something to do with Fourier series?


Kazakstan 2012 Suppose that $a, b \in\mathbb{R}$, and $a,b>0$. If $\frac{1}{a}+\frac{1}{b}=2$ prove that $a+b+\frac{1}{1+\sqrt{ab}}\geq\frac{5}{2}.$ My idea : $a+b+\frac{1}{1+\sqrt{ab}}$ can be written as $ab(\frac{a+b}{ab}+\frac{1-\sqrt{ab}}{1-ab})=2ab+\frac{1-\sqrt{ab}}{ab-a^2b^2}$, but where  can I use the fact that $\frac{1}{a}+\frac{1}{b}=2?$


Amazon web service visibility restriction to instances under same account

I'm looking for a possible idea to restrict the visibility ec2 instances to certain IAM users under the same root account.  custom policies doesn't seem to work because describeInstances doesn't support resource-level permissions.  Is there any way to hide instances created by different IAM users from one another. Is this currently possible?


Find all $2 \times 2$ matrices $A= \begin{pmatrix} a & b \\ c & d \end{pmatrix}$ such that $AB= BA $ for all $2\times2 $ matrices B.  I am stumped as to how to approach this question overall. I am not sure if its asking for me to use some theorem or if some easier solution is present.


Proving that all sets of size n have $2^n$ subsets

I've tried to construct a proof for this using recursion. My knowledge of recursion and set theory in general is quite limited so I'd appreciate some feedback!  The claim in symbolic logic: $\forall n \in \mathbb N, \exists u \in U, S(u) \wedge |u| = n \Rightarrow \mathcal |P(u)| = 2^n$ where:  $U:$ the set of everything  $S(x):$ x is a set  Initial Value  Assume $n = 0$  Then $\exists u \in U, |u| = 0$  Then $ u = \varnothing $  Then $ |\mathcal P(u)| = | \{ \varnothing \} | = 1 = 2^0 $  Prove: $\forall n \in \mathbb N, \exists u, x \in U, [S(u) \wedge (x \notin u) \wedge (|u| = n) \wedge \mathcal |P(u)| = 2^n] \Rightarrow  [(|u \cup \{x\}| = n + 1) \wedge (|\mathcal P(u \cup \{x\})| = 2^{n + 1})]$   Assume $|u| = n$  Then $ |\mathcal P(u)| = 2^n$  Then $ |u \cup \{x\} | = n + 1$ because  $ |\{x\}| = 1$  Then $ \mathcal |P(u \cup \{x\})| = |\mathcal P(u)| * |\mathcal P(\{x\})| = 2^n * 2 = 2^{n+1} $  Is this convincing enough or do I need to add more?   EDIT: Fixed notation


Find all inner products on $\mathbb{R^2}$

Let $( | )$ be the standard inner product  on $\mathbb{R^2}$ , and let $T$ be the linear operator $T(x_1,x_2)=(-x_2,x_1)$. Now $T$ is 'rotation through $90°$' and has the property that $(\alpha |T\alpha)=0$ for all $\alpha$ in $\mathbb{R^2}$ . Find all inner products $[   |   ]$  on $\mathbb{R^2}$ such that $[\alpha | T\alpha]=0$ for each $\alpha$.  My Attempt since $\alpha\in \mathbb{R^2}$. So let us assume $\alpha=(x,y)$ then $(\alpha |T\alpha)=((x,y) | T(x,y))=-xy+xy=0$ where $x,y\in \mathbb{R}$. So I think we have as many inner product on $\mathbb{R^2}$ as positive real numbers in $\mathbb{R}$. Is it correct? Any help or hint will be appreciated.


SELECT * FROM Users WHERE UserId = " + txtUserId   How do I prevent data injection?  The following code is appropriate?  $username = mysqli_real_escape_string( $GET['username'] ); mysql_query( "SELECT * FROM tbl_members WHERE username = '".$username."'");


Which is right: “on Manhattan” or “in Manhattan”?

I want to meet some persons in Manhattan but I'm not sure how to message them about it.     I'll meet you on Manhattan.   (OR)   I'll meet you in Manhattan.


expression can be simplified on boolean literal

I have the following code that reproduces a PyCharm warning,  Expression can be simplified This expression detects equality comparison with a boolean literal.  seq_group = [] if seq_group == []: # warning here    print("it is empty.")  if I change the code to, if seq_group is None:  will fix the warning, but the real question is are None and []emplty list the same thing? cheers


just(recently) + present perfect or simple past

I heard many people saying "he just left the room", but I read that just(recently) is used with present perfect. So are people just omitting has?


This is a somewhat subjective question, but I suspect that it might have a satisfying answer, so I'm going to ask anyway.   LaTeX is a tool for typesetting text. There are lots of packages, such as TikZ and pgf, which permit a user to produce graphical elements inside of a LaTeX document. On the other hand, you could create all your graphics with an external program, and include it in the document in an appropriate way.   There are certain situations where it is obvious to use an external program (a complicated plot or a photograph, for instance). And there are certain cases where you really should use something compatible with LaTeX, for instance if your images need to be typeset alongside text in some way which is not possible by simply including the image directly in the document.   My question is: as an experienced TeX user, how should you decide when to use a LaTeX package versus an external tool for creating graphics? This is obviously subjective, and it depends on your particular application. But what properties of your application should you consider when deciding whether an image is suitable or unsuitable for production in LaTeX?   Again, this is an obviously subjective question - but I suspect that there may be an answer which is mostly in 'the spirit' of what LaTeX is 'meant to do'.


Allow a custom file to double click and open my application while loading it's data

Just like when you make a reference in windows, to open a .txt file, it may open NotePad.exe and or Word.exe, while loading the text from the file into the editor. How can I do this with my Desktop Application. I am having a custom file type for it with extension .mmi. I want it so that when the user double click this file type it will not only open my application, but load the data within it into the appropriate areas of my application. I understand how to set the custom file type for my application settings, but where I am lost is how to get the file info that trigger opening my application so I can get the data from it.  For example. If I open a .html, and choose to use notepad.exe, the html is now loaded in the newly opened text editor.  This is for a From Application, not a console application that starts off with main having args, incase that helps or changes anything.  Example below:  public partial class FormDashboard : Form {     public FormDashboard()     {         InitializeComponent();     }      private void FormDashboard_Load(object sender, EventArgs e)     {            //I want to get what file trigger the app to open here, and apply the data accordingly throurght the forms application.      }


I'm a mathematician interested in abstract QFT.  I'm trying to undersand why, under certain (all?) circumstances, we must have $T^2 = -1$ rather than $T^2 = +1$, where $T$ is the time reversal operator.  I understand from the Wikipedia article that requiring that energy stay positive forces $T$ to be represented by an anti-unitary operator.  But I don't see how this forces $T^2=-1$.  (Or maybe it doesn't force it, it merely allows it?)  Here's another version of my question.  There are two distinct double covers of the Lie group $O(n)$ which restrict to the familiar $Spin(n)\to SO(n)$ cover on $SO(n)$; they are called $Pin_+(n)$ and $Pin_-(n)$.  If $R\in O(n)$ is a reflection and $\tilde{R}\in Pin_\pm(n)$ covers $R$, then $\tilde{R}^2 = \pm 1$.  So saying that $T^2=-1$ means we are in $Pin_-$ rather than $Pin_+$.  (I'm assuming Euclidean signature here.)  My question (version 2): Under what circumstances are we forced to use $Pin_-$ rather than $Pin_+$ here?  (I posted a  on physics.stackexchange.com last week, but there were no replies.)    EDIT: Thanks to the half-integer spin hint in the comments below, I was able to do a more effective web search.  If I understand correctly, Kramer's theorem says that for even-dimensional (half integer spin) representations of the Spin group, $T$ must satisfy $T^2=-1$, while for the odd-dimensional representations (integer spin), we have $T^2=1$.  I guess at this point it becomes a straightforward question in representation theory: Given an irreducible representation of $Spin(n)$, we can ask whether it is possible to extend it to $Pin_-(n)$ (or $Pin_+(n)$) so that the lifted reflections $\tilde R$ (e.g. $T$) act as an anti-unitary operator.


On StackOverFlow, the users who do not put anything in the profile have this displayed.  "Apparently, this user prefers to keep an air of mystery about them.".  Should it not be him/her?  Clarifying before hand that English is not my strong point.


Recurrence relation for the determinant of a tridiagonal matrix

Let  $$f_n := \begin{vmatrix} a_1 & b_1 \\ c_1 & a_2 & b_2 \\ & c_2 & \ddots & \ddots \\ & & \ddots & \ddots & b_{n-1} \\ & & & c_{n-1} & a_n \end{vmatrix}$$  Apparently, the determinant of the tridiagional matrix above is given by the recurrence relation   $$f_n = a_n f_{n-1} - c_{n-1} b_{n-1}f_{n-2}$$  with initial values $f_0 = 1$ and $f_{-1} = 0$ (according to Wikipedia). Can anyone please explain to me how they came to this recurrence relation?  I don't really understand how to derive it.


We noticed that lots of bugs in our software developed in C# (or Java) cause a NullReferenceException.  Is there a reason why "null" has even been included in the language?  After all, if there were no "null", I would have no bug, right?  In other words, what feature in the language couldn't work without null?


How one can prove the following.  Let $a$, $b$ and $c$ be non-negative real numbers. Then the inequality holds:  $(1+a+b)(1+b+c)(1+c+a)\ge9(ab+bc+ca).$  WLOG one can assume that $0\le a\le b\le c$.  It is not difficult to prove the statement when $0\le a\le b\le c\le 1$ or $1\le a\le b\le c$.


Error comes out with precision, how can I get rid from this?

Answer comes wrong when using decimal places! I'm running the following program:  #include<stdio.h>  #include<math.h>  main()  {  float x,y,div;  printf("Enter two numbers x,y \n");  scanf("%f%f",&x, &y);  div=x/y;  printf("div=%12.10f\n",div;  return 0;  }  After running, when I put x=1 and y=3 then answer comes 0.3333333433, but answer should be 0.3333333333. Why this error comes ? How can I get rid from this kind of error ? Please help.


What is the meaning of `ls directory > something`

I don't understand the meaning of this command.  ls ../slc > dates   How does it work?


I'm trying to understand at a high level how a  works. I want to know if the following summary I wrote is more or less accurate:  The jet compresses regular air into a combustion chamber. Fuel is sprayed into the combustion chamber. The pressurized fuel/air mixture is ignited and this increases the pressure inside the combustion chamber even more. The hot highly presurized gas blasts out of the combustion chamber. The energy of this blast is captured by turbines. The turbines power the compressor and provide useable power to a shaft.  Is my understanding correct?


I'd like to create the following equation:  Could you please give me a solution? Thank you.


Estimate on the derivative at fixed point

Let $D$ be a bounded domain and let $f$ be analytic function from $D$ into $D$. Show that if $z_{0}$ $\in D$ is a fixed point for $f$ , then $|f' (z_{0} )| \leq 1$.  WHAT I WAS THINKING:   To have a conformal mapping from $D$ to the unit disc & after composing it with $f$ ; I was thinking to use Pick's Lemma. So, can anyone tell me any conformal map from any bounded domain to the unit disc?? OR Is there any other way out to solve this problem??


Whenever I am trying to fix the broken package it is throwing the following errors.  Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required:   libidl-2-0 libkeybinder0 liborbit2 libvte-common libvte9   linux-headers-4.13.0-32 linux-headers-4.13.0-32-generic   linux-image-4.13.0-32-generic linux-image-extra-4.13.0-32-generic   linux-signed-image-4.13.0-32-generic python-gconf python-gnome2   python-keybinder python-notify python-pyorbit python-vte Use 'sudo apt autoremove' to remove them. The following additional packages will be installed:   kde-config-telepathy-accounts The following NEW packages will be installed:   kde-config-telepathy-accounts 0 upgraded, 1 newly installed, 0 to remove and 45 not upgraded. 455 not fully installed or removed. Need to get 0 B/137 kB of archives. After this operation, 825 kB of additional disk space will be used. Do you want to continue? [Y/n] y (Reading database ... 408140 files and directories currently installed.) Preparing to unpack .../kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_amd64.deb ... Unpacking kde-config-telepathy-accounts (4:15.12.3-0ubuntu1) ... dpkg: error processing archive /var/cache/apt/archives/kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_amd64.deb (--unpack):  trying to overwrite '/usr/share/accounts/services/google-im.service', which is also in package account-plugin-google 0.12+16.04.20160126-0ubuntu1 Processing triggers for libc-bin (2.23-0ubuntu10) ... Errors were encountered while processing:  /var/cache/apt/archives/kde-config-telepathy-accounts_4%3a15.12.3-0ubuntu1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)


What do we mean with magnetic monopole and dipole?

What do we mean with  and ? I can not find a way to relate magnetic monopoles and dipoles with electric ones. I do not understand their outcomes. Also,what is their role in Gauss' law for magnetism (the net magnetic flux through a closed surface is zero)?  I read that the magnetic dipoles are essential for the meaning of this law. Why? If magnetic monopoles existed,then why would the law not be valid? Lastly,why do we say that the magnetic field is divergeless? Some physicists try to find a magnetic monopole (something Dirac tried to explain i think). So if they actually find one, what does that mean? For a classic magnet(N-S) we know that we have charges inside moving in a circular motion and they althogether form that magnetic field of the magnet. So how does finding a magnetic monopole change this? What does it mean for those small currents?    (I might understood something wrong here so enlighten me please!)


The exact meaning of "John's paintings of his cat were auctioned"

Could it be true:   John's paintings of his cat were auctioned. = Some paintings made and owned by John depicting his cat were auctioned.


I recently installed Ubuntu with dual-boot setup. I was dumb enough to just give Ubuntu 8GB with diskplace, and now it's critical.   I need more and I have a good space in my SSD. How to I extend the diskplace?


Which is a better choice in case of a graduate admission?

Which is a better choice in case of a PhD application and why:   Submitting a transcript which indicates an incomplete study (50/120 credits completed) and 5 dropped (not failed) courses.    vs.   Concealing an incomplete study.   ??  If #1 is a Hobson's choice, how can I explain that to satisfy the admission committe?


Show that $\lim _{r \to 0} \|T_rf−f\|_{L_p} =0.$

I am having a hard time with the following real analysis qual problem.  Any help would be awesome.  Suppose that $f \in L^p(\mathbb{R})$, where $1\leq p< + \infty$. Let $T_r(f)(t)=f(t−r)$. Show that $\lim_{r \to 0} \|T_rf−f\|_{L_p} =0$, that is $$ \lim_{r\to 0} \left( \int_{\mathbb R} |f(t-r) - f(t)|^p \mathrm d t\right)^{1/p} =0.$$


Showing independence of random variables

When proving $\bar x$ and $S^2$ are independent in my noted it says that "functions of independent quantities are independent ". Can someone tell me how functions of independent quantities are independent happen?  Also let $X_1,X_2,X_3,\dots,X_n$ be a random sample.And suppose we want to estimate parameter $\theta$ using $T(x)$ as an estimator. In this I have a expression as $E\{ [  T(X)-E(T(X))][E(T(x)-\theta)]\}$.  I want to know if I can say that in $[T(X)-E(T(X))]$ since $E(T(X)$ (expected value is a one particular fixed value) and $T(X)$ are independent of one another. Also the expression $[E(T(x)-\theta)]$ is independent of $X$.  Hence the two expressions $[T(X)-E(T(X))]$ and $[E(T(x)-\theta)]$  are independent of one another. So that I can use if $a,b$ are independent $E(ab)=E(a)E(b)$ form


I'd like to be able to terminate a user's connection to my pptp server from the server itself without interrupting anyone else's connection. Problem is - I have no idea how and have found no useful information via the usual channels (google, basically).  Any help is much appreciated!   Edit I'm using Debian.


Seems like something went wrong here. Already tried to re-unwrap the wrong displayed parts of the mesh, also changing shading mode from smooth to flat and back to smooth. It still looks like this:    However, it seems like it actually doesn't have to do with the material shading. What else can I do to let it being displayed correctly?  Recalculating the normals did NOT work. It still only appears in "textured solid", pure solid mode shows the model like it should. Else no errors in the texture itself.     .blend-file:


I found out today while developing a shell script that which is not a builtin for sh.  What is a good equivalent?


Geometric interpretation of a complex set

These usually aren't too bad but I had difficulties thinking of what the set  $$\{z\in\mathbb{C}:|z+i|=2|z|\}$$ looks like in the complex plane. I got as far as  $$|z+i|=2|z|\Rightarrow \sqrt{(z+i)(\overline{z+i})}=2z\overline{z}\Rightarrow  \sqrt{z\overline{z}+i\overline{z}-iz+1}=2z\overline{z}\\ \Rightarrow z\overline{z}-i(z+ z\overline{z})+1=4z\overline{z}\Rightarrow 3z\overline{z}=1-i2\Re(z)$$  And rearranging a bit I guess I can see that $z\overline{z}+\frac{2i\Re(z)}{3}=1/3$. If there weren't that second term on the left, this would be clear, but I am not sure how to think about the dependence on the real part of $z$ here.   Having graphed in wolfram, I know this is just a circle of radius 2/3 centered at $i/3$, but I would appreciate help with the thought process.


I have installed Ubuntu 13.04 on my desktop (runs like a charm). Then I used Crouton to install Ubuntu 12. 04 on my chromebook samsung (ARM). It also works quite well.  Here comes my question. Can we have a true Ubuntu (preferably 13.04) on my ARM chromebook?  It seems that the Crouton/Ubuntu is not 100% the real thing.  The best option would be to have the full Ubuntu 13.04 and remove the Chrome OS.


Correct Definition of Angular Momentum of a Charged Particle in an Electromagnetic Field? (Classical Mechanics)

What is the more correct definition of angular momentum $\vec{\mathbf{M}}$ in three dimensions? (I.e. classically/Lagrangian/Hamiltonian, not necessarily quantum or relativistic)     $$\vec{\mathbf{M}}=m\cdot \vec{\mathbf{r}}\times \vec{\mathbf{v}}?$$   or     $$\vec{\mathbf{M}}=\vec{\mathbf{r}} \times \frac{\partial L}{\partial \vec{\mathbf{v}}}?$$   Obviously these two expressions are usually the same, but not always. (I think, I'm not sure, that is why I am asking -- I might be confusing "actual" momentum with a generalized momentum. I would have thought "canonical momentum" would refer to the former and not the latter).  See here:  and here:   If I am reading them correctly, for a single particle in an electromagnetic field, we have (classically) that      $$\frac{\partial L}{\partial \vec{\mathbf{v}}} = m\vec{\mathbf{v}}+q\vec{\mathbf{A}}\not=m\vec{\mathbf{v}}$$   Hence, if I want to calculate the angular momentum for such a particle, I need to know better what the proper definition of angular momentum is, since there are at least two choices available, both which seem appealing.  (Also the reason why $\frac{\partial L}{\partial \vec{\mathbf{v}}}\not=m\vec{\mathbf{v}}$ here is because we're dealing with a non-conservative system, right? So that force only equals the time derivative of momentum for conservative systems?)


Do i need to declare property in India when living in USA

I have been living in US and paying taxes, filing FBAR to declare the foreign bank accounts. My question - do i also need to declare my property like the house in which parents are living (but its in my name) or a house that my wife has back home and her sister is currently living in that?


Can sugar be absorbed orally within seconds?

Whenever I feel a little light headed or tired, it helps to eat something sweet. Specifically, simply chewing or sucking on a sweet seems to aleviate the symptoms within a matter of seconds and then the sugar seems to kick in. So I was wondering whether it is just a psychological effect, or whether sugars are absorbed in our mouth and reach the brain (or wherever the sugars exert their effects?) within seconds. Or is perhaps the taste of sugar sufficient to signal the body that it can safely release some extra energy as resupply is imminent?


In an answer to another question, someone jokingly mentioned using <: :> instead of [] for array subscripting.  I had never heard of this, and apparently neither has Google, so I did a bit of testing and found that all the way back in C compilers, <: is interchangable with [ and :> is interchangable with ], IE:  int* ptr; ptr<:0:>; ptr<:0]; ptr[0:>;   All compile and mean the same thing.  What was the purpose of this operator?


I have this really long equation and I have used multline to break it up. I also want to align the broken bits of the equation to the left. When I use  align, for some reasons it aligns to the right when I want it to be on the left. How can I align to the left?  \begin{multline} \begin{align} \mathcal{H}_{q1} \mathcal{H}_{q2} \mathcal{H}_{q3}...\mathcal{H}_{qn}0=\frac{1}{2}H_{q1}\{\mathcal{H}_{q2}\mathcal{H}_{q3}...\mathcal{H}_{qn}0\}+\frac{1}{2} h_{q1} \\ =\frac{1}{2}H_{q1}\{\frac{1}{2} H_{q2}[\mathcal{H}_{q3}...\mathcal{H}_{qn} 0]+\frac{1}{2}h_{q2}\} +\frac{1}{2}h_{q1}=\\ \frac{1}{2}H_{q1} \frac{1}{2} H_{q2} [\frac{1}{2}H_{q3}(\mathcal{H}_{q4}..\mathcal{H}_{qn}0)+\frac{1}{2}h_{q3}]+ \frac{1}{2}h_{q2}+\frac{1}{2}h_{q1}=...\\          =(\frac{1}{2^n})H_{q1}H_{q2}H_{q3}..H_{qn}0+ (\frac{1}{2^n})H_{q1}H_{q2}H_{q3}..H_{qn-1}h_{q1}\\+(\frac{1}{2^n})H_{q1}H_{q2}H_{q3}..H_{qn-2}h_{qn-1}+.. \\+ (\frac{1}{2})h_{q1}=\sum^n_{j=1} (\frac{1}{2^j}) H_{qo}H_{q1} H_{q2}H_{q3}..H_{qj-1} h_{qj} \end{align} \end{multline}


Evaluating the definite integral $\int_0^{2π} \tfrac{1}{(a+b\cos^{2}\theta)^2}\,d\theta $

How can I evaluate $\int_0^{2\pi} \! \frac{1}{(a+b\cos^{2}\theta)^2}\,\mathrm{d}\theta$  My attempt is, substituting $z=\exp(i\theta)$ and $\cos\theta=\frac{z+\frac{1}{z}}{2}$ Then how can I do further process... Thank you in advance.


Why is Minecraft giving an OpenGL error?

I recently got Minecraft but not from the website, I paid for a code and everything seemed ok. When I tried to play the game a thing came up saying it crashed and then a message popped up saying The game crashed whilst initializing game     Error: java.lang.IllegalStateException: GLFW error 65542: WGL: The driver does not appear to support OpenGL.


Reference manager with note-taking/quote-storing capabilities

I'm looking for a reference manager with note-taking/quote-storing capabilities. I don't need a full knowledge management suite, but I want to find a program where I can store and search long notes/lots of quotes, attached to entries in my bibliography.  So far I've used:   Bib(La)TeX + pen and paper Zotero Mendeley Paperpile (Not sure about Endnote, but at least I haven't seen it used for what I need.)   Pen and paper obviously isn't searchable, and funnily enough, neither are the notes in Zotero. All of these programs treat notes as negligible, focusing on PDF metadata import and annotations, PubMed or Google Scholar search and whatnot. Which is all fine but not what I'm looking for. Since I work in the Arts & Humanities I still have my fair share of books accompanying the PDF articles in my work routine. For those I don't need any online specialties but rather a way to attach lots of quotes, notes, summaries and so on.  From what I've heard, Citavi can do some things like that, but I'm nowhere near a Windows computer to try it out. Ideally I'm looking for Linux programs, I could try Mac, and give bonus points for a web interface.


Comparing IP info between two files based on criteria and outputting the results to two different files

I have a file called "knownIP". This file contain known IP addresses for a group of windows servers. These IP addresses are unique to this group of windows servers.   I have another file called "scanip". This file contain IP addresses from a vulnerability scanner. These IP addresses are: the IP addresses for the group of windows servers plus other operating systems and network devices mixed in.   I would like to do two things:   Compare the file "knownIP" with the file "scanip" and print out the ip's that are not exist in the file "knownIP". Compare the file "knownIP" with the file "scanip" and print out the ip's that are only exist in the file "knownIP".   Here is my syntax:  if diff knownIP scanip > Output;then   echo The two files are the same else   echo The two files are different fi   And here is an example of the knownIP file, which is just a file with a list of IP addresses.  172.17.29.14 172.17.28.89


I was given this question  A store sold $72$ decks of cards for $\$a67.9b$, where $a$ and $b$ are digits. Find $a + b$.  I'm not really sure how to solve this. I tried $100a + 67.9 + b \cdot0.01 \equiv 0 \pmod{72}$. From there you can get $100a + b \cdot 0.01 \equiv 4.1 \pmod{79}$. But this can't work. $b$ is maximum $9$, so you'll always end up with something in the hundreds place when you've divided. What am I supposed to do to solve?


Why is paste/drag-and-drop of images not available on some browsers?

Since , Stack Exchange has been offering . This is awesome, but it doesn't work the same on all browsers.   Google Chrome (28.0.1500.71 m) provides both paste & drag-and-drop (this feature seems to have been removed in 35.0.1916.114 m):    Firefox (22.0) only provides drag-and-drop:    Internet Explorer (9.0.8112.16421) provides none:    Why is there a deficiency in certain browsers and/or what can be done?


different possible definitions of the exterior derivative?

In Helgason, "Differential Geometry, Lie Groups and Symmetric Spaces"  we have the formula for the exterior derivative  $(p+1)d\omega(X_{1}, \ldots X_{p+1})=\Sigma_{i=1}^{p+1} (-1)^{i+1} X_{i} \cdot \omega(X_{1}, \ldots , \hat{X_{i}}, \ldots X_{p+1})+\Sigma_{i<j} (-1)^{i+j}\omega([X_{i}, X_{j}], X_{1}, \ldots , \hat{X_{i}}, \ldots \hat{X_{j}}, \ldots , X_{p+1})$  but in other sources on-line they have the same formula without the factor of $p+1$ on the left-hand side.  Are there two different definitions of the exterior derivative, or is there an error in Helgason?


Table of contents not showing correctly (supperposition numbers with text)

Anyone knows how to solve this? The problem is that the number is very close to the title when the number reaches 10. I will add an image to reference this. Thanks in advance!  These are all the packages (and the type of document) I used: \documentclass[12pt]{article} \usepackage{amsmath}  \usepackage{graphicx}  \usepackage[margin=1in]{geometry}  \usepackage{cite}  \usepackage{float} \usepackage[final]{hyperref} \usepackage{amsmath} \usepackage{xcolor} \usepackage[spanish]{babel} \usepackage[bottom]{footmisc} \usepackage{titlesec} \usepackage{hyperref} \usepackage{soul} \usepackage{comment} \usepackage{subfiles}


30-day UK tourist visa rejected. Since i have booked the flights and hotels i am  planning to reapply. So can i reapply again and which are the additional documents required ?  Reason for rejection ( from Embassy note):     i have refused your application for visit because i am not satisfied that you meet the requirements of Appendix V: Immigration Rules for Visitor because      You have stated that you are a senior engineer for Company £ 625 per month after tax and you have evidenced this with Payslips and an employment letter.   You stated that the trip will personally cost you £ 4000 . As a evidence of your personal finances have provided the following bank details in your name.      Total bank balance £ 6500 ( Salary account and savings account combined).      How ever i note recent deposits have been credited to each of the bank accounts provided. Of particular note is a deposit of £3700 credited to account xxxxxx on 22/7/16. From the documents provided, the origin of these fund is unclear and deposit are inconsistent with the transnational history shown. I am not satisfied that the money is genuinely available to your exclusive use. Deposits in the account bear little relation to your stated income and i do not discount the possibility that an attempt has been made to provide an enhanced image of your financial circumstances for the purpose of this application.   i have therefore refused your application with paragraph v4.2 (a) and (c) and (e) of the immigration Rules.   The amount £3700 is credited from my father account it can be clearly seen from  the statement that i have submitted. He got the money from local saving scheme and i am paying monthly by cash for 4 years. I don't any proof to show the source of that money.   Please tell me which are the additional documents required for reapplying ?


Calling a non-static method with constructors using objects from a different class

I am way deep into Java which I am pretty much unaware off. But few days of reading has led me to this understanding - I cannot call a non-static method from a a method of a different class.   So, I have a non-static method inside a class (ClassA) with a constructor. Lets call this MethodA.   And in MethodB in ClassB, I am doing this,   MethodB{ public static CommandControl ab; ClassA objectA = new ClassA(ab)  objectA.MethodA(String S) }   Now, I have a NullPointerException when the control goes inside ClassA since the value of ab = null.   How do I avoid this?


I know that  provides downloads for official releases. I see on forums that people use newer versions of Blender. Where can I get newer version of Blender (nightly builds, alpha versions... etc).


execute commands on remote server using shell script

I have a deployment script located on a build server. Each time I need to generate the build I need to login to the server using ssh and then trigger the deployment script.  I managed to generate the public/private keys so that I need not enter the password to login to the build server. But still I need to login and run the deployment script. Is there a way where to automate the login, executing the deployment script on the build server and then exit from in one local script. How to achieve this


On the  we can read about \K:     Keep the stuff left of the \K, don't include it in $&   Here is the practical example using GNU grep (which actually keeps stuff right of the \K):  $ echo "foo bar buzz" | grep -Po "foo \Kbar buzz" bar buzz   Is there any opposite sequence of \K?  For example to print just bar, like:  $ echo "foo bar buzz" | grep -Po "foo \Kbar\X buzz" bar


How to prove that orthochronous Lorentz transformations $O^+(1,3)$ form a group?

Orthochronous Lorentz transform are Lorentz transforms that satisfy the conditions (sign convention of Minkowskian metric $+---$) $$ \Lambda^0{}_0 \geq +1.$$ How to prove they form a subgroup of Lorentz group? All books I read only give this result, but no derivation.  Why is this condition $ \Lambda^0{}_0 \geq +1$ enough for a Lorentz transform to be orthochronous?  The temporal component of a transformed vector is  $$x'^0=\Lambda^0{}_0 x^0+\Lambda^0{}_1 x^1+\Lambda^0{}_2 x^2+\Lambda^0{}_3 x^3,$$ the positivity of $\Lambda^0{}_0$ alone does not seem at first glance sufficient for the preservation of the sign of temporal component.  And how to prove that all Lorentz transform satisfying such simple conditions can be generated from $J_i,\ K_i$?    For those who think that closure and invertibility are obvious, keep in mind that $$\left(\bar{\Lambda}\Lambda \right)^0{}_0\neq \bar{\Lambda}^0{}_0\Lambda^0{}_0,$$ but instead $$\left(\bar{\Lambda}\Lambda \right)^0{}_0= \bar{\Lambda}^0{}_0\Lambda^0{}_0+\bar{\Lambda}^0{}_1\Lambda^1{}_0+\bar{\Lambda}^0{}_2\Lambda^2{}_0+\bar{\Lambda}^0{}_3\Lambda^3{}_0.$$  And I'm looking for a rigorous proof, not physical "intuition".


Global auth is dead! Long live universal login

Update: Universal login is in place and considered "done". If you see anything weird, please submit new bug reports.   As y'all know, our current flavor of "global authentication" leaves a few things to be desired. It's flaky, requires a page refresh, etc. etc. Wouldn't it be nice if you could just sign in once and be automatically logged in across the network?  We are ready to roll out Stage 1 of Project "Make Authentication Suck Less". It is live as of a few minutes ago. What this means right now:  When you log into any Q&A site on the stackexchange.com domain, you will be automatically logged into all other Q&A sites on the stackexchange.com domain + stackexchange.com itself.   is excluded from this.   , , and other Q&A sites with their own domains will still use the old flow.  We are going to recognize you in some ways on sites where you don't have a profile. This is still a work in progress, but most notably you will see "join this community" in the top bar instead of "sign up" and "log in".   But I use multiple accounts! What do? We aren't intending to break the ability to run multiple accounts. The same guidelines as before still apply — we don't officially support that, you might end up with an accidental automatic merge if you're not careful with your credentials, any interaction between the accounts is right out, and so on. If you're already using different browsers or different browser profiles for your accounts, nothing will change for you. If you are somehow logged into multiple accounts in the same browser... I'm sorry to say, but that's a bug even for our current global auth setup. You will now only be able to log into one at a time, and you'll need to log out when you want to switch. (Or start using different browsers.) What's next:  Remember  we tested a few months ago? It's coming back. Stage 2: bring other domains into the fold (this is also live now) Stage 3: make cross-domain experience smoother and support browsers that reject third-party cookies in all conditions (looking at you, Safari) - this is not currently feasible. Safari users and users who reject third-party cookies will need to sign in separately to every second-level domain (e.g. stackexchange.com, stackoverflow.com, etc).  If you see any issues… Good luck, because you probably can't log in to report them here. =) But seriously, let us know via the contact form linked at the bottom of any page. If you are able to log in, report issues here on meta as normal. So, in conclusion…


Why do we say that irreducible representation of Poincare group represents the one-particle state?

Only because   Rep is unitary, so saves positive-definite norm (for possibility density), Casimir operators of the group have eigenvalues $m^{2}$ and $m^2s(s + 1)$, so characterizes mass and spin, and It is the representation of the global group of relativistic symmetry,    yes?


What is a word that means "unwilling to learn"?

I train people in software and sometimes the students are resistant or unwilling to learn. I would like to know if there is a word to describe these people.


Is it possible to delete a customer review that contains wrong information?

We have an iPad app in the app store. Someone wrote a review that contains some false information about the app.  What can I do about this? Can I flag the comment so that Apple takes a look at it?


Convergence of the series $ \sum\limits_{n=3}^\infty \frac {1}{n\log^2n} $

I want to show that   $$ \sum_{n=3}^\infty \frac {1}{n\log^2n} $$  converges.  My work:   Since for n = 3 to infinity, the summands are positive, then we know that the sequence of partial sums,   $$S_N =  \sum_{n=3}^N \frac {1}{n\log^2n},$$    is monotonically increasing.  So, it remains to show that $S_N$ is bounded.  Can I get a tip on how to show the boundedness?  Thanks,


Crouton is overlaying the toolbar on the Android app

The Crouton should ideally display underneath the toolbar, for context-sensitive updates that don't block content actions.


What if an abbreviation is at the end of a declarative sentence? Should I duplicate a full stop sign? If the following sentence begins with a proper noun, not putting two periods may be confusing, in theory. Edit: It used to be 'contraction' instead of 'abbreviation'.


Shrinkwrap addon conflicting with curve bevel

I have made a grid curve which I beveled for a final result which looks like this:    I am making an animation out of this, which will make the grid object wave like a flag. To do so, I have shrinkwrapped the grid object to a moving wavy plane, so that the result looks like this:    Now, the problem is that not only did the curve get shrinkwrapped onto the plane, but also the bevel. Which makes the whole thing flat, as can be seen in the GIF. How can I fix this?  One solution I can think of would be to "bake" the waving animation onto the curve so that I don't need the shrinkwrap addon anymore, thus letting me bevel the curve independently. Unfortunately, I do not know how I can do this.  Thanks for reading!


Incompleteness of $(C[a,b], \| \cdot \|_1)$

Consider $C([a,b])$, the vector space of continuous functions in $[a,b] \subset \mathbb{R}$ to $\mathbb{R}$. Let be $f \in C([a,b])$, we define $\|\cdot\|_1$ as follows: \begin{equation*}  \|f\|_1 =  \int_{a}^{b}|f(x)|dx  \end{equation*} I must show that $(C([a,b]), \|\cdot\|_1)$ is not a Banach space. This is my answer the which one is wrong according to my teacher. Consider the following counterexample. Let $c =2^{-1}(a+b)$ y $f_n:[a,b] \rightarrow \mathbb{R} \hspace{.1cm} \forall n \in \mathbb{N}$ with the following association rule and graph:  It's clear that $\{f_n\}_{n \in \mathbb{N}} \subset C([a,b])$. We will show that $\{f_n\}_{n \in \mathbb{N}}$ it's a $||\cdot||_1-Cauchy$ sequence. Let be $\epsilon > 0$ and $N = \displaystyle \left\lceil{ \frac{1}{2 \epsilon}}\right\rceil$, then: \begin{equation*}     ||f_n-f_m||_1 = \int_{a}^{b} |f_n(x)-f_m(x)|dx = \left| \frac{1}{2n}-\frac{1}{2m} \right| \leq \max \left\{ \frac{1}{2n}, \frac{1}{2m}\right\} < \epsilon, \hspace{.1cm} \forall n,m \geq N \end{equation*} So the sequence is $||\cdot||_1-Cauchy$, however though this sequence converges to the following limit function, the limit function is clearly discontinuous. Let be $f:[a,b] \rightarrow \mathbb{R}$: \begin{equation*} f(x) =      \begin{cases}         1 & \text{si $x \leq c$}\\         0 & \text{si $x > c$}     \end{cases} \end{equation*} Fixed $\epsilon_1 > 0$ and $N_1 = \left\lceil{\displaystyle\frac{1}{2 \epsilon_1}}\right\rceil$, then: \begin{equation*} ||f_n-f||_1 = \displaystyle\int_{0}^{1} |f_n(x)-f(x)| = \frac{1}{2n} < \epsilon, \hspace{.1cm} \forall n \geq N_1 \end{equation*} $\textbf{Now, the problem is that}$ (according to my teacher) I only have propose a discontinuous function wich is a limit of the sequence, this does not means that do not exits another continuous function wich is also the limit of the sequence. I understand the problem, but nothing comes up to me to solve this.


To where/whom should I write for an invitation to create a tool for bullet graphs?

I was wondering if creating "bullet gauges" is possible in any LaTeX package, but I didn´t find any.  In other question @Jake answered me with a solution for simple graphs in   I want to talk to somebody about this, because I think that it's a good contribution to LaTeX, and I'd like to invite to consider creating this kind of graphs as a new addition in the future, I think the use of this kind of graphs is increasing.  You can see bullet gauge original directives here, Stephen Few is the creator of this kind of graph:    Here you can see with more data:    In the version 9 of Mathematica, thee are a lot of options like you can see here:    I think that it may be useful reading data from files.


Applying a curve modifier to an extruded plane causes plane to become a line

Surely this is some setting that is wrong, but what?? I trying to bend an extruded plane using the curve modifier, but as soon as I select the bezier curve in the modifier, I lose all dimensions of the plane!


My students write sentences like this:      She hasn't gone out with him since two months ago.   so I want to know if this sentence is right or wrong in English grammar.


Need Help Fixing Grub after Installing Ubuntu 13.04 x64 Alongside Windows 8 on a Lenovo IdeaPad Y400 with UEFI

I have a Lenovo IdeaPad Y400 that came pre-installed with Windows 8. I would like to run Ubuntu alongside it in a dual-boot configuration. I've spent the past week fiddling around, re-installing both Windows and Linux in various configurations, and I've come awfully close to success, but seem to have hit a snag with Grub.  For my most recent attempt, I took the following steps:   Disabled Secure Boot Re-imaged Windows 8 from a hidden recovery partition, effectively restoring the machine to factory state Activated an option called Legacy Support in the BIOS (or is it UEFI now?) Booted Ubuntu 13.04 x64 from a USB stick, chose "install alongside Windows" and accepted all default options After a restart, found that I could boot Ubuntu, but could not boot Windows Once into Ubuntu, I ran Boot Repair with recommended settings and accepted all defaults. When Boot Repair finished, I was presented with the following message:      The boot files of [The OS now in use - Ubuntu 13.04] are far from the   start of the disk. Your BIOS may not detect them. You may want to   retry after creating a /boot partition (EXT4, >200MB, start of the   disk). This can be performed via tools such as gParted. Then select   this partition via the [Separate /boot partition:] option of [Boot   Repair]. ()    I followed the instructions at the url in the message, creating a 1GB EXT 4 partition near the start of the drive  when I tried to run Boot Repair again, the "Separate /boot partition" option on the "Grub Location" tab was disabled.  The new partition is /dev/sda11 and has the label GRUB. On restart, I get the following error message:      error: file '/boot/grub/i386-pc/normal.mod' not found.    grub rescue>    However, if I manually choose the boot partition by hitting F12, I can boot into Windows no problems. Selecting Ubuntu from the boot device menu gives me a Grub menu with the following options:      Ubuntu      Advanced options for Ubuntu       Windows UEFI recovery bootmgfw.efi      Windows Boot UEFI recovery       Windows UEFI recovery LrsBootmgr.efi      Windows Boot UEFI recovery bkpbootx64.efi       Windows Recovery Environment (loader) (on /dev/sda3)       Windows 8 (loader) (on /dev/sda5) System setup    Selecting Ubuntu from this menu allows me to get to my Ubuntu desktop. I haven't tried the other options yet for fear of losing the progress that I've made.   So it looks like I have successfully dual-booted the machine, but that Grub is broken for some reason or another.   My current partition scheme can be seen at:   Thanks in advance - Jonathan


Python allows me to compile bytecode that contains an undefined variable, while Java does not. Is python putting me at risk?

Lets see same program written in java and python . I cannot understand the motive behind python's behavior .  prog.py :  #!/usr/bin/python print "Hello, World!\n" def hello(name):     print "Hello " + name     print sample  #hello("harish")   Prog.java  public class Prog {     public static void hello(String name) {        System.out.println("Hello " + name);        System.out.println(sample);       }      public static void main (String... args) {         System.out.println("Hello, World!\n");        //hello("Harish");     } }   The above python code prog.py executes without any problem  but Prog.java raises errors .  My arguments   1) I would prefer python is good , looking from the angle that I need not bother about it until I call the function hello(name) . If i called the function during execution phase , then an error would be flung as "NameError: global name 'sample' is not defined".  2) But it looks danger by looking at the angle that it might fling such errors in execution time . But java tells all these things even during compile time .  3) also if I want to distribute the python code as .pyc file , using py_compile.compile("prog.py") . The pyc file is generated without warning that 'sample' is an undefined variable . This puts me at risk because these errors might be discovered in production ,which is too dangerous .  What am I to interpret from this type of working of python . Why is it designed to be so ? what is the advantage in not being so strict while compilation (py -> pyc ) ? Is it not dangerous ?


Steganography - How many bytes of information can you hide in a $1024 \times 768$ photo?

I have a photo with a resolution of $1024 \times 768$ which means $786432$ pixels in total. Let's suppose it's a 24-bit color RGB image (so 1 pixel = 3 bytes = 24 bits) and I want to hide information by only modifying the last bit of a color value. What is the maximum number of bytes that I can hide in this photo?