diff options
-rw-r--r-- | Index.page | 1 | ||||
-rw-r--r-- | books/2020.page | 33 | ||||
-rw-r--r-- | books/to-read.page | 9 | ||||
-rw-r--r-- | film/2019.page | 19 | ||||
-rw-r--r-- | film/2020.page | 105 | ||||
-rw-r--r-- | film/2021.page | 112 | ||||
-rw-r--r-- | film/2022.page | 110 | ||||
-rw-r--r-- | film/to-watch.page | 102 | ||||
-rw-r--r-- | outdoorsing/2021_trips.md | 27 | ||||
-rw-r--r-- | outdoorsing/gear.md | 13 | ||||
-rw-r--r-- | outdoorsing/hiking_trips_2018.txt | 50 | ||||
-rw-r--r-- | outdoorsing/mountains/shasta.txt | 39 | ||||
-rw-r--r-- | outdoorsing/paragliding.md | 45 | ||||
-rw-r--r-- | outdoorsing/planning_tools.page | 8 | ||||
-rw-r--r-- | scratch.txt | 29 | ||||
-rw-r--r-- | scratch/artists.page (renamed from misc/artists.page) | 0 | ||||
-rw-r--r-- | scratch/common_as_air_book_nots.txt (renamed from tmp/common_as_air_book_nots.txt) | 0 | ||||
-rw-r--r-- | scratch/expat.txt (renamed from tmp/expat.txt) | 0 | ||||
-rw-r--r-- | scratch/newcomb-paradox.page (renamed from misc/newcomb-paradox.page) | 0 | ||||
-rw-r--r-- | scratch/numerical_computation.txt (renamed from tmp/numerical_computation.txt) | 0 | ||||
-rw-r--r-- | scratch/nz.page (renamed from tmp/nz.page) | 0 | ||||
-rw-r--r-- | scratch/payments.page (renamed from misc/payments.page) | 0 | ||||
-rw-r--r-- | scratch/review_nonblocking_verilog_kill (renamed from tmp/review_nonblocking_verilog_kill) | 0 | ||||
-rw-r--r-- | scratch/teaching-cs.page (renamed from tmp/teaching-cs.page) | 0 | ||||
-rw-r--r-- | scratch/topics-of-curiosity.page (renamed from tmp/topics-of-curiosity.page) | 0 | ||||
-rw-r--r-- | software/Xorg.page | 3 | ||||
-rw-r--r-- | software/api.page | 6 | ||||
-rw-r--r-- | software/css.page | 20 | ||||
-rw-r--r-- | software/debian.page | 41 | ||||
-rw-r--r-- | software/design_ethics.page | 23 | ||||
-rw-r--r-- | software/ebook_reader.page | 23 | ||||
-rw-r--r-- | software/golang.page | 15 | ||||
-rw-r--r-- | software/javascript.page | 29 | ||||
-rw-r--r-- | software/packaging.page | 4 | ||||
-rw-r--r-- | software/photos.txt | 2 | ||||
-rw-r--r-- | software/postgres.page | 3 | ||||
-rw-r--r-- | software/python.page | 9 | ||||
-rw-r--r-- | software/rust.page | 74 | ||||
-rw-r--r-- | software/rust_libs.txt | 7 | ||||
-rw-r--r-- | software/sign_pdf.md | 16 | ||||
-rw-r--r-- | software/web-design.page | 3 |
41 files changed, 966 insertions, 14 deletions
@@ -18,7 +18,6 @@ right in to: * [/places/]() * [/ideas/]() * [/products/]() - * [/misc/]() This wiki is run on gitit, a Haskell web application built on top of the Pandoc formating package and the git revision system; see the [Gitit User's Guide]() diff --git a/books/2020.page b/books/2020.page new file mode 100644 index 0000000..16a321f --- /dev/null +++ b/books/2020.page @@ -0,0 +1,33 @@ + + +Tai Pan +======== + + +The Nobel House +================= + + +Patience and Fortitude +======================== + + +Looking For a Ship +===================== + + +Edition of One (Eugene Powers, University Microfilms) +========================================================= + +WWII; intelligence work. + +ARL meeting sealed fate as sole provider of dissertation publishing in USA. + +Regant of U. Michigan. + + +The Moon is a Harsh Mistress +================================ + +Decent. + diff --git a/books/to-read.page b/books/to-read.page index 51ceb05..556d0f3 100644 --- a/books/to-read.page +++ b/books/to-read.page @@ -11,6 +11,8 @@ Novels * The Magic Mountain, thomas mann * Grapes of Wrath * The Sympathizer by Viet Thanh Nguyen +* Midnght's Children by Rushdie +* Big Sur by Jack Kerouac Old Classics: @@ -27,6 +29,8 @@ Science/Tech * War in the Age of Intelligent Machines by Manuel De Landa * Nonlinear Time Series Analysis, Holger Kantz Thomas Schreiber * Field Notes on Science & Nature +* The Nature of Mathematical Modeling +* Spacetime and Geometry by Sean Carroll Philosophy =============== @@ -47,6 +51,8 @@ History and Politics * Reflections on the Revolution in France by Edmund Burke * The Art of Intelligence by Henry Crumpton (CIA history) * The Conscience of a Conservative "by" Barry Goldwater +* The City in History by Lewis Mumfordk +* Dark Age Ahead by Jane Jacobs Chinese History: @@ -58,3 +64,6 @@ Other Non-Fiction ===================== * Looking for a Ship, John McPhee (merchant marine) +* The Educated Mind: How Cognitive Tools Shape Our Understanding +* The Feminine Mystique by Betty Friedan +* A Sand Country Almanac by Aldo Leopold diff --git a/film/2019.page b/film/2019.page index a61b1a5..cec3ab9 100644 --- a/film/2019.page +++ b/film/2019.page @@ -70,3 +70,22 @@ Only God Forgives -------------------- Meh. + + +Towering Inferno +-------------------- + +SF Hyatt Regency, OJ Simpson, etc! + + +I am Love +------------- + +Solid family drama. Always love Tilda Swinton in anything. + + +American Psycho +------------------- + +Alright I guess, only watched for the pop culture. + diff --git a/film/2020.page b/film/2020.page new file mode 100644 index 0000000..392a2a1 --- /dev/null +++ b/film/2020.page @@ -0,0 +1,105 @@ + +Encounters At The End Of The World (2007) +------------------------------------------------ + +Rewatched with friends. + + +Hard Boiled +------------- + +So good! + + +The Net (1995) +---------------- + +Meh. Very 90s. + + +Subway +----------- + +Fun, aesthetic, but didn't feel like there was much there there. Sort of +reminded me of Buckaroo Banzai. + + +Pain and Glory (Almadovar) +------------------------------------- + +This was great! Hard to put a finger on why exactly I liked it so much though. +Obviously much less tranditionally masculine than 8 1/2. + + +Bullitt +-------------- + +This has been on my list since J screened "Green Fog" for me at the archive, +for the San Francisco setting. McQueen is swaggery, though I expected even +more aggression from the reputation the film has. The chase scene is wild and +great. The cafe and SF culture establishing shots were unexpected. + +To be honest had to check some of the plot points online after... screen we +watched on didn't have good audio. + +I watched "Towering Inferno" before this, partially for the same "Green Fog" +motivation, and partially because it features the Embarcadero Hyatt atrium. +Also features McQueen and a couple other scenes were similar (everybody in +Pacific Heights is rich and horrible), but Bullitt is much better. + +Those blue McQueen eyes! + + +American Factory +-------------------- + +Some memorible bits, but in the end felt sort of aimless. + + +Pain and Glory +----------------- + +Good. + + +How to Get Ahead in Advertising +--------------------------------- + +I didn't like this as much as I expected I would? Manic, ranty, nice Cronberg-y +bits. + +The Lighthouse +------------------ + +Weird, intense. Good? Acting was great. Dialog was hard to understand at times. + + +Bombshell +------------- + +This was good. A juicy, buzzy story. + + +-------- + +- BlacKkKlansman +- 10 year (HK) +- Spy Game +- Contagion +- uncut gems +- just mercy +- the core +- the killer (1989) +- plot against america (TV) +- adaptation +- mean girls +- da 5 bloods +- the craft +- shadow +- as tears go by +- rat film +- the deuce (tv) + + +next? +- show me a hero diff --git a/film/2021.page b/film/2021.page new file mode 100644 index 0000000..2b92436 --- /dev/null +++ b/film/2021.page @@ -0,0 +1,112 @@ + +Blade Runner 2049 +================= + +Re-watched, held up well. Robin Wright and Jared Leto are great. + + +Serenity +========= + +Re-watched, meh. + + +John Wick (1 and 2) +==================== + +A tiny bit cheeky, but mostly just high-budget, well-made, generic action. +Entertaining if you like watching fight scenes. Airplane films. + + +Some Kind of Heaven +====================== + +The documentary about "The Villages", a city-sized retirement community in +Florida. I expected to be a more direct documentary about the place, but this +ended up being mostly a series of character studies. Some of the scenes and +interviews were somewhat unbelievable; were they staged? Especially the +unremorseful and blunt psychonaut husband. + + +Tokyo Story +============ + +Watched with L, B, and C on a trip to the Olympic Penninsula. Many classic +shots. Slow, thoughtful. Apparently the creators didn't think it +would get much international reception because it was "too Japanese", but I was +surprised how universal it felt. Also surprised it was able to be produced at +all in the near post-war period. + + +Sherpa and Fourteen Peaks +=========================== + +Two separate documentaries about Himalayan mountaineering, both pretty good. +The 14 peaks story is almost unbelievable, and feels borderline foolhardy, he +just climbs so fast and hard and takes risks to meet an arbitrary time limit. + + +Dune (2021) +============ + +Very pretty, some nice scenes, characters, costumes, and world-building. In the +end felt like just eye candy and "entertainment" though, did not add anything +special or new to the story telling. This is a finely executed and polished +film, but David Lynch's version brought a lot more to the table. + +Following (1998) +================ + +The Thin Man (1934) +===================== + +They Live +========== + +The Blues Brothers (1980) +========================== + +Dead Pigs +========== + +Prisoners (2013) +================= + +Long Day's Journey into Night (2018) +===================================== + +Incendies +========== + +This was very good, though parts of it were so brutal they felt like a stab in +the back by the directory/screenwriter. + +Black Bear +========== + + +No Time to Die +=============== + +Bond, not particularly memorable. Airplane film. + + +The Grandmaster +================= + +Will watch Tony Leung in anything. The early scenes were fun. Some characters +were confusingly just pasted in to the film with no other context. Airplane +film. + + +Suicide Squad +=============== + +L liked this so I gave it a try. Was surprisingly enjoyable, especially the +first 10-15 minutes. + +The French Dispatch +===================== + +Don't Look Up +============== diff --git a/film/2022.page b/film/2022.page new file mode 100644 index 0000000..d1261c4 --- /dev/null +++ b/film/2022.page @@ -0,0 +1,110 @@ + +Black Mirror: San Junipero +=========================== + +Watched because it gets referenced a lot in pop culture. Decent, but I didn't +like it as much as the similar (to me) episode with the mortal kombat fighting, +which had a lot of similar themes. + + +Force Majure (original) +========================= + +I don't know if I liked this or not. + + +Downfall (Der Untergang, 2004) +=============================== + + +Bad Luck Banging or Loony Porn +=============================== + +Was excited for this, but it was sort of all over the place. + +Memoria +========== + +Audio-heavy, with Tilda Swinton. Watched with N, really liked it. Many Great +scenes. Some later parts were borderline, almost gave up on it, but held it +together, and I liked it. + +Point Break (1991) +=================== + +Everything Everywhere All at Once +=================================== + +Probably best film i've seen this year. + +Parallel Mothers (Madres Paralelas) +===================================== + +Pretty great! + +Kimi +======= + +Licorice Pizza +================ + +Life in the Freezer (TV) +========================= + +The Batman (2022) +================== + +Severance, Season One (TV) +========================== + +Started well, has some great twists, and the premise works well. But very +little gets resolved, feels like a setup for a long series. + +The Host +======== + +Wrath of Man +============ + +Generic action, entertaining. + +The Eight Hundred +================= + +Melodramatic Chinese WW2 war film set in a building in Shanghai right next to +the international quarter. High budget, bloody. + + +Police Story +============ + +Light and funny, lots of physical comedy. + + +The Unbearable Weight of Massive Talent (2022) +============================================== + +The "Nick Cage playing Nick Cage" film. Not as good as hoped. + + +Strangers on a Train (1951) +============================ + +Not as tight and good as some Hitchcock, but pretty memorable. + + +The Gray Man (2022) +===================== + +Ryan Reynolds, generic action film. Large budget, but didn't feel very +glamorous. Silly, but also sort of trying too hard. + + +For All Mankind (TV, 2022 Season) +=================================== + +Big budget, Apple TV, speculative fiction slash alternate history. Decent +mainstream TV, mostly character driven. + +The Wind Rises (2013) +===================== diff --git a/film/to-watch.page b/film/to-watch.page index 16894eb..d9b4df4 100644 --- a/film/to-watch.page +++ b/film/to-watch.page @@ -1,6 +1,7 @@ Films To Watch -------------- + * Red Turtle (Ghibli, 2016) * Children of Paradise (big budget french occupation carne) * Brain Candy * One, Two, Three @@ -53,10 +54,8 @@ Films To Watch * 500 Days of Summer * God Bless America * The Game (Fincher) - * American Psycho * Network * The Tree of Life - * Glengarry Glen Ross * The Man Who Wasn't There (2001, Coen Brothers) * House of Games * We Children from Bahnhof Zoo (Christiane F) @@ -71,7 +70,6 @@ Films To Watch * Summer Wars (2009, anime) * Together (2000, Swedish) * A Midsummer Night's Sex Comedy (Woody Allen) - * I Am Love (Tilda Swinton) * Margin Call * The Listening (2006) * Pather Panchali (1955) @@ -93,15 +91,11 @@ Films To Watch * The Untouchables (1987) * City of Women (Felini, 1980) * Norma Rae - * Subway (Luc Besson) * The Tall Blond Man With One Black Shoe - * Genesis II (Roddenberry; 1973; Futurama-like plot) (also "The Questor - Tapes") - * Star Trek: Into Darkness (2013) + * Genesis II (Roddenberry; 1973; Futurama-like plot) (also "The Questor Tapes") * Hard to Be a God (2014) * Songs from the Second Floor (2000) * Downfall (2004) - * Inside Llewyn Davis * Cache (2005, Haneke) * Volver * Talk To Her @@ -113,8 +107,6 @@ Films To Watch * Arabian Nights (2015, Gomes, 3 parts) * Knight of Cups (2015) * Titus (1999; Shakespearean) - * Agora (Library of Alexandria, 2009) - * Only God Forgives (Bangkok Ryan Gosling, 2013) * Daisies (Czech new wave, 1966, Věra Chytilová) * Woman on Top (Penelope Cruz romcom, 2000) * Okja (2017) @@ -124,8 +116,63 @@ Films To Watch * Song of the Exile (1990, HK, Maggie Cheung) * Center Stage (1991, HK, Maggie Cheung) * Clean (Assayas, Maggie Cheung) - * Mad Max: Fury Road (rewatch) * The Big Chill (Jeff Goldblum) + * Hunger (2008, McQueen) + * Adults in the Room (2019; Yanis Varofakis) + * Virtuosity (1995) + * Black is King (Beyonce, 2020) + * Lucky Grandma (2020) + * She's Gotta Have It + * 25th Hour + * Police Story (Jackie Chan) + * Cameraperson (2016) + * Dick Johnson Is Dead (2020) + * The Master (2012) + * Magic Mike (2012) + * Shadow (2019) + * Princess of the Row (2020) + * The Public (2018) + * Ballad of Buster Scruggs (2018) + * Redefining the Anti-War Film (long essay) + * Ma Rainey's Black Bottom (?) + * A Star Is Born + * Three Days of the Condor + * 1900 + * Mank (December 2020) + * Force Majeure + * Judas and the Black Messiah + * Black Bear + * Family Romance, LLC (2019, Herzog) + * Psycho Goreman + * Nomadland + * Widows (2018) + * The Ipcress File (1965) + * Cyborg 2: Glass Shadow (1993) + * King of New York (1990) + * Last and First Men (2020) + * Victoria (2015) + * The Parallax View (1974; Seattle) + * Stolen Kisses (Godard) + * On the Waterfront + * Contempt (Godard) + * The Harder They Fall (2021; netflix) + * Bad Luck Banging or Loony Porn (2021) + * Reds (1981) + * Sunset Boulevard (1950) + * Your Name (2016, animated; maybe?) + * Boyz n the Hood (1991) + * Mr Smith Goes to Washington (1939) + * Heat + * The Shining + * The Exorcist + * Monsoon Wedding + * On the Rocks (2020) + * Kingdom of Heaven (2005; extended version) + * Unleashed (Jet Li, 2005) + * Crimes of the Future (Cronenberg, 2022) + * Anarchists (Park Chan-wook, 2000) + * Thirst (Park Chan-wook, 2009) + * Stoker (Park Chan-wook, 2013) Documentaries: @@ -144,7 +191,6 @@ Documentaries: * October Sky * Road House (1989) * Maidentrip (around the world solo teen) - * Only God Forgives (Bangkok Ryan Gosling, 2013) * Lo and Behold (Herzog Internet) * Last Days in Vietnam * National Bird (drones, 2016) @@ -153,8 +199,40 @@ Documentaries: * Ex Libris (NYC Library) * Sinai Field Mission * The Art of the Steal (2009; art collection) + * Titicut Follies + * High School (doc) + * The Bunker Films (2020) + * The Pruitt-Igo Myth (2012) + * What is Democracy (Astra Taylor) + * Dead Slow Ahead (2015; marine shipping) + * Fireball: Visitors from Darker Worlds + * Boys State (2020, government camp) + +Anime: + + * Deca-Dence + * Patlabor (robot anime) + * Knights of Sidonia (anime, TV series) + * Dorohedoro + * Great Pretender (TV series) + * No Guns Life + * The Sky Crawlers (2008, anime) + * Space Runaway Ideon (series, and film; Evangelion-like?) + * Belladonna Other Lists: * ["15 Great Films That You Never Hear About on r/movies"](http://imgur.com/a/BwuZY) * [Full Films on Youtube](http://www.reddit.com/r/fullmoviesonyoutube) + +Via L: + + * Sherpa (2015, documentary) + * An Elephant Sitting Still (2017; Chinese; very long) + * The Running Man (1987; Arnold) + * Following (1998; Christopher Nolan) + * Long Day's Journey into Night (2018; Chinese) + * Incendies (2010; Denis Villeneuve) + * Prisoners (2013; Denis Villeneuve) + * Strangers on a Train (1951; Hitchcock) + * Collectiv (2019) diff --git a/outdoorsing/2021_trips.md b/outdoorsing/2021_trips.md new file mode 100644 index 0000000..6429508 --- /dev/null +++ b/outdoorsing/2021_trips.md @@ -0,0 +1,27 @@ + +2021-11-21 - Mt Towsend (Olympics) +================================== + +With Lu, Brian, Christie. + +Worked out surprisingly well for second half of November! Prior week had some +rain/snow in the region and was worried about snow on the route and summit, and +also cold temperatures. + +Road up was mostly not bad. Long paved forest road with just a bit of unpaved +pot holes at the start. Towards the top (over 2,500ft?), road started having +some snow, but mostly the wheel tracks were clear. After the turn-off for the +upper Townsend trailhead, the road got pretty snowy and even ice-y. Was spicey +in Honda Fit, and no way to turn around, but made it without any close calls. + +There was snow at the trailhead, but only a couple inches. It turned out there +was "a couple inches" basically from the trailhead to the summit, from 3,300ft +to 6,200ft. Was worried there would be a couple feet based on trailhead, but +was not the case. There were a couple slippery/icey/melty bits, but microspikes +were fine and could have made it without. Top was fairly windy, but not very +cold, and got sunny at the end. + +Beautiful dusting of snow on deep forest at the lower bits, then pretty clear +snow/rock views from the summit. Could see 5 volcanoes (Baker, Glacier Peak, +Rainier, Adams, St Helens), clouds over the sound, Pt Angeles, etc. Pretty nice +day! diff --git a/outdoorsing/gear.md b/outdoorsing/gear.md new file mode 100644 index 0000000..972e4bb --- /dev/null +++ b/outdoorsing/gear.md @@ -0,0 +1,13 @@ + +## Snowboarding + +Old board is a Ride Timeless, 167cm, with textured top layers. Drake bindings, not sure model. + +Newer boots are K2 Maysis, mens size 12, black. These are a bit small, but the +heat forming process helped and they fit pretty well. + +Splitboard is a Voile Spartan Ascent, 166cm, orange top. Bought in spring 2021. +Bindings are Spark R&D Arc, bought used. + +Stance "regular", roughly 20" wide (a bit wide for me?), 3 degrees clockwise on +back foot (right foot), was 15 degress CCW front foot, but going to ~20 degrees. diff --git a/outdoorsing/hiking_trips_2018.txt b/outdoorsing/hiking_trips_2018.txt new file mode 100644 index 0000000..bfcea05 --- /dev/null +++ b/outdoorsing/hiking_trips_2018.txt @@ -0,0 +1,50 @@ + +California! Sierras! + +Highway passes +- I-80 Donner Pass / Truckee (north Taho) +- (a few more around Tahoe) +- SR-88 +- SR-4 (closed in winter) +- SR-108 (closed in winter) +- SR-120 (yosemite to lake mono) (closed in winter, Nov to May) +- (huge stretch with no roads through) +- SR-178 + +Big National Parks +- Yosemite Valley: ~3.5hr no traffic + => side roads closed Nov to May + => backcountry cabin is first-come-first-served Dec to March + => https://www.nps.gov/yose/planyourvisit/fulltrailheads.htm +- Kings Canyon: 4-5hr +- Sequoia: 4.5rh + +"East" Sierras +- Big Pine Lakes: 6.5 hour drive via HW 120 + + +Excellent overview map: http://www.highsierratrails.com/northern_sierra_trails.html + +~3.5 hour drive to Yosemite Valley + + +------------------------- + +Mt Adams! +Mt Saint Helens! (snow) + +Training/Prep: +- Camp Muir (Rainier) +- Hurrican Ridge? +- mt stuart (scramble; cascadian couloir) +- cashmere + https://www.summitpost.org/victoria-s-secret-nw-face/936099 +- enchantments in winter? + + +Also big/interesting: +- second sister +- shasta (CA) +- whitney (CA) +- rainier +- baker diff --git a/outdoorsing/mountains/shasta.txt b/outdoorsing/mountains/shasta.txt new file mode 100644 index 0000000..6c85830 --- /dev/null +++ b/outdoorsing/mountains/shasta.txt @@ -0,0 +1,39 @@ + +Shasta is tall! 14,179ft, almost as tall as Rainier. + +Recommendations: alpine starts (hiking ~4-5am), helmet, avalanche +beacon/probe/shovel. + +Best times: May through mid-July. 2019 seems like it will be below-avegage +snow, but not bad, and better than the recent droughts. + +4:40 hour drive from San Francisco (downtown). + +### Avalanche Gulch Route + +Most popular. Start at Bunny Flat trailhead (6940ft), which is plowed/clear all +year (!). + +### West Face Route + +### Clear Creek Route (East Side) + +This route is actually pretty appealing, sounds like fewer people take it in +early season. The main risk/issue would be road access in the snow. Seems less +avalanche dangerous, which means a snowier/earlier attempt would be possible. + +## Red Tape + +## Resources + +- Summit Post has a lot: <https://www.summitpost.org/mount-shasta/150188> +- [Shasta Avalanche info](https://www.shastaavalanche.org/) (including + forcasts) +- ["So you want to climb Mt. Shasta"](https://www.fs.usda.gov/Internet/FSE_DOCUMENTS/fsm9_008138.pdf) (NFS) +- Tom Harrison map sounds best for physical use. +- https://hikemtshasta.files.wordpress.com/2013/06/mount-shasta-trail-map.jpg + +## Scratch / Notes + +Should do a >10k ft snow climb to train, also any altitude hiking/climbing +probably good. diff --git a/outdoorsing/paragliding.md b/outdoorsing/paragliding.md new file mode 100644 index 0000000..0ee5c28 --- /dev/null +++ b/outdoorsing/paragliding.md @@ -0,0 +1,45 @@ + +"Injury prophylaxis in paragliding", BMJ, 2002 +https://pubmed.ncbi.nlm.nih.gov/12351336/ + german paragliding club + +"[Injuries and influencing factors on accidents in paragliding]" +https://pubmed.ncbi.nlm.nih.gov/32663899/ + in german + + +--- + +TODO: +- get a hook knife for water landing safety +- join NW paragliding club + +reading/resources: +- http://cascadeparaglidingclub.org/reference/ +- https://www.hpac.ca/rescues-helicopters-fires-mines-and-paraglider-hang-glider-pilots/ +- update from 2022 on difficulty: https://docs.google.com/document/d/11eDt7yIExeLQuJVvsyLYbB8SuYkVq0TITturX29vUFs/edit + +--- + +sites to try: +- blanchard, wa (1h20m drive, easy site) +- lake chelan area +- yakima buttes (?) (annual event?) + +st helens + +--- + +regional events: + +--- + +tree rescue: + +- https://ctomsinc.com/collections/high-angle-aviation-equipment/products/paraglider-parachute-tree-egress-kit (military vibe) +- https://blacksheepadventuresports.com/2018/06/26/review-beal-5mm-back-up-line/ +- https://towmeup.com/shop/ols/products/tree-rescue-device-only +- http://mvkazit.blogspot.com/2019/06/tree-self-rescue-for-paraglide-pilots.html +- http://mvkazit.blogspot.com/2017/01/some-ultra-light-rappel-ropes.html +- https://www.paraglidingforum.com/viewtopic.php?t=100528&start=0&postdays=0&postorder=asc&highlight= +- http://cascadeparaglidingclub.org/reference/reference-tree-rescue-for-paraglider-pilots/ diff --git a/outdoorsing/planning_tools.page b/outdoorsing/planning_tools.page new file mode 100644 index 0000000..37ce8b9 --- /dev/null +++ b/outdoorsing/planning_tools.page @@ -0,0 +1,8 @@ + +Forest Service snow cover map (west coast region): https://www.fs.fed.us/r5/webmaps/SierraSnowDepth/ + +Windy.com weather: https://www.windy.com/?47.536,-122.278,5 + +Gaia GPS + +Caltopo diff --git a/scratch.txt b/scratch.txt index 8843b23..7a6e1e7 100644 --- a/scratch.txt +++ b/scratch.txt @@ -78,3 +78,32 @@ If using recursive make, it's good to review the rules about environment variables, passing, exporting, etc: http://web.mit.edu/gnu/doc/html/make_5.html#SEC50 +Command-Line Tools +--------------------------- + +`lnav`: curses tool for live log file analysis + +cgroup 'top' showing per-user LXC stuff: `systemd-cgtop --recursive=y --depth=2` + +Also, `systemd-cgls`. + +`netdata` as a basic full-system logging/alerts package. Need to figure out how +to tune it to run slower samples (every 5-10 seconds?) and retain for weeks/months. + + +--------- + +browser extension: map switcher + +Twitter Things! +--------------------------------------------------------------------- + +- https://twitter.com/backus +- https://twitter.com/arcalinea +- https://twitter.com/kyledrake +- https://twitter.com/nayafia +- https://twitter.com/devonzuegel +- https://twitter.com/bcrypt +- https://twitter.com/garybernhardt +- https://twitter.com/danluu + diff --git a/misc/artists.page b/scratch/artists.page index ac1cc86..ac1cc86 100644 --- a/misc/artists.page +++ b/scratch/artists.page diff --git a/tmp/common_as_air_book_nots.txt b/scratch/common_as_air_book_nots.txt index 6adfa66..6adfa66 100644 --- a/tmp/common_as_air_book_nots.txt +++ b/scratch/common_as_air_book_nots.txt diff --git a/tmp/expat.txt b/scratch/expat.txt index 0583474..0583474 100644 --- a/tmp/expat.txt +++ b/scratch/expat.txt diff --git a/misc/newcomb-paradox.page b/scratch/newcomb-paradox.page index 58ace89..58ace89 100644 --- a/misc/newcomb-paradox.page +++ b/scratch/newcomb-paradox.page diff --git a/tmp/numerical_computation.txt b/scratch/numerical_computation.txt index ca606b9..ca606b9 100644 --- a/tmp/numerical_computation.txt +++ b/scratch/numerical_computation.txt diff --git a/tmp/nz.page b/scratch/nz.page index 0c50c5d..0c50c5d 100644 --- a/tmp/nz.page +++ b/scratch/nz.page diff --git a/misc/payments.page b/scratch/payments.page index decf409..decf409 100644 --- a/misc/payments.page +++ b/scratch/payments.page diff --git a/tmp/review_nonblocking_verilog_kill b/scratch/review_nonblocking_verilog_kill index 296f8c5..296f8c5 100644 --- a/tmp/review_nonblocking_verilog_kill +++ b/scratch/review_nonblocking_verilog_kill diff --git a/tmp/teaching-cs.page b/scratch/teaching-cs.page index d441985..d441985 100644 --- a/tmp/teaching-cs.page +++ b/scratch/teaching-cs.page diff --git a/tmp/topics-of-curiosity.page b/scratch/topics-of-curiosity.page index c07b13c..c07b13c 100644 --- a/tmp/topics-of-curiosity.page +++ b/scratch/topics-of-curiosity.page diff --git a/software/Xorg.page b/software/Xorg.page new file mode 100644 index 0000000..39eb55b --- /dev/null +++ b/software/Xorg.page @@ -0,0 +1,3 @@ + + sleep 2; DISPLAY=:0 xrandr --auto + diff --git a/software/api.page b/software/api.page new file mode 100644 index 0000000..6349851 --- /dev/null +++ b/software/api.page @@ -0,0 +1,6 @@ + +"Joshua Bloch: Bumper-Sticker API Design" +https://www.infoq.com/articles/API-Design-Joshua-Bloch + +- https://restful-api-design.readthedocs.io/en/latest/methods.html +- https://github.com/WhiteHouse/api-standards/blob/master/README.md#general-guidelines-for-restful-urls diff --git a/software/css.page b/software/css.page new file mode 100644 index 0000000..bcf3467 --- /dev/null +++ b/software/css.page @@ -0,0 +1,20 @@ + +## CSS Microframeworks + +good overview: https://blakewatson.com/journal/surveying-the-landscape-of-css-micro-frameworks/ + +Prefered options: + +- https://simplecss.org/ +- https://picocss.com/ +- https://picnicss.com/ +- https://gdcss.netlify.app/ +- https://watercss.kognise.dev/ + +Other stuff: + +- https://purecss.io/ +- https://picturepan2.github.io/spectre/ +- http://getskeleton.com/ +- https://jenil.github.io/chota/ +- https://tdarb.org/typesafe-css/ diff --git a/software/debian.page b/software/debian.page index ebe3856..da874e0 100644 --- a/software/debian.page +++ b/software/debian.page @@ -159,7 +159,7 @@ Persist Laptop Power Saving Flags `powertop` helps identify system flags that need tuning (`sysfs`, `iw`, etc), which are super helpful, but these tweaks don't persist through reboots. -You can automate setting *all* the `powertop` tunings at bood by adding +You can automate setting *all* the `powertop` tunings at boot by adding `powertop --auto-tune` to `/etc/rc.local` (and making sure `rc-local.service` is configured under `systemd` if you are using that for init). @@ -175,6 +175,45 @@ Chromium Fonts Surprisingly, this trick worked for me: http://www.internalpointers.com/post/fixing-ugly-fonts-chrome-chromium-debian-xfce +More fonts: + + sudo apt-get install fonts-arphic-ukai fonts-arphic-uming fonts-ipafont-mincho fonts-ipafont-gothic fonts-unfonts-core + +Big Fonts List +---------------- + +Eg, if trying to do general international stuff (PDFs from web or whatever), +might want all of: + + fonts-arphic-bkai00mp + fonts-arphic-bsmi00lp + fonts-arphic-gbsn00lp + fonts-arphic-gkai00mp + fonts-arphic-ukai + fonts-arphic-uming + fonts-farsiweb + fonts-indic + fonts-ipafont-gothic + fonts-ipafont-mincho + fonts-liberation + fonts-lklug-sinhala + fonts-nafees + fonts-noto + fonts-noto-cjk + fonts-noto-mono + fonts-noto-unhinted + fonts-sil-abyssinica + fonts-sil-ezra + fonts-sil-padauk + fonts-thai-tlwg + fonts-unfonts-core + fonts-unfonts-extra + xfonts-100dpi + xfonts-75dpi + xfonts-base + xfonts-cyrillic + xfonts-scalable + Stretch Upgrade Notes ----------------------- diff --git a/software/design_ethics.page b/software/design_ethics.page new file mode 100644 index 0000000..71c646b --- /dev/null +++ b/software/design_ethics.page @@ -0,0 +1,23 @@ + +## Maciej Cegłowski + +Six Fixes: + +- Right To Download +- Right To Delete +- Limits on Behavioral Data Collection +- Right to Go Offline +- Ban on Third-Party Advertising +- Privacy Promises + +Later rephrased: + +1. The right to examine, download, and delete any data stored about you. A time horizon (weeks, not years) for how long companies are allowed to retain behavioral data (any data about yourself you didn’t explicitly provide). + +2. A prohibition on selling or transferring collections of behavioral data, whether outright, in an acquisition, or in bankruptcy. + +3. A ban on third-party advertising. Ad networks can still exist, but they can only serve ads targeted against page content, and they cannot retain information between ad requests. + +4. An off switch on Internet-connected devices, that physically cuts their access to the network. This switch should not prevent the device from functioning offline. You should be able to stop the malware on your refrigerator from posting racist rants on Twitter while still keeping your beer cold. + +5. A legal framework for offering certain privacy guarantees, with enforceable consequences. Think of this as a Creative Commons for privacy. If they can be sure data won’t be retained, users will be willing to experiment with many technologies that would pose too big a privacy risk in the current reality. diff --git a/software/ebook_reader.page b/software/ebook_reader.page new file mode 100644 index 0000000..429e6d6 --- /dev/null +++ b/software/ebook_reader.page @@ -0,0 +1,23 @@ + +dpt-rp1-py +============ + +To get PDF uploading to work from Debian with my Quaderno digital reader, I +installed the `dpt-rp1-py` package for just my user (not system wide): + + pip3 install --user dpt-rp1-py + +Before running commands, ensure device and laptop are on the same local +network. Then, run things like: + + dptrp1 list-folders + +or, to upload files: + + dptrp1 upload thing.pdf Document/Papers/ + +To upload everything in a directory newer than a given date: + + find . -iname '*.pdf' -type f -newermt "2022-05-01" | parallel dptrp1 upload {} Document/Papers/ + +TODO: sometimes this fails for some fraction of the documents? need a delay? diff --git a/software/golang.page b/software/golang.page index 729b6e5..9897b65 100644 --- a/software/golang.page +++ b/software/golang.page @@ -12,6 +12,21 @@ function itself is called (this is intuitive). The golang documentation gives the examples of closing file handles and printing HTML footers (defer right after printing the header). +Language Notes +---------------- + +`complex64` and `complex128` are built-in numeric types. `rune` is also built-in. + +Capitalization controls visibility. Everything is visible within a package; +only upper-case things are visible outside the package. + +All types have a "zero value" which they are automatically initialized with if +not defined otherwise. These include `false` for boolean, 0 for numerics, empty +string, and `nil` in many cases. This recurses down in to structs, collections, +etc. + +TODO: capitalization of struct fields + Learning Resources ------------------- In addition to the excellent dynamic Tour, documentation, and other things diff --git a/software/javascript.page b/software/javascript.page new file mode 100644 index 0000000..217b6e5 --- /dev/null +++ b/software/javascript.page @@ -0,0 +1,29 @@ + +## In-Browser Vanilla Javascript + +Alternatives to jQuery: https://blog.garstasio.com/you-dont-need-jquery/ + + +## Development Environment with nvm + +Use `nvm` to install nodejs, npm, etc, separately from operating system +packages. + +`nvm` asks you to do a curl/bash thing, but you can just download the `nvm.sh` +script, put it in `~/.nvm/nvm.sh`, and source it from `~/.bashrc`. Or do a git +checkout there or something? + + mkdir -p ~/.nvm + cd ~/.nvm + wget https://raw.githubusercontent.com/nvm-sh/nvm/master/nvm.sh + echo 'export NVM_DIR="$HOME/.nvm' >> ~/.bash_profile + echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> ~/.bash_profile + echo '[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"' >> ~/.bash_profile + +Then for a specific project, figure out a recent version of node and then: + + cd $PROJECTDIR + nvm install 18 + nvm use 18 + + npm install --global yarn diff --git a/software/packaging.page b/software/packaging.page new file mode 100644 index 0000000..52919e8 --- /dev/null +++ b/software/packaging.page @@ -0,0 +1,4 @@ + +"Quick and dirty" packaging options (aka, not clean/official Debian process): + +- https://github.com/goreleaser/nfpm diff --git a/software/photos.txt b/software/photos.txt new file mode 100644 index 0000000..e195dc2 --- /dev/null +++ b/software/photos.txt @@ -0,0 +1,2 @@ + +geeqie: tool for viewing/sorting photos diff --git a/software/postgres.page b/software/postgres.page index 7d05074..32f2fe4 100644 --- a/software/postgres.page +++ b/software/postgres.page @@ -31,4 +31,7 @@ More refs/links: - https://brandur.org/postgres-connections - https://www.citusdata.com/blog/2017/07/16/customizing-my-postgres-shell-using-psqlrc/ - `bind "^R" em-inc-search-prev` +- https://www.citusdata.com/blog/2019/07/17/postgres-tips-for-average-and-power-user/ +- https://github.com/citusdata/pg_auto_failover +- https://repmgr.org/ diff --git a/software/python.page b/software/python.page index 0fc3c8d..7133013 100644 --- a/software/python.page +++ b/software/python.page @@ -226,3 +226,12 @@ and # ... do some stuff ... tr.print_diff() + + +Canonical Timestamp +-------------------- + +As a terse one-liner (with `datetime` imported): + + f"{datetime.datetime.utcnow().isoformat()[:-3]}Z" + diff --git a/software/rust.page b/software/rust.page index 4e8aa44..b76c097 100644 --- a/software/rust.page +++ b/software/rust.page @@ -5,6 +5,7 @@ Rust - <http://xion.io/post/code/rust-iter-patterns.html> - <https://deterministic.space/rust-cli-tips.htm> +- <https://deterministic.space/elegant-apis-in-rust.html> - <https://manishearth.github.io/blog/2018/01/10/whats-tokio-and-async-io-all-about/> - <https://saghm.github.io/five-rust-things/> @@ -60,3 +61,76 @@ Should use match in this case: }, }; +## 2020-05-17 Reading + +While working on fatcat-cli tool, checked the The Rust Programming Language +book to read about trait objects and the `dyn` keyword, which I had ignored +previously. + +They seem like they could be used in a few places in fatcat-server rust code. +We don't particularly care about per-function-call performance there, and most +entities are already allocated on the heap. + +Other small syntax and thing learned: + +Can copy a struct while only updating specific fields with ".." syntax. Might +use this in fatcat-cli for update mutation. + +This is the cleanest example of using ErrorKind that I have seen: + + let f = match f { + Ok(file) => file, + Err(error) => match error.kind() { + ErrorKind::NotFound => match File::create("hello.txt") { + Ok(fc) => fc, + Err(e) => panic!("Problem creating the file: {:?}", e), + }, + other_error => { + panic!("Problem opening the file: {:?}", other_error) + } + }, + }; + +I didn't realize that test code may get compiled into non-test binaries unless +annotated with `#[cfg(test)]`. You are supposed to create a sub-module within +each `src/` file with unittests, like: + + #[cfg(test)] + mod tests { + use super::*; + + #[test] + fn it_works() { + assert_eq!(2 + 2, 4); + } + } +This doesn't apply to `tests/` directory, which is for integration tests. + +The common pattern for binary crates (vs. library crates) is to have `main.rs` +and `lib.rs`, with any code that needs to be tested in `lib.rs` (aka, all the +actual logic). + +I think I knew `eprintln!()` (for stderr) vs. `println!()` (for stdout), but +good to remember. + +There is a description of how to avoid memory leaks with reference counting +using "weak" `Rc` references. Probably worth reading the [entire chapter on smart pointers](https://doc.rust-lang.org/book/ch15-06-reference-cycles.html#preventing-reference-cycles-turning-an-rct-into-a-weakt) +(including Box, Rc, RefCell) again. + +For the `Sized` trait, and `Sized` trait alone, can specify an ambiguous trait +constraint with `?` to indicate "may or may not be Sized", which doesn't really +mean anything but does explicitly allow generic functions over non-sized traits +like: + + fn my_generic_func<T: ?Sized>(t: &T) { + // --snip-- + } + +A trait can depend on another trait. For example, a PrettyPrint trait could +rely on Display (and impl functions could call functions from Display). This is +done on the trait definition line. Such a trait is called a "supertrait". + +Implementing Deref on a wrapper type allows transparent access to all the trait +methods on the interior object. + +Also, a new longer post on error handling: <https://nick.groenen.me/posts/rust-error-handling/> diff --git a/software/rust_libs.txt b/software/rust_libs.txt new file mode 100644 index 0000000..967a4b6 --- /dev/null +++ b/software/rust_libs.txt @@ -0,0 +1,7 @@ + +https://github.com/RazrFalcon/pico-args + smaller than clap + +https://lib.rs/crates/dirs + +https://lib.rs/crates/axum diff --git a/software/sign_pdf.md b/software/sign_pdf.md new file mode 100644 index 0000000..c81643d --- /dev/null +++ b/software/sign_pdf.md @@ -0,0 +1,16 @@ + +How to sign a PDF on Linux +=========================== + +First, you need a transparent image of signature, eg as a PNG file. Android +works pretty well for this: you can sign a blank piece of paper, take a +photo, and clean it up. Then can use gimp if necessary to remove background +and make a transparent image. + +NOTE: if text import isn't working, need to go in preferences and change input +type (!), see also <https://github.com/xournalpp/xournalpp/issues/2035>. + +To edit PDFs, use `xournalpp`, which is a GUI tool packaged in Debian. You +can add text and paste images, then export as PDF. + +Via: <https://www.xmodulo.com/add-signature-pdf-document-linux.html> diff --git a/software/web-design.page b/software/web-design.page index 48ee7a0..02412f5 100644 --- a/software/web-design.page +++ b/software/web-design.page @@ -2,5 +2,8 @@ - http://bootswatch.com/simplex/ - https://semantic-ui.com/ - https://purecss.io/ +- https://bulma.io/ +- https://simplecss.org/ ("classless"; used in adenosine) +- https://picocss.com/ "Little UI Details": https://twitter.com/i/moments/880688233641848832 |