Derive from class template which is nested in class template, all withing a class template
Where and why do I have to put the "template" and "typename" keywords?
Style/class tutorials What are some good tutorials on writing custom styles (classes) that clearly explain commands used and some of the features that TeX has to offer in the way of styles? Want to copy the file name quickly in Windows. I always use rename, copy , but feel it is quite slow. Any better way? How to mount ufs file system under Debian testing? In order to mount my /dev/sda4  under /mnt/ufs_mount on Debian Testing , i have tried the following commands (it works fine under Debian Jessie):  modprobe ufs mount -r -t ufs -o ufstype=ufs2 /dev/sda4 /mnt/ufs_mount   and:  mount -t ufs -o ufstype=ufs2 /dev/sda4 /mnt/ufs_mount   But i get this error:  mount: /dev/sda4 is write-protected, mounting read-only mount: wrong fs type, bad option, bad superblock on /dev/sda4,    missing codepage or helper program, or other error     In some cases useful info is found in syslog - try    dmesg | tail or so.   The output of: dmesg | tail :  [ 1136.965142] ufs: ufs_fill_super(): bad magic number [ 1255.758946] ufs: ufs_fill_super(): bad magic number [ 2098.945757] ufs: ufs was compiled with read-only support, can't be mounted as read-write [ 2098.946045] ufs: You didn't specify the type of your ufs filesystem        mount -t ufs -o ufstype=sun|sunx86|44bsd|ufs2|5xbsd|old|hp|nextstep|nextstep-cd|openstep ...        &gt;&gt;&gt;WARNING&lt;&lt;&lt; Wrong ufstype may corrupt your filesystem, default is ufstype=old [ 2098.967212] ufs: ufs_fill_super(): bad magic number [ 2927.982112] perf: interrupt took too long (2504 &gt; 2500), lowering kernel.perf_event_max_sample_rate to 79750   Edit My sources.list:  deb http://httpredir.debian.org/debian/ stretch main deb-src http://httpredir.debian.org/debian/ stretch main  deb http://security.debian.org/debian-security stretch/updates main deb-src http://security.debian.org/debian-security stretch/updates main   And uname -a:  Linux debian 4.6.0-1-amd64 #1 SMP Debian 4.6.4-1 (2016-07-18) x86_64 GNU/Linux   How to mount ufs file system under Debian testing? How to normalize my db schema for a quiz application? I am putting together a quiz application.   (I'm calling each quiz a "challenge")  I have a "challenge" table and a "challenge_question" table which is pretty straightforward.  challenge table: id name num_questions (I want to randomize and only display a certain number of Qs per each challenge)  challenge_question table: id challenge_id question (text of the question) required (some questions will be required to be displayed per each challenge) question_type (here I indicate what type of question: Mult. choice, T/F, Ordering, or Fill-in-the-blank)   Where I'm having trouble in normalization is with the types of question options:  Multiple choice, true/false, ordering, and fill-in-the-blank. I wonder, should I have a separate table for each type of challenge-question-option? Or is it possible to combine these into one somehow..  If I combined all possible options into a single table, it might look be something like this  challenge_options table: id challenge_question_id option (text field, can be used for both multiple choice and for fill-in-the-blank style questions) is_true (boolean field for true/false questions) is_correct (boolean, used to determine multiple choice answer) ordering_option_1  ordering_option_2 ordering_option_3 ordering_option_4 (these ordering fields would store the correct sequence of an ordering style of question)   This really strikes me as less than ideal.  Actually, I don't see how the ordering_options would work out correctly at all.  Wouldn't I need to have each of those be a separate option?  Surely there must be a better way.  Any suggestions/criticisms or alternate approaches? Why doesn't PHP DOM include slash on self closing tags? Are code questions without an attempt now on topic Why can't an electric field line suddenly break? My book has the following question in it as an exercise:  An electrostatic field line is a continuous curve i.e. a field line cannot have sudden breaks. Why not?  I cannot seem to be able to reason for or against this statement.  Can somebody please tell me why they can't suddenly break and if that were to happen then what will be its outcome? expected true to respond to true? New Zealand pronunciation of "women" vs "woman" I have read in a number of places that the NZ pronunciation of "women" must be rather peculiar. Quoting from :     For some years I've noted the tendency of Kiwis to pronounce "woman" and "women" identically (as "woman").   To which an Australian replies:     It appears there is a vowel shift going on in New Zealand (NZ) English [...] [T]he vowel in "women" which in Australian English is the same as the vowel in "hit", is often, in NZ, reduced to a schwa [...]. It makes the plural sound like our singular. I don't think the NZ pronunciation of the singular is the same as the NZ plural   A New Zealander begs to differ:     I've noticed this trend over the last few years also. To me as a kiwi it doesn't sound anything like a mispronounced plural -- it just sounds as if the speaker is using the one word for both singular and plural. [...] I see it as part of a much larger tendency to confuse singular and plurals. [Several examples follow.]   Who's right? Who's wrong? Wikipedia has :     In New Zealand English the short i of KIT is a central vowel not phonologically distinct from schwa /ə/, the vowel in unstressed "the". It thus contrasts sharply with the [i] vowel heard in Australia. Recent acoustic studies featuring both Australian and New Zealand voices show that the accents were more similar before the Second World War and that the KIT vowel has undergone rapid centralisation in New Zealand English. Because of this difference in pronunciation, some New Zealanders claim that Australians say "feesh and cheeps" for fish and chips while some Australians counter that New Zealanders say "fush and chups".   So, there appears to be a vowel shift going on; but I'm not sure if there might be some truth to the people-just-stop-caring-about-certain-plurals argument as well.  I hope we have enough New Zealanders on board to shed some light on this.   Can you provide a guide to how to pronounce "women" and "woman" in NZ English? (I've done some searching for audio files or YouTube videos, but haven't found anything yet.)  Would you say that it's just the vowel shift, "a much larger tendency to confuse singular and plurals", or both?  How recent is this trend? (E.g., if you are a native speaker of NZ English, is your pronunciation of "women" different from that of your parents/grandparents?) Return dynamically allocated memory from C++ to C Reference for $\text{Var}(X)\le (b-a)^2/4$ I am not a statistician, but am working a proof for the upper bound of an expression which contains the variance of a variable which obtains its values from a closed interval, [0,1]. I have seen in several places (mostly forums and web pages) the result that $\text{Var}(X)\le \frac{(b-a)^2}{4}$ for $a\le X\le b$. I would like to use, and cite, this result but am having an unusually difficult time finding a solid reference. Could someone here recommend one for me? Background: I have the opportunity to pursue a Computer Science graduate degree at a well respected program (around top 20). I spoke with the professors at the university and I feel like I am a good fit with their research program. My ultimate pursuits are to complete a PhD in CS. I've done research as an undergraduate and it has only confirmed my notion that I want to pursue a research track career.  More background: I applied to jobs (in case I was rejected to all the programs I applied for) prior to hearing back from my respective graduate programs. I accepted a position for an industry job (this was to secure I wouldn't be both unemployed &amp; not in school).  Dilemma: Turns out my top graduate school is very interested in me, and I'm very interested in them. I would rather go to graduate school than work in industry forever. The industry job pays very well. I am split between A) working for a maximum of 1 year(It would only be 1 year, seriously I do not care about the money enough to work past a year) and B) going straight to graduate school.   My concerns are as follows, if I choose A):    Could I potentially defer my admissions? If I am not allowed to defer my admissions, would I have a good chance of re-applying and being accepted a year later? Would my potential advisers look down on me for deciding to work a year?   I already made my mind up it would be a 1 year gig if I decide A). I know some people say once you make money, you may not be able to readjust to the graduate salary pay. But I don't think that will apply to because I'm going to live very frugally with or without industry pay. Value of Vandermonde type determinant $\operatorname{tr}(A)=\operatorname{tr}(A^{2})= \ldots = \operatorname{tr}(A^{n})=0$ implies $A$ is nilpotent Adding two numbers concatenates them instead of calculating the sum "Knowledge of" vs. "knowledge on" What does "official Ubuntu flavour" mean? What kind of support do they receive from Canonical or/and Ubuntu community? Who decides a distro should become official flavour? What privileges do "official flavours" have over unofficial derivatives of Ubuntu like Linux Mint, Elementary OS, Deepin OS,etc.? Converting MultiLinestring to Linestring with PostGIS How often do publishers sue researchers for copyright infringement for putting their articles on a personal website? I know that some publishers sometimes send copyright infringement emails to researchers putting their articles on a personal website. How often do publishers actually sue researchers for copyright infringement for putting their articles on a personal website? (assuming the authors didn't have the legal right to do so)  I am mostly interested in United States-based authors, but I am curious about other countries as well. What are the subcategories of ordered sets / groups?