Skip to content

Instantly share code, notes, and snippets.

@grinya007
grinya007 / work_queue.rs
Created February 7, 2022 14:50 — forked from NoraCodes/work_queue.rs
An example of a parallel work scheduling system using only the Rust standard library
// Here is an extremely simple version of work scheduling for multiple
// processors.
//
// The Problem:
// We have a lot of numbers that need to be math'ed. Doing this on one
// CPU core is slow. We have 4 CPU cores. We would thus like to use those
// cores to do math, because it will be a little less slow (ideally
// 4 times faster actually).
//
// The Solution:

Installing Debian Jessie on MacBook Pro Retina

Things you need:
  • MacBook Pro
  • USB Flash Drive with at least 4GB space
Create a bootable USB of Debian Jessie:
  1. Download the latest image of Debian Jessie, weekly release. The first DVD, gives you a bare minimun debian install. The second contains less popular stuff. If you install multiple, concatenate the iso's by cat /path/to/disk1.iso /path/to/disk2.iso > combined.iso.