Ruby will get a safe navigation operator: '.?'

Ruby gains a safe navigation operator for calling methods only when an object is present, avoiding nil checks and andand-style chaining.

Sending TCP keepalives in Ruby

TCP sockets can stay half-open when the remote side disappears silently; enabling keepalive probes helps clients detect dead connections and time out sooner.

Check SSL certificates

Missing intermediate certificates can make HTTPS connections fail with trust and issuer-chain errors in browsers, curl, and OpenSSL.

grosser/parallel

Utility methods for parallel iteration and mapping across multiple threads or processes, useful when single-threaded work is too slow.

How to repair a corrupt PDF

Broken PDFs can fail to render or embed in tools like xelatex; pdftk can rewrite them into a usable file.

Fix "subprocess installed post-removal script returned error exit status ..." when installing/removing/updating a package with apt

APT package operations can fail when maintainer scripts return exit status 78, often because postinst, postrm, or prerm scripts hit leftover files or mounted directories.

Show or hide a jQuery element given a condition

Conditional element visibility in jQuery can be shortened by using toggle(condition) instead of separate show() and hide() calls.

Test downstream bandwidth of Internet connection

Check whether an internet uplink can sustain 1GE or 10GE throughput by pushing traffic internally or from many public mirrors.

How to remove properties of ActiveRecord scopes

unscope removes selected ActiveRecord scope constraints such as where and order, while unscoped returns an entirely unconstrained relation.

Detect the current jQuery version

Read the jQuery version from $.fn.jquery to check which library release is loaded at runtime.

Find your Thunderbird passwords

Thunderbird account passwords are hidden in a separate password manager instead of Account Settings. Saved passwords can be revealed through the security preferences.

A case for Redactor

Redactor is a WYSIWYG editor with a polished interface, strong documentation, and extensibility, but pasted text handling and tag replacement can be unreliable.

How to disable Rails raising errors on pending migrations in development

Rails 4 can block page loads in development when migrations are pending, which interrupts experimenting with a new migration. Setting config.active_record.migration_error to false disables the check.

Web Fonts Performance // Speaker Deck

Web fonts can delay rendering and leave pages blank on slow networks. Preloading, font-display, and HTTP/2 help keep text visible while fonts load.

Heads up: Ruby implicitly converts a hash to keyword arguments

Ruby may treat any object with to_hash as keyword arguments, so methods with optional and keyword parameters can receive the wrong value or raise ArgumentError.

Enhanced error messages when hash keys are missing

Missing hash entries raise vague KeyErrors; a custom decent_fetch can include the full hash content for easier debugging of parsed API responses.

ExceptionNotification gem will only show application backtrace starting on Rails 4

Rails 4 exception emails from ExceptionNotification may lose gem and library lines because the default backtrace cleaner filters them out.

OR-ing query conditions on Rails 4 and 3.2

Rails 4 and 3.2 lack ActiveRecord::Relation#or for combining query conditions; activerecord_any_of provides any_of and none_of for cleaner disjunctive filters.

pgAdmin has a "graphical EXPLAIN" feature

pgAdmin can present PostgreSQL EXPLAIN output in a readable graphical form, making query plans easier to inspect than raw console text.

Rarely say yes to feature requests

Feature requests can trade long-term product focus for short-term satisfaction. A simple yes/no check helps decide whether new roadmap items are worth the cost.

Terminal escape sequences – the new XSS for Linux sysadmins

Terminal escape sequences can hide malicious shell script content, making a file look harmless in cat while executing different commands when run.

Regain unused disk space from OpenStack instances

Reclaim wasted storage from oversized OpenStack qcow2 instance disks by shrinking the image after zeroing free space and recreating the file.

httpclient: A Ruby HTTP client for serious business

httpclient is more than a thin net/http wrapper: it reuses persistent connections across threads, manages cookies, and supports asynchronous requests and debug output.

Error installing gem with native extension (collect2: error: ld returned 1 exit status)

Native gem builds can fail with collect2: error: ld returned 1 exit status when required development headers or libraries are missing, such as libgmp on Debian-based systems.