Context: https://twitter.com/VictorTaelin/status/1776677635491344744
Results: 5/10 with GPT-4-Turbo, 10/10 by claude-3-opus-20240229 Temp: 0.0
Barely tested, your mileage may vary.
Context: https://twitter.com/VictorTaelin/status/1776677635491344744
Results: 5/10 with GPT-4-Turbo, 10/10 by claude-3-opus-20240229 Temp: 0.0
Barely tested, your mileage may vary.
In the olden days, HTML was prepared by the server, and JavaScript was little more than a garnish, considered by some to have a soapy taste.
After a fashion, it was decided that sometimes our HTML is best rendered by JavaScript, running in a user's browser. While some would decry this new-found intimacy, the age of interactivity had begun.
But all was not right in the world. Somewhere along the way, we had slipped. Our pages went uncrawled by Bing, time to first meaningful paint grew faster than npm, and it became clear: something must be done.
And so it was decided that the applications first forged for the browser would also run on the server. We would render our HTML using the same logic on the server and the browser, and reap the advantages of both worlds. In a confusing series of events a name for this approach was agreed upon: Server-side rendering. What could go wrong?
In dark rooms, in hushed tones, we speak of colours.
package main | |
import ( | |
"database/sql" | |
"flag" | |
"fmt" | |
"html" | |
"io" | |
"io/ioutil" | |
"log" |
const hre = require('hardhat'); | |
const { map } = require('underscore'); | |
require('dotenv').config(); | |
const { | |
FlashbotsBundleProvider, | |
} = require('@flashbots/ethers-provider-bundle'); | |
const ENS = require('./ENSABI.json'); |
package main | |
import ( | |
"context" | |
"flag" | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
"os/signal" |
This builds off the excellent work of @lmarkus. | |
The scripts below can be used in conjunction with the Slack Emoji Tools Google Chrome extension to export emojis from | |
one Slack team and import into another team. | |
Original work here: https://gist.github.com/lmarkus/8722f56baf8c47045621 |
Just do something, doesn't matters what | |
Book == blog archives. Feel free to scram | |
We are creatures of habits (but don't condition habits with identity/ego). Have deliberate habits | |
Stopping alcohol | |
Unpack causes | |
- availability | |
- desire | |
Availability => Early morning sport. Force to not go out at night too much. | |
Desire |
// array utils | |
// ================================================================================================= | |
const combine = (...arrays) => [].concat(...arrays); | |
const compact = arr => arr.filter(Boolean); | |
const contains = (() => Array.prototype.includes | |
? (arr, value) => arr.includes(value) | |
: (arr, value) => arr.some(el => el === value) |
var isoCountries = { | |
'AF' : 'Afghanistan', | |
'AX' : 'Aland Islands', | |
'AL' : 'Albania', | |
'DZ' : 'Algeria', | |
'AS' : 'American Samoa', | |
'AD' : 'Andorra', | |
'AO' : 'Angola', | |
'AI' : 'Anguilla', | |
'AQ' : 'Antarctica', |
" Don't try to be vi compatible | |
set nocompatible | |
" Helps force plugins to load correctly when it is turned back on below | |
filetype off | |
" TODO: Load plugins here (pathogen or vundle) | |
" Turn on syntax highlighting | |
syntax on |