Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.
Avoid being a link dump. Try to provide only valuable well tuned information.
Neural network links before starting with transformers.
// Credit for the basics: | |
// https://github.com/oakserver/oak/blob/main/examples/routingServer.ts | |
// Setup: Install deno | |
// Usage: deno run -A ./DenoPost.ts | |
// Use e.g. Postman to POST the json payload to http://127.0.0.1:8000/book | |
// Use e.g. any browser to read the json in memory: http://127.0.0.1:8000/book | |
import { | |
bold, | |
cyan, |
This is a fork of and builds upon the work of Eddie Webb's search and Matthew Daly's search explorations.
It's built for the Hugo static site generator, but could be adopted to function with any json index compatible with Fuse fuzzy search library.
To see it in action, go to craigmod.com and press CMD-/
and start typing.
(function (context, trackingId, options) { | |
const history = context.history; | |
const doc = document; | |
const nav = navigator || {}; | |
const storage = localStorage; | |
const encode = encodeURIComponent; | |
const pushState = history.pushState; | |
const typeException = 'exception'; | |
const generateId = () => Math.random().toString(36); | |
const getId = () => { |
2019 update: this essay has been updated on my personal site, together with a followup on how to get started
2020 update: I'm now writing a book with updated versions of all these essays and 35 other chapters!!!!
If there's a golden rule, it's this one, so I put it first. All the other rules are more or less elaborations of this rule #1.
You already know that you will never be done learning. But most people "learn in private", and lurk. They consume content without creating any themselves. Again, that's fine, but we're here to talk about being in the top quintile. What you do here is to have a habit of creating learning exhaust. Write blogs and tutorials and cheatsheets. Speak at meetups and conferences. Ask and answer things on Stackoverflow or Reddit. (Avoid the walled gardens like Slack and Discourse, they're not public). Make Youtube videos
# run git config --global core.excludesfile ~/.gitignore_global | |
.DS_Store | |
._.DS_Store | |
**/.DS_Store | |
**/._.DS_Store | |
.vscode | |
.idea | |
Thumbs.db |
# Editor configuration, see http://editorconfig.org | |
root = true | |
[*] | |
charset = utf-8 | |
indent_size = 2 | |
indent_style = space | |
insert_final_newline = true | |
trim_trailing_whitespace = true |
import React from "react"; | |
import ReactDOM from "react-dom"; | |
import "./styles.css"; | |
const actions = { | |
init() { | |
return { value: 0 }; | |
}, | |
increment(state) { |
from http.client import HTTPResponse | |
from io import BytesIO | |
from config import log | |
from struct import pack | |
from socket import AF_INET, SOCK_DGRAM, INADDR_ANY, IPPROTO_IP, IPPROTO_UDP, IP_ADD_MEMBERSHIP, IP_MULTICAST_TTL, SOL_SOCKET, SO_REUSEADDR, SO_REUSEPORT, getaddrinfo, socket, setdefaulttimeout, inet_pton, timeout as SocketTimeout | |
from utils import etree_to_dict | |
from xml.etree import ElementTree | |
from time import time | |
from dateutil.parser import parse as parse_date |