Skip to content

Instantly share code, notes, and snippets.

Avatar

Albert Yang albertnetymk

View GitHub Profile
View nonblock.enc
class Client {
server : Server
def init(s:Server) : void {
this.server = s
}
def block() : void {
get this.server.f();
}
View stream.c
#include <stdio.h>
#include <pthread.h>
#include <stdlib.h>
#include <stdbool.h>
#include <unistd.h>
#include <sched.h>
#define N 100
#define MSG 1000
#define THREAD 10
View pm.md

Def of project:

specific goal specific time period specific resource unique work arrangement temporary organization

The line is optimized towards routine work. When one new problem arises, one specific request is given to a project group through a project charter trying to solve this problem. After the problem is solved, the result is implemented in the line, and initiates new work routine in the line.

diffs between project manager and line manager:

View color_blender.c
#define MIN(a,b) (((a)<(b))?(a):(b))
typedef unsigned int uint;
typedef struct {
uint red:5;
uint green:6;
uint blue:5;
} f_pixel;