understanding exactly how an object is mapped in memory
What is the VTable Layout and VTable Pointer Location in C++ Objects in GCC 3.x and 4.x?
For bash script, I can use "$@" to access arguments. What's the equivalent when I use an alias? This question and answer is a response to a request from Joseph Wright.   Why shouldn't I use getnonfreefonts to install additional fonts? Why shouldn't I use updmap when installing or removing fonts?     Background  There are a number of questions on the site concerning problems caused by people installing additional fonts and using updmap to update the 'map' files on which TeX depends.  One common cause of these problems is the use of getnonfreefonts.  Other causes are the use of other font installation scripts or executing updmap directly. Bash terminal not wrapping text correctly I am using the gnome-terminal with bash, and when I have a command that should go over the line, it just stays on the same line. So instead of:  echo "abcdefghijklmnopqrstuvwxyz"   I would get  opqrstuvwxyz""abcdefghijklmn   Or something similar to that. However, if I press enter the command will still work. I believe it has something to do with my PS1 variable, but I don't know what is wrong with it. Here it is:  export PS1='\e[1;35m[\u:\w]\$\e[0;35m ' Book series where they collect either stones or gems I'm looking for a fantasy book I read about 10 years ago. I don't remember a lot of it, but there are a few things I still know:   The setting was in medieval times. There was no traveling dimensions. I can't recall whether there was magic or not. It wasn't on Earth, but on some invented world. I believe it was a trilogy, with a focus on the son of some nobility. The goal for the characters was to collect a certain number of stones or gems (I believe there were 5 of them), all in certain colours. Every stone has a certain power attached to it. I believe it started out with one or two characters, but the group grew and every character had a certain colour stone at the end. What is important about the gems is that they are unique. It's not part of a bigger magic system, but they are artefacts from somewhere.   There are some minor incidents I can recall vividly:   They build up a fellowship with some stereotypical fantasy builds: an old school fighter, a minstrel, a female archer and probably more. At one point, they mention that if one of the guards in a country falls asleep on duty, he will be kept awake by his garrison/brothers in arms for seven days. At some point the minstrel falls asleep, and the old fighter teaches him how to stay awake. They travel through a forest full of leeches and other insects to reach one of the stones. Also, I seem to recall there was a member of an underground evil organisation among the nobility, who tried to poison someone and were able to do that because they built up an immunity to the poison.   Does anyone has a clue what this series might be?   Suggestions by kind people, but not what I'm looking for, are:   The Seventh Tower Deltora Quest Diadem Westria Sword of Heavens series When and how did "momentarily" come to mean "in a moment", rather than "for a moment"? "Momentarily" used to mean "for a moment" only, and not "in a moment". Thus, newscasters could be divided into two clear groups: those who would say "we'll be back momentarily," and those who would not.  This restriction made sense to me, because having both definitions would promote ambiguity if a unique interpretation could not always be derived from the context. But in recent years it seems "momentarily" is regularly, maybe even more often, used to mean "in a moment" by newscasters of every caliber, and in fact this is even shown to be the definition when looked up in most dictionaries.  When did this word's meaning change? How did it come about? "does not contain a static 'main' method suitable for an entry point" I need to factory reset my Macbook but cannot recall the password. So I used Cmd+R during startup and go to terminal and typed 'resetpassword' according to this advice    Now 'Reset Password' application appears but there is nothing where I have to select the volume containing the user account. Why does this happen? What is the proof that a force applied on a rigid body will cause it to rotate around its center of mass? \AtEveryBibitem{\clearfield{Title}} in beamer? Dependency error while installing WINE Is there a place where I can look what updates I've installed? Linear Transformations: Proving 1 dimensional subspace goes to 1 dimensional I am having trouble understanding this whole question, and how to prove it.  Let $F:\mathbb{R}^n\to\mathbb{R}^m$ be a linear transformation. Prove that if $L$ is a $1$-dimensional subspace of $\mathbb{R}^n$, then  $F(L)=\{y\in\mathbb{R}^m: y=F(x)\text{ for some }x\in L\}$  the image of $L$ under $F$ is a subspace of $\mathbb{R}^m$ with dimension $1$ or $0$. Hence prove that if the kernel of $F$ is $\{0\}$, then the image of $L$ is a $1$-dimensional subspace of $\mathbb{R}^m$ (and so, in this case, $F$ takes lines in $\mathbb{R}^n$ to lines in $\mathbb{R}^m$). I'm curious of how illusions would affect spells or abilities that require a target to be looking at something. A good example of this would be Medusa's Petrifying Gaze which has the following effect:  Petrifying Gaze: When a creature that can see the medusa's eyes starts its turn within 30 feet of the medusa, the medusa can force it to make a DC 14 Constitution saving throw if the medusa isn't incapacitated and can see the creature. If the saving throw fails by 5 or more, the creature is instantly petrified. [...]  So if someone were to cast Minor Illusion to put a bag over Medusa's head, would other player/creatures who do not realize that the bag is an illusion be affected by the gaze if they were looking in the direction of it? Does the illusion block the effect? Selection by attribute string with wildcard as part of name in ArcGIS Desktop? I have an attribute field in my file geodatabase (GDB) where I'm trying to select all records that contain an underbar in the string field.  The issue is that the underbar is considered a SQL wildcard on its own.  To illustrate: I need all data similar to "ID" = '42W_42_42E' or "ID" = '31A_31'  Using "ID" LIKE '%_%' returns all records, which isn't helpful.  The perfect solution would simply return a count on the number of records with the underbar in their ID attribute. How do I upgrade an iPhone 4 from iOS 7.1.2 to iOS 8 or 9 I have an iPhone 4 and I need to upgrade from 7.1.2 to iOS 8 or 9. I would like to ask how I can get iOS 8. Why didn't the Emperor realize that torturing Luke to death in front of Vader might be a bad idea? How do I effectively defeat the Wall of Flesh? I've been having trouble defeating this monster. Even with lots of buff potions, health potions, high tier armor (Molten), and ranged weapons with plenty of ammo (Minishark), I can't seem to kill this boss.  Worse, when I get it down to about 2000 hp, even if I'm fairly far away, it'll suck me in and continually rise towards the skybox, which doesn't allow me to do anything for some reason.  How do I defeat the Wall of Flesh? What gear should I be using and what kind of potions do I need? I've made a roughness 0 glass pane, when I'm in lookdev mode it's reflecting a background that I didn't put there. I know I could just ignore it, but I'd rather be able to see what it'll mostly look like when I'm in the later stages. I also just want to know how on Earth I managed to set this background without realising it  Reflection completely ignores any objects I put in front of it. If I placed this glass inside my house, it would still just reflect trees (This is the point where I felt I couldn't ignore it - reflections are going to play a big part in my project and I don't want to be in render mode all the time)  The nodes are the default glass BSDF, except I set roughness to 0  The glass is set to 20mm thick, if that makes a difference  The background moves with my perspective and moves when I relocate the glass  I have a few HDRI's on my PC, but none look remotely like this   Also, I'm using cycles as I find Evee buggy as hell I am currently developing an RPG game with a classic experience-points and levelup mechanic. The player kills monsters, gains experience points, levels up when they collect enough and become stronger.  How do I balance the amount of Exp points necessary for reaching each level and the amount of Exp awarded by each monster on each level? Independence of Gaussian variables