Skip to content

Instantly share code, notes, and snippets.

View saulshanabrook's full-sized avatar
🏊

Saul Shanabrook saulshanabrook

🏊
View GitHub Profile
This file has been truncated, but you can view the full file.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>IPyWidget export</title>
</head>
<body>
<!-- Load require.js. Delete this if your page already loads require.js -->
This file has been truncated, but you can view the full file.
{
"id": "--eclipse-layout-kernel-root",
"layoutOptions": {
"elk.algorithm": "layered",
"elk.direction": "DOWN",
"elk.layered.nodePlacement.strategy": "NETWORK_SIMPLEX",
"elk.layered.mergeEdges": "true",
"elk.aspectRatio": 4.56
},
"children": [
{
"id": "--eclipse-layout-kernel-root",
"layoutOptions": {
"elk.algorithm": "layered",
"elk.layered.spacing.nodeNodeBetweenLayers": "100",
"elk.spacing.nodeNode": "80",
"elk.direction": "DOWN",
"elk.portConstraints": "FIXED_SIDE",
"elk.hierarchyHandling": "INCLUDE_CHILDREN"
},
{
"id": "--eclipse-layout-kernel-root",
"layoutOptions": {
"elk.algorithm": "layered",
"elk.layered.spacing.nodeNodeBetweenLayers": "100",
"elk.spacing.nodeNode": "80",
"elk.direction": "DOWN",
"elk.portConstraints": "FIXED_SIDE",
"elk.hierarchyHandling": "INCLUDE_CHILDREN",
},

Proposal to remove the top level function command and replace it with frel and constructor (pending bikeshedding on new names):

frel

Any function that returns a primitive sort, you must now make with frel.

For example:

  • $l$: lifespan of the item in years
  • $a$: current age of the item
  • $p$: current price of item
  • $r$: inflation rate per year (as a number > 1 i.e. 1.03)
  • $f$: initial reserve for the item
  • $y_i$: amount set aside for the item at year $i$

We would like to have a capital improvements plan where our:

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@saulshanabrook
saulshanabrook / tmp.sh
Created October 17, 2022 17:23
Configure CPython Mac
#!/usr/local/bin/fish
set fish_trace on
# https://stackoverflow.com/questions/57746792/homebrews-llvm-fatal-error-stdio-h-file-not-found-on-macos
set LLVM_PATH "/usr/local/opt/llvm"
set LLVM_VERSION "21.6.0"
set -x PATH "$LLVM_PATH:$PATH"
set -x SDKROOT (xcrun --sdk macosx --show-sdk-path)
set -x LD_LIBRARY_PATH "$LLVM_PATH/lib/"
set -x DYLD_LIBRARY_PATH "$LLVM_PATH/lib/"
{
"id": "root",
"children": [
{
"id": "0",
"x": -38.5,
"y": -16,
"width": 77,
"height": 32
},