OS Class: lab2
First, download the project sample where I had all the necessary files setup, including a keyboard libray, which makes the function getchar available, that is all you need to implement all the labwork...
View ArticleOS Class: EXP points
As you have mentioned in Stuff I will be asking sections of the laboratory works requirements, there a 2 types of non mandatory difficulties of questions: “Hurt me plenty” and “Nightmare“. By providing...
View ArticleVim, tmux, solarized and mouse support
Solarized is a sixteen color palette (eight monotones, eight accent colors) designed for use with terminal and gui applications. It has several unique properties. I designed this colorscheme with both...
View ArticleOS Class: lab3
Goal Provide the ability to load a task In the last labwork, you implemented a command prompt, you need to be able to execute commands in it. This means that when you type hello for example, you OS...
View ArticleOSClass: lab4
Goal - Integrate setjmp and longjmp in your project. This means that you must take the code I made available to you and put in somewhere in your project files so that it will compile, and the...
View ArticleMaking your ruby fly
In this nice blog post by Justin Kulesza, the author points out that ruby interpreter is compiled by RVM wthout any optimizations at all, and he suggests to add -O3 to CFLAGS. Without a doubt, this...
View ArticlePattern matching for Ruby methods (sort of)
What is pattern matching for methods, really? I have a feeling that I won’t be able to explain in detail what this means, but let me give you some examples. In C++, you can overload methods which can...
View ArticleOS Class lab5-6: Implementing multitasking
Goal have a simple multitasking implemented your OS multitasking should have the following functions available: void sched_add_task(void* func_ptr) – add a task to scheduler by giving a function...
View ArticleFrom future to static
Finally, I got a static blog running, which will ease all the pain related to wordpress and its glitchy Markdown plugins. All the new content will be there, I will leave this blog running for a while...
View Article