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.
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
const sleep = ms => { return new Promise(resolve => setTimeout(resolve, ms)) } | |
const injectButton = async () => { | |
// Similiarly, we also need to wait for the page to load in... | |
await sleep(1000); | |
console.log("hey"); | |
const {url} = await fetch("https://bhchiang--get-url-get.modal.run/").then(r => r.json()); | |
const URL = `${url}/get_prompt`; |
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
package main | |
import ( | |
"context" | |
"flag" | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
"os/signal" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.
- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
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
{ | |
/* | |
KHA/HAXE SNIPPETS | |
Lewis Lepton | |
https://lewislepton.com | |
*/ | |
"new function": { | |
"prefix": "function", | |
"body": [ | |
"public function ${NAME}(){", |
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
package; | |
import haxe.io.Bytes; | |
import lime.utils.UInt8Array; | |
import lime.graphics.Image; | |
import lime.graphics.ImageBuffer; | |
import openfl.Assets.AssetLibrary; | |
import openfl.Assets; | |
import openfl.Lib; | |
import openfl.utils.ByteArray; |
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 luxe.Component; | |
import luxe.Input; | |
import luxe.Parcel; | |
import luxe.ParcelProgress; | |
import luxe.Rectangle; | |
import luxe.Sprite; | |
import luxe.Color; | |
import luxe.tween.easing.*; | |
import luxe.Text; |
NewerOlder