Copa Airlines baggage policy

Posted on 2018-02-08 20:25 notes

bagge policy is for travel from United States to Uruguay

cabin 23kg/ 50lb
check 2 x 23kg/50lb

from 24kg/ 52lb to 32kg/ 70lb US$100
from 33kg/ 72lb to 45kg/ 99lb US$200

159 - 272 cm linear (63 - 107 inches) US$150 per bag
US$175 for each additional bag up to 23 kg each + overweight fees
No more than 2 additional bags allowed.

Individual pieces over 45 kg (99 lb) and 272 cm (107 inches) linear are not allowed
during 1 Jul - 31 Aug, 1 Dec - 31 Jan no additional baggage allowed
Anything weighing more than 100 lb must be sent as cargo.

Each piece can measure up to 62 combined linear inches (158 cm) (height + length + width).

Pieces with a combined linear measurement between 63 inches (159 cm) and 107 inches (272 cm) are considered excess baggage.

Pieces whose combined linear measurements exceed 107 inches (272 cm) will not be accepted as baggage and must be transported as cargo.

vdiff fixes

Posted on 2018-01-22 11:23 lytdybr

original vdiff posted by asciilifeform suffers from a bug warned against in the man page,

# NOTE: If using a pipe, co-process, or socket to getline, or from print
# or printf within a loop, you must use close() to create new instances
# of the command or socket. AWK does not automatically close pipes,
# sockets, or co-processes when they return EOF.

sha512sum pipe is opened as many times as there are files in the diffed folders, so at some point, on a large folder, it's going to hit a "too many files open" system exception. the solution is of course to ensure that sha512sum pipe is closed after each execution:

diff -uNr $1 $2 | awk 'm = /^(---|\+\+\+)/{cmd="sha512sum \"" $2 "\" 2>/dev/null ";s=cmd| getline x; if (s) { split(x, a, " "); o = a[1]; } else {o = "false";} close(cmd); print $1 " " $2 " " o} !m { print $0 }'

we can verify that the fix results in correct behavior by running the following,

mkdir -p a b; echo foo|tee b/{0..100}
ulimit -n 15
vdiff a b

(removing close(cmd) from above will simulate original behavior, and on my systems results in gawk: cmd. line:1: (FILENAME=- FNR=28) fatal: cannot open pipe `sha512sum "b/12" 2>/dev/null ' (Too many open files))

applescript from clozure

Posted on 2016-07-11 11:54 lisp, technical

when attempting to call applescript from clozure cl, there's a noticeable delay. it took me a while to remember how i solved that problem last time, so i'm keeping it here as a reminder. mac os x requires clozure application, and that presumably applies to other applications, to be signed in order to skip AS runtime validation (???). it's possible to self-sign, and avoid paying the developers' license. the procedure is exhaustively described in GNAT's documentation,

wp-content for a.

Posted on 2016-07-03 18:05 lytdybr


above is wp-content folder that comes with wordpress 2.7 and includes classic theme (30k) and kubrick (94kb)


also a patch to fix the comments fix for mp's spamatron

updated 2:


i did further work on mp's copy of wordpress. specifically there's a dodgy attempt to modify get_avatar to support loading avatars from user's url in addition to supporting existing methods. the attempt is somewhat broken, but provides the right place to start looking at the problem. i also silenced all the particularly noisy errors, the ones that you get on each normal page refresh. the patch also includes changes from the above patch, so it's a superset.


Posted on 17:56 lytdybr



Posted on 17:55 lisp

i'm trying out capi, despite being married to lispworks and generally being proprietary, it is still best available common lisp gui option.