dispatching
Last edited: August 8, 2025“how does an operating system track threads and processes”
traps and interrups
Bad problem: the operating system can’t be running when a user thread is running. We can’t do thread bookeeping if a user thread is running.
trap
a trap is a scheme to request OS attention explicitly from the user thread, swapping the user process off the CPU.
- system calls
- errors
- page fault (memory errors)
interrupt
a interrupt takes place outside the current thread, it forces the OS’ attention even if the user thread isn’t asking for it
Dissociating Language and Thought
Last edited: August 8, 2025Big Idea
Motivation: Touring Test
Point of the Turing test: we can use language to get the underlying thought and the underlying cognition. However, language IS NOT thought.
Language is not thought
Good at language != good at thought => public speaking settings
Bad at language != bad at thought => language models?
LLM eval should separate language and thought
- formal vs functional linguistic confidence (good at speaking and speaking is useful)
- generalized world knowledge
Detour and motivation: cognitive science
- language centre in brain is specific to a location, and changes in language doesn’t change what region gets activated
- language shows little/no response when we are thinking of cognitively challenging tasks lik emaffs
Key examples: aphasics can still think. So each skill is in a separate brain-place.
distributed algorithm
Last edited: August 8, 2025distributed algorithm is a type of algorithm that can be distributed across many modules.
There are a few core areas of research:
failure-proofing nodes is a distributed algorithm
- What if one processor fails?
communication in a distributed algorithm
- What if communication between processors fails?
- What if timing fails?
atomicity
atomicity is a property of distributed algorithm where, for a set of steps, a processor can only do one or all of the steps. i.e.: if you are asking a node to do something, it can either do all of the thing or be able to roll back as if the entire thing didn’t happen.
distributed morphology
Last edited: August 8, 2025distributive harm
Last edited: August 8, 2025distributive harm is a harm where a system extends, withhold opportunities given a specific group of people
St. George’s hospital: overweighting
- observing the weights
- observing the input, consider whether or not input has sensitive features
