Windows 7 + Deep Freeze - I'm stuck in an endless reboot loop

I have the following setup:   Windows 7 Ultimate Deep Freeze   I "thawed" my machine last night and performed a Windows Update. The update is having issues (it gets stuck at 32%, fails, and restarts my machine). When it reboots it attempts it again, and again, and again, etc. (Endless loop).  I looked online and found some solutions, but none of them seem to be working:   When I run Safe Mode, Safe Mode w/ Network, or Safe Mode w/ Command Prompt it attempts to revert the Windows Update changes. However, the problem is with Deep Freeze on (and now in "Frozen" mode) the reverted changes don't stay, and I'm back into the loop of death. Oh, and side note: "Safe Mode w/ Command Prompt" does not actually take me to a command prompt window? Perhaps because it is attempting to complete the Windows Update changes first? I have tried to select the option to NOT restart when an windows error occurs, but it still does. I tried the remainder of all the other options in the F8 screen.     The only other option left is to find my Windows 7 Media Disc (I can't find it right now) and use it to repair windows (because for some reason the repair option does not show up in the F8 screen).  Is there a way to disable Deep Freeze from loading? When I selected "Safe Mode w/ Command Prompt" I noticed that it loads the DpFrz.sys file. I know that when I'm in the Windows Boot Manager if I press F10 instead of F8 (while highlighting Windows 7) it takes me to an "Edit Boot Options" screen:     Edit Windows boot options for: Windows 7      Path: \Windows\system32\winload.exe      Partition: 2 Hard Disk: 8e90e329      [ /NOEXECUTE=OPTIN (I CAN EDIT THIS LINE)   ]     Update: I found my Windows 7 Media Disk and it did not help out. The laptop had the "System Restore" as a partition on the HDD. I later received (in the mail) a Windows 7 Upgrade Disc from Sony to upgrade my system from Windows Vista to Windows 7 Ultimate. I placed the disc into the DVD drive and it does not come up as a "bootable" disc. I'm going to try to find an alternative disc to see if I can get into Command Prompt.    Update 2: I got a Windows Repair disc and got into a command prompt window. I got into the registry and disabled Deep Freeze. Also:   I renamed the Pending.xml file to Pending.old I cleared out the Windows Temp directory   I still am stuck in the loop (though, it isn't an issue with DeepFreeze anymore because I can make changes to the hard drive and they persist). Not sure what to do at this point?    Update 3: I ran the repair option and it couldn't repair, but it did point me to something. It says the error was due to a driver that was failing. I have a feeling it is my UPEK Fingerprint scanner.


The memory usage of SQL Server keeps growing

We have a production SQL Server 2008r2 x64. 16GB RAM and this server is used by the application (hosted) and SQL Server.   The max memory setting = 6GB The min memory setting = 128MB.   There are ~25k users access this database server through the application. As the memory usage reaches to the max memory setting value, we will start facing timeout issues and users will not be able to login. Also, we see CPU usage by SQL Server is 100% when this happens.  Is there any way to control this buffer pool memory usage by SQL Server as SQL Server will not release this memory until the OS is in badly need of it. Currently, whenever such a situation occurs, we just restart SQL Server and let it release the memory to the OS. After restarting it works smoothly for few days and again it reaches to the max memory limit and start causing issues.  So how do all huge production environments using SQL Server manage this issue? As memory usage will rapidly be growing.


Since the dawn of windowed software, to click on the scrollbar space (i.e. not the arrows, nor the small block) meant to scroll the size of one page (just like pressing Page Up/Page Down).  Now, in a recent update, not only is Firefox missing the scrollbar arrows, but also when I click somewhere in the scrollbar makes the small block go to that position. Probably somebody somewhere thought it was a "nice" innovation, but I think it's just completely useless. If I want to go with the small block to a new position, all I needed to do was grab the block and drag it there. I can't shift my window by the size of one page anymore. Of course I can still use the Page Up/Page Down keys, but they won't work for horizontal scrollbars.  Any way to revert this? Or at least let the developer in question know that we're not satisfied with their "need for useless innovation"?  I'm using Firefox 46 on Ubuntu 14.04.


Why is user reputation publicly available?

Coming from Stack Overflow here.  I understand that a point system is a must when you have experienced and inexperienced users all mixed together in the same boat. However, I don't understand the point of being able to see each other reputation. In fact, on Stack Overflow, the only thing that users gain with reputation are privileges, which is okay. However, these privileges are only meta tools that has nothing to do with their actual knowledge (to some extent). That being said, if these personal privileges were private (unknown to other users), it would change absolutely nothing for the other users, and the user itself.  Now, some of you will say that being able to see a user's reputation is a good overall measure of its actual capacity to answer. So when you see two answers which seem valid, but one from a 200 reputation user and one from a 20000 reputation user, our subconscious makes the biased assumption that the latter must be the best one. Even if it's usually the case, there is already a point system that takes care of that. In fact, if the latter is really a better answer, we vote the question up. If one's bad, we vote it down. As simple as that; no need for reputation.  Also, like stated in this , this makes users worry about reputation, just like if it was a form of RPG where some are better than others. However, the reality is that old users benefit from that, and new users will never be able to come as close in terms of reputation. It's not like boxing where you can prove you can knock your opponent. It's a system where only time can push you up, even if you are extremely knowledgeable but unfortunately new to the platform. Most importantly, I think that a platform like Stack Overflow, which is suppose to promote community assistance and development, is bringing down the majority by exposing the minority, when the main reason why we are all here is to learn.  I do think that a system where everyone is equally exposed on the website would be better. The reputation system would remain, but it would be private, just like the money in your bank account. There would be no bias, and the point system would still work as intended (good = +1, neutral = 0, bad = -1). In fact, it would be similar to the Reddit approach (to some extent), which is in my opinion a way more friendly one.  Any toughts?


Has the CVE-2019-11815 bug been patched in the kernel version 4.15.0-50-generic?

The bug has been patched in the Linux kernel 5.0.8 version, according to the news. What about the kernel version 4.15.0-50-generic? How to check a given kernel to find out whether CVE-2019-11815 has been patched? How to patch the CVE-2019-11815 bug in Ubuntu 18.04.2 LTS with the kernel version 4.15.0-50-generic?


Invocable method Apex class is not visible in Process builder

I am trying to use following apex class with invocable method but its not showing in process builder.  global with sharing class SlackOpportunityPublisher {      private static final String slackURL = 'https://testsalesforceapps.slack.com/';      global class Oppty {         @InvocableVariable(label='Opportunity Name')         global String opptyName;         @InvocableVariable(label='Stage')         global String stage;     }      @InvocableMethod(label='Post to Slack')     global static void postToSlack(List<Oppty> oppties) {         Oppty o = oppties[0]; // If bulk, only post first to avoid overloading Slack channel         Map<String,Object> msg = new Map<String,Object>();         msg.put('text', 'The following opportunity has changed:\n' + o.opptyName + '\nNew Stage: *' + o.stage + '*');         msg.put('mrkdwn', true);         String body = JSON.serialize(msg);             System.enqueueJob(new QueueableSlackCall(slackURL, 'POST', body));     }      global class QueueableSlackCall implements System.Queueable, Database.AllowsCallouts {          private final String url;         private final String method;         private final String body;          global QueueableSlackCall(String url, String method, String body) {             this.url = url;             this.method = method;             this.body = body;         }          global void execute(System.QueueableContext ctx) {             HttpRequest req = new HttpRequest();             req.setEndpoint(url);             req.setMethod(method);             req.setBody(body);             Http http = new Http();             HttpResponse res = http.send(req);         }      }  }


Site Analytics header does not show the link to "traffic sources" when in that section

I was seeing the Site Analytics page (/site-analytics)  (>25K users) and also  and found out that the header is not consistent:   When in history, the header shows "history | traffic sources" When in traffic sources, the header just shows "history"   Graphically:


How can I make my flashdrive persistent?

I'm currently running ubuntu 17 on my flashdrive. It's the first time I use linux and I have no idea what`s going on. I followed  but when the computer boots it shows a few options, like install ubuntu or try it. I always choose the second one. If I choose install, can it be done in the flashdrive with the ISO?


How to calculate a mean and standard deviation for a lognormal distribution using 2 percentiles

I am trying to calculate a mean and standard deviation from 2 percentiles for a lognormal distribution.   I was successful in performing the calculation for a normal distribution using X = mean + sd * Z and solving for mean and sd.  I think I am missing an equation when I try to do the same thing for a lognormal distribution. I looked at  and trying to use ln(X) = mean + sd * Z but I'm getting confused whether the mean and sd in this case are for the normal distribution or the lognormal.  Which equations should I be using? and will I need more than 2 percentile to solve the calculations?


How did Angela cast the spell in Inheritance?

Anyone has any idea how Angela cast the spell beneath Dras Leona, that took out the group of soldiers?  The one with time being movement and movement being warmth, while warmth and energy is but the same thing.  I've thought alot about this, and can't come up with an answer


old dell xp given to me by work. used to be network logged on machine

I was given by my work an old Dell Optiplex. I did ask the administrator what the password was but he can't remember. when you turn the machine on you eventually arrive at a screen which asks you to give ctrl-alt-delete which then results in the log on screen. The details (user/department name) are now irrelevant and the network on which it would log on are changed too/no longer in existance. I would like to use this old machine as a standalone for simple tasks, but can't get in. I've tried to find administrator password via ophcrack but couldn't see anything. I can boot up the machine with something other than windows (linux via cd). where would I be able to change settings, which file, or even ditch it and then boot into xp again with the possibility to set up user accounts etc from windows. your help would be very much appreciated


How do I reinstall Ubuntu without losing data?

Yesterday I did a system upgrade by running sudo apt-get update && sudo apt-get -y dist-upgrade on my laptop,  a Lenovo G50-80 which only runs ubuntu 16.04 as my operating system of choice.  Everything from thereon went crazy, in a sense that my internal microphone could no longer work and the problem is that I discovered that while being interviewed using the  application as it so happened that I could hear my interviewer but they could not hear me(which was gut-wrenching, to say the least).  I tried all solutions suggested  and many other solutions from other blogs and none of them worked for me.  This morning I turn my machine and I cannot seem to access my system settings and so my frustrations continue.  Anyway below is a screenshot of how I partitioned my hard drive   and I would like to know if I can reinstall my os(which will hopefully fix the microphone issue among others) on /dev/sda1 without affecting the data on /dev/sda4 and /dev/sda5 or do I have to backup all the data on these drives before doing that.  Thank you.


what is the word for saying bad words about other people

There is a word to call this kind of person:        habitually say bad things about other people, ONLY when the said people are not present   always excited to spread rumors, especially the bad things about some people he/she does not like      The word is something like "long tongue" or something like that, but I just cannot recall.


I've started working on a demo for my 2.5D game. For a basic scene I figured I would just use the good old fashioned doom sprites textured to a double sided plane. Simple enough. But I've been scratching my head as to how to display the proper sprite animation relative to the player viewing the sprite...if that makes since.  For example suppose I have three players in the scene Players A, B, and C as such:    Player C should see player A as: Here's an example of what I think player A should look like from C's perspective:    While player B would see player A as follows:    My current idea is that for any given player, I will need to know the current direction of each other player, and where they are located/moving to relativly. From this, I could calculate which sprite image is required.  Is this correct? What improvements/optimizations could be made?  ** EDIT ** Total number of directions will be 8 as depicted below:    For each direction there are two sprites (to show walking movement, sprites for the right hand directions are mirrors of the left):    ** EDIT 2 ** Got this working and have a simple javascript/threejs example for anyone interested:


My computer that is plugged into an UPS reboots when the power goes down

I am using a Seasonic SS 400et active PFC F3 power supply, but my computer reboots when the power goes down. The computer's processor is an Intel Core 2 Quad Q6600. I have 6 GB RAM and a GTS 250 512 MB graphics card. What can I do to find and fix my issue?


Can we use ampersand in alias names which we use in Oracle select statement. any work around to get this working?  select ename||','||job as name&job from employees ;   ps: I am using plsqldeveloper IDE.


One of the rules of using the perfect infinitive says that it can refer to something that will be completed at a point in the future.   We hope to have finished the building works by the end of March.   I would like to know what would happen if I changed the sentence to:  We hope to finish the building works by the end of March.   Is there a different meaning? Is it grammatically OK?


I happened to read a book and I saw the sentence : I was sitting between my mother and father But then I thought among would also fit the sentence: I was sitting among my mother and father I am actually unsure as both fit the sentence well and I also want to know their meaning and usage in sentences.


I am an undergraduate student graduating next month. I wrote a research paper done by myself, but it's been rejected by two journals sofar so I haven't been able to publish it.   I am applying for scholarships and  having a published paper would improve my chances.   If i upload my paper in arxiv, is it considered as published paper? can i write it in my cv as published paper and what is the most suitable way to write it *in my cv?  Thank you!


Can I create f-curves for shader node values in python?

Using Blender 2.90alpha, I already have some fancy python code to set some keyframes on an object + data_path from my external data source. It creates obj.animation_data.action then calls obj.animation_data.action.fcurves.new(path, index) for each channel, and then inserts points into the fcurves. That works fine for objects. I'd like to do the same for shader nodes; but the    all use a different method: shader_node.inputs[1].default_value = 1 shader_node.inputs[1].keyframe_insert("default_value", frame=10)  and then apparently you can get the fcurve afterward using something like this (?) action = material.node_tree.animation_data.action data_path = 'nodes["my shader node"].inputs[1].default_value' # rooted at "node_tree" apparently fc = action.fcurves.find(data_path) # ... do things with fc # apparently the fcurve is actually stored in mat.node_tree.animation_data.action.fcurves  but I'd prefer, if possible, to just create the fcurves directly with their data paths. I haven't seen any examples doing it that way and wonder if it's possible for shader nodes (before I dive into it). And if so, how can I make sure I get those data paths right -- is there any API to get the data path for a value?


I have tried searching and used without the solution mentioned here:  I have this query: $sql = "UPDATE factuur_toekomst SET             fac_datum = CONCAT(DATE_FORMAT(DATE_ADD(fac_datum, INTERVAL ".$add_regels_interval." MONTH), '%Y-%m-'), '01'),             prijs = '".$add_bedrag."',             uitgevoerd = (SELECT uitgevoerd+1 FROM factuur_toekomst AS temp WHERE id = '".$add_regels_id."'),             user_id = '".$_SESSION['user_id']."'             WHERE id = '".$add_regels_id."'             ";  That responds with error:  #1093 - Table 'factuur_toekomst' is specified twice, both as a target for 'UPDATE' and as a separate source for data  Using uitgevoerd = (SELECT (uitgevoerd+1 FROM factuur_toekomst) AS temp WHERE id = '".$add_regels_id."'),  or uitgevoerd = ((SELECT uitgevoerd+1 FROM factuur_toekomst) AS temp WHERE id = '".$add_regels_id."'),  Is responding with an syntax error. Any suggestions? UPDATE factuur_toekomst SET fac_datum = CONCAT(DATE_FORMAT(DATE_ADD(fac_datum, INTERVAL 1 MONTH), '%Y-%m-'), '01'), prijs = '0', uitgevoerd = (SELECT uitgevoerd+1 FROM factuur_toekomst AS temp WHERE id = '14'), user_id = '1' WHERE id = '14'


Semiconductors extrinsic and intrinsic carriers concentrations equations

I understand why $n \cdot p = n_i^2$ holds for intrinsic semiconductors, but why is that the equation also holds true in the case of an extrinsic semiconductor?  Here, $n$ is the charge density of the negatively charged particles, $p$ is the density of the positively charged particles and $n_i$ is the carrier concentration.  How is it proved mathematically?


Every connected metric space with at least two points is uncountable.   This is baby Rudin exercise 2.19(d). My argument is the following:  Let $X$ be a connected metric space with at least two points.   If $A\subset X$, and $A\not=\varnothing$, then $A$ clopen $\implies$ $A=X$ by connectedness.  So my plan is to show for a non-empty countable open subset $A$, not to be closed. (for the case "non-empty countable closed $\implies$ not open", I think it is the contrapositive statement.) Then every non-empty countable open subset would be proper, which makes $X$ uncountable (for otherwise, $X$ would be a proper subset of $X$. for not open subsets, they are proper because $X$ is clopen. for "closed $\implies$ not open" subsets and not closed subsets follow the same logic, thus all proper). Basically I'm trying to mimic the Cantor's diagonal process except the diagonal part.  Now, $A$ countable $\implies A=\{a_n:n\in \mathbb{N}\}$.  Define $A_i=A\setminus \{a_1,a_2,...,a_i\}$ so that $A_1 = A\setminus\{a_1\},\ A_2=A\setminus\{a_1,a_2\},...$  Note that each $A_i$ is non-empty, open. (since $\{a_1,a_2,...,a_i\}$ is closed for each $i$, and $A$ is open.) (any finite set is closed because it has no limit points. so $A$ finite $\implies \overline{A}=A\cup A'=A\cup \varnothing=A$)  Now pick $b_i\in A_i$ for each $i$ such that $b_1\in A_1$, and $b_{i+1}\in A_{i+1}\cap B_{1/i}(b_i)$, where $B_{1/i}(b_i)=\{x\in X: d(x,b_i)<1/i\}$, an open ball centered at $b_i$ with radius $1/i$.  So the tail of a sequence $\{b_n\}$ shrinks. The existence of $b_{i+1}$ is guaranteed because both $A_{i+1}$, $B_{1/i}(b_i)$ are open, so is the intersection of them. Hence there exists $r>0$ such that $B_r(b_i)\subset A_{i+1}\cap B_{1/i}(b_i)$. And $B_r(b_i)\setminus\{b_i\}\not=\varnothing$ because otherwise $B_r(b_i)=\{b_i\}$ which is closed and open, but only non-empty clopen subset of $X$ is $X$ provided that it's a connected space, and $X$ has at least two elements from the assumption, thus it leads to a contradiction.  Finally, if $b_n\to l\in X$, then $l\not\in A$, because otherwise $\exists n$ such that $a_n=l$ and $l=a_n\not\in A_n$. So if the limit point $l$ exists, it is outside of $A$. So we found an element $l\not\in A$, thus $A$ is a proper subset of $X$.  The problem I have here is to see if there indeed exists such limit point $l$ in $X$ or not. Since Rudin didn't cover sequences yet (it is chapter 2, basic topology), So I think I've constructed a Cauchy sequence but not sure it converges in $X$.  Please help me to finish this up.


How can I have e.g. all  displayed on the map, i.e. what is the URL syntax to search  for certain tags? And where is this information (tagged locations, POIs etc.) coming from, is it collected/contributed by OSM community members or does the OSM project use third-party sources (private/public/proprietary)?


What does it mean whether network device is Loopback?

Does it mean that the Loopback device handles the request like ping localhost ?   If so, there should be at least one device that's loopback,but seems none of my two network device is Loopback:  rpcap://\Device\NPF_{45D5ADA0-095E-49F3-BEA1-E8754390F2D4}         Description: Network adapter 'Intel(R) PRO/Wireless 2200BG Network Conne ction (Microsoft's Packet Scheduler) ' on local host         Loopback: no  rpcap://\Device\NPF_{783C5467-4026-473C-86A0-5E5A3708C624}         Description: Network adapter 'Realtek RTL8169/8110 Family Gigabit Ethern et NIC                                 (Microsoft's Packet Scheduler) ' on local  host         Loopback: no   Can someone clarify all this?


How do designers render their work onto an iPhone/Android?

Before you down vote, bare with me as I'm a developer! I've always been curious how designers render their work onto a phone to show their customers how it may look on the phone, for example:    (Source: )  I'm assuming that's exactly what they're doing, using some kind of 3D rendering of an iPhone and transforming their image to fit the screen. Any tutorials would be great... just satisfying my curiosity, thanks.


node-hashtable - how to get set of all keys?

In Java it's called the keyset.    how come there is no method to return a list of all the keys?


I am trying to bind a jquery function using a loop. The problem is that the function that gets bound always takes the value of the last item of the list.  Here is a simplified version of the code:  var obj = {     '.a':'1',     '.b':'2',     '#c':'3' }; for (var prop in obj) {     if (obj.hasOwnProperty(prop))     {         alert(prop + '=' + obj[prop]);         $(prop).on('click', function () {             alert(prop + '=' + obj[prop]);             ga('send', 'event', 'link', 'click', obj[prop]);         });     } }   The ga() function is simulated as follows:  function ga(one, two, three, four, five) {     alert('simulated GA(): one=' + one + ' two=' + two + ' three=' + three + ' four=' + four + ' five=' + five); }   The outer alert fires when the javascript is initialized and shows the values of all of the object properties as expected. But when the DOM element is clicked on, the inner alert and the ga() function shows the value of the last property #c, no matter which DOM element is clicked.  The purpose of this code is to assign various calls to ga() to different DOM objects identified by the properties which are selectors.  I am thinking there is something simple and stupid that I am missing here.


How is a metric space a topological space?

I learned about metric spaces and topological spaces but I don't see how they correlate.  How does a metric space follow the properties of a topological space.


I have an iPod Touch 5th gen. Can I play Pokemon Go?

Long story short, I have an iPod 5, and I've been excited for this game for about a year now. I keep getting a GPS signal not found. Can I play under wifi or some sort of cellular data?


Cardinality of $ X\times \mathbb{N} $ when $X$ is infinite

Suppose $X$ is infinite. I think we can show that $|X\times\mathbb{N}| = |X|$. How do we construct an injective function $f:X\times\mathbb{N} \to X$?


Elevate cmd to admin with command prompt?

Is there anyway to enable administrator access instead of having to right click command prompt and run as administrator?  I tried runas /user:administrator CMD (prompts for password) net user administrator /active:yes (System error 5 has occurred. Access is denied.) runas /user:administrator luaexec.exe -w -f cmd.exe /k  This is on my local machine running windows 8 and have no passwords on any accounts


How to prove that at least two vertices have the same degree in any graph?

I want to prove that at least two vertices have the same degree in any graph (with 2 or more vertices). I do have a few graphs in mind that prove this statement correct, but how would I go about proving it (or disproving it) for ALL graphs?


Cleaning wax and pesticide from apple skin

I love apples. I like to eat them with skin as it has plenty of fiber in the skin. But apples are famous for wax and pesticides on the skin which I don’t want to ingest. I have read many articles on the web and suggestions for removing the wax from the surface.   These suggestions include soaking in vinegar or hot water and other methods. They suggest that soaking apples in vinegar removes the wax that can be seen in the vinegar. I have done that, but never seen any residue of wax in the vinegar.   So I have set aside a new kitchen sink Scotch-Brite scrubber for this purpose and been scrubbing the apple skin under running water before eating. I think this method should remove most of the wax and pesticides. I would like to hear your input.


I am using Amazon redshift. How do I combine the result of the columns.  If the original rows are:  *ID   Name  Color ---------------- 1   John   White 1   John   Black 2   Mark   Blue 2   Mark   Red*   the result should be:  *ID   Name  Color ---------------- 1   John   White Black 2   Mark   Blue Red*


I am using emacs for quite sometime. I wanted to know if the currently opened file has some file location e.g. ./acd/tezt.txt, how can we jump to that file immediately using some shortcut?  I think it can be done in VI using CTRL+G. Is there a similar way to do this in emacs?


Is it better to use the original battery for my d7200 camera or choose an third party replacement is OK?

I got the original nikon d7200 batteries before, but its first initial 1st charge drains very fast. I tried to used them for a couple of weeks so they have definitely run down. And up. They've gone from full to empty very fast. Does anyone have any experience of using third party batteries like LP Neweer Vemico or some other brands?


I uninstall DNSUnlocker, but its adware still terrorizes my PC

These DNSUnlocker things are everywhere on every page on my PC. I don't even know how it even got on my system. After finding it in control panel and uninstalling it, it seems to still terrorize my pc, with most words becoming links for "ads" which is really annoying when trying to click play on one of my games.  I won't be able to add images because the images button has been taken over by the adware.  How can I stop this "DNS Unlocker" adware from messing up my PC?


I came across this maths statement \begin{align*} f(t+h) &= f(t) + h\frac{d}{dt}f(t) + \frac{h^2}{2!}\frac{d^2}{dt^2}f(t) + \frac{h^3}{3!}\frac{d^3}{dt^3}f(t) + \cdots \\ &= f(t) + hDf(t) + \frac{h^2}{2!}D^2f(t) + \frac{h^3}{3!}D^3f(t) + \cdots   \\ &= \left(1 + hD + \frac{h^2}{2!}D^2 + \frac{h^3}{3!}D^3 + \cdots \right)f(t) \\ &= e^{hD}f(t).  \end{align*} I doubt this is a correct thing since I cannot understand the meaning of $e^{hD}f(t)$ where $D=\dfrac{d}{dt}$ is a differential operator. As an extra information, I found this info when reading something related to Grunwald fractional derivative.   Edit: My question is, can we actually factorise the operator $D$ and take a Taylor series for it as done above? This is because, I imagine that, if $t+h$ is a value on the x-axis, then $f(t+h)$ is a value on the y-axis. On the other hand, $e^{hD}f(t) = e^{h\frac{d}{dt}}f(t)$ is not a value, thus how can $f(t+h)$ be equivalent to $e^{h\frac{d}{dt}}f(t)$?


Which IDLE package I should install from Software Center in Ubuntu assuming I want to program in Python 3?


I,m trying this query but don't know what kind join is this inner join or anything else?  select *  FROM abc    JOIN xyz  on abc.id =xyz_id;


Can I download a free app from the App Store without a credit card?

I just recently got an iPod Touch and wanted to download some free apps. The App Store wanted me to get an Apple ID, no problem. But now it's telling me to input a credit card. I don't have one, and anyway shouldn't need one to download free apps.   I did some searching here and on Google and found out that there should be a "None" option when selecting credit cards, but it was not there. I then read that it's disabled in some countried, so I tried telling iTunes that I'm in the US (I'm in Argentina), but still no "None" option. Later, I read that apparently this feature was disabled in iTunes 10, so I installed iTunes 9, but I still don't get the option.  How can I get the No Credit Card option to appear when downloading an app for the first time? It doesn't make sense that you should need a credit card for free stuff.  EDIT: To clarify, I already made an account in Apple's website, I'm looking for a way to be able to select "None" when buying an app through iTunes.


If just need to crop Audio/Video from a longer track, what can I use? I tried OpenShot, but I find the export video slow, perhaps its compling all the "layers" into a new movie? Perhaps I just need a simple "crop" tool for audio/video will surfice?


Should I defragment my SSD on Windows 7?

A lot of us have heard before that you should "never defrag an SSD", but that seems to be only relevant for older Windows versions (like XP and below). Windows 7 and above  of how to work with SSDs to make it safe and beneficial to do routine (although not too often) defragmentation and consolidation.   that Windows (7+) should handle routine defragmentation on every installation automatically, and is enabled by default.  However, when I checked out my Windows 7's defragmenter application, it said that my 2 HDDs have been recently completely defragmented and consolidated, and that my SSD on which Windows is installed, has never even been analyzed. What gives?        I can't even select it for automatic defragmentation − neither the main, nor System Reserved partition.  But I was able to defragment it manually. It said it was >70% fragmented right after analysis, which from what I've read about random and sequential read speeds on SSDs means it could have been defragmented to improve system performance significantly.  Then I found       If solid-state media is detected, Windows disables defragmentation on that disk. The physical nature of solid-state media is such that defragmentation is not needed and in fact, could decrease overall media lifetime in certain cases.   But it's been years since then, and there have been countless updates released, and newer Windows versions have appeared, so it could have addressed by now.   Should I manually defragment my SSDs? Are there any known issues that would make it harmful on Windows 7? Additionally, what has changed between Windows 7 and 10 so that now it defragments SSDs?


I have a relatively new HP laptop that came with Window 8.  I created a partition and installed Ubuntu on half of the drive.  Now I'm at a point where I rarely use Window, but I'm running out of space in the Ubuntu partition.  I can't delete Windows entirely, and I don't have to have to back up / re-install Ubuntu on a larger partition. Is there any way within Ubuntu that I can mount the Window partition, shrink it, and claim the newly freed space for the existing Ubuntu partition?


Filling in missing dates in record set from generate_series()

Consider:  with days as (select day::date from generate_series(date '2013-01-01', date '2013-01-01' + 365, interval '1 day' day) day )  select 'Inspections'::text as data_label, count(i.reporting_id) as daily_count, d.day as date_column from days d left join inspection i on i.close_case_date = d.day group by d.day order by d.day   This returns a set that looks like this:  data_label | daily_count | date_column Inspections    1           01/01/13 Inspections    2           01/02/13 Inspections    4           01/04/13 Inspections    8           01/06/13   Note the 1 and 2 day gaps in the record set. I need to generate a set with those values filled in with 0 like so:  data_label | daily_count | date_column Inspections    1           01/01/13 Inspections    2           01/02/13 Inspections    0           01/03/13 Inspections    4           01/04/13 Inspections    0           01/05/13 Inspections    8           01/06/13   How would I do this? I am not much of a Database Developer and am new to Postgres, so I am not sure where to start and can not find anything on how to accomplish this objective.


I'm trying to bind two parameters received with AJAX into a prepared statement, using both of them as terms for a comparison. When I try to use both of them the query goes wrong, while if I remove the one obtained by a select it works. Is the select a possible reason of the failure? Because in the page in which I perform the query, the string arrives correctly, with its correct value.  $.ajax({         url:"ricerca.php",         type: "GET",         data: { azione:"ricerca",                 tcr1:$("#testoPrimoCampo").val(),                 cr1:$("#primoCampoRicerca").val(),                 tcr2:$("#testoSecondoCampo").val(),                 cr2:$("#secondoCampoRicerca").val(),                 ordinamento: ord},         success:function(result){             alert(result);                 $("#risRicerca").html(result);           },               error: function(richiesta,stato,errori){                  $("#divElenco").html("Chiamata fallita:"+stato+" "+errori);           }       });   <form action="ricerca.php" method="GET"> <fieldset> <legend>Ricerca calciatori</legend>     <select id="primoCampoRicerca" name="primoCampoRicerca">       <option value="codicecalciatore">Codice</option>       <option value="cognomenome">Cognome e nome</option>       <option value="squadra">Squadra</option>       <option value="ruolo">Tipo</option>       <option value="valore">Valore</option>     </select>    </fieldset> </form>

   ricerca.php  <?php /*** mysql hostname ***/ $hostname = 'localhost'; /*** mysql username ***/ $username = 'root'; /*** mysql password ***/ $password = ''; /*** database name ***/ $database_name = 'esempio'; try {     $dbh = new PDO("mysql:host=$hostname;dbname=$database_name", $username, $password);     } catch(PDOException $e)     {     echo $e->getMessage();     }  if (isset($_GET['azione'])) {     if (!empty($_GET['tcr1']) && $_GET['tcr1']!='') {         try {              echo($_GET["cr1"]);             $sql = $dbh->prepare("SELECT * FROM calciatori WHERE ? = ?");              $sql->bindParam(1, $_GET['cr1']);             $sql->bindParam(2, $_GET['tcr1']);             $sql->execute();                echo '

 Codice	 Cognome e Nome	     Squadra	 Ruolo / Tipo	 Valore
';             $i = 0;              $res = $sql->fetchAll();              foreach ($res as $row){                 $i=$i+1;                 echo '
';                 echo '' . $row['codicecalciatore'] . '	';                 echo '' . $row['cognomenome'] . '	';                 echo '' . $row['squadra'] . '	';                 echo '' . $row['ruolo'] . '	';                 echo '' . $row['valore'] . '	';                 echo '
';             }              echo '
';       echo("$i");             /*** close the database connection             $dbh = null;***/         }         catch(PDOException $e)             {             echo $e->getMessage();             }     } else {     echo("Campi vuoti");         $_SESSION['istruzione'] = '';     } } else {   echo("Azione non settata");     $_SESSION['istruzione'] = ''; } ?>   Sorry if varialbes' names are in italian, I hope it won't be a problem, thank's.


After how many "closed" questions does an account forgo its privilege to ask questions?

Is the number constant or does it change as the reputation of a user grows?  I've been there, myself, in the beginning, I had my privileges revoked. I don't want to repeat such a thing.  Can we list factors that contribute to it, then?


Why doesn't calculus make a distinction between 0 and an infinitessimal quantity?

Limits only rely on real numbers. Why?  Background:


UV Mapping basic cube results in rectangles instead of squares

I try to UV map the standard cube created when starting Blender (v2.79).  I'm following a tutorial (), using Cycles and have made these seams.    The cube size is standard 2x2x2 but move a little in Z-direction.  When I try to UV map it I get the following result.   Why do I get rectangles instead of squares? Is there some way to easily change it to squares?  This is the settings of the cube    Blender file


Change the default Start and End Time for new Events

We are using a SharePoint team calendar for vacation form approvals. The default values for new events Start Time and End Time defaults to the next full hour, example 5:00 PM to 6:00 PM, when entering a new item at 4:44 PM.  Is it possible to set the default value for the start time to 8:00 AM and end time to 5:00 PM, but still keep the current, today's date?   We are using SharePoint 2010. I was able to find , but it does not provide the solution I was hoping for + doesn't work for modal windows.   Any help is appreciated.


Why is the value in this js code not changed?

I was looking at this javascript code:    var a = {i: 0}; var b = 0;  function change(a, b) {   a.i++;   b++; } change(a, b);  console.log(a, b);     You would expect to be logged: {i:1} 1 . It actually returns: {i:1} 0? Why is b=0 and not b=1?


The problem that I am having, is that when I try and render my scene, everything turns out completely black. I press render, then it takes about 1 minute 30 seconds before it actually starts rendering, then it quickly renders a black screen. I have looked through many other posts about this, but none of the solutions are working for me. I'm a beginner, so I'm sure I am just missing something obvious, but help would be appreciated. Thank you.


Map layer disappears when I change projection

I am using qgis 2.16.1. When I change the projection (using Layer>Set CRS of layer(s), the map disappears. I have attempted to recover the map by changing back to the original projection with no success. How can I change the projection and maintain a visible map?


Star as interesting via transcript says about pinning too

If you'll star message in chat transcipt as interesting via drop down menu by selecting an item "star as interesting" in the result you'll see the following:     You have starred and pinned this message.           But I don't have an ability to pin a message, I'm not a room owner (anymore).


I am looking at some code in javascript  var numCombos = 1<<numActive;   numActive = 8 returns numCombos = 256  what does << means?


I'm studying the motion of photons near a Schwarzschild black hole.   My coordinates to describe the position of a photon are $~r$, $~\theta$, $~\phi$ and $~\textrm{p}_\textrm{r}$, $~\textrm{p}_\textrm{$\theta$}$, $~\textrm{p}_\textrm{$\phi$}$.   I understood that if $~\dot{\textrm{p}_\textrm{$\theta$}} = 0~$ and $~\dot{\theta} = 0~$ is, then the angle $~\theta~$ will stay the same and the photon will stay confined within the plane, right?   However I'm not sure I understood what the (angular-)momenta really represent and what influence on the system they have.   Does anyone have a simple definition and example?   Thanks a lot!


Cryptanalysis of an OTP RFID tag transmission using multiple transmissions

A scanner encrypts a 32 bit message 'x' using a secret 32 bit key 's1' and sends the resulting cipher y= x XOR s1 to an RFID tag. The Tag decrypts the message 'x' ,and then encrypts the message 'x' using its secret 32 bit key 's2' and sends the resulting cipher z= x XOR s2 back to the Scanner.  Assuming that I know what the hexadecimal values for the ciphers y and z are during every transmission. How can I find out what the keys s1 and s2 are using this limited information, but having access to the 'y' and 'z' values from multiple transmissions?  I understand that, because there are two different keys, but that the keys remain the same during multiple transmissions, that there is maybe some way to figure out the value of the keys.  I know that if I XOR y and z I get: 'y XOR z = s1 XOR s2'. I am not sure how to use this information or if it is relevant.  Sorry for any misused terms, I am new to cryptanalysis.


Is there a term for someone who "can see multiple perspectives"?

A colleague of mine is trying to describe herself as "capable of seeing a situation from multiple perspectives" or "able to look at the big picture from various viewpoints". I feel like there must be a better way to get this point across.  Is there a more concise way to describe this characteristic?


User w/less than 50 rep being able to comment?

I saw the user  post a  when he had less than 10 rep. Was this a bug or was this posted as an answer and someone made it into a comment because it was helpful.


I wish to insert a black boundary box around a graph. I have searched through the forum but I couldn't find a way to do so. The image attached is how my graph looks like.   Below is my document code:   \documentclass[11pt]{article} \usepackage{graphicx} \usepackage{float} \usepackage{grffile} \begin{document} \begin{figure}[H] \centering \includegraphics[height = 3in]{/Users/kusha/Desktop/graphs/kden_2011.pdf} \caption{Kernel density curves of male and female wages in 2011} \label{fig:kden_2011} \end{figure} \end{document}


I want to prove that If for each rational $q$ the set $f^ {−1} ((q,\infty])$ is measurable then $f$ is measurable.  My attempt is the following:  if $f^{−1} ((q, \infty])$ is measurable for all $q$, then for each real $\lambda$ $f^{−1}((λ,\infty)) = \cup _{q>λ}f ^−1 ((q, \infty])$ is measurable as a countable union of measurable set.


Excel hyperlink not redirecting properly (bug?)

I have an Excel hyperlink problem: I click on, let's say A1, copy the link in it (http://www.godaddy.com/domains/searchresults.aspx?ci=54814), right click on hyperlink and copy that SAME URL as the link (if it is not automatically detected and changed).  When I go to click on it, I am redirected to http://www.godaddy.com/domains/search.aspx?ci=53972.  If I copy and paste the link directly into the browser, it works fine (i.e., I am not redirected to a different URL).  Does anyone know what's going on?


Phase difference in reflection coefficient between S and P polarisation at normal incidence?

Below we have the Fresnel Equation at an interface for S and P polarisation: \begin{align}  r^s &= \frac{n_0 \cos{\theta_0}-n_1\cos{\theta_1}}{n_0\cos{\theta_0} + n_1\cos{\theta_1}} \quad\quad t^s = \frac{2n_1\cos{\theta_0}}{n_0\cos{\theta_0} + n_1\cos{\theta_1}}\\  r^p&= \frac{n_1 \cos{\theta_0}-n_0\cos{\theta_1}}{n_1\cos{\theta_0} + n_0\cos{\theta_1}}\quad\quad t^p = \frac{2n_1\cos{\theta_0}}{n_1\cos{\theta_0} + n_0\cos{\theta_1}}  \end{align} When light approaches the interface at normal incidence these equations simplify to: \begin{align}  r^s &= \frac{n_0 -n_1}{n_0 + n_1} \quad\quad t^s = \frac{2n_1}{n_0 + n_1}\\  r^p&= \frac{n_1 -n_0}{n_1 + n_0}\quad\quad t^p = \frac{2n_1}{n_1 + n_0}  \end{align}  When we apply this to an example where we have an aluminium mirror with refractive index, for example, of 0.93878 + i6.4195.   This would lead for S polarisation to a reflection coefficient -0.9138 - 0.2855i, leading to reflectivity of 95% but a phase shift of -0.90$\pi$. However, for P polarisation a reflection coefficient  0.9138 + 0.2855i is found, leading to the same reflectivity but a phase shift of 0.09$\pi$.  Since we come in under normal incidence, why would the orientation of the polarisation matter? The polarisation S and P are both parallel with the surface, so this would mean if I rotate the mirror I would change the phase of the reflected beam? How does this make sense? What am I missing?   Edit: this also the case for dielectric matter (i.e. real $n$)


I have Just upgraded my ubuntu 18.10 to 19.04 via do-release-upgrade. In ubuntu 18.10 i could right click on each desktop icon separately and resize the icon of that file.(Using GNOME) But this is removed now and i cannot resize each icon "separately". I want to know how can i have it back?


While studying the Riemann - Stieltjes integral, I read this exercise in my book:  "Let $f:[a, b]\to \mathbb{R}$ be a bounded function. Denoted $L(P, f)$ the lower Darboux sum and $|P|$ the mesh of the partition $P$. Prove that for every $\epsilon>0$, there exists $\delta>0$ such that for every partition $P$ with $|P|<\delta$, we have: $\underline{\int_{a}^{b}}f(x)dx-L(P, f)<\epsilon$."  I have a solution for this exercise, but my question is: Can we generalize this problem for Stieltjes integral, with $\underline{\int_{a}^{b}}f(x)d\alpha$ instead of $\underline{\int_{a}^{b}}f(x)dx$?  Particularly, can we have this theorem?  Let $f:[a, b]\to \mathbb{R}$ be a bounded function and $\alpha$ is a monotonic function on $[a, b]$ . Denoted $L(P, f, \alpha)$ the lower Darboux sum and $|P|$ the mesh of the partition $P$. Prove that for every $\epsilon>0$, there exists $\delta>0$ such that $\underline{\int_{a}^{b}}f(x)d\alpha-L(P, f, \alpha)<\epsilon$ for every partition $P$ with $|P|<\delta$?


Safe approach of storing MySQL credentials

I've just started studying PHP and having concluded my first PHP & MySQL for dummies book I have a concern about having a secure connection between my PHP application and MySQL database.  From what I learned, one approach is to create a .php file with the database credentials, for example:  --- database.php ---  <?php  define('HOST', 'localhost'); define('DB_USR' , 'mysql_username'); define('DB_PSWD' , 'mysql_password'); define('DB_NAME' , 'mysql_newbie');  ?>   and then place a require_once('database.php') in every PHP page that requires any sort of database queries.  My concern is whether this approach is safe. Isn't the file database.php accessible to everyone once it's placed on the webserver? Anyone can potentially read the database's credentials and mess his way around it?  Any thoughts?


Acessing to a base subobject and virtual specifier c++

I'm trying to understand what exactly purpose of a virtual specifier in base class. As said in the c++14 working draft we have:     For each distinct base class that is specified virtual, the most   derived  object shall contain a single base class subobject of that   type.   From this quote I'm assume that if we create an instance c of class C which is a derived class for A and B we're create an objects of A and B implicitly.   Question: How can I access to an instances of a base classes via an instance of derived class?


Prove that $(0,1) \subseteq\mathbb R$ and $(4,10) \subseteq\mathbb R$ have the same cardinality.

I've looked at a few examples on here of how cardinality works and I'm still struggling. This is the problem that I'm currently struggling with. I know there needs to be a bijection function. I'm just stuck on how to actually do it.


How can I transform one line JSON to pretty print in linux shell?


Regular Expression Uppercase Replacement in C#

I have the following C# which simply replaces parts of the input string that look like EQUIP:19d005 into URLs, like this:  input = Regex.Replace(input, @"(EQUIP:)(\S+)", @"$1$2", RegexOptions.IgnoreCase);   The HTML ends up looking like this.  EQUIP:19d005   The only trouble is that the destination page expects the eqnum querystring to be all UPPERCASE so it returns the correct equipment when eqnum=19D005 but fails if it receives eqnum=19d005.  I guess I can modify and correct EquipmentDisplay.asp's errant requirement of uppercase values however, if possible I'd like to make the C# code comply with the existing classic ASP page by uppercasing the $2 in the Regex.Replace statement above.  Ideally, I'd like the HTML returned to look like this:  EQUIP:19d005   Notice although the original string was EQUIP:19d005 (lowercase), only the eqnum= value is uppercased.  Can it be done and if so, what's the tidiest way to do it?


How many non negative integer solutions are there for the equation $x_1 + x_2 + x_3 + x_4 + x_5 + x_6 = 36$ with restrictions?

So I had a few enquiries with this question:  Consider the non negative integer solutions for the equation $$x_1 + x_2 + x_3 + x_4 + x_5 = 36$$  a) How many distinct solutions are there?  b) How many distinct solutions are there if $x_1 \geq 12$?  c) How many distinct solutions are there if $x_1 < 18$?  d) How many distinct solutions are there if $x_1 < 18$ and $x_2 < 6$?  I was wondering if distinct is the same as unique? as in there cannot be solutions that have the same numbers but rearranged?  Also, how would one approach this question. Is there a principle that would be best applied to this question?


If I install Ubuntu linux on an external hard drive can I save the data on that same hard drive?

I am planning on installing Ubuntu on an external hard drive.  My question is where does data get saved when I use this OS?  For instance, if I create a folder on the desktop of Ubuntu where is that information being saved?  Ideally, I want all data related to my Ubuntu OS stored on the external drive… Is this possible?


I want to replace internal HDD to a SSD. My laptop's Windows 10 activation key is in its BIOS. I don't want to clone the HDD. What steps do I need to follow for clean Windows 10 installation in SSD? Machine : Lenovo IdeaPad 100-14IBY - 14" - Pentium N3540 - 4 GB RAM - 500 GB HDD.


How many worlds does the world split into in the Many Worlds Interpretation?

I've been reading up on the  of Quantum Mechanics, and there is one thing (among many) that I really don't understand. How many worlds are 'created' by an 'observation' or 'event'?  For example, in the traditional Schrödinger's Cat experiment a cat is put into a box with a poison flask that has a chance of breaking, with the cat dying if it does. But how many worlds are created by this? If the probabilities are even I could understand two worlds being created. But what if the flask has a 70% chance of breaking? Are ten worlds created, in seven of which the cat is dead? Or are an infinite number created, but in 70% of which the cat is dead? Or are just two created, but you somehow have a 70% chance of ending up in the world with the dead cat? Or is it something entirely different?


Having hard time removing this white background from a logo, need help

I need to remove white background from this logo, but whatever I have tried, doesn't seem to work correctly. For example, when I try to use the magic eraser tool, it also erases some of the text.


How to show that disjoint closed sets have disjoint open supersets?

Theorem:   Let $S_0, S_1 \subseteq \mathbb{R}^n$ be disjoint and closed.   Then there exist disjoint open sets   $T_0, T_1 \subseteq \mathbb{R}^n$ such that   $S_0 \subset T_0, S_1 \subset T_1$.   How to prove this theorem without Urysohn functions? I know that $S_0^c$ contains $S_1$ and vise versa, but I don't know how to proceed from here.


Idiom or phrase about a situation in which a person has little hope

Is there an idiom or phrase associated with a time when a person has little hope and has to choose between bad and worse options?


Is $\|T(x)\|≦\|x\|$, $\forall x\in V$ sufficient condition for $T$ to be an orthogonal projection?

Let $V$ be an inner product space and $T:V\rightarrow V$ be a projection on some subspace of $V$.  Let's assume [$\forall x\in V, \|T(x)\|≦\|x\|$] Assuming this, I have proved that $\ker(T)=\operatorname{ran}(T)^\perp$.  However, I don't know whether $\operatorname{ran}(T)=\ker(T)^\perp$. Is it true? Then how do i prove this?


Is it possible to have the same planeswalker from different editions in a Commander deck?

Is it possible to have the same card but from two different editions in Commander? For example, the planeswalker .


Problem is:  grep the output of ps aux for any instance of firefox, if firefox is already running, open link in new tab, if firefox is not running, start firefox and open the link.   Point to be noted here is that I have mentioned the count variable to be greater than 1 because ps aux | grep firefox itself is a process that would be listed, so any other instance other than that. When I run the following script it, goes into loop, what's the right logic?  #!/bin/bash count=0 while [[ $(ps aux | grep firefox) ]] do     count=$((count+1)) ;     if ( count -gt 1 )         then                 nohup firefox --new-tab "mega.nz" &         else             nohup firefox "mega.nz" &     fi done   Edit : Thanks to the comments and answer below, they helped me get rid of the while loop totally by using pgrep as thrig and Deathgrip mentioned below, but how do I achieve this by while loop or let me know if this cannot be performed with while loop.


Regex-function adds second occurance of pattern to first one

The preg_match_all()-function should find all occurances of this /\]\(.*.md\)/-Expression, it does, but somehow it detects multiple matches just as one. My input looks like this:  [example](foo/random/link.md) | [example2](other/some.md) Lorem ipsum..... [example3](foo/Readme.md)   It should match the three examples-links. But it returns:  Array[0] -> ](foo/random/link.md) | [example2](other/some.md) Array[1] -> ](../Readme.md)   Although example2 should also be found. I am quite confident it is a problem with the use of .*, but I was not able to come up with something better.  P.S.: For better understanding. I am writing a php-script that translates links from markdown docs to links that are relative to the php-scripts position in the filesystem.


What does the command "sudo apt-get install upgrade-system" do?

I don't know what this command would actually do, or If I need the packages below?    Can't find any examples of upgrade-system  plutes@plutes-Lenovo-G50-30:~$ sudo apt-get install update [sudo] password for plutes:  Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package update plutes@plutes-Lenovo-G50-30:~$ sudo apt-get install upgrade-system  Reading package lists... Done Building dependency tree        Reading state information... Done The following additional packages will be installed:   deborphan debsums dialog libfile-fnmatch-perl The following NEW packages will be installed   deborphan debsums dialog libfile-fnmatch-perl upgrade-system 0 to upgrade, 5 to newly install, 0 to remove and 0 not to upgrade. Need to get 382 kB of archives. After this operation, 1,765 kB of additional disk space will be used. Do you want to continue? [Y/n] n Abort. plutes@plutes-Lenovo-G50-30:~$ sudo apt-get update  Hit:1 http://security.ubuntu.com/ubuntu disco-security InRelease Hit:2 http://gb.archive.ubuntu.com/ubuntu disco InRelease Hit:3 http://gb.archive.ubuntu.com/ubuntu disco-updates InRelease Hit:4 http://gb.archive.ubuntu.com/ubuntu disco-backports InRelease Reading package lists... Done plutes@plutes-Lenovo-G50-30:~$ sudo apt-get upgrade  Reading package lists... Done Building dependency tree        Reading state information... Done Calculating upgrade... Done 0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade. plutes@plutes-Lenovo-G50-30:~$


Were the Potters in any way related with the Dumbledores?

Is there any canon indication (books, films or any additional materials) that Harry Potter is in any way related to Albus Dumbledore?  There seem to be some similarities between them like    Ancestors of both were always placed in Gryffindor.   Both have connections with Godrics Hollow.


Unique uniformly continuous function into complete space

Let $M_1,M_2$ be metric spaces such that $M_2$ is complete. Let $f$ be a uniformly continuous function from a subset $X$ of $M_1$ into $M_2$. Suppose that $\overline{X}=M_1$. Prove that $f$ has a unique uniformly continuous extension from $M_1$ into $M_2$ (that is, prove that there exists a unique uniformly continuous function $g$ from $M_1$ into $M_2$ such that $g|X=f$.)   I'm not sure where to start on this one... how can I extend a uniformly continuous function from $X$ to $M_1$?


Help me understand the relationship between positive, negative, neutral and ground in AC and DC

This question stems from notations on schematics and seemingly conflicting information I'm seeing. I suspect that I'm seeing different vernacular for the same concepts--but I'm in a place where no one's ever told me that an "elevator" is a "lift". Then again, I may have the concept completely off, and need to be schooled so I don't blow up my workshop. :)  With DC: Batteries have +/- terminals. Most schematics I see show the circuit with voltage in and ground. I've heard that most schematics don't trace the return path to the negative terminal because that's understood and it doesn't need to clutter everything up. I've also heard that on a DC circuit, ground is SYNONYMOUS with the negative terminal. On schematics, I've seen V-in and ground, I've also seen V-in, ground, and a separate trace connecting to the negative terminal.   Then, we move to AC. There's a hot wire (positive), a neutral wire, and ground. I ~assume~ that in an AC circuit, positive correlates to positive, neutral to negative, and ground to ground. Transformers will correlate the +/- when changing DC.  What are the facts and what are the myths? How can I tell if I need to ground something to earth vs. "ground" to the negative terminal? When do I ground to the chassis of my device? Are there standard conventions in a schematic that would indicate GROUNDED ground vs. return-to-the-source ground? Or is that something you know from experience and doing an analysis of the circuit? Is it generally safe to assume I can connect ground to negative? Or are there cases in which that would be a Very Bad Thing, and how do I identify those cases?  Just trying to wrap my head around +/-/ground in AC vs. DC, and how that voltage is used...


Eulerian or Lagrangian picture in Fluid mechanics?

in Fluid mechanics? Yes, this is my question which one should i use in fluid mechanics most, and why, which one is more practical?


I have no idea how to correctly define my graphics path on . In a Linux terminal my folder location would look like: \home\Libraries\Documents\paperimages  I'm sorry if this is asked on the usual, but I cannot find any real substantial help online.


Choosing equipment options at character creation

So if I'm correct, when you chose your starter gear and wealth you can either choose to roll some dice depending on your class and buy everything from that or you can choose the starter gear from your class and add the background items (including some gold). Here are my 2 questions:   If I choose the gear from my class, do I have to take all the equipment from only one of the (a) or (b) choices, or can I freely mix-and-match choices from the two sets? Can you spend the extra gold you get from your background on extra equipment (e.g. some soap and some fishing equipment) or do you have to start with that gold in its pouch?   The reason I ask is that I have recently created a level 1 wood elf druid and I mixed-and-matched the gear from the class, so that I chose a shortbow as a "(b) simple weapon" for the first point and a "(a) Scimitar" at the second point. My DM wasn't so happy about this, as he can't understand why I'm mixing (a) and (b).  He also wasn't so happy with me spending my 10gp from my outlander background. I decided that my druid wouldn't lay so much worth in 10gp compared to a bunch of stuff I got for that (e.g. some soap and some fishing equipment and some other useful things) and he seems to think that I'm supposed to just start with the gold instead.


Harry is a half-blood and Ginny is a pure-blood, so what does that make his children? I've been told it means they are pure-bloods but I can't be sure. What do you think?


How to solve the equation $$a^b = b^a$$ if $a ≠ b$. It doesn't have any whole solutions, but are there no solutions at all? And how to prove that?  Any help is appreciated.  Edit: Thanks to Henry & Bernard. It is correct that (2,4) is a solution, but is it the only one? Irracional solutions maybe?


Can a Neutral Good cleric cast lawful or chaotic spells?

I'm new to Pathfinder and have been familiarizing myself to the rules and mainly spellcasting for different classes. Most emphasize on spells a cleric can and cannot cast seems to be placed mainly on good vs evil alignment but as a Neutral Good cleric can I cast spells labelled as lawful or chaotic or does the same rule apply?


How do you prove that a prime is the sum of two squares iff it is congruent to 1 mod 4?

It is a theorem in elementary number theory that if $p$ is a prime and congruent to 1 mod 4, then it is the sum of two squares. Apparently there is a trick involving arithmetic in the gaussian integers that lets you prove this quickly. Can anyone explain it?


What is meant by "Nothing" in Physics/Quantum Physics?

I am not a phycisist, so please forgive my ignorance. This is related to my  and . I am trying to understand what is meant by the term "Nothing" in physics or Quantum Field Theory (QFT) since it seems to me that this term is not used in the way we understand it in everyday language. So QFT seems to suggest (in a nutshell) that "things pop out of nothing". But from  I see the following quote:       "According to quantum theory, the vacuum contains neither matter nor   energy, but it does contain fluctuations, transitions between   something and nothing in which potential existence can be transformed   into real existence by the addition of energy.(Energy and matter are   equivalent, since all matter ultimately consists of packets of   energy.) Thus, the vacuum's totally empty space is actually a seething   turmoil of creation and annihilation, which to the ordinary world   appears calm because the scale of fluctuations in the vacuum is tiny   and the fluctuations tend to cancel each other out.   So what is "Nothing" in QFT? If this quote is correct, I can interpret it only as follows: The "Nothing" is not in the way used in everyday speech but is composed of "transitions" i.e. something that is "about to become" Is this correct? If yes, why is this defined as "Nothing"? Something that is "about to become" is not nothing but there is something prerequisite. In very lame terms: Einstein was born a non-physicist but became a physicist, so if this is a correct analogy, then there      there is something underlying that was non-something that became something A non-something came into something because something else (not nothing) permitted it to become. E.g. Einstein's talent (or Mozart's) would have been lost had he been born in Africa or in a country with no educational facilities. So he would not become a physicist (but the required talent would be present but not come into reality)   Could someone please help me understand this (perhaps trivial to you) concept?


If Newton's third law is true, why do things compress?

According to the third law of Newton, every action has an equal and opposite reaction. This would (to me) suggest that every surface should put a force exactly opposite the weight of the body. If so, why does compression occur? Say you keep a weight on a sponge, then the sponge compresses, why is this?   Does the sponge not give an equal reaction to the weight on it?  Edit:   This question is different from this one because there the question is mainly about which bodies  the forces act on according to third law while the question I asked is mainly about compression and how much force a body applies against a weight put placed on it.


Looking for a word that defines both size and position

I am developing an application and can not figure out a proper abstract term that would fit an interface that defines an object as Movable and Resizable (In essence, something that has a defined size and defined position). Calling it Movable and resizable is kind of silly. Layout was a term that came to my mind but it is not good as layout is something that is responsible for defining position and size, not containing it. Thanks a lot.


Consider the following: $$ e^{2 \pi i} = 1 $$  $$ \left(e^{2 \pi i}\right)^i = 1^i $$  $$ e^{2 \pi i^2} = 1 $$  $$ e^{-2 \pi} = 1 $$  but calculator tells me that: $\quad e^{-2 \pi} = 0.0018674427317...$  Can anyone explain what is going on?


Proving that $n!$ divides $a(a+1)(a+2)...(a+n-1)$

I need to prove that $n!$ always divides $S=a(a+1)(a+2)…(a+n-1)$.  I can see that developing the expression of $S$ will lead me towards $(a+1)^n$ which is the sum of $\sum_{0}^n\binom{n}{k}a^k$ which is obviously divisible by $n!$  My problem is that I don't see how can I prove it. If you could give me at least a hint, that would be great.


I am trying to create a step-by-step solution sheet for my homework and have discovered that I need to use "cancel" things in a fraction.  For example, like in the following picture    I would like to draw lines through the term b-4.


Why does this consider the center of mass instead of the end? (RIGID BODY MOTION)

A uniform rod of length L and mass M is free to rotate on a frictionless pin passing through one end. The rod is released from rest in the horizontal position.    What is its angular speed when it reaches its lowest position?   I don't understand why we use the center of mass, since this object is constrained by the pivot, wouldn't it be correct to use L instead of 1/2 L?  I got w = sqrt(6g/L) instead of w = sqrt(3g/L)


I have a group of N entities. Is there any way for me to get all subgroups satisfy that the number of entities in each subgroup equals to M (N>M)?  I will give an example to clarify:  I have N = 5 integer (e.g: 1,3,4,6,8). Is there any way to get all subgroups which contains L = 3 entities? Those subgroups are {1,3,4}, {1,3,6}, {1,3,8}, {1,4,6}, {1,4,8}, {1,6,8}, {3,4,6}, ...  Seems that it must be a brute-force algorithm.  Thanks & regards


The Computer is broken - repeating characters

When I go to The Computer, any key I press comes out as six copies of that key. When I type test it comes out as tttttteeeeeesssssstttttt. Someone else had a similar problem, with all letters coming out doubled.


I ran to some problems with c++11 alias templates. As you can see below, I want to create an alias to A::B from class C. Before instantiation is made the compiler (gcc 6.1) cannot assert that V has a member type B, therefore giving the error:  error: expected ‘;’ before ‘<’ token   template<typename ValueT> using B = typename V::B<ValueT>;   Does not his go against the usual way templates are dealt with in C++, that is assuming that the template type provides all necessary functionalities until proven otherwise by an instantiation?  template<typename T> class A{     T a; public:     template <typename ValueT> class B {         ValueT b;     }; };  template <typename V = A<int>> class C { public:     template<typename ValueT> using B = typename V::B<ValueT>; };


How can I save the world from the spread of Hallow and Corruption/Crimson?

After the Wall of Flesh, the Hallow appears and Corruption/Crimson spreads even faster.   Corruption/Crimson spreads through everything   Except Hallow  Hallow spreads through everything   Except mud (jungle) Except synthetic blocks like gray-brick  The results of Hallow and Corruption meeting are unpredictable   How can I stop them both permanently and effectively from taking over the world, considering both the top layer and underground?  (Eg, simply placing gray brick on top of the surface won't stop the underground spread?)  And, is it worth the effort?


How to list processes belonging to a network namespace?

I am on Ubuntu 12.04, and the ip utility does not have ip netns identify <pid> option, I tried installing new iproute, but still, the option identify doesn't  seem to be working!.  If I were to write a script (or code) to list all processes in a network-namespace, or given a PID, show which network-namespace it belongs to, how should I proceed ? (I need info on a handful of processes, to check if they are in the right netns)


A question about the physics involved in tracking satellites such as those used in the GPS system

I know that besides the effects of Newton's theory of Gravitation on the satellite's motion, one has to take account of the retardation of the satellite's clocks when compared to earth-fixed clocks. Is this just an effect of Special Relativity? Or are there other effects that must be taken into account, which would not be predicted by Special Relativity alone, but which only occur in General Relativity?


Are dead Community Wiki questions removed?

I recently , but found a duplicate target that provides an answer to it while I was typing the question. I posted the question and hammered it with Mjolnir as in my opinion it's a duplicate signpost that is necessary.  I didn't change or otherwise attempt to edit the duplicate target's question title as it's a slightly different issue, but with an identical answer.  I therefore want to raise a mod-flag to request that it is converted into Community Wiki (as it's likely that the question will be quickly buried and receive no votes), however I also know that the Community user ('Roomba') automatically cleans up dead questions (no upvotes, no answers), and do not wish my question be deleted as I think it's a valuable duplicate signpost.  Does the Roomba delete Community Wiki questions?  The proposed duplicate target doesn't answer my question as it has no reference to CW's status and how it affects the deletion process.


Ubuntu 18.04. Do I need to install older kernels for certain drivers to work?

I'm new to both Linux and this website so feel free to point out if I gave to little information.  I have a common problem of not working wifi adapter although wired works fine. I installed driver for rtl8168 which I assume is correct one because after installation my download speed increased up to the level of my second PC which has Windows installed. However, wifi still isn't working. The Realtek website states that driver is working with the kernels up to 4.15 and I'm wonder should I try installing some of the older kernels. I'm asking because once I've already broken everything to the point when both wired and wireless connections weren't working.  For clarity, here is the result of network check with lshw -c network.  *-network    description: Ethernet interface    product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller    vendor: Realtek Semiconductor Co., Ltd.    physical id: 0    bus info: pci@0000:02:00.0    logical name: eno1    version: 15    serial: 10:62:e5:81:df:39    size: 100Mbit/s    capacity: 1Gbit/s    width: 64 bits    clock: 33MHz    capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation    configuration: autonegotiation=on broadcast=yes driver=r8168 driverversion=8.047.05-NAPI duplex=full ip=78.85.166.250 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s    resources: irq:50 ioport:3000(size=256) memory:e0804000-e0804fff memory:e0800000-e0803fff  *-network UNCLAIMED    description: Network controller    product: Realtek Semiconductor Co., Ltd.    vendor: Realtek Semiconductor Co., Ltd.    physical id: 0    bus info: pci@0000:03:00.0    version: 00    width: 64 bits    clock: 33MHz    capabilities: cap_list    configuration: latency=0    resources: ioport:2000(size=256) memory:e0700000-e070ffff   Edit1: wifi controller is internal.  Edit2 (result of lspci -nnk | grep -iA3 net):  02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)     Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [103c:84ae]     Kernel driver in use: r8168     Kernel modules: r8168 03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:d723]     Subsystem: Hewlett-Packard Company Device [103c:8319] 04:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] [1002:15dd] (rev c4)     Subsystem: Hewlett-Packard Company Vega [Radeon Vega 8 Mobile] [103c:84ae]


Is there a website that lists the journals that are actually scams?

I constantly receive emails from editors asking me to submit papers for their journals.   However, only a handful of them originate from a trustworthy source. The vast majority are just scams — journals with no reputation at all, willing to publish an(y) article for a fee.  My biggest problem with that is that I lost one or two real good opportunities to publish because I dismissed the email, thinking it was a scam.  Is there a list that I can use to easily check the reputation of a journal, in order to avoid this to happen?


Why Do Support Vector Machines Require 3 Support Vectors?

Whenever I see a visualization of support vector machines, the separating hyperplane always has three support vectors. I don't understand why it isn't two. Given that the best separating hyperplane only has to maximize the size of its margins from the nearest points of each class, I would think that only two support vectors, one from class A, and one from class B, would be required. Can anyone explain to me why this is not the case?


What is the difference between a Justice, a Sword and a Mercy?

In the Imperial Radch series by Ann Leckie, what is the difference between a Justice, Sword, and Mercy? I have a feeling it has to do with size or rank, but I am not sure.  Please no spoilers, I have just finished the first book.


How to fill down formula so that range references are offset by 5 rows rather than by 1 row

How can I get Excel to increment ranges arguments by more than one row when I fill down a formula?  For example, if I want Excel to keep averaging the next five numbers in a column, how do I set the average function to keep it in a pattern throughout, without changing it from an increment of one from the first and last number of the previous formula?  Excel keeps giving me this when I fill down:  =Average(A1:A5) =Average(A2:A6) =Average(A3:A7)   I want Excel to do this instead:  =Average(A1:A5) =Average(A6:A10) =Average(A11:A15)   How can I do this by filling down?


Can I enter Schengen through Athens and leave through Rome?

Can I enter Schengen area through Athens, Greece and leave through Rome with the Schengen Visa?


If log8n=1/2p, log22n=q, and q-p=4, find n

I'm having a hard time finding the value of $a$ in this problem. My teacher was trying to explain to me the process in which to get it but I did not understand him.


Is there a way to attach a listener to the active object in such way that whenever I change the crease value of any edge, it fires a custom function?  Thanks guys


I had the following jQuery script on a static HTML page and it worked fine. However, when I enqueue it into WordPress it doesn't work.  Here is the JS file.  $(window).scroll(function()   if ($(".navbar").offset().top > 50) {      $(".navbar-fixed-top").addClass("top-nav-collapse");   } else {      $(".navbar-fixed-top").removeClass("top-nav-collapse");   } )};   And here is the functions.php  function hat_rack_media_scripts() {    //THEME CUSTOM STYLES AND SCRIPTS    wp_enqueue_style( 'hat-rack-media-style', get_stylesheet_uri() );    wp_register_script( 'theme-script', get_template_directory_uri() . '/js/script.js', array('jquery'), '1', true );     if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {     wp_enqueue_script( 'comment-reply' );     } } add_action( 'wp_enqueue_scripts', 'hat_rack_media_scripts' );   I feel like i included the file correctly, it is mapped to the right location, and it worked just fine in a static html page.  Thanks.


Evaluate: $$ \sum _ {k=1}^{n}{\frac{k}{n}\dbinom{n}{k}t^k(1-t)^{n-k}} $$  $\dbinom{n}{k}$stands for the usual binomial coefficient giving the number of ways of choosing $k$ objects from n objects.    Totally stuck.How can I able to solve this?


Why can static classes be initialized with the "new" keyword in Java?

I know that java doesn't support static Top-Level classes, and only nestled classes can be static.   But, wherever I read about these nestled static classes, it says you have to initialize these classes with the "new" keyword.   Is this not instancing? if yes, how are we instancing "static" classes?   Does this mean we can have multiple instances of this class running simultaneously? Can we store these on variables just like non-static classes?  If this is true, then is the "static" modifier just a modifier used to access the nestled class without instantiating the container class?  Any Light shed on these questions are very welcome. Thanks!  EDIT: This question is different than the questions it has been marked duplicate against as I am NOT asking what the static modifier does to an object, nor am I asking if static classes exist. I know what static nestled classes are, and how static objects behave, but the static nestled class'es peculiar behaviour of being instantiatable by using the"new" keyword (which is used to create an instance of an object). Static classes can usually not be created instances of in OOP, and I was asking is this different in java. can you create instances of static classes in java.


If I compute the SHA-1 of all possible 40 digits hexadecimal strings, will I get all possible sha1 hashes?

Wikipedia says sha1 produces a 160-bit (20-byte) hash value. So if I compute the SHA-1 of all possible SHA-1 values, which as far as I understand is at current time impossible both to calculate and store, will I get all possible SHA-1 values? Would I be able to collide anything?


Does $\lim_{n\rightarrow\infty}f\left(nx\right)=0\quad\forall x>0$ imply $\lim_{x\rightarrow+\infty}f\left(x\right)=0$?

Function $f$ is continuous on $\left[0,+\infty\right)$, does $\displaystyle\lim_{n\rightarrow\infty}f\left(nx\right)=0,\quad\forall x>0$   imply that $\displaystyle\lim_{x\rightarrow+\infty}f\left(x\right)=0$? If $f$ is not continuous, it is false. I don't know how to make use of the continuity.


Does a reflection still transfer momentum to an mirror?

I have been recently wondering, if I take a powerful enough energy source (photon) and I have an perfect mirror exactly in front of it and assume an "emitter" shot the light towards the mirror.   As perfect mirrors absorb no energy of ANY kind from photons, should this mean that the perfect mirrors would never move due to transfer of momentum of the light?


How to purge previously only removed packages?

I have a list of packages on my system, that were installed and removed again, but not purged, i.e. there are still a lot of conffiles etc. laying around.  The output of dpkg --get-selections | grep deinstall lists about 85 different packages which I don't need and want to be purged entirely.  So my short question, which I decided to finally ask after experimenting around has lead to , is:  How do I completely purge previously installed packages that are already removed?  Reinstalling and then purging is not an option, of course.


Can $n(n+1)2^{n-2} = \sum_{i=1}^{n} i^2 \binom{n}{i}$ be derived from the binomial theorem?

Can this identity be derived from the binomial theorem?  $$n(n+1)2^{n-2} = \sum_{i=1}^{n}  i^2 \binom{n}{i}$$    I tried starting from $2^n = \displaystyle\sum_{i=0}^{n} \binom{n}{i}$ and dividing it by $4$ in order to get $2^{n-2}$.


My latest post on Stack Overflow from Chrome on Android 10 won't show the code

I've posted a post on Stack Exchange just a few minutes ago from Chrome on Android 10, since I'm developing in TermUX and the Stack Exchange app on Android is no longer available. Why is the code in my post, which can be viewed when I edit it, not showing up? It's my latest post on PHP, with the php tag.


Rigorous definitions of sample and population

I am trying to understand some basic ideas of econometrics (and mathematical statistics) from the precise, mathematical point of view, avoiding vague explanations. I am beginning to learn about these notions from the introductory, undergraduate level, but I have a good mathematical background. Could you please explain precisely some basic notions?   What I mean is the concept of a random sample, first. If there are some mistakes or other inaccuracy, correct it, please.  Suppose we have some statistical population. Precisely, a population is a probability space $X$ plus some random variable, say $\xi$. We may imagine that $X$ is a set of people living in our city and $\xi$ maps each person to his or her height. It is okay, isn't it? Well, what is the random sample of size $n$? I understand it just intuitively. What about the precise definition? "A random sample of size $n$ is a set of $n$ random variables, which are well distributed..." - I read in Wikipedia and many other sources. That is what is very strange. Suppose $\theta$ is some random variable defined on $X$. How can I build the corresponding sample of size $1$? I think that the sample of size $1$ is just a point of $X$, without any random variables. Is it possible to build such a correspondence generally? I know that my question was raised here many times in different forms, but I'd like to reformulate it, trying to get the underlying principles of statistics without the loss of mathematical rigour. So, could you tell me if there are precise definitions in statistics?


I am currently planning on self studying Non-linear dynamics, with an intention of developing a decent idea about it and see how its applied. I don't want to be too rigorous in my dealing with the subject right now.  I have just completed my first year as an MSc Physics student, so what are the books that would be good, at this level.


How can I show following sequence of square root is convergent?

For positive $p$  $$\sqrt{p+\sqrt{p+\sqrt{p+\sqrt{p+\cdots}}}}=x$$      I want to show that this is convergent by using contractive mapping.  Can anyone help me?


How do you test that a Python function throws an exception?

How does one write a unittest that fails only if a function doesn't throw an expected exception?


How do I look at my Facebook look back video again?

I looked at it yesterday and didn't share it.  But today tried to look at it again and it didn't show up?  And when I go to the URL it brings me to six photos of myself.


Ising model on lattices with (vertical side length) $\neq$ (horizontal side length)

Consider the Ising model with nearest neighbours interactions on a rectangular lattice $L\times M$.  If $L=M$ (2-dimensional square lattice), it is known (e.g. by Peierls argument or Onsager explicit solution) that the model exhibits a phase transition when $L=M\to\infty$.  If instead we fix $L=1$ (1-dimensional line) and let $M\to\infty$, the model does not exhibit a phase transition.  My question is: which relation among the side lenghts $L,M$ guarantes the presence/absence of a phase transition? For example what about the case $L=\log M$ ?


Energy of a system of particles in a reference frame

When we have a system of particles, consisting of n particles, each having different mass and moving with a different velocity, we calculate the kinetic energy of the system in an inertial reference frame as K. When the same system of particles is viewed in frame moving with a velocity V, obviously the velocity of the particles change with respect to the frame and we thus calculate the kinetic energy as K'. We can see that K is not equal to K'.   Well my question was that how does the energy of the system of particles change when we simply view it with respect to a different frame of reference?


To whom was Yoda referring when he said, "There is another?"

In the original trilogy Yoda refers to another hope:     Obi-Wan: "That boy is our last hope."   Yoda: "No...there is another..."   The assumption being after seeing Return of the Jedi (Episode VI) that the other was Leia.  If, however, you consider the prequel trilogy canon, then this assumption depends greatly on your point of view*. Obi Wan knows about Leia (and for unknown reasons has discounted her as a hope), so Yoda must be referring to someone or something else.  Is there any canonical source as to what Yoda meant, or was uncle George setting us up for Episode VII?  *as a wise man once said      you will find that many of the truths we cling to depend greatly on   our own point of view.   Just to add a bit of clarity: I was thinking about who Yoda was referring to when he was talking to Obi-Wan. When talking to Luke, it is obvious that Leia is the other (as he talks about a 'Skywalker'). It is not so obvious (after watching the prequel trilogy) that he means it when talking to Obi-Wan.


What's the Cause of Quantum Entanglement?

What is the cause of quantum entanglement?  When two particles become entangled what property of them basically changes as to establish a link between them and how the information is exchanged between them?  And can multiple particles be entangled with each other, if yes then suppose 10 particles are entangled to each other and some force is applied to one of the particle then all of the particles will reflect the same changes. But in another case if we apply different force on two of the particles then what would happen?  a) entanglement will be broken for all particles  b) only those 2 particles become untangled and others remain entangled  if case a) happens then doesn’t it pose a risk on quantum computers as a fault in a particle could bring down the whole system?


How to fix get Key By Value with duplicate values in Java

I want to getKey by with duplicate values in map, but the result is not correct, an I have this code for example  import java.util.*; import java.util.Map.*;  public class Main {     public static void main(String[] args) {         Map<String, Integer> map = new HashMap<>();         map.put("A", 10);         map.put("B", 20);         map.put("C", 30);         map.put("D", 10);         map.put("E", 11);         map.put("F", 30);          System.out.println("Before Sorting:");         for (Map.Entry<String, Integer> entry : map.entrySet()) {             System.out.println(entry.getKey() + " - " + entry.getValue());         }          List<Integer> list = new ArrayList<>(map.values());         Collections.sort(list);         Collections.reverse(list);          System.out.println("\nAfter Sorting:");         for (Integer entry : list) {             System.out.println(getKeyByValue(map, entry) + " - " + entry);         }     }      public static <String, Integer> String getKeyByValue(         Map<String, Integer> map, Integer value) {         for (Entry<String, Integer> entry : map.entrySet()) {             if (entry.getValue().equals(value)) {                 return entry.getKey();             }         }         return null;     }  }    for now the result of the output is  Before Sorting: A - 10 B - 20 C - 30 D - 10 E - 11 F - 30  After Sorting: C - 30 C - 30 B - 20 E - 11 A - 10 A - 10   and the goal is to sort the values in descending order and then get the keys from the values, but since there are duplicate values, I could not get the keys  After Sorting should be: F - 30 C - 30 B - 20 E - 11 D - 10 A - 10   Any suggestion?


How can I generate a DMG file from a folder in Linux?

First of all, I am sorry if I am writing or explaining wrong, because I am not a native English speaker.  I want to build a dmg file for Mac, that contains the elements of a folder where there is an app launcher that it will be execute then in Mac. I need to build it in Linux with command lines.  I see a similar question here:  but only explained how to create a dmg file, not how to create it from a folder that contains files.  I have done what it says in the post and I can generate the dmg file, but after, I can't mount it and the terminal shows this: mount: unknown filesystem type 'hfsplus'   [root@denis Encapsulado]# dd if=/dev/zero of=Estudio.dmg bs=1M count=64 64+0 records in 64+0 records out 67108864 bytes (67 MB) copied, 0,624096 s, 108 MB/s [root@denis Encapsulado]# mkfs.hfsplus -v Estudio Estudio.dmg  Initialized Estudio.dmg as a 64 MB HFS Plus volume [root@denis Encapsulado]# mount -o loop Estudio.dmg /mnt/Estudio mount: tipo de sistema de ficheros 'hfsplus' desconocido [root@denis Encapsulado]#


Why we used " see a movie theater " instead of " watch a movie theater " ? 2 . And which one of this are right " I want to see a film on TV everyday " or " I want to watch a film on TV everyday " ?


How long does it take for a post to be deleted, or is it always saved?

Are posts automatically deleted after a certain time, say if the post is left alone for a year, will the post eventually be deleted? Or are they permanent provided the user or a moderator does not delete it?


Ubuntu 17.10 Upgrade Broke VMWare Workstation 12.5

Hi after upgrading to Ubuntu 17.10, vmware is now not starting.    I get the message:    /usr/lib/vmware/bin/vmware-modconfig: Relink `/lib/x86_64-linux-gnu/libbsd.so.0' with `/lib/x86_64-linux-gnu/librt.so.1' for IFUNC symbol `clock_gettime'   I am aware that there are patches available and I am attempting to apply these and recompile. I have run from the solution at :    cd ~   #Copy the vmmon source tar ball to your temporary location cp /usr/lib/vmware/modules/source/vmmon.tar .    #Extract the tar ball tar xf vmmon.tar    #Download the modified file that mkubecek posted and overwrite the one from the tar ball for VMware Workstation 12.5: wget -O ./vmmon-only/linux/hostif.c https://raw.githubusercontent.com/mkubecek/vmware-host-modules/b50848c985f1a6c0a341187346d77f0119d0a835/vmmon-only/linux/hostif.c     #Wrap up the newly modified files into a tar ball replacing the original one sudo tar cf /usr/lib/vmware/modules/source/vmmon.tar vmmon-only    #Rebuild the VMware kernel modules sudo vmware-modconfig --console --install-all   Failed to get gcc information.  gcc --version gcc (Ubuntu 7.2.0-8ubuntu3) 7.2.0 ...   Unforunately, vmware-modconfig is failing because of a dependency it seems on a particular gcc version. Am I on the right track? Any help with this issue would be much appreciated.  EDIT Thank you Steve, the below has gotten vmware going again. I've included minor correction. Tested and confirmed I could run a virtual machine.   sudo su    # do all below as root cd /usr/lib/vmware/modules/source tar xvf vmmon.tar  tar xvf vmnet.tar wget -O ./vmmon-only/linux/hostif.c https://raw.githubusercontent.com/mkubecek/vmware-host-modules/b50848c985f1a6c0a341187346d77f0119d0a835/vmmon-only/linux/hostif.c vim vmnet-only/bridge.c cd vmmon-only/ make cd ../vmnet-only/ make cd .. mkdir /lib/modules/4.13.0-16-generic/misc cp *.o /lib/modules/4.13.0-16-generic/misc insmod /lib/modules/4.13.0-16-generic/misc/vmmon.o insmod /lib/modules/4.13.0-16-generic/misc/vmnet.o rm /usr/lib/vmware/lib/libz.so.1/libz.so.1 ln -s /lib/x86_64-linux-gnu/libz.so.1 /usr/lib/vmware/lib/libz.so.1/libz.so.1 vmware-networks --start exit  # run vmware as normal user /usr/lib/vmware/bin/vmware


What is the ending r for and the leading d for in file permissions on Linux?  Example:  drwxr-xr-x   I know about the user, group, others part, and I know w=write, r=read, x=execute.  But I don't know about the leading d and the trailing r.  Can anyone explain how this works?


ecommerce item deleted by user, 301 redirect to HOME PAGE or 404 not found?

I know this question is someway similar to  where they recommend using 404, but after reading  where they suggest to use 301 when changing site URLs (in the specific case was due to redesign/re factoring) I get a bit of confused and I hope someone could clarify for this specific example:   Let's say I have an eCommerce site, let's also say the final user inserted some interesting items in the site and the eCommerce webapp created the item pages at the URLs: http://...?id=20, http://...?id=30 etc. Now let's say some of these interesting items got many external links toward them from many other sites because some people found those items very interesting and linked to them. After some years the final user deletes those items, so obviously the pages and URLs http://...?id=20, http://...?id=30, etc. now do not exist anymore, but still many pages on the web are linking toward them.   What should the eCommerce site do now, just show a 404 page for those items?  But, I'm confused, wouldn't this lose all the Google PR passed by the external links to the items pages? So isn't it better to use 301 redirect to HOME PAGE that at least passes the PR to the HOME PAGE?    EDIT:  Well, according to answers the best thing to do so far is to do a 404/410.  In order to make this question more complete, I would like to talk about a special case, just to make sure I understood. properly.  Let's say the user creates those items again (the ones he previously deleted at point 4), maybe he changes a bit their names and description, but they are basically the same items. The webapp has no way to know these new added items were the old items so it obviously create them as new items with new URLs http://...?id=100, http://...?id=101, does it makes sense at this point to redirect 301 the old urls to the new ones?    ANOTHER EDIT (It would be VERY IMPORTANT TO UNDERSTAND):  Well according to the clever answers received so far it seems for the special case, explained in my last EDIT, I could use 301, since it's something of not deceptive cause basically the new pages is a replacement for the old page in term of contents. This is basically done to keep the PR passed from external link and also for better user experience.  But beside the user experience, that is debatable (*1), in order to preserve PR from external broken links why not just always use 301, In my understanding Google dislikes duplicated contents, but are we sure that 301 redirect to HOME PAGE is seen as duplicated contents for Google?!   Google itself  so if they consider 301 as duplicated contents wouldn't that be considered duplicated contents too? Why do they suggest it?  Let me provoke you: “why not just add a 301 to HOME PAGE for every not found page?”   (*1) as a user, when I follow a broken URL from some external link to some website's page I would stick more on this website if I get redirected to HOME PAGE rather than seeing a 404 page where I would think the website does not even exist anymore and maybe I don't even try to go to HOME PAGE of the website.


Find the derived group of $GL(n,\mathbb{R})$   I believe that the derived group is $SL(n,\mathbb{R})$, as it is easy to see that $GL(n,\mathbb{R})' \subset SL(n,\mathbb{R})$, since for any $A,B \in GL(n,\mathbb{R})$,  we get that $det(ABA^{-1}B^{-1})=1$, and therefore $ABA^{-1}B^{-1} \in SL(n, \mathbb{R})$.  However, I'm not sure how to prove that other side - $ SL(n,\mathbb{R}) \subset  GL(n,\mathbb{R})'$?


Can someone explain me, why object binding is not working?  cmpOne.cmp  <aura:component extensible="true" abstract="true" access="global">     <aura:attribute name="testObject" type="Account" access="global"/>      <span>         {!v.body}     </span> </aura:component>   cmpOneFirst.cmp  <aura:component extends="c:cmpOne" access="global">       <ui:inputText value="{!v.testObject.Name}" />  </aura:component>   cmpOneSecond.cmp  <aura:component extends="c:cmpOne" access="global">     <aura:attribute name="types" type="Aura.Component[]" access="global"/>     {!v.types} </aura:component>   cmpOneThird.cmp  <aura:component extends="c:cmpOne" access="global">     // value of field should be changed, as  this value  is changing  in  inner component     {!v.testObject.Name} <br/>       <c:cmpOneSecond>         <aura:set attribute="types">             <c:cmpOneFirst testObject="{!v.testObject}"/>         </aura:set>     </c:cmpOneSecond> </aura:component>   No controllers.   Desired behaviour: when  you change value of  name field in cmpOneFirst.cmp, new value is displayed in cmpOneThird.cmp   If you change type of testObject attribute from Account to String - binding works.  Any suggestions?


As I understand general relativity theory (please correct me if I'm wrong), time becomes dilated and space becomes compressed around mass, and this is responsible for gravity. I'm struggling with precisely how that results in gravitational force between masses. Can someone explain that to me (please keep any required math understandable to a lay person).


Pager not rendering in custom twig template

I have custom twig template for product listing  Below is my code in controller  $query = \Drupal::entityQuery('node') ->condition('status', 1) ->condition('type', 'product') ->pager(1) ->sort('created', 'DESC');  $nids = $query->execute(); $nodes = \Drupal::entityTypeManager()->getStorage('node')->loadMultiple($nids);  pager_default_initialize($query->total, '1');  $list = array(); $path = base_path(); foreach ($nodes AS $node){      $nid = $node->get('nid')->value;     $list[$nid]['title'] = $node->get('title')->value;     $list[$nid]['image'] = str_replace('public://', $base_url . '/sites/default/files/', $node->get('field_product_image')->entity->getFileuri());     $list[$nid]['desc'] = $node->body->value; }   $build['result'] = array( '#theme' => 'list_product', '#items' => $list, '#path'  => $path,    '#pager' => array(         '#type' => 'pager',     ),  );   return $build;   Here is my twig file code
   {% for item in items %}

                      {{ item.title }}                      {{ item.desc|raw }}

   {% endfor %}

{{ pager }}
   Still pager is not getting rendered.  Note: The examples in  tell you how you can set pager and return it, I need a solution to render it in my list.html.twig template.


is this sentence correct? the company are going to send me there next week

i would like to reply to your letter, which arrived two days ago, before leaving for Rome i was told yesterday that the company are going to send me there