This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
What are computers for? | |
- entertainment | |
- communication | |
- navigation | |
- science | |
+ unlocks whole new frontier in what is calculatable, what is doable | |
+ "big data", but slightly irrelevant to topic | |
Why do Computers need to understand language? | |
- Just like we use language to communicate meaning/intent to other people, language is one of the ways we can interact with our tools/computers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
words = "my name is".split(" ").map(v => v.toLowerCase()); | |
urls = words.map(word => x.find(v => word.indexOf(v.clean_text.toLowerCase()) !== -1)).filter(v => v !== undefined).map(v => v.url); | |
let content = ""; | |
urls.map(url => { | |
let embedlink = "http://www.youtube.com/embed/" + url.split("?v=")[1]; | |
content += `<iframe width="560" height="315" src="${embedlink}?controls=0&autoplay=1&loop=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>` | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
a { | |
font-size: xxx-large; | |
} | |
button { | |
width: 200px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const x = `adversely /ædˈvɝsɫi/ | |
adversity /ædˈvɝsɪˌti/, /ədˈvɝsɪti/ | |
advert /ˈædvɝt/ | |
advertise /ˈædvɝˌtaɪz/ | |
advertised /ˈædvɝˌtaɪzd/, /ˌædvɝˈtaɪzd/ | |
advertisement /ˌædvɝˈtaɪzmənt/, /ædˈvɝtəzmənt/ | |
advertisements /ˈædvɝˌtaɪzmənts/ | |
advertiser /ˈædvɝˌtaɪzɝ/` | |
const y = x.split("\n").map(p => p.split("\t").filter(v => v)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Object.values(__NEXT_DATA__.props.initialState.entities.gameRoom)[0].items.map(v => { | |
return [v.textToDisplay, v.enteredText, v.textToDisplay===v.enteredText] | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Why do Nauruans demonstrate resistance and rejection to the term of "climate refugees"? | |
Capitalism and Climate Change | |
- Australia basically used Nauru as a place to dump all their unwanted refugees | |
- Nauru and Australian govt made agreements which basically institutionalized the refugee industry | |
+ Australia benefits by getting a place to dump their refugees, and a source for phosphate | |
+ Nauru gets crazy job stimulation and a cheap labor base from the refugees | |
Conceptualizations of Displacement | |
- Nauru was historically fucked for its resources |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
What are the four fields of anthropology? | |
- socio cultural | |
- archeology | |
- biological | |
- linguistic | |
What is the savage slot? | |
- the classification of non-western societies as primitive | |
Who is the founding father of American Anthropology? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const items = document.getElementsByClassName("mobile-items")[0]; | |
function match(a, b) { | |
items.children[a].firstChild.click(); | |
items.children[b].firstChild.click(); | |
} | |
function matchAllTo(a) { | |
queue = queue.concat(new Array(items.children.length).fill(0).map((v, i) => [a, i])); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Keypad.h> | |
const byte ROWS = 4; //four rows | |
const byte COLS = 4; //four columns | |
//define the cymbols on the buttons of the keypads | |
char hexaKeys[ROWS][COLS] = { | |
{'1','2','3','A'}, | |
{'4','5','6','B'}, | |
{'7','8','9','C'}, | |
{'*','0','#','D'} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const times = [0.01127,0.01199,0.01197,0.00957,0.01198,0.01104,0.01098,0.01202,0.01159,0.01206] | |
const velocity = times.map(t => 1.536*2/t); | |
const meanVelocity = velocity.reduce((a,b) => a+b, 0) / 10; | |
const stdDev = Math.sqrt(velocity.map(v => (v - meanVelocity)**2 / 10).reduce((a,b) => a+b, 0)); | |
const stdErr = stdDev / Math.sqrt(10); |
NewerOlder