Skip to content

Instantly share code, notes, and snippets.

🕷
.̸̧͖̟̞̹̞̲̔̕.̴̧̞͚̭̱͓̦͙̈̐̈́̓̔̀.̴͔̼̻͔̪̲͖̈̌̒͌̀.̴̡̛̩̘̟̙͇͈͂͛̆̋͂͌̕͘̕͜.̴̰̲̺͐̊̂̇̏̓͗̾.̴̰̳͉̂

Shawn Choi shawnkoon

🕷
.̸̧͖̟̞̹̞̲̔̕.̴̧̞͚̭̱͓̦͙̈̐̈́̓̔̀.̴͔̼̻͔̪̲͖̈̌̒͌̀.̴̡̛̩̘̟̙͇͈͂͛̆̋͂͌̕͘̕͜.̴̰̲̺͐̊̂̇̏̓͗̾.̴̰̳͉̂
Block or report user

Report or block shawnkoon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@shawnkoon
shawnkoon / midterm_studyGuide.md
Created Feb 17, 2017
CSCD467 midterm study guide
View midterm_studyGuide.md

CSCD467 Parallel & Cloud Computing Midterm Study guide.

Author : shawnkoon. Web : github.com/shawnkoon

  1. Concept of barrier and semaphore
  • Barrier - Datastructure that allows threads to wait for each other to reach a same barrier point. CyclicBarrier - barrier that is re-used after the threads are released.

  • Semaphore - Datastructure that maintains a set of permits and it ensures that only N threads can access a certain resource at a given time. Tip : Why getItem() method is not synchronized? A : because semaphore encapsulates the synchronization inside itself.

View working_with_forks.md

Let's get started with github!

There are many different ways of working on github depend on whether you are working on your own repository, someone else's repository (without write permission), someone else's repository (with write permission), and etc...

So, let's talk about third way, 'someone else's repository (with write permission)'

  1. You need to make a Fork of a project. I would recommend you guys reading these 2 documentations that talks about what Forking does and how to work with it. Forking a repository & What it is for Syncing with main repository
View h3_printable
1) For a 4-bit scaled-resistor DAC, with a contribution from each on-bit of 1V, and an 8R resistor = 8 Ohms with 10% precision: what is the worst case error, in Volts, of Vout, when the input is 0001, which should produce an output of -1 V / 8 = -0.125? Error is the absolute value of the difference between the expected output and the actual output. You may use the approximate error formula discussed in class.
You can’t perform that action at this time.