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.
| import * as React from "react"; | |
| import { throttle } from "lodash"; | |
| /** | |
| * Mouse position as a tuple of [x, y] | |
| */ | |
| type MousePosition = [number, number]; | |
| /** | |
| * Hook to get the current mouse position |
| import * as React from "react"; | |
| import { useMousePosition } from "~/hooks/useMousePosition"; | |
| /** Component to cover the area between the mouse cursor and the sub-menu, to allow moving cursor to lower parts of sub-menu without the sub-menu disappearing. */ | |
| export function MouseSafeArea(props: { parentRef: React.RefObject<HTMLDivElement> }) { | |
| const { x = 0, y = 0, height: h = 0, width: w = 0 } = props.parentRef.current?.getBoundingClientRect() || {}; | |
| const [mouseX, mouseY] = useMousePosition(); | |
| const positions = { x, y, h, w, mouseX, mouseY }; | |
| return ( | |
| <div |
| # pkgs | |
| pacman::p_load(tidyverse, polite, scales, ggimage, ggforce, | |
| rvest, glue, extrafont, ggrepel, magick) | |
| loadfonts() | |
| ## add_logo function from Thomas Mock | |
| add_logo <- function(plot_path, logo_path, logo_position, logo_scale = 10){ | |
| # Requires magick R Package https://github.com/ropensci/magick |
| const canvasSketch = require('canvas-sketch'); | |
| const createShader = require('canvas-sketch-util/shader'); | |
| const random = require('canvas-sketch-util/random'); | |
| // Optionally we can lock the randomness like so | |
| // random.setSeed(10); | |
| // Setup our sketch | |
| const settings = { | |
| context: 'webgl', |
| <template> | |
| <picture | |
| v-if="devices === '3x'" | |
| :role="role" | |
| > | |
| <source | |
| v-for="(val, key, index) in sizes" | |
| :key="index" | |
| :media="`(min-width: ${val.media}em)`" | |
| :srcset="` |
| const sketcher = require('canvas-sketch-tool'); // not yet public | |
| // Import geometry & utilities | |
| const createRegl = require('regl'); | |
| const createPrimitive = require('primitive-icosphere'); | |
| const createCamera = require('perspective-camera'); | |
| const glslify = require('glslify'); | |
| const hexRgb = require('hex-rgb'); | |
| // Utility to convert hex string to [ r, g, b] floats |
There are so many great GIFs out there and I want to have copies of them. Twitter makes that harder than it should be by converting them to MP4 and not providing access to the source material. To make it easier, I made a bash pipeline that takes a tweet URL and a filename, extracts the MP4 from that tweet and uses ffmpeg to convert back to GIF.
brew install ffmpegapt install ffmpegI bundled these up into groups and wrote some thoughts about why I ask them!
If these helped you, I'd love to hear about it!! I'm on twitter @vcarl_ or send me an email [email protected]
https://blog.vcarl.com/interview-questions-onboarding-workplace/