John Cox

Blogs · @wyome

Tagged tutorial · everything

canvaScript

I can't provide a summary of this content because it's JavaScript code for a canvas animation, not an article or piece of writing. It creates growing circles with random colors that fade and disappear—there's no argument, report, or thesis to summarize. If you meant to save an article or text piece, please share that instead.

Permalink

Hiding Content for Accessibility - Snook.ca

This article evaluates different CSS techniques for hiding content visually while keeping it accessible to screen readers, examining the specific failures of each approach: text-indent fails with right-to-left languages, collapsed positioning doesn't work with Apple's Voice Over, absolute positioning causes unwanted page scrolling when focused, and the clip method triggers unexpected scrollbars in Webkit and Opera browsers. The author proposes a hybrid solution combining absolute positioning, clipping, and minimal dimensions to avoid these pitfalls while maintaining both screen reader accessibility and proper focus behavior.

Permalink

A List Apart: Articles: Web Cryptography: Salted Hash and Other Tasty Dishes

Modern cryptography gives web developers powerful tools to protect user data, but requires understanding when and how to apply different types correctly. The article explains three main cryptographic approaches: hashing (one-way functions ideal for password storage, especially when "salted"), symmetric encryption (fast and reversible but requires keeping a shared secret key), and asymmetric encryption (slower but enables secure communication between parties who haven't pre-shared keys, like in HTTPS). Even seemingly low-profile applications need robust security because attackers use automated methods and password reuse means compromising one weak system can expose users across many platforms.

Permalink

10 Rock Solid Website Layout Examples

This article presents ten versatile webpage layout templates—from simple three-box designs to complex power grids—that serve as flexible starting points for designers facing layout challenges. Rather than promoting cookie-cutter design, the author emphasizes that these layouts rely on proven structural principles like proper alignment and whitespace management, while their visual uniqueness comes from individual styling choices in color, typography, and graphics. Each layout is illustrated with silhouettes and real-world website examples to demonstrate how the same basic structure can support vastly different aesthetics across portfolios, landing pages, galleries, and blogs.

Permalink

HTML5 — Edition for Web Developers

The HTML Standard now has a "developer's edition" that strips out implementation details relevant only to browser vendors, keeping only what working web developers need to know. This condensed version is automatically generated from the full specification, ensuring it stays current with the latest HTML developments. The creators welcome contributions on GitHub to improve the resource for the developer community.

Permalink

jQuery Menus with Stunning Animations - Noupe Design Blog

This article curates a collection of jQuery tutorials for creating visually appealing navigation menus with various animation effects—including scrollable thumbnails, drop-down menus, overlay effects, and bounce animations. It argues that attractive, animated menus are essential for user retention since visitors judge a site's quality within seconds and will leave if navigation is unappealing. The piece serves as a resource guide linking to multiple jQuery menu implementations rather than providing original instruction.

Permalink

A selection of Mac OS X keyboard shortcuts | 456 Berea Street

Mac OS X contains extensive keyboard shortcuts that allow users to accomplish nearly any task without touching the mouse, contrary to the common misconception that the operating system requires frequent mouse use. The author provides comprehensive tables of essential shortcuts organized by category—global commands, Finder operations, text navigation and selection, and application functions—noting that many remain obscure because they don't appear in menus. Users can further customize these shortcuts and enable Full Keyboard Access through System Preferences to maximize keyboard-only navigation.

Permalink

When to Use the HTML5 “section” Element

The author clarifies the HTML5 `<section>` element's proper use by consulting the specification and establishing that it represents a thematic grouping of content but should not be used for syndicated material (which requires `<article>` instead) or for styling purposes (which require `<div>`). Through a series of practical do's and don'ts, the piece demonstrates that `<section>` has limited appropriate uses—primarily for non-syndicated, thematically-related content like chapters, tabbed sections, product descriptions, or employee bios—making it one of HTML5's more confusing and perhaps unnecessary semantic elements.

Permalink

Typograph (lamb.cc)

An interactive exploration of how typographic scale and rhythm work together on web pages, using Robert Bringhurst's principles as a foundation. The piece explains how to establish a base font size on the body element, set appropriate line-height to create vertical rhythm (symbolized as λ), and then compose all other type sizes in relation to this baseline using the em unit, allowing the entire design to scale proportionally. Draggable interface elements let readers experiment with different typographic scales (traditional, Fibonacci, Modular) and see how subheadings can be adjusted while maintaining the vertical grid that keeps text aligned to consistent rhythm.

Permalink

10 Practical PHP Regular Expression Recipes

# Explorando el futuro de la tecnología conversacional en español Los avances recientes en inteligencia artificial están transformando cómo las personas interactúan en español a través de modelos de lenguaje cada vez más sofisticados que mejoran el procesamiento del lenguaje natural. El artículo examina las oportunidades únicas y desafíos específicos que presenta la tecnología conversacional para los hispanohablantes, considerando cómo esta revolución impactará el día a día de millones de usuarios.

Permalink

Cocoa with Love: Version control for solo Mac developers

This guide demonstrates how to set up and use Git for version control in Xcode projects on Mac, emphasizing that even solo developers benefit from version control's ability to track changes more precisely than Time Machine, review their own code, and easily test across multiple machines. The author recommends the GitX graphical interface over command-line Git, provides step-by-step setup instructions including creating a .gitignore file and initial repository commits, and explains practical workflows like cloning repositories to other computers and managing third-party code as submodules.

Permalink

Using CSS without HTML | CSS-Tricks

HTML elements like `<html>`, `<head>`, and `<body>` are optional in source code because browsers automatically generate them, meaning they can still be styled with CSS even when absent. The author demonstrates this by creating a webpage with zero HTML content, instead delivering all styling through an HTTP `Link` header (defined in RFC 5988) that references an external stylesheet, which generates and styles the implied elements using CSS pseudo-elements. While these techniques are clever explorations of browser behavior, they're impractical for real websites due to quirks mode rendering, validation failures, and lack of widespread browser support for the Link header.

Permalink