Install WinGet (https://www.microsoft.com/p/app-installer/9nblggh4nns1#activetab=pivot:overviewtab) via store
winget install --id Microsoft.Powershell --source winget
## Install Git, NVM, MSVC, Rust
winget install --id Microsoft.Powershell --source winget
## Install Git, NVM, MSVC, Rust
sbt Build Commands:
All
or a specific one. Tends to leave the index in a mess so often lose the dropdowns or CB.Running Enso IDE:
#!/bin/bash | |
instanceid=`aws ec2 describe-instances --query 'Reservations[0].Instances[*].InstanceId' --output text` | |
aws ssm start-session --target $instanceid |
from typing import Tuple, List | |
import bisect | |
def compute_changes(x: List[float]) -> List[float]: | |
return [x[i+1] - x[i] for i in range(len(x) - 1)] | |
def create_tridiagonalmatrix(n: int, h: List[float]) -> Tuple[List[float], List[float], List[float]]: | |
A = [h[i] / (h[i] + h[i + 1]) for i in range(n - 2)] + [0] | |
B = [2] * n | |
C = [0] + [h[i + 1] / (h[i] + h[i + 1]) for i in range(n - 2)] |
from Standard.Base import all | |
from Standard.Table import all | |
from Standard.Database import all | |
import Standard.Visualization | |
func1 operator11 = | |
operator12 = operator11.split "-" | |
operator13 = operator12.first | |
operator13 |
from Standard.Base import all | |
from Standard.Table import all | |
from Standard.Database import all | |
import Standard.Visualization | |
main = | |
operator3 = enso_project.data/"Transactions.csv" . read | |
operator4 = enso_project.data/"Swift Codes.csv" . read | |
operator1 = operator4.use_first_row_as_names | |
operator2 = operator3.join operator1 Join_Kind.Inner "Bank" |
from Standard.Base import all | |
from Standard.Table import all | |
from Standard.Database import all | |
import Standard.Visualization | |
func1 operator11 = | |
operator12 = operator11.split "-" | |
operator13 = operator12.first | |
operator13 |
from random import random | |
from math import sqrt, log, exp | |
from numba import njit | |
import numpy | |
from numpy.random import normal | |
def path_final_min_max(initial, steps, sdt, volatility, drift): | |
randoms = numpy.exp(normal(size=steps)*volatility*sdt) * drift | |
randoms[0] = 1 | |
factors = numpy.cumprod(randoms) * initial |
from random import random | |
from math import sqrt, log, exp | |
from numba import njit, jit, prange | |
@njit(fastmath=True) | |
def box_muller_rand(): | |
while True: | |
x = random() * 2.0 - 1 | |
y = random() * 2.0 - 1 | |
d = x * x + y * y |
from random import random | |
from math import sqrt, log, exp | |
def box_muller_rand(): | |
while True: | |
x = random() * 2.0 - 1 | |
y = random() * 2.0 - 1 | |
d = x * x + y * y | |
if d < 1: | |
return x * sqrt(-2 * log(d) / d) |