I am trying to understand reflection. I am trying to use reflection to get the properties from objects. I first was using  var propertiesForManuallyCreated = typeof(T).GetProperties();   but then realized it wasn't getting the base properties. I tried  var propertiesForManuallyCreatedBase = typeof(T).BaseType.GetProperties();   but that didn't get me the base properties. How can I get the base properties? Below is an image of what I am talking about when I say base.
So what I have right now is something like this:  PropertyInfo[] info = obj.GetType().GetProperties(BindingFlags.Public);   where obj is some object.  The problem is some of the properties I want aren't in obj.GetType() they're in one of the base classes further up.  If I stop the debugger and look at obj, the I have to dig through a few "base" entries to see the properties I want to get at.  Is there some binding flag I can set to have it return those or do I have to recursively dig through the Type.BaseType hierarchy and do GetProperties on all of them?
Google Chrome (Windows) not displaying text/encoding correctly on certain websites I experience a problem similar to    Here's a screenshot on the website     I've tried:   Removing fonts I have installed Setting the encoding to Western, UTF-8, Greek, Automatic Changing the fonts used in Google Chrome Removing Google Chrome, including all application data/user profiles Running CCleaner Reinstalling Google Chrome, twice Installing Chromium (fonts display fine in Chromium) Turning off Windows ClearType Changing Windows/Chrome languages from English (Australia) to US, UK Restarting Windows several times after making changes   All of which did not work. I do not connect over VPN/proxy.   Can anyone give me any tips?  Windows 7 x64 Ultimate Is there an operation similar to inset that creates faces in the opposite direction? That is, instead of creating faces inwards, they create faces outwards? A normal inset operation:  What I would like: I want to prove  \begin{equation*} \tan A  + \tan B + \tan C = \tan A\tan B\tan C \quad\text{when } A+B+C = 180^\circ \end{equation*}  We know that   \begin{equation*} \tan(A+B) = \frac{\tan A+\tan B}{1-\tan A\tan B}~\text{and that}~A+B = 180^\circ-C. \end{equation*}  Therefore $\tan(A+B) = -\tan C.$ From here, I get stuck. Please help. Can I choose to use only Shapiro-Wilk? I read that     A typical stream cipher encrypts plaintext one byte at a time, although a stream cipher may be designed to operate on one bit at a time or on units larger than a byte at a time.   (Source: , William Stallings.)  A block cipher encrypts one block at a time. The block may be of size one byte or more or less. That means we can also encrypt a block of one byte by help of a stream cipher as a stream.  So, what exactly is the difference between a stream cipher and a block cipher? A finite, cancellative semigroup is a group Website display problem - across all browsers whenever I go to  or  the page loads like this:    How can I fix this? Ubuntu stuck/freeze on install I've been trying to replace my current Windows 10 installation with Ubuntu 16.04. My computer is a Lenovo Thinkpad T470. I've formatted my 15GB USB-dongle. Downloaded the software Rufus, and burned the ISO onto the USB. I've tried the settings "MBR Partition for BIOS or UEFI", "MBR Partition for UEFI" and "GPT partition for UEFI". I've tried using memtest86+ to test if I have any memory errors, I have not. I've tried disabling Secure boot, and Fast startup. I've tried using other software than Rufus, and I've tried entering the "nomodeset" in the boot options, as well "acpi=off", nothing works.   When I boot from my USB. I choose "Install Ubuntu" from the grub menu. And then select my language in the installer. It is from this point on, it gets problematic. Sometimes when I try to connect to my WIFI, it connects successfully, but when I press the "continue" button, the installer freezes and nothing happens. Sometimes I get past this point, but it then freezes later on in the installation progress - typically right when I press the "Install now" button.   It should also be mentioned that, if I press the "Quit" button in the install. I get to a black screen with a lot of text saying something like squashfs error.   Can someone please help me? When I tried booting memtest86+ it only worked when I changed my boot mode from UEFI to Legacy. Could this be it? Are there any downsides to installing an operating system in legacy?   If anyone has any other suggestions, it would be greatly appreciated!  Thank you :-) Picklist dependent on 2 controlling picklist I have 3 picklist in an object Test1, Test2, Test3  1. Test2 is dependent on Test1  2. Test3 is dependent on both.. Test1 and Test2    I want to have Test3 picklist showing values accordindly. i.e  if U selected Test1 = First and Test2 = SA . I should be able to see "IST,ABC and PQR" in Test 3.   Is this possible??? This is one thing that keeps bugging me, and maybe there's a direct answer. Grammatically, which one is more correct of these two?  Does it make a difference?  I tried not to do that. I tried to not do that. forecast using arima models I am trying to predict values using arima(0,1,1). After doing predict(mod,n.ahead=5) (in R) am getting the same value for all the predictions:   5947.681 5947.681 5947.681 5947.681 5947.681    Is it correct? Can't run a shell script So I have this script:  #!/bin/bash # Flips the screen (hopefully)  syntax_error=0 orientation=0  current_orientation="$(xrandr -q --verbose | grep 'connected' | egrep -o  '\) (normal|left|inverted|right) \(' | egrep -o '(normal|left|inverted|right)')" case $current_orientation in         normal)                 current_orientation=0         ;;         left)                 current_orientation=1         ;;         inverted)                 current_orientation=2         ;;         right)                 current_orientation=3         ;; esac  if [ $current_orientation -eq 0 ]; then         orientation=2 fi  if [ $current_orientation -eq 2 ]; then         orientation=0 fi method=evdev  # LENOVO S10-3t CHANGE ==&gt; Hard Coded my device number to 11!!!!!!!!  device=11  swap=0 invert_x=0 invert_y=0 real_topx=0 real_topy=0 real_bottomx=4020 real_bottomy=4020  case $orientation in         0)                 swap=0                 invert_x=0                 invert_y=0                 topx=$real_topx                 topy=$real_topy                 bottomx=$real_bottomx                 bottomy=$real_bottomy         ;;         1)                 swap=1                 invert_x=1                 invert_y=0                 topx=$real_topx                 topy=$real_topy                 bottomx=$real_bottomy                 bottomy=$real_bottomx         ;;         2 )                 swap=0                 invert_x=1                 invert_y=1                 topx=$real_topx                 topy=$real_topy                 bottomx=$real_bottomx                 bottomy=$real_bottomy         ;;         3 )                 swap=1                 invert_x=0                 invert_y=1                 topx=$real_topx                 topy=$real_topy                 bottomx=$real_bottomy                 bottomy=$real_bottomx         ;; esac  if [ $method = "evdev" ]; then         xinput set-prop "$device" "Evdev Axes Swap" $swap         xinput set-prop "$device" "Evdev Axes Swap" $swap         xinput set-prop "$device" "Evdev Axis Inversion" $invert_x $invert_y         xinput set-prop "$device" "Evdev Axis Calibration" $topx $bottomx $topy $bottomy         if [ $orientation = 2 ]; then                            xrandr -o inverted         fi         if [ $orientation = 0 ]; then                 xrandr -o normal         fi fi  #   It's for flipping screen in my Lenovo S10-3t. I copied it from the netbook's wiki page, and added the #!/bin/bash at the top. The filename is flipscreen.sh. How can I make it work? What is the expression on RegularExpressionValidator to check if the Textbox text is 6 or more characters long? when is f@g not the same as f[g]? I need to prove that     $f_1 \in \Theta(g_1) \land f_2 \in \Theta(g_2) \implies f_1 + f_2 \in \Theta(\max\{g_1, g_2\})$    is relevant, but I have a slightly different case, so I don't know how to translate it into this one, because I need to turn the $f$'s into $g$'s.  Am I allowed to say $\max\{f_1, f_2\} \in \Theta(\max\{g_1, g_2\})$?  Or even $\Theta(\max\{f_1, f_2\}) = \Theta(\max\{g_1, g_2\})$? Are any of the alien languages in Star Wars real Earth languages? Are any of the alien languages (other than English and binary) in Star Wars movies or TV shows real Earth languages? How to use an item in my off-hand? Weird line in my mirrored mesh Opening Chromium on Ubuntu VPS Ubuntu noob here. I recently got a VPS running Ubuntu, and decided to install Chromium, my preferred browser, on it. After installation completed, I got a message stating that I cannot open Chromium with root privileges. How would I go about opening Chromium? For example I want to use \iint from ams package  and also mathabx package in one file together. Actually I want a command that neutralizes ams package effect and replace it with mathabx package effect from here on in my file. Thanks for your responsibility.  This is my example minimal file:  \documentclass[12pt,a4paper]{report} \usepackage{amsmath}  \usepackage{mathabx}  \begin{document} i want this one in ams style:        \[ \iiint\,\iiint\, \iiint\,\oint\, \] text text text text text text text text text text text text   and this one in mathabx style:   \[ \iiint\,\iiint\, \iiint\,\oint\, \]   but both of them are the same and i don't like it ..... \end{document}