Skip to content

Instantly share code, notes, and snippets.

@veekaybee
veekaybee / normcore-llm.md
Last active May 9, 2024 07:47
Normcore LLM Reads

Anti-hype LLM reading list

Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

Foundational Concepts

Screenshot 2023-12-18 at 10 40 27 PM

Pre-Transformer Models

@kconner
kconner / macOS Internals.md
Last active May 10, 2024 17:04
macOS Internals

macOS Internals

Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.

Starting Points

How to use this gist

You've got two main options:

@VictorTaelin
VictorTaelin / gpt4_abbreviations.md
Last active April 26, 2024 17:31
Notes on the GPT-4 abbreviations tweet

Notes on this tweet.

  • The screenshots were taken on different sessions.

  • The entire sessions are included on the screenshots.

  • I lost the original prompts, so I had to reconstruct them, and still managed to reproduce.

  • The "compressed" version is actually longer! Emojis and abbreviations use more tokens than common words.

@jean
jean / sync.py
Last active February 7, 2021 22:09
Receive webhooks from GitHub and create or update pages in Notion
import os
from uuid import uuid1
from datetime import datetime
from wsgiref.simple_server import make_server
from pyramid.config import Configurator
from pyramid.view import view_config, view_defaults, notfound_view_config
from pyramid.response import Response
from notion.client import NotionClient
from notion.collection import NotionDate
Copy this to roam/js page, including the "{{[[roam/js]]}}" node:
- {{[[roam/js]]}}
- ```javascript
/*
* Roam template PoC by @ViktorTabori
* 0.1alpha
*
* How to install it:
* - go to `roam/js` page`

Blog post FPGAs:

  • ecp5
    • OrangeCrab
    • TinyFPGA Ex
    • Colorlite 5A-57B
    • LUNA
    • Camlink / Camlink 4K
  • GreatFET Foxglove (?)

Context Free Grammars

Some grammar defined by the tuple:

G = (V, Sigma, R, S)

  1. V- finite set. v ∈ V called nonterminal variable, or variable. Each variable defines a sub-language of language defined by G.
  2. Sigma - finite set of terminals, disjoint from V. Set of terminals is the alphabet of the language defined by grammar G.
  3. R - finite realisation (productions) from V to (V U Sigma)* (++ Kleene star operation). Members are the (rewrite) rules or productions of the grammar.
  4. S - start variable/symbol used to represent the whole sentence (or program).
@devonzuegel
devonzuegel / roam.css
Last active May 24, 2020 04:50
Custom CSS for Roam
/* This has moved to:
* https://github.com/devonzuegel/digital-nesting/blob/master/roam.css
*/
@IanColdwater
IanColdwater / twittermute.txt
Last active April 22, 2024 17:26
Here are some terms to mute on Twitter to clean your timeline up a bit.
Mute these words in your settings here: https://twitter.com/settings/muted_keywords
ActivityTweet
generic_activity_highlights
generic_activity_momentsbreaking
RankedOrganicTweet
suggest_activity
suggest_activity_feed
suggest_activity_highlights
suggest_activity_tweet
@talaviram
talaviram / add_debug_entitlement.sh
Last active April 8, 2024 21:42
Simple Utility Script for allowing debug of hardened macOS apps.
#! /bin/bash
# Simple Utility Script for allowing debug of hardened macOS apps.
# This is useful mostly for plug-in developer that would like keep developing without turning SIP off.
# Credit for idea goes to (McMartin): https://forum.juce.com/t/apple-gatekeeper-notarised-distributables/29952/57?u=ttg
# Update 2022-03-10: Based on Fabian's feedback, add capability to inject DYLD for sanitizers.
#
# Please note:
# - Modern Logic (on M1s) uses `AUHostingService` which resides within the system thus not patchable and REQUIRES to turn-off SIP.
# - Some hosts uses separate plug-in scanning or sandboxing.
# if that's the case, it's required to patch those (if needed) and attach debugger to them instead.