Posts tagged CS
The TCP connection process
A diagram summarizing how a TCP connection is set up
TCP Socket Programming in Python
Example TCP client and server socket code in Python
UDP Socket Programming in Python
Example UDP client and server socket code in Python
Measuring and Comparing Pipelining Performance
Calculating and comparing the latency and throughput of SEQ and pipelining.
Binary Number Encoding
Formulas for converting unsigned and signed binary numbers to decimal, and how the two relate.
BombLab Phase6 Walkthrough
Walks through phase_6 of BombLab: checking six distinct numbers, reordering linked-list nodes, and finding the descending order.
BombLab Phase5 Walkthrough
Walks through phase_5 of BombLab: a 6-character input whose low 4 bits index an array that must sum to 58.
BombLab Phase4 Walkthrough
Analyzing the phase_4 and func4 assembly in BombLab to find the answer 7 7.
BombLab Phase3 Walkthrough
Analyzing phase_3's jump table to find the two-number answers
BombLab Phase2 Walkthrough
Analyzing the read_six_numbers and phase_2 assembly to find the six-number answer
BombLab Phase1 Walkthrough
Analyzing the string_length, strings_not_equal, and phase_1 assembly to find the answer
Pointer Problem
The pointer variable type that holds the address of each C variable declaration
const int * vs int * const
The difference between const int * and int * const pointers in C.
Fixing push rejected
A link to a post on fixing the Android Studio push rejected error.
Proof of The law of large numbers
A handwritten proof of the law of large numbers, shared as an image.









