// Schemas are defined in a ui, not in text, they are too rich
// States are defined in a ui, not in text, they are too rich
calculateAverages(cells: Cells) {
// This function has no context (this/self)
// It is pure, no side-effects
// It cannot run tasks
// It can't modify tables, or any data really
// It can be given table cells as arguments to read, but again can't modify them
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
import { Glob, file } from "bun"; | |
import { filesize } from "filesize"; | |
import { resolve, join } from "path"; | |
/// Config | |
const watchDirs = ['./ui', '../m3-wc/ui']; | |
const copyFiles = { | |
'index.html': './ui/index.html', | |
'styles/m3.css': '../m3-wc/ui/style/base.css', | |
'styles/base.css': './ui/styles/base.css' |
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
The passage outlines several key beliefs about free markets and their role in the economy: | |
1. Free markets are seen as the most effective way to organize a technological economy, where willing buyers and sellers determine prices through mutual exchange, benefiting both parties. | |
2. Markets are described as a form of intelligence, an adaptive and exploratory system that efficiently allocates resources. | |
3. The "Knowledge Problem" of central planning, as argued by Hayek, is emphasized, asserting that all relevant information is with individuals, making centralized economic systems inefficient. | |
4. Market discipline is viewed as essential; when absent, irrational behavior can prevail, and monopolies can form. Markets prevent such monopolistic tendencies. |
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
This recipe is based on what I could gather from authentic skyline chili, but obviously no meat. You could substitute fake meat while staying vegetarian. In that case, take out the black beans, they are the meat here. I like them a lot, so I wouldn't change it. | |
Main Ingredients | |
2 Cans of Black Beans (16 oz total), drained and rinsed | |
1 Can of Kidney or Red Beans (8 oz total), drained and rinsed | |
2 Cans of Tomato Sauce (16 oz total) | |
1 Onion, Diced | |
3 Cloves of Garlic, Minced | |
1 tbsp Red Wine Vinegar | |
1/3-1/2 Cup Brown Sugar |
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
export class DataPack { | |
_subscriptions: Map<string, Function> = new Map(); | |
subscribe(name, query, callback) { | |
this.unsubscribe(name); | |
this._subscriptions.set(name, query.onSnapshot(callback)); | |
} | |
unsubscribe(name) { | |
let sub = this._subscriptions.get(name); |
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
class ConsumerEvent extends Event { | |
constructor(name) { | |
super('consume-' + name, { bubbles: true, cancelable: true }); | |
this.provider = null; | |
this.providerEvent = name + '-changed'; | |
} | |
} | |
const providers = new WeakMap(); |
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
export class EventRegister { | |
constructor(...args) { | |
this.callbacks = []; | |
args.forEach(arr => this.add.apply(this, arr)); | |
} | |
add(target, event, callback) { | |
this.callbacks.push([target, event, callback]); | |
target.addEventListener(event, callback); | |
} |
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
https://www.youtube.com/results?search_query=polo+g | |
https://www.youtube.com/watch?v=1rTY2JhYFtQ | |
https://www.youtube.com/watch?v=YWyHZNBz6FE | |
https://www.youtube.com/watch?v=qMnXkd0_RZ8 | |
https://www.google.com/maps/d/u/0/viewer?mid=1LXkb5P2IeZkv6FFTKV2P9Z5hBOA&hl=en_US&ll=41.961275826512036%2C-87.69929945431568&z=15 | |
https://en.wikipedia.org/wiki/Jeff_Fort | |
https://en.wikipedia.org/wiki/Almighty_Black_P._Stone_Nation | |
https://en.wikipedia.org/wiki/Latin_Kings_(gang) | |
https://en.wikipedia.org/wiki/Gangster_Disciples | |
https://en.wikipedia.org/wiki/Folk_Nation |
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
kind: PersistentVolume | |
apiVersion: v1 | |
metadata: | |
name: loft-pv | |
labels: | |
type: amazonEBS | |
spec: | |
capacity: | |
storage: 40Gi | |
accessModes: |
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
<dialog id="add_activity_dialog" data-url=""> | |
<header>Add Activity</header> | |
<section class="panel"> | |
<i aria-hidden="true" class="icon-magnifier"></i> | |
<input type="text" class="search" placeholder="search" autocomplete="off"> | |
</section> | |
<div class="content" url="{{ discipline.url }}browser/"> | |
<p><em>Loading activities...</em></p> |
NewerOlder