From 1f07808290553a8a7308be4012ad73c6cfc99ff2 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Sun, 3 Feb 2013 14:50:09 -0500 Subject: misc updates --- books/wanted-books.page | 5 ++++ film/to-watch.page | 13 ++++++---- half-baked.page | 57 ++++++++++++++++++++++++++++++++++++++++++++ nyc.page | 60 ----------------------------------------------- software/debian.page | 14 +++++++++++ software/git.page | 8 +++++++ software/misc.page | 31 ++++++++++++++++++++++++ software/packages.page | 3 ++- software/unix-tricks.page | 13 ++++++++++ 9 files changed, 139 insertions(+), 65 deletions(-) delete mode 100644 nyc.page diff --git a/books/wanted-books.page b/books/wanted-books.page index 10c516f..72cdef1 100644 --- a/books/wanted-books.page +++ b/books/wanted-books.page @@ -63,11 +63,16 @@ Novels * **The Mote in God's Eye** by Niven and Pournelle * **The Windup Girl** by Paolo Bacigalupi * **A Transatlantic Tunnel, Hurrah!** by Harry Harrison + * **Red Sorghum** by Mo Yan + * **Big Breasts & Wide Hips** by Mo Yan + * **Journey to the West** + * **Dream of the Red Chamber** Non-Fiction ----------- * **Sex and Rockets: The Occult World of Jack Parsons** by J. Carter and R. Wilson (JPL founder) * **The Guttenberg Galaxy** by M. McLuhan (media format leading to cognative structure) + * **The Gift** by Marcell M (?) Other ------- diff --git a/film/to-watch.page b/film/to-watch.page index 565bd4e..5f56537 100644 --- a/film/to-watch.page +++ b/film/to-watch.page @@ -37,6 +37,15 @@ Films To Watch * Welt am Draht ("World on a Wire", german VR) * Lawnmower Man ("bad") * Wonderful Days (aka, Sky Blue; anime) + * On the Waterfront + * La Jetee + * Barry Lyndon (kubrick) + * Talk to Her + * The Skin I Live In + * Amour (Heneke) + * When Night Falls (Ying Liang, Chinese) + * The World of Suzie Wong + * Escape From Tomorrow (surreal Disney World) Documentaries: @@ -50,7 +59,3 @@ Documentaries: * Mondo Cane (shock film) * The Oath * My Country, My Country - -Other: - - * La Jetee ( diff --git a/half-baked.page b/half-baked.page index 2b7e7aa..096bf92 100644 --- a/half-baked.page +++ b/half-baked.page @@ -62,3 +62,60 @@ interface, bus sniffing, peripheral emulation, kernel unit tests). High-density pins to many different cable types (extra $$$) with logic-level shifters: "universal digital I/O". $100. +Interforum +------------- + +* similar to livejournal, reddit, slashdot +* federated accounts (user@domain.tld) with petnames via contact list +* RSS feeds of new topics started by individuals or for groups +* no concept of "friending" built in, but do have ACL (can view, can comment) + based on contacts list +* head of thread can be a canonical URI/URL of external content +* abuse/downvote gets reported to thread-hosting domain +* by default all user content is crypto-signed by default +* policy is left to domain servers: moderation of new messages, retainment + length, max number of users in a given topic, etc + +* store-and-forward? +* primary anti-spam: only display stuff signed by people in contact lists +* need a URI scheme for discussion threads +* oauth? kerberos-like? +* domain keys used to vouch for messages and users +* integrated or parallel keyserver stuff? +* cross-domain karma and spamlist sharing? +* built-in GPG encryption, keyring +* notification via XMPP? +* crypto can happen either on server or by the client? +* "profiles" are a seperate issue (webfinger?) +* status updates could go through this, or XMPP or status.net? +* TODO: salmon? + +* would need to specify: +* storyboard of how a post/conversation would go +* message formats +* protocols between user-server and server-server +* ascillary technologies: authentication, notification, encryption, contact + management +* interop: HTTP website + +Improved Email +----------------- + +* "reliable asynchronous user-specific messaging" +* same store-and-forward paradigm; same IMAP-like message archive paradigm +* every core message signed by user and domain; unsigned messages get dropped +* core message headers can be pseudo-shadowed/re-written by extention headers +* user signing can be delegated to domain +* domain maintains public keyserver for all hosted users +* forwarded messages (mailing lists) signed by forwarding domain +* users or domains can brand a user or domain as spam/abusive +* domains maintain a web of trust/karma using announcements, refuse messages + from blacklisted users/domains +* special abuse@, admin@ "out of band" addresses for resolving blocklist + issues, not blocked except for severe cases +* attachments signed seperately, referenced by core message +* standardize (via defaults) on compressed UTF-8 message body + optional safe-subset of HTML +* hook into system-wide cacert/web-of-trust; individual user agents can specify + fallback policy + diff --git a/nyc.page b/nyc.page deleted file mode 100644 index 7041359..0000000 --- a/nyc.page +++ /dev/null @@ -1,60 +0,0 @@ - -## Museums - -Use [I heart NYC Museums](http://iheartnymuseums.com/) to look them all up and -see when they are free! - -MOMA is free 4-8pm on fridays, the Met is always "suggested" donation, the -Guggenheim is free Saturday 5:45-7:45pm, the Whitney is free 6-9pm Fridays, the -New Museum is free 7-9pm Thursdays, Morgan library is free 6-9pm every -Thursday. Brooklyn museum street party is the first saturday of every month. - -## Film - -[Google listings for Manhattan](http://www.google.com/movies?hl=en&near=10013) - -Other movies listings: - -* [MoMa films](http://www.moma.org/visit/calendar/filters/3) -* [Anthologie film archives](http://anthologyfilmarchives.org/) -* [Film Forum](http://www.filmforum.com/) -* [BAM cinema](http://www.bam.org/view.aspx?pid=6) -* -* -* [NiteHawk](http://www.nitehawkcinema.com/screenings.php) - -In the summer, see: - -* -* -* -* - - -## Other lists/blogs - - - - (mailing list) - - -### Music - - - -[brooklyn vegan](http://www.brooklynvegan.com/) - -[the stone](http://thestonenyc.com/calendar.php) - -## Misc - -Dual Specialty: Mostly Indian, some Middle Eastern spices and ingredients, at -1st Ave and 6th St in Manhattan. - -I like the Hungarian Pastry Shop up near Columbia University, very cozy. Think -Coffee is reasonable near Washington Park. Kaffee 1668 (just north of WTC site) -has the best brewed coffee I know of in Manhattan, and good wifi. - -[School of Math](http://thewe.net/math/) - -[Proteus Gowanus](http://proteusgowanus.org/) diff --git a/software/debian.page b/software/debian.page index 8b32dfd..4e64ae4 100644 --- a/software/debian.page +++ b/software/debian.page @@ -59,7 +59,21 @@ Debian Package Tools ``dkpg -S somefile`` shows what packages a given file were installed by. ``dpkg -L somepackage`` lists all the files installed by that package. +``apt-rdepends -r somepackage`` shows all packages depending on a given +package, recursively. You probably just want the first group, not the full +recursive tree. + To *not* install "recommended" or "suggested" packages, pass ``-R`` as an argument to ``aptitute``. To find out *why* a package has been installed (or guess why it might be?) use the ``aptitude why `` command. +To extract the contents of a .deb file, use the ``ar`` command, then extract +data.tar.gz: + + ar vx somepackage.deb + tar xvf data.tar.gz + +Debian Packaging +------------------- + +sudo aptitude install gcc-4.4-arm-linux-gnueabi diff --git a/software/git.page b/software/git.page index 362970b..3f4e3ef 100644 --- a/software/git.page +++ b/software/git.page @@ -10,3 +10,11 @@ Git Quick tip: when you have ``.gitignore`` ignoring everything (with a ``*`` entry), you need to use ``git-update-index --add FILE`` to actually add the file, instead of just ``git-add FILE``. + +Over HTTP +-------------- +To make a repository available over "dumb" HTTP, set up a bare repository and +copy ``hooks/post-update.sample`` to ``hooks/post-update``. + +To add links from gitweb, add to the ``@git_base_url_list`` list in the +configuration file. diff --git a/software/misc.page b/software/misc.page index 600819e..1c0b74a 100644 --- a/software/misc.page +++ b/software/misc.page @@ -210,3 +210,34 @@ Install ``tcpflow`` and do: $ sudo tcpflow -i wlan0 -b 2097152 tcp port 80 or tcp port 443 Saves up to 2MB + +wget +-------- +For recursive, I usually want something like: + + wget -r -l 3 + +To just get files, ignoring structure: + + wget -r -l 3 -nd + +QEMU with chroot +------------------- +Manual way: + + $ sudo chroot ./rootfs-dir/ qemu-arm-static /usr/bin/env + +The automatic way is to copy the host's qemu-arm-static to usr/bin in the +chroot, then just run the command and qemu-arm-static will be used +automagically: + + $ sudo chroot ./rootfs-dir/ /usr/bin/env + +Starting an SSL CA +---------------------- +"[cryptography] How much does it cost to start a root CA ?" +Jon Callas , Sat Jan 5 14:42:31 EST 2013 +http://lists.randombit.net/pipermail/cryptography/2013-January/003601.html + +Answer: $250k over 14 months, 40% hardware, 60% people + diff --git a/software/packages.page b/software/packages.page index f14a0ce..42b7727 100644 --- a/software/packages.page +++ b/software/packages.page @@ -29,8 +29,9 @@ Almost all machines get the following (decreasing minimalism): ctorrent nmap netcat - ngrep tcpdump + tree + lsblk If debian-based, add ``build-essential``, ``openssh-server``, ``manpages-dev``, ``iproute``, and it's ``git-core`` (not ``git``) and ``mtr-tiny`` (not diff --git a/software/unix-tricks.page b/software/unix-tricks.page index 8749d16..d175133 100644 --- a/software/unix-tricks.page +++ b/software/unix-tricks.page @@ -70,3 +70,16 @@ stderr in Red Via `stack overflow `_: $ command 2> >(while read line; do echo -e "\e[01;31m$line\e[0m"; done) + +Mount an .img file as loopback device +----------------------------------------- + +Either: + + mount -o loop distro.img /mnt + +Or: + + losetup /dev/loop0 distro.img + mount /dev/loop0 /mnt + -- cgit v1.2.3