Do Muggleborns go to a Muggle school before they receive their Hogwarts letter? You receive your Hogwarts letter when you're eleven but in the Muggle world, you have to start attending school when you're six or seven. Unlike children from wizarding families, Muggleborns don't know they're wizards or witches, so supposedly they don't sit at home until they're eleven.  So do Muggleborns start studying in a Muggle school and then quit it when they receive their Hogwarts letter?
What do wizard children do before attending Hogwarts? Most of the wand-carriers that come from a non-Muggle family seem fairly uneducated when it comes to interacting with Muggles.  This implies that they don't go to any type of Muggle school before entering into their education at Hogwarts (or whichever Wizarding school they go to), or else they would at least understand some Muggle culture.  What do children from magical families do before going to Hogwarts if they don't go to a traditional school?  Is there any evidence that they're homeschooled?
What is the correct way to get a pgfkey value? How do I redirect in a class sub-classing the EventSubscriber class? How to run grep and show x number of lines before and after the match grep returns just the line where it matched the regex and often what I want to really see is a few (say 2) lines above and below the matched one. Is there a simple way to achieve it?  EDIT: OS: Ubuntu based Bodhi Linux.  As mentioned in comments, -C does not work in vanilla but its GNU grep in my case. Where in the DNS process are NS records used? I register a new domain, mynewdomain.com, at a hosting company.   In the advanced DNS settings there is an A record which maps mynewdomain.com to a ip address.  In my webhost control panel, it shows me the nameservers for the domain: ns1.mywebhost.net &amp; ns2.mywebhost.net  When I type in mynewdomain.com into a browser and hit enter I believe the following happens.   ISP resolver searches "." nameserver ISP resolver then told to search ".com" nameserver instead. ISP resolver finds mynewdomain.com, and searches the zone file to get the A record.     So my question is, where does my webhost's nameservers come into play? I believe the flaw in my logic comes from the fact that my zone file (in which the A record is kept) is stored on ns1.mywebhost.net). But if that is the case, how does my ISP resolver know to look here? (because I didn't type this into my address bar) I'm glad the outside overlay scrollbars are finally gone.  But the scrollbar is still a razor thin line that becomes a less razor thin scrollbar, but still thin scrollbar, when the mouse hovers.  How can I get a normal scrollbar? I.e., like in other OSes, like in Firefox, a scrollbar that doesn't change depending on what the mouse points to, and with a nice width.  I already tried  gsettings set com.canonical.desktop.interface scrollbar-mode normal   but no luck. Which serial protocol or encoding scheme does this scoreboard use? I am trying to decode a signal stream coming from a Nevco scoreboard controller:    Packets like this are sent every ~2.7 ms.  I suspect it is some sort of UART signal because it is on the RX line of a ATMEGA48, but I cannot identify the finer protocol details like parity and stop bits. All the combinations I have tried returns junk data, so it may be another encoding scheme.  What's unusual is that the same signal is also sent to the MOSI pin of the microcontroller, but there is no clock signal anywhere.  A .vcd file is .   The shortest pulses (both high and low) are always 8us in length.    This is what two packets look like. Anyone got ideas? Automatically adding user and password to openvpn script I have a working script, which allows me to do a vpn connection. It looks like this:  openvpn --config VPNBook.com-OpenVPN-Euro1/vpnbook-euro1-tcp443.ovpn   All is good, but I have to input the publicly available vpn and password every time I run this script. (Don't worry, I'm not going to do banking or anything serious over a free VPN, this is more for learning).  This is the username and the password available publicly on their website:  Username: vpnbook  Password: he2qv5h   After firing up, the script prompts me for username and password which now I need to copy and paste.   Tue Aug 15 11:54:51 2017 library versions: OpenSSL 1.0.2l  25 May 2017, LZO 2.08 Enter Auth Username: vpnbook Enter Auth Password:    Is there a way of doing it so the script inputs the values on its own?  I tried echoing it, but it isn't that easy.  Or do I have to edit the command itself, somewhere in the files? If yes, can someone point me in the right direction for doing it? Custom cursor in WPF? I want to use an image or icon as a custom cursor in WPF app. What's the best way to do it? How do I use itertools.groupby()? I haven't been able to find an understandable explanation of how to actually use Python's itertools.groupby() function.  What I'm trying to do is this:  Take a list - in this case, the children of an objectified lxml element Divide it into groups based on some criteria Then later iterate over each of these groups separately.  I've reviewed , but I've had trouble trying to apply them beyond a simple list of numbers. So, how do I use of itertools.groupby()?  Is there another technique I should be using?  Pointers to good &quot;prerequisite&quot; reading would also be appreciated. dpkg exit with error "cannot scan updates directory `/var/lib/dpkg/updates/': No such file or directory", how to fix it? Earlier, I had a problem with a package, and I (wrongly) ran this:  rm -r /var/lib/dpkg/*   See also .  Now when I try to upgrade, I get this:  E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? masoud@masoud-PC:~$ sudo apt-get upgrade  E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?   and when I use: sudo dpkg --configure -a   I get this:  dpkg: error: cannot scan updates directory `/var/lib/dpkg/updates/': No such file or directory     and for sudo apt-get upgrade -f get:  Reading package lists... Done Building dependency tree        Reading state information... Done Correcting dependencies... failed. The following packages have unmet dependencies:  ia32-libs : Depends: ia32-libs-multiarch but it is not installable  wine1.4 : Depends: wine1.4-i386 (= 1.4.1-0ubuntu5) but it is not installable E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. E: Unable to correct dependencies Why won't my follower follow me after the "A Night to Remember" quest line? At the end of the "A Night to Remember" quest line, my follower came with me when I was teleported to the Misty Grove. Once there, I told my follower to wait.  Now, when I was teleported back to the real world, my follower's not with me: presumably because he's still waiting at the Misty Grove. I've waited for some time and still he hasn't come back.  How can I get my follower back? jQuery serialize does not register checkboxes What do the "+n" values mean at the end of a method name in a stack trace? Is there any objective benefit to escape sequences over tput? In people's '.*rc' files I see online or in various code, I tend to see a lot of people who manually use ANSI escape sequences instead of using tput.  I had the understanding that tput is more universal/safe, so this makes me wonder:  Is there any objective reason one should use escape sequences in place of tput?  (Portability, robustness on errors, unusual terminals...?) Trying to remember a book about a human male travelling to alien planet I listened to this on audiobook and it was great.  The premise was a human ends up travelling to an alien planet. The aliens have a perimeter to their 'base' that is under constant attack from the planet's animals. It is revealed towards the end that there is some sort of signal being transmitted that is making all the animals and plant life attack a certain point on the planet (where the aliens are).   Other major plot points I remember: The human traveller falls in love with an alien. The aliens have a sort of virtual training environment that simulates life outside the perimeter, where plants attack you etc. There is a secondary alien group that the human ends up with, and although they are rivals to other group, they have a trade set up.   Any help much appreciated! Thanks. $E|X-m|$ is minimised at $m$=median For a continuous random variable $X$, I want to show that $E|X-m|$ is minimum implies $m$ is the median of the distribution. Assume that the distribution function is $F$ and the density function is $f$.  In this case, we basically need to minimize  $$\int_x |x-m|f(x)\,dx=\int_{x&gt;m}(x-m)f(x)\,dx+\int_{x&lt;m}(m-x)f(x)\,dx.$$  I am finally being left with $2mF(m)-m+E(X)-2\int_{x&lt;m}xf(x)\,dx$. What does it mean to minimise this expression? Is there some way out?  Well, my intuition says that since I have to prove that $F(m)=0.5$, I somehow will need to show that $E|X-m|$ is minimised if $2mF(m)-m=0$ (as then I will get $F(m)=0.5$ Could someone make the proof into a hinted exercise? Let $(c_n)$ be a sequence of positive numbers.  Could someone make the proof of the inequality  $\displaystyle\limsup_{n\to\infty}\sqrt[n]{c_n}\leq\limsup_{n\to\infty}\frac{c_{n+1}}{c_n}$  into a hinted exercise? To debug a JACK/Pulseaudio issue, I want to understand when and why the pulseaudio daemon is started by systemd (on Fedora).  Using:  $ ps -o'pid,ppid,args' `pgrep pulse`   I see that the pulseaudio daemon is being started by systemd (pid=1)   PID  PPID COMMAND 2738     1 /usr/bin/pulseaudio --start   However, I was unable to find any unit-file on my system containing pulseaudio or even just pulse.  My specific questions are:  A) Is there a way to determine the systemd unit that caused the creation of a specific process (in my example output, process 2738, the PA daemon)?  B) Are there alternative approaches to find out which unit-dependency chain or other settings of systemd resulted in the invocation of /usr/bin/pulseaudio --start? I would like to use Flash Player to show web contents but since today (12 Jan 2021) Adobe is blocking it. Is there a way to use it? I've tried Firefox, Chrome, Safari and Brave browsers. Is it appropriate to buy a "thank you" gift for a PhD supervisor? I am nearing the end of my PhD and I would quite like to buy a "thank you" gift for my supervisor (although, she's the socially awkward type who I'm sure will be greatly embarrassed to receive one).  I'm just wondering whether a gift is the done thing? And if so, what sort of gift seems appropriate? I suppose a bottle of wine would be a safe choice?