📅 Monday, April 22nd, 2024

Leave no stone unturned.

— Euripides

ECS154A Lecture: adder

  • half-adder: not sufficient for multi-bit addition (no carry input)

half adder truth table:

ABSC
0000
0110
1010
1101
  • full adder: adder with carry input

full adder truth table:

ABSC
00000
00110
01010
01101
10010
10101
11001
11111

full adder output equation (minimized):

where represents the minterm of the -th row.

full adder K-map… no reduction possible (circuit is minized with respect to standard logic gates, but that doesn’t mean we can’t reduce the number of gates)

\ AB00011110
00101
11010

Expanded full adder equation:

We can see that:

So

Now let’s come up with the equation for . Here’s ‘s K-map:

\ AB00011110
00010
10111

We have three two-element groups (one vertical, two horizontal). With a bit of algebra we can obtain the equation for :

full adder = 2 half adders

Note that the output bits are ready only after the propagation delay of the critical path.

SOC001 Lecture: Stratification

  • stratification: sorting into hierarchical rankings
    • different ranking/category has differing access to resources & power
    • sorted based on economic standing (income, wealth), race, gender, able-bodied or not, etc
    • society come up with beliefs to support/rationalize the stratifications; without beliefs, the stratification system wouldn’t work
  • income vs wealth
    • income: money earned on a periodic basis (e.g., salary, investment, rental properties, etc), though not necessarily associated with labor
    • wealth: value of existing owned assets
  • ideology: dominant set of beliefs
  • social classes in the US
    • upper class
      • ”old money”
        • more prestige than new money
        • large inherited wealth
      • ”new money”
        • money mostly earned during their lifetime (i.e., not from family, etc)
    • middle class:
      • upper-middle
      • middle
      • lower-middle
    • lower class
      • working class (e.g., blue collar, unskilled labor) (considered poverty by federal standards)
      • working poor
      • underclass (chronically unemployed, rely on welfare, indebted, etc)
  • Social class is mostly divided by wealth & income, but sometimes prestige, upbrining, etc.
  • social mobility: ability for people to move among social classes (upwards) within their lifetime; different societies have differing levels of social mobility
  • social stratification: theoretical perspectives
    • functionalism (not as popular nowadays)
      • Davis-Moore thesis: greater functional importance greater reward (i.e., money)
      • inequalities are functional (this idea is criticized nowadays)
    • conflict
      • Marxist: bourgeoisie & proletariat conflict
    • symbolic-interactionism
      • symbolic communication (e.g., buying brand / designer products)
  • intersectionality: multiple layers of inequality

HTB Academy SOC Analyst Path: Incident Handling Process

  • event: something happening in the network
  • incident: event with negative consequences
  • security incident: generally, incidents with an intent to cause harm against the systems
    • Incidents can come from within a network as well (e.g., malicious insider, data theft), and they are not limited to intrusions.
    • It is difficult to discern events from incidents until after investigation. It is best to treat some types as incidents until shown otherwise through investigation.
  • incident handling: well-defined procedures to handle security incidents