-
Sunk-Cost Fallacy: Feeling like you need to buy the car because you’ve already spent so much time at the dealership.
-
Anchoring Bias: Getting stuck on the first price you hear and letting it shape all your other decisions.
-
Confirmation Bias: Only paying attention to information that supports your desire to buy the car you want.
-
Availability Heuristic: Basing your decision on a recent story or experience, like a friend’s good or bad deal, rather than the full picture.
This file contains 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 processing.sound.*; | |
FFT fft; | |
AudioIn in; | |
int bands = 512; | |
float[] spectrum = new float[bands]; | |
void setup() { | |
size(512, 600); | |
background(255); |
This file contains 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
\documentclass[a4paper]{article} | |
\usepackage{tikz} | |
\usepackage[left=0cm,top=2cm,right=0cm,bottom=0cm,nohead,nofoot]{geometry} | |
\usepackage{xcolor} | |
\begin{document} | |
\begin{tikzpicture} | |
\pgfmathsetmacro{\r}{3} | |
% Given that A4 paper is 21cm x 29.7 cm, we can calculate the maximum number of circles that will fit on the page based on the radius |
This file contains 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
from random import choice | |
from functools import reduce | |
with open('mobypos.txt', 'r', encoding='latin1') as f: | |
moby_words = [line.strip() for line in f.readlines()] | |
words = [dict(zip(['word', 'pos'], moby_word.split('\\'))) for moby_word in moby_words] | |
pos_key = { | |
'Noun': 'N', |
I see this error when I install TinyTeX:
add_link_dir_dir: destination /usr/local/bin not writable, no links from /Users/hagen/Library/TinyTeX/bin/x86_64-darwin. add of symlinks had 1 error(s), see messages above. add of symlinks had 1 error(s), see messages above. tlmgr: An error has occurred. See above messages. Exiting.
This is an issue on some Macs, where that folder /usr/local/bin
is not writable by your user account for some reason. Here's how to fix it:
This file contains 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
#!/usr/bin/python | |
from pyquery import PyQuery as pq | |
import re | |
import datetime | |
print datetime.datetime.now().strftime('%c') | |
doc = pq(url='http://www.beermenus.com/places/4733-the-ruck') |
This file contains 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 os | |
import sys | |
from fab_deploy import * | |
from fabric.contrib.console import confirm | |
from fabric.api import env, cd, prefix, local, sudo as _sudo, run as _run, hide, task, settings, abort | |
from fabric.contrib.files import exists, upload_template | |
from fabric.colors import yellow, green, blue, red | |
from fabric.operations import _prefix_commands, _prefix_env_vars | |
from contextlib import contextmanager |
People
![]() :bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
NewerOlder