Create EMR cluster with support for R.
Fix Development Tools
to fix gower
package installation,
sudo yum remove gcc72-c++.x86_64 libgcc72.x86_64
sudo yum groupinstall 'Development Tools'
import SimpleHTTPServer | |
import BaseHTTPServer | |
def main(): | |
request_handler = SimpleHTTPServer.SimpleHTTPRequestHandler | |
request_handler.server_version = "Jetty(8.y.z-SNAPSHOT)" | |
request_handler.sys_version = "" | |
BaseHTTPServer.test(HandlerClass = request_handler, ServerClass = BaseHTTPServer.HTTPServer) | |
if __name__ == "__main__": |
Create EMR cluster with support for R.
Fix Development Tools
to fix gower
package installation,
sudo yum remove gcc72-c++.x86_64 libgcc72.x86_64
sudo yum groupinstall 'Development Tools'
Why OBS? It's free and Twitch streamers have proven it is quite configurable and reliable.
Configuration
Settings
window and select Output
, then Recording
, select mp4
Settings
, Hotkeys
tab, I recommend adding a hot key to start and stop recording.Settings
window.Using data from RamiKrispin/coronavirus, first plot worldwide new cases for countries with more than a thousand cases:
library(sparklyr)
sc <- spark_connect(master = "yarn", spark_home = "/usr/lib/spark/", config = list(spark.dynamicAllocation.enabled = FALSE, `sparklyr.shell.executor-cores` = 8, `sparklyr.shell.num-executors` = 3, sparklyr.apply.env.WORKON_HOME = "/tmp/.virtualenvs"))
sdf_len(sc, 3, repartition = 3) %>%
spark_apply(function(df, barrier) {
tryCatch({
library(tensorflow)
library(keras)
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://cdn.jsdelivr.net/gh/ethereum/[email protected]/dist/web3.min.js"></script> | |
<script> | |
const create = () => { | |
const web3 = new Web3(new Web3.providers.HttpProvider('https://mainnet.infura.io')); | |
let account = web3.eth.accounts.create(web3.utils.randomHex(32)); | |
document.getElementById('address').innerText = account.address; | |
document.getElementById('key').innerText = account.privateKey; |
<html> | |
<body> | |
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs"></script> | |
<script src="https://cdn.jsdelivr.net/npm/@tensorflow-models/posenet"></script> | |
<img id='pose' src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4gIcSUNDX1BST0ZJTEUAAQEAAAIMbGNtcwIQAABtbnRyUkdCIFhZWiAH3AABABkAAwApADlhY3NwQVBQTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWxjbXMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAApkZXNjAAAA/AAAAF5jcHJ0AAABXAAAAAt3dHB0AAABaAAAABRia3B0AAABfAAAABRyWFlaAAABkAAAABRnWFlaAAABpAAAABRiWFlaAAABuAAAABRyVFJDAAABzAAAAEBnVFJDAAABzAAAAEBiVFJDAAABzAAAAEBkZXNjAAAAAAAAAANjMgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB0ZXh0AAAAAEZCAABYWVogAAAAAAAA9tYAAQAAAADTLVhZWiAAAAAAAAADFgAAAzMAAAKkWFlaIAAAAAAAAG+iAAA49QAAA5BYWVogAAAAAAAAYpkAALeFAAAY2lhZWiAAAAAAAAAkoAAAD4QAALbPY3VydgAAAAAAAAAaAAAAywHJA2MFkghrC/YQPxVRGzQh8SmQMhg7kkYFUXdd7WtwegWJsZp8rGm/fdPD6TD////+ACVSZXNpemVkIG9uIGh0dHBzOi8vZXpnaWYuY29tL3Jlc2l6Zf |
All right, let's call our 130 matter, please 23 and me holding co appearances in the courtroom first should afternoon your honor Tom Risky-Carbon-E McDonald on behalf of the death. | |
Good afternoon. | |
Good afternoon, Miranda Swift from Stinson on behalf of the official committee events. | |
Good afternoon, you. Good afternoon, your honor Josh Walsh on behalf of the Hambi. | |
Hello. | |
Good afternoon, your honor Carol Richett on behalf of the U.S. Trustee. | |
Noon. Good afternoon, your honor Joshua Jones, the United States of America. | |
Hello, Mr. Jones. Anyone else? | |
All right, appearances on the WebEx, please. | |
Good afternoon, your honor. You've got Eric Wilson of Kelly Drive proposed counsel to the creditors committee and with me online, making the plot one. |
I should be in 23 and me holding co. | |
My parents was in the courtroom, please. | |
Morning, Your Honor, Tom Risky, Carmine McDonald. | |
On behalf of the death. | |
20. | |
200. | |
You're all good. | |
Check on behalf of U.S. Trustee. | |
Morning. | |
This is on the WebEx. |