John Cox

Blogs · @wyome · Now · Shelf

Interesting

The Mission to Get Osama Bin Laden : The New Yorker

Nicholas Schmidle's New Yorker account reconstructs the May 2011 SEAL Team Six raid on bin Laden's Abbottabad compound, from the CIA's tracking of the courier and the planning and rehearsals in North Carolina and Nevada to the raid itself. It covers the Black Hawk that nearly crashed ("settling with power") and the shooting inside the house, then the burial at sea and Obama's later visit to the team. Its distinctive detail comes from anonymous special-operations and administration sources: the debates over a raid versus a B-2 strike, the CIA analysts' confidence levels of only 40 to 90 percent, the decision to keep Pakistan in the dark, and the blurring of CIA and JSOC roles. It ends on the precedent the raid sets for future unilateral operations, noting that the SEALs' recollections may be imprecise and that some details, such as whether bin Laden could have been captured, are disputed.

Permalink

Fully Understanding the this Keyword | Nettuts+

Cody Lindley's tutorial (an excerpt from his free ebook *JavaScript Enlightenment*, republished from 2011) explains that `this` in JavaScript is set by how a function is called, not where it's defined. The same function gives different results when called as an object's method versus from the global scope. It walks through the cases: the ECMAScript 3 quirk where nested functions and callbacks lose `this` and fall back to the window object (worked around by saving `var that = this`), overriding it explicitly with `call()` and `apply()`, and how it refers to the new instance in constructors, including the bug when `new` is forgotten. It ends with `this` inside prototype methods, where it points to the calling instance and missing properties are found by prototype-chain lookup.

Permalink

jQuery Sticky Scroller / Position:Fixed Plugin

This is the documentation for a jQuery plugin, StickyScroller, that extends the common "sticky scroll" effect beyond simply stopping an element at a set point. It pins an absolutely positioned element a given margin from the top of the window, starts after a chosen scroll distance, and divides the scroll span into evenly spaced indexes with optional ranges, so callbacks (onScroll, onNewIndex, onLimbo) can fire per index and drive things like toggling classes on a list of boxes. The author notes that simple fixed/absolute switching is better handled by jQuery Waypoints, and also flags a known problem: choppy, delayed positioning in Firefox as of January 2011, for which no workaround had been found.

Permalink

An Extreme Fear of Disapproval | The Emotion Machine

Extreme fear of disapproval, the piece argues, is rooted in both evolutionary history (when rejection by the tribe meant death) and childhood conditioning, and it produces a cruel irony: socially anxious people withdraw to avoid judgment, which leaves them unnoticed and without the belonging Maslow counted as a core need, so their fear becomes a self-fulfilling prophecy. It treats some fear of disapproval as normal but says that when it impairs daily life, the remedy is gradual exposure, starting with low-stakes contacts like old friends or family and working up to strangers, so the brain can learn from new experiences. It's a general self-improvement explainer on social anxiety rather than a clinical or research-based piece.

Permalink

Popcorn.js | The HTML5 Media Framework

Popcorn.js is Mozilla's JavaScript library for building timeline-based web productions around HTML5 audio and video, as well as YouTube, Vimeo, SoundCloud and similar sources. It smooths over browser differences in media APIs and adds an event system and plugin architecture, so content like Wikipedia, Facebook or Google Maps can be triggered at specific points in a video. The README carries a notice that Mozilla no longer maintains it and points to a more actively developed fork, so it's worth keeping mainly as a reference for the concept or as a pointer to that successor.

Permalink

Woman not named Lorena cuts off husband’s penis – Boing Boing

A short Boing Boing news item reports on Catherine Kieu Becker, a 48-year-old Garden Grove, California woman who called 911 about a "medical emergency" involving her husband, from whom she was separating. Per police, she had drugged his dinner, tied him to the bed, and cut off his penis, then disposed of it in the garbage disposal and told officers he "deserved it." The page is mostly sidebar teasers for unrelated posts (a Sam Altman biopic trailer, a medieval cesspit collapse, ferret-legging, and affiliate software deals), so the saved content itself is just this one crime report quoted from KTLA.

Permalink

Woman not named Lorena cuts off husband's penis - Boing Boing

I can't summarise this one: what came through is only Boing Boing's site boilerplate (terms of service, affiliate disclosure, privacy and cookie notice, community guidelines, Creative Commons license), with no article text at all. The only hint of content is the stray line "Who will be eaten first?", which looks like a forum prompt rather than the piece you saved. If you paste in the article itself or its URL, I can write a summary that distinguishes it from similar ones.

Permalink

pdf.js: Rendering PDF with HTML5 and JavaScript | Andreas Gal

Mozilla's announcement of pdf.js, an experimental PDF renderer written entirely in HTML5 and JavaScript, conceived on the flight to the Firefox 4 launch parties as a test of whether canvas and SVG are capable enough to render PDFs faithfully. The case for it is that external readers and plugins handle links and range-request loading poorly, impose their own scrolling behavior, and enlarge the trusted native-code base, which a pure-web implementation avoids. Early work targets pixel-perfect rendering of a single paper (the Tracemonkey trace-compilation paper), with a Firefox extension planned first and eventual bundling in Firefox, under a BSD license and open to outside contributors.

Permalink

My Total Money Makeover Community Forums - My degree isn't worth the debt!

EveryDollar is Ramsey Solutions' zero-based budgeting app, built on assigning every dollar of income a job (give, save, spend) before the month starts so income minus expenses hits zero. The page is a sales pitch with an FAQ that does the useful work: the free tier covers manual entry, unlimited categories, sinking funds and split transactions, while premium ($79.99/year or $17.99/month after a 14-day trial) adds automatic bank syncing via Plaid/Mastercard, reports, coaching and a net worth projection. It also pushes the debt snowball method (smallest debt first, ignoring interest rates), supports shared household budgets for couples, and claims users find an average of $395 and cut expenses 9%, backed by testimonials.

Permalink

Make Your HTML Email 5½ Times More Mobile Friendly

Josh Rubinstein, a designer at Estately, offers five and a half practical tips for building a single HTML email template that works on mobile and desktop without leaning on media queries for layout. The tips are touch-friendly click targets, a CSS background-image trick that serves a crisp logo on iPhone Retina displays (with ALT text restored via :after), corrected text-size-adjust rules that stop mobile WebKit from inflating fonts without disabling zoom, percentage-plus-max-width tables so images scale between roughly 350 and 600px, and -ms-interpolation-mode: bicubic to smooth scaled images in Internet Explorer. It's a progressive-enhancement approach with code samples, written around the pain of Outlook 2007/2010 rendering and justified by Estately's finding that users read alert emails on phones in spare moments.

Permalink

Buzz, a Javascript HTML5 Audio library

Buzz is a small MIT-licensed JavaScript library by Jay Salvat that wraps the HTML5 audio tag so you can load, play, and manage sounds on a website, and it fails silently on browsers that don't support audio. Version 2.0 is the focus of this page: it moves to ES6 syntax, adds Promise support alongside callbacks for async methods like fadeIn, ships TypeScript definitions, and trims the build to two files (an ES module and a minified UMD). The page also covers installation via npm, ESM import, or CDN, and shows a usage example that loads a sound in multiple formats, fades it in, loops it, and binds a timeupdate handler to drive an on-page timer.

Permalink

5 Voyeuristic, Cross-Disciplinary Peeks Inside Great Creators' Notebooks | Brain Pickings

A roundup of five books that open up the private sketchbooks and notebooks of working creators, offered as the closest look we can get at how creative minds actually operate. It covers graphic design (Heller and Talarico's *Graphic*, with 110 designers including Glaser, Bierut and Sagmeister), street art (Tristan Manco's *Street Sketchbook: Journeys*), field science (*Field Notes on Science and Nature*, arguing science is a creative discipline too), advertising (Griffin and Morrison's *The Creative Process Illustrated*, built on "process drawings" by top ad creatives), and fine art and illustration (Julia Rothman's *Drawn In*, with 44 artists). Each entry is brief and links out to a fuller review, so it works best as a reading list for browsing creative process across disciplines.

Permalink

5 Voyeuristic, Cross-Disciplinary Peeks Inside Great Creators' Notebooks | Brain Pickings

A roundup of five books that open up creators' private sketchbooks and notebooks as the closest available view of the creative process, following a previous look at Michelangelo's. The picks span graphic design (Heller and Talarico's *Graphic*, with 110 designers including Glaser, Bierut and Sagmeister), street art (Tristan Manco's *Street Sketchbook: Journeys*, 26 graffiti artists), field science (*Field Notes on Science and Nature*, with naturalists' journals and essays, from Lewis's fish notes to paleontology pages from Kenya), advertising (Griffin and Morrison's *The Creative Process Illustrated*, in which top ad creatives drew their own process), and fine art and illustration (Julia Rothman's *Drawn In*, 44 artists). The author's underlying claim is that science belongs among the creative disciplines, so a survey of creative minds is incomplete without it.

Permalink