Category Archives: #Code

Google API Test

function onOpen() {
getTVID();
}

function getTVID() {
var sheet = SpreadsheetApp.getActiveSheet();
sheet.getRange(‘A1:Z100’).clearContent();
var threads = GmailApp.search(‘from:tv@gmail.com “TV on “‘);
for (var i=0; i < threads.length; i++) { var messages = threads[i].getMessages(); for (var j=0; j < messages.length; j++) { if (!messages[j].isUnread()) { continue; } tid=messages[j].getSubject(); pid=messages[j].getSubject(); dte= messages[j].getDate(); tvid=tid.slice(tid.length-9, tid.length); pvid=pid.slice(5, tid.length-12); sheet.appendRow([dte,pvid,tvid]); } } }

Daemon

In multitasking computer operating systems, a daemon (/ˈdiːmən/ or /ˈdeɪmən/)[1] is a computer program that runs as a background process, rather than being under the direct control of an interactive user.

Caribbean Roboticist

I am from the island of Antigua.  I live in St. Thomas, United States Virgin Islands.  I am a roboticist.

A roboticist is a person who designs, builds, programs, and experiments with robots.

A great discussion on OS use in Computer Science education

What makes Windows a “bad” OS? Why does the computer science world force Linux on you?

I have worked on linux in school and I don’t hate it but I don’t see what it has that windows doesn’t (so far). The differences I do see on linux are manually done things, things that are automated on windows. Besides being free and no viruses(because I have avoided viruses my whole life through smart web searching/downloading) what are advantages over windows? *Also why can’t a computer scientist like me fix the problems windows does have*? I mean isn’t that the purpose of my degree? I’m sorry if I sound like a windows fanboy but I just want a totally performance/convenience based reasoning.

*I know windows is closed source but let’s just say I mean to join Microsoft and help fix it*

Via quora