John Cox

Blogs · @wyome · Now · Shelf

Tagged development · everything

Interesting

Kirby – Home

I can't summarize this content because it's a product marketing page for Kirby CMS, not an article or news piece with an argument or report to distill. It consists of feature descriptions, testimonials, and promotional claims rather than substantive reporting or analysis that would warrant a summary.

Permalink

Bootstrap 2.2.2 released · Twitter Bootstrap Blog

Bootstrap 2.2.2 introduces multiple bug fixes and improvements across documentation, CSS, and JavaScript components, including retina-ready assets, better dropdown and popover behavior, improved table nesting, and enhanced typeahead functionality. The release also incorporates print styles from HTML5 Boilerplate and fixes various mobile compatibility issues. The Bootstrap team signals that future development focus will shift toward version 3.0.0.

Permalink

Git: Twelve Curated Tips And Workflows From The Trenches - be present now

This collection of practical Git workflows addresses repetitive problems developers face, from display issues like line wrapping in diffs to complex operations like cherry-picking between repositories and rewriting commit history. The twelve tips range from simple configuration tweaks (wrapping long lines, setting proxies) to advanced techniques (selectively stashing files, modifying specific commits via interactive rebase, and promoting a branch to master while preserving merge history). The post emphasizes that many of these solutions come from repeated lookups and eventual alias creation, making it a curated distillation of real-world Git usage patterns.

Permalink

14 Handy jQuery Code Snippets for Developers - Treehouse Blog

This article provides 14 practical jQuery code snippets covering common frontend tasks like hover effects, preventing default link behavior, animating elements, toggling visibility, handling form data with Ajax, manipulating CSS classes and attributes, and traversing the DOM. The snippets are presented as blank templates that developers can customize for their own projects, ranging from beginner-friendly functions like scrolling to top to more advanced techniques like loading external content and keystroke event handling.

Permalink

Why I Have Given Up on Coding Standards | Richard Rodger

The author argues that formal coding standards are counterproductive and based on flawed reasoning rooted in developers' own ego and need for control. He traces how well-meaning programmers who internalize best practices often become dogmatic managers imposing rigid rules that don't actually improve outcomes, and contends that trusting skilled developers to make their own judgments about code quality produces better results than constraining them with standards. At his company nearForm, he abandoned coding standards entirely, instead relying on developers' professional judgment to write clean code according to context-specific needs.

Permalink

Darsain/sly · GitHub

Sly is a jQuery-based JavaScript library that enables smooth, one-directional scrolling with multiple navigation methods including mouse wheel, dragging, touch input, and automated cycling. It uses optimized animation rendering with requestAnimationFrame and GPU acceleration for performance, while maintaining broad browser compatibility including legacy versions. The library offers a comprehensive API with numerous configuration options and methods for controlling scroll behavior and positioning.

Permalink

Understanding the Principles of Algorithm Design | Nettuts+

An algorithm is a set of step-by-step instructions for completing a task efficiently—not just any function, but one designed with optimization in mind, like binary search completing in seconds what brute-force searching might take years to do. The article explains how algorithms power major tech companies and provides practical principles for everyday developers: understanding your input, knowing how your tools work under the hood, grasping how your code interacts with the larger system, and systematically reducing unnecessary operations through caching, loop optimization, and clever techniques like divide-and-conquer. Becoming proficient requires consistent study and practice with algorithm challenges to build intuition for writing performant code.

Permalink

Chrome Dev Tools: Markup and Style | Nettuts+

This tutorial introduces Chrome Developer Tools, focusing on the Elements panel for inspecting and modifying HTML markup and CSS styles in real time, and the Resources panel for viewing page assets including images, fonts, scripts, stylesheets, cookies, local storage, and cached files. It covers practical features like hovering over elements to highlight them on the page, using the box model visualization to diagnose layout issues, editing CSS properties with auto-completion, and understanding how browsers store authentication data and performance-enhancing resources through cookies and local storage.

Permalink

jwerty - Awesome handling of keyboard events

jwerty is a lightweight JavaScript library (1.5kb minified and gzipped) that simplifies keyboard event handling by allowing you to bind, fire, and assert key combinations using intuitive string syntax rather than the browser's native keyboard API. It supports global shortcuts, key sequences, optional key alternatives, regex-like key ranges, and element-specific bindings, with methods like `jwerty.key()` for binding callbacks, `jwerty.is()` for checking events, and `jwerty.fire()` to trigger keyboard events programmatically.

Permalink