Can I cite lecture notes?
How to cite lecture notes? (and should I even do this?)
How to perform the modular reduce of Rijndael's finite field I am trying to understand how to calculate the modular reduction of Rijndael's finite field.  The example on  page says that {53} • {CA} = {01}, because (11111101111110 mod 100011011) = {3F7E mod 11B} = {01} = 1.  I am able to get to the point where I have 3F7E mod 11B, but cant seem to figure out how the reduction works.        11111101111110 (mod) 100011011      ^100011011             1110000011110       ^100011011             110110101110        ^100011011             10101110110         ^100011011             0100011010            ^100011011 &lt;-- here, right shifted two places?             00000001   From this example, why does it right shift two places at one point?  I also found an example that 0x1b*0xaa equals 0x8c. Trying to solve this myself I get to the point: 0xE0E mod 0x11B   111000001110 ^100011011   11011010110  ^100011011    1010111010   ^100011011     010001100    ^100011011      10010111   This makes it 0x97 What is the shortcut for opening a new window (opening folders). for that I have to go to folder options and right click and then need to click on open new window.  or I have to make focus on the folder icon or open a folder then press  Ctrl+N  for opening a new window is there any direct command spcific to open a new window in ubuntu. /usr/sbin/grub-mkconfig: 1: /etc/default/grub: If: not found How to handle a lost KeyStore password in Android? "May I have a glass of water" vs. "Can I have a glass of water": which is better, "may I" or "can I", when asking for something? What is the correct sentence when asking for something like while flying asking for a glass of water :     May I have a glass of water     or      Can I have a glass of water I am not an expert of random forest but I clearly understand that the key issue with random forest is the (random) tree generation. Can you explain me how the trees are generated? (i.e. What is the used distribution for tree generation?)  Thanks in advance ! Error: Counter too large! with \alph{cntr} and cntr>26 I would like to have \alph{counter} for values larger than 26. The following MnWE gives me the error ! LaTeX Error: Counter too large.  \documentclass{article} \begin{document}  \begin{enumerate} \def\theenumi{\alph{enumi}} \setcounter{enumi}{24} \item twenty-five \item twenty-six \item twenty-seven \end{enumerate}  \end{document}   I would like it to behave like one of these:  ..., x, y, z, aa, bb, cc, ..., xx, yy, zz, aaa, bbb, ccc, ... (preferred) ..., x, y, z, aa, ab, ac, ..., ax, ay, az, ba,  bb,  bc,  ... (can be if nothing else works)   A solution without LaTeX3 extensions would be awesome as I cannot run LaTeX3 extensions. Everyone knows that Wolverine's adamantium claws are super-sharp — sharper than even a razor — and virtually indestructible. What puzzled me the first time I saw Wolverine is: how do the claws stay in his body?  As it is shown, Wolverine's flesh and skin are human in strength, but the healing factor makes it superhumanly durable and strong. Still, when Wolverine slashes something, or someone, extremely hard, dense, or thick (as he has to use great amount of force), the claws don't tear through his hand and leave his hand through the opposite side of the palm (because of the action having equal and opposite reaction). Greek Text (babel) and English Code Text (listings): Problem I use the babel package in order to write in greek with font "kerkis".  I want to add code in english ("courier new" font) to my latex document but I get some difficulties.  Can anybody help me, please. Thank you in advance.  \documentclass[12pt]{article} \usepackage[english,greek]{babel} \usepackage[utf8x]{inputenc} \usepackage{graphicx} \usepackage{fancybox} \usepackage{verbatim} \usepackage{courier} \usepackage{kerkis} \usepackage{float} \usepackage{geometry} \usepackage{fancyhdr} \usepackage{titlesec} \usepackage{tocloft} \usepackage{hyperref} \usepackage{afterpage} \usepackage{color}    \usepackage{listings}  \renewcommand{\lstlistingname}{Κώδικας}  \lstset{  %matlab   backgroundcolor=\color{white},     basicstyle=\normalsize,    % COURIER NEW?        commentstyle=\color{green},    % comment style   escapeinside={\%*}{*)},           extendedchars=true,               frame=single,                              keywordstyle=\color{blue},       % keyword style   numbers=left,                     numbersep=5pt,                     numberstyle=\normalsize\color{black},    rulecolor=\color{black},           stepnumber=1,                      stringstyle=\color{magenta},     % string style }   \begin{document}  \selectlanguage{greek} Ελληνικά: \textlatin{this word means greek}  \selectlanguage{english} Now I write in english  \selectlanguage{greek} Ελληνικά  %\selectlanguage{english}???  \begin{lstlisting}[caption = \textlatin{example1.m}] { % Entropy E = 0; for i = 1:J     if p(i) ~= 0         E = E + p(i)*log2(1/p(i));     end end } \end{lstlisting}  \end{document} All I want to see are the specs Is there a way to see the processor and speed of a Cisco UCS B230 Blade Server without the enclosure that runs it? The enclosure that we have does not power on and all I need is to see what cpu and processor speed is in it. What happens with excess items if my bag is full, and what should I do to avoid losing items? There's a default limit of 350 items in the bag (even though you can expand it through the shop). I am currently level 6 and have already ~250 items in my bag. I haven't done any battles yet, as all the gyms in my area are too strong for my pokémon at the moment. So I have a lot of Pokéballs, Heals and Revives that I don't need right now.  What happens once my bag is full? Will additional items go into a temporary overflow bag? Will I just lose them? Will they replace older items?  I'm afraid I will lose the valuable items gained through a level-up. Should I throw away items to avoid that? If so, what should I throw out first? Heals and Revives, as I don't need them right now? Or will they become too valuable later on and I should rather throw out some Pokéballs as those are the most common items to receive from a Pokéstop?  TL;DR: What happens with items that exceed my bag size limit and what is the best strategy to avoid losing valuable items? How can I hide my code in visualforce page? I am having trouble loading csv files into layers using QgsVectorLayer().  I know this looks like a repeat, but I have carefully read     and    but still cannot get it work.  An example of my data file, test.csv:  Index,y,x 0,37.7646618,-122.4960858 1,37.777494,-122.416311 2,37.717707,-122.3997056 3,37.732284,-122.498118 4,37.749998,-122.392333   My code:  import os import urllib  import pathlib from qgis.core import QgsVectorLayer  local_path = 'C:\dev\FCMS_conflation\data\TMC_nodes.csv' node_layer = 'test'  abspath = os.path.abspath(local_path) params = {'delimiter': ',',           'decimalPoint': '.',           'xField': longitude,           'yField': latitude}  uri = "%s?%s" %(pathlib.Path(abspath).as_uri(), urllib.unquote(urllib.urlencode(params)))  layer = QgsVectorLayer(uri, node_layer, "delimitedtext")   The formatted URI looks like:  [] uri &gt;&gt;&gt; 'file:///C:/dev/FCMS_conflation/data/TMC_nodes.csv?decimalPoint=.&amp;delimiter=,&amp;xField=longitude&amp;yField=latitude'   I have tried many variations of the parameters, including the crs and type. But no matter what I try, I cannot create a valid layer.  [] layer.isValid() &gt;&gt;&gt; False   I have verified that I can add the file using the QGIS gui. I even tried using the uri provided by layer.metadata from within the Python plugin.   I am using QGIS 2.10.1 on Windows 7 64-bit machine. Should questions having lots of downvotes be downvoted further? Is down-voting an already heavily down-voted/closed question kind of like kicking a dead horse? Is this bad practice? SQL to generate a list of numbers from 1 to 100 Why is the detection of gravitational waves so significant? LIGO has announced the detection of gravitational waves on 11 Feb, 2016. I was wondering why the detection of gravitational waves was so significant?   I know it is another confirmation of general relativity (GR), but I thought we had already confirmed GR beyond much doubt. What extra stuff would finding gravitational waves teach us? Is the detection of gravitational waves significant in and of itself, or is there data which can be extracted from the waves which will be more useful? How can I send an email using PHP? I have a complex command that I'd like to make a shell/bash script of.  I can write it in terms of $1 easily:  foo $1 args -o $1.ext   I want to be able to pass multiple input names to the script. What's the right way to do it?    And, of course, I want to handle filenames with spaces in them. Is there a way to fully stretch one line of text on the full width of the page, without manually setting the letter spacing, no matter how many characters on the line? How do I print my Java object without getting "SomeType@2f92e0f4"?