Today is the last lecture of this introductory module for computer science, CS1101S Programming Methodology.
We followed our own JS implementation of SICP.
We learnt the concept of programming – communicating computational processes.
We learnt functional programming.
We learnt higher order functions.
We learnt order of growth to assess the resource requirements.
We learnt iterative processes and recursive processes and space consumption.
We learnt scoping.
We learnt substitution model, environmental model.
We learnt memoization concept.
We learnt OOP implemented in JavaScript.
We learnt lazy evaluation, streams.
We learnt writing a basic meta-interpreter.
So, here we finished the introduction, and move on to the next step, CS2020.
Running an interpreter is fun!
Root problem for the stressed life
Recently I feel extremely stressed with my life.
Project deadline for CS1231 is approaching.
I have to meet the expectations from my CCAs as well, my duties include video recording and editing for short film production by Chinese Drama, video screening in-charge for Temasek Hall VPU.
All these are on top of regular meeting for each of 4 CCAs that I am actively involved in, and of course lectures and tutorials for all my modules.
I am getting headache everytime when I think of these these tasks and I can’t concentrate on one task a time.
However, with a clearer mind at this point of time, I realized the root problem of all these.
If I think about those people who overload themselves with more than 6 modules or 5 CCAs, they are still coping well.
So the problem is obviously within me.
I assert that the problem is that I am just constantly spending time and effort thinking of my tasks and how troublesome they are without actually doing them.
My mind always occupied with all the tasks and they just keep appearing in my thoughts and make me feel that I have so many things to do. Then I end up feeling very tired just by constantly thinking of those things.
But actually, if I consider them individually, each of them is not that complicated to finish. What I really have to do is
Allocate a time for each task and focus on each task at one time without worrying about others.
Yes, that should be the correct way to organize me time. Clear my mind and stay focus.
Constructing infinite sequences using stream
In CS1101S today, we are learning to use stream as a way to delay evaluation. In this way, we can use a function to construct an infinite data structures. For example, integers, Fibonacci sequence.
This stream is achieved by modifying the list concept. The head of the stream is a data value, the tail of the stream is a function to wrap the actual tail value. The function could be returning the reference of the stream itself.
Programming languages which will not evaluate the argument until needed are called lazy . For example, Haskell. Ocaml provides annotations.
This concept is very new and interesting for me as so far I have only seen finite data structures. With infinite data structure, we can do maths involving infinity in programming.
[Solved] Premiere Pro – The application was unable to start correctly
Error message for Premiere Pro CS6:
The application was unable to start correctly (0xc000007b)
The following didn’t work for me:
Hard disk Check by running chkdsk C: /R
Re-installing Premiere Pro CS6
The below method worked for me:
Uninstall Microsoft Visual C++ 2010 SP1 Redistributable Package (x64)
And re-install it by downloading the x64 version from Microsoft Website:
http://www.microsoft.com/en-us/download/details.aspx?id=13523
Hope this post may help people with the same problem.