Skip to content

Instantly share code, notes, and snippets.

Stanford_ECON295-CS323_I_2024_I_The_Age_of_AI,_Eric_Schmidt
-------------------------------------------------------------------
today's guest really does need an introduction.
I think I first met Eric about 25 years ago when he came to Stanford Business School as CEO of Novell.
He's had done a few things since then at Google starting I think 2001 and Schmidt Futures starting in 2017 and done a whole bunch of other things you can read about, but he can only be here until 5/15, so I thought we'd dive right into some questions, and I know you guys have sent some as well.
I have a bunch written here, but what we just talked about upstairs was even more interesting, so I'm just going to start with that, Eric, if that's okay, which is where do you see AI going in the short term, which I think you defined as the next year or two?
Things have changed so fast, I feel like every six months I need to sort of give a new speech on what's going to happen.
Can anybody hear the computer, the budget computer science enginee
{
"Advanced_Risk_Management_Techniques": {
"Cross-Validation_and_Backtesting": {
"Ensures_Data_Integrity_and_Prevents_Overfitting": "Cross-validation divides data into subsets to validate model performance, while backtesting tests strategies on historical data to ensure robustness."
},
"Dynamic_Hedging_and_Adaptation": {
"Adjusts_Positions_Continuously_for_Desired_Risk_Levels_Enhancing_Adaptability": "Dynamic hedging involves continuously adjusting positions to manage risk effectively."
},
"Ensemble_Methods": {
"Bagging_Boosting_Stacking_to_Improve_Robustness_and_Reduce_Overfitting": "Ensemble methods combine multiple models to enhance prediction accuracy and robustness."
import os
import logging
from pathlib import Path
from collections import deque
from random import sample
import time
import numpy as np
import pandas as pd
import logging
from python_bitvavo_api.bitvavo import Bitvavo
import torch
from torch.utils.data import Dataset
from pathlib import Path
import copy
import gymnasium as gym
import numpy as np
import pandas as pd
@danielhamelberg
danielhamelberg / helm-publish.yml
Created May 5, 2022 09:32
gitlab-ci template to publish Helm chart
# This template provides the ability to easily publish Helm charts.
.helm-publish: &helm-publish
stage: deploy
image:
name: alpine/helm
entrypoint: [""]
variables:
# Path in the repo that the helm chart is located
@danielhamelberg
danielhamelberg / docker-build.yml
Created May 5, 2022 09:29
kaniko gitlab-ci pipeline template
# This template provides the ability to build and push Docker images. It uses
# a tool called Kaniko, which runs in rootless and without a Docker daemon.
#
# It automatically uses and pushes build caches back into the registry,
# allowing future builds to be performed more quickly (assuming your Dockerfile
# leverages build caches appropriately).
#
# By default, this template pushes images back into GitLab, but can be modified
# to push images to any other registry. If ECR is to be used, additional setup
# will be required, which is documented on the Kaniko website.
@danielhamelberg
danielhamelberg / OctopusHelpers.js
Created April 9, 2021 18:34 — forked from dalpert-korewireless/OctopusHelpers.js
Tampermonkey script to add UI helpers for Octopus Deploy
// ==UserScript==
// @name Octopus Helpers
// @namespace http://blog.spinthemoose.com/
// @version 0.2
// @description Adds some useful capabilities to the Octopus Deploy UI.
// @author David Alpert
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
// @match http://172.30.100.100/app*
// @grant none
@danielhamelberg
danielhamelberg / promoteAccountName.js
Last active January 17, 2020 13:13
A snippet to emphasize the current AWS Console session's account name.
// A native Javascript snippet to display or emphesize the AWS account name in the AWS Console.
// Usage: Runs in your favourite user js browser add-on.
// E.g. 'User JavaScript and CSS' add-on for Chrome/Chromium.
function promoteAccountName() {
if(window.location.href.indexOf("console.aws.amazon.com") > -1) {
// Element containing the account name.
var x = document.getElementById("awsc-login-display-name-account").textContent;
// Elements with text content to manipulate.
var y = document.querySelector("a#nav-usernameMenu div.nav-elt-label");
var z = document.querySelector("head > title");
@danielhamelberg
danielhamelberg / gist:399217be3746d9a01721befa5d10ed3c
Created January 16, 2020 10:36
google-maps-timeline-places-visited.js
$(function() {
// console.log( "ready!" );
if ($('div.place-visit-title:contains("abc")').length > 0) {
console.log( 'information: '+ $('div.place-visit-title:contains("abc")').text() + '|'+ $("span.segment-duration-part").text());
}
if ($('span.segment-duration-part').parent('div.place-visit-title:contains("abc")')) {
console.log( ''+$("span.segment-duration-part").parent('div.place-visit-title:contains("abc")').text());
}
});