TLDR: Rollup and ES modules give us:
- smaller bundles due to tree-shaking and scope-hoisting, and
- faster runtime perf than CommonJS, by avoiding runtime module resolution
Sources to back up these wild claims:
# ... | |
name=foo | |
version=1.0 | |
source=(...) | |
build() { | |
OLD_SRC = $SRC | |
make | |
SRC = $OLD_SRC |
%%{ | |
machine vim_print; | |
action H { @head = p } | |
action T { @tail = p } | |
action return { fret; } | |
action push_insert_mode { fcall insert_mode; } | |
action EmitMotion { @events << {motion: strokes} } | |
action EmitSwitch { @events << {switch: strokes} } | |
action EmitInput { @events << {input: strokes} } |
" 0 preamble ============================================================== {{{ | |
" | |
" There is a great organization scheme in place here. If you run the | |
" :options command in Vim, you see a list of all the options that you | |
" can set, along with their current settings and a brief description of | |
" them. The great thing about this scheme is that--for better or | |
" worse--it sets up a system which can organize all my settings. I've | |
" decided to organize everything below thus, throwing ancillary things | |
" (my own mappings, plugin settings, and so on) where it makes sense. | |
" |
Date: 12 Sep 89 17:44:43 GMT | |
From: crdgw1!montnaro@uunet.uu.net (Skip Montanaro) | |
Organization: GE Corporate Research & Development, Schenectady, NY | |
Subject: XTerm Escape Sequences (X11 Version) | |
To: xpert@expo.lcs.mit.edu | |
I rummaged around through the xterm code and came up with the following | |
stuff. No guarantees. I'm headed out of town for a couple days and thought | |
it better to get it out than let it get stale. Comments, bugs, and other | |
notes are welcome. Somebody else can convert it to troff. I prefer LaTeX. |
#define cursor_mask_width 11 | |
#define cursor_mask_height 17 | |
static unsigned char cursor_mask_bits[] = { | |
0x01, 0x00, 0x03, 0x00, 0x07, 0x00, 0x0f, 0x00, 0x1f, 0x00, 0x3f, 0x00, | |
0x7f, 0x00, 0xff, 0x00, 0xff, 0x01, 0xff, 0x03, 0xff, 0x07, 0x7f, 0x00, | |
0xf7, 0x00, 0xf3, 0x00, 0xe1, 0x01, 0xe0, 0x01, 0xc0, 0x00 }; |
# sudo /sbin/rcvboxdrv -h | |
# Unloading modules: | |
# Loading modules: modprobe: FATAL: Module vboxnetadp not found in directory /lib/modules/4.4.3-1-ARCH | |
# modprobe: FATAL: Module vboxnetflt not found in directory /lib/modules/4.4.3-1-ARCH | |
# modprobe: FATAL: Module vboxpci not found in directory /lib/modules/4.4.3-1-ARCH | |
# modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.4.3-1-ARCH | |
# Solution | |
# from https://forum.antergos.com/topic/818/can-t-run-my-vitualbox/4 |
#!/bin/sh | |
downpomf="https://a.pomf.cat/" | |
uppomf="https://pomf.cat/upload.php" | |
if test $# -lt 1 ; then | |
echo "Usage: `basename $0` FILE [FILE...]" | |
exit 1 | |
fi | |
set= |
This is an adaptation for the RubyQuiz #108 Word Blender, lots of spoilers there so best to look after!
The task for this month is to build a game based on the popular game TextTwist (and many other variations there are). It can be built as sophisticaded as you want, ranging from a command line game to a full featured GUI game if you want.