Skip to content

Instantly share code, notes, and snippets.

function createSamplesAndQuestions(form, split, offset=0, MAX_SAMPLES=100) {
Logger.log(split)
var output=UrlFetchApp.fetch(`https://${BUCKET_NAME}.s3.amazonaws.com/annotated_${split}_with_false_obj_col.csv`);
var csvraw = output.getContentText()
var csv = Utilities.parseCsv(csvraw)
var header_idx = {};
for (i in csv[0]){
switch (csv[0][i]) {
case 'img_id':
header_idx['img_id']=i;
The medium is not neutral. McLuhan’s “Understanding Media” proposes that media is the extension of man or another medium, therefore having inherent predisposed effects. He characterized some mediums as hot. These mediums can transform the very basis of society — as in how it functions or views things overtime. Conversely, the climate of society influences the effect (message) of the medium. Therefore, the choice — of utilizing one medium over the other — has unique effects that other mediums cannot deliver.
Cache brilliantly uses the medium of surveillance to establish the plot and maintain the audience’s morbid curiosity. Why is George being surveilled? The word surveillance means “close observation, especially of a suspected spy or criminal.” Thus by viewing the movie through surveillance footage, George has a degree of suspicion on him — as if he has something to hide. The surveillance content does not matter to the plot because it is banal. Being surveilled is enough to make the audience shift the blame
#include <stdio.h>
#include <stdlib.h>
//square value of pointer
void square(int* p) { return;}
//exercise 2: free
//
char** allocated_memory() {
char ** p;

Week 1 Documentation

Installing Virtual Box

Installing and Setting up CentOS

Installing COBALT

Setting up QSIM

07-15 02:23:46.755 5443-5443/com.example.arush.customtrackertest E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.arush.customtrackertest, PID: 5443
java.lang.RuntimeException: Unable to start service com.example.arush.customtrackertest.LocationService@346d6ea2 with Intent { cmp=com.example.arush.customtrackertest/.LocationService }: java.lang.SecurityException: Neither user 10149 nor current process has android.permission.WAKE_LOCK.
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2956)
at android.app.ActivityThread.access$2100(ActivityThread.java:151)
at and
Traceback (most recent call last):
File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1535, in __call__
rv = self.handle_exception(request, response, e)
File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1529, in __call__
rv = self.router.dispatch(request, response)
File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1278, in default_dispatcher
return route.handler_adapter(request, response)
File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1102, in __call__
return handler.dispatch()
File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 572, in dispatch
This file has been truncated, but you can view the full file.
LogInit:Display: RandInit(72559824) SRandInit(72559824).
LogTaskGraph: Started task graph with 4 named threads and 5 total threads.
LogStats: Stats thread started
LogInit: Version: 4.8.2-2614606+++depot+UE4-Releases+4.8
LogInit: API Version: 2579680
LogInit: Compiled (64-bit): Jul 8 2015 23:43:41
LogInit: Compiled with Visual C++: 18.00.21005.01
LogInit: Build Configuration: DebugGame
LogInit: Branch Name: ++depot+UE4-Releases+4.8
LogInit: Command line: -debug
'UE4Editor.exe' (Win32): Loaded 'C:\Program Files\Epic Games\4.8\Engine\Binaries\Win64\UE4Editor.exe'. Symbols loaded.
'UE4Editor.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file.
'UE4Editor.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file.
'UE4Editor.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file.
'UE4Editor.exe' (Win32): Loaded 'C:\Program Files\Epic Games\4.8\Engine\Binaries\Win64\UE4Editor-Core.dll'. Symbols loaded.
'UE4Editor.exe' (Win32): Loaded 'C:\Windows\System32\dbghelp.dll'. Cannot find or open the PDB file.
'UE4Editor.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Cannot find or open the PDB file.
'UE4Editor.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. Cannot find or open the PDB file.
'UE4Editor.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Cannot find or open the PDB file.
'UE4Editor.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Cannot find
using namespace std;
template<class T> class Node {
private:
Node<T>* nextNode;
T data;
public:
Node();
Node(T data);