16 April 2014

The Ruby Reflector

Topic

Web browser

  Source Favicon
By Guest Post of New Relic 1 month ago.
Email

Browser page load time

Perhaps the most useful tool within New Relic's suite of applications is the browser page load time analysis. The tool uses RUM (Real User Monitoring) to measure the page load times experienced by actual users. The load time is split into Web Application, Network, DOM Processing and Page Rendering metrics, describing how long the page is taking to access, download and render.

The report showed that average page load times were around 8.5 seconds, …

newrelic.com Read
  Source Favicon
On ZURB 5 months ago.
Email

…as the framework. The best part? Ink works across all the major email clients: Client/ Browser Supported Issues Apple Mail ( Desktop) ✓ Apple Mail (iOS) ✓ Outlook (2000, 2002, 2003) ✓ Outlook (2007, 2010, 2013) ✓ Outlook (2011) ✓ ThunderbirdAndroidGmail ( Desktop) ✓ Gmail ( Mobile Web) ✗ Since Gmail doesn't support media queries, users will be presented with the desktop view. If mobile Gmail is a large part of your audience, we'd …

zurb.com Read
  Source Favicon
On igvita.com 6 months ago.
Email

Web browsing is latency bound and eliminating extra roundtrips is critical for delivering better performance. All Google servers are configured to begin new connections with TLS records that fit into a single network segment - it is critical to get useful data to the client as quickly as possible. Your server should do so as well!

P.S. For more TLS optimization tips, check out the TLS chapter in High Performance Browser Networking .

igvita.com Read
  Source Favicon
By Todd Hoff of High Scalability 6 months ago.
Email

…, HTTP 2.0, Optimizing Application Delivery, Primer on Browser Networking, XMLLHttpRequest, Server Side Events, WebSocket, and WebRTC.

I've often imagined there's a white board at Google with " Don't Erase!" written in red at the top. On it is a complicated diagram of every part of the web and Google's master plan for making that part better. The book reads a little like that imagined diagram. The Primer on Latency is a real eye opener. …

highscalability.com Read
  Source Favicon
By Kurtz of Viget.com Blogs 6 months ago.
Email

Browser compatibility is also an important consideration. Our application of this method of previewing has been with a small number of administrators who use modern browsers. If support for older browsers is a priority, this solution probably isn't for you.

The Sample Rails Implementation

We begin by defining a module that we use to create consistent preview keys for resources throughout the application. # lib/preview.rb module Preview private # Builds a localStorage key unique …

viget.com Read
  Source Favicon
On igvita.com 7 months ago.
Email

Optimizing Application Delivery 23 15 4,776 Primer on Browser Networking 5 3 1,618 XMLHttpRequest 16 14 5,109 Server-Sent Events (SSE) 6 11 1,681 WebSocket 38 25 5,583 WebRTC 52 87 12,266

In total, I've spent 412 hours staring into my text editor. This number is exact and based on RescueTime logging the foreground window. The research and review time was a harder one to track, since that involved online and offline time (e.g., reading …

igvita.com Read
  Source Favicon
On Labnotes 7 months ago.
Email

Open Repositories Directly in a Browser

I, Product

§ 10 Core Principles of Product Development . Case in point:

4. Processes are also products

Early stage startups don't full appreciate the value of a process because of the perception that it slows you down. But when you adopt Lean or Agile, these are based on tried and true processes. Think of discipline as a process. If you are disciplined about certain things, you will succeed. Why? Because bad processes, …

blog.labnotes.org Read
  Source Favicon
By Assaf Arkin of Labnotes 7 months ago.
Email

Open Repositories Directly in a Browser

I, Product

§ 10 Core Principles of Product Development . Case in point:

4. Processes are also products

Early stage startups don't full appreciate the value of a process because of the perception that it slows you down. But when you adopt Lean or Agile, these are based on tried and true processes. Think of discipline as a process. If you are disciplined about certain things, you will succeed. Why? Because bad processes, …

blog.labnotes.org Read
  Source Favicon
By Mislav of Mislav's blog 9 months ago.
Email

…locations with SSL CERT FILE and SSL CERT DIR environment variables. An HTTP client library such as Net:: HTTP will usually provide you with additional means of configuring these values.

SSL CERT FILE

A bundle of multiple PEM certificates in a single file, usually containing the CA bundle. If both this file and SSL CERT DIR are missing or empty, it's likely that your system or at least this installation of OpenSSL doesn't yet have the CA bundle installed.

On …

mislav.uniqpath.com Read
  Source Favicon
By Jesse Storimer of Ruby Inside 10 months ago.
Email

…use a socket directly, that would be cumbersome and error-prone. Instead, I use an abstraction. An HTTP client provides a more restrictive, simpler API that hides the socket interactions and associated edge cases from me.

If multi-threaded programming is hard to get right, maybe you shouldn't be doing it directly.

"If you add a thread to your application, you've probably added five new bugs in doing so."

- Mike Perham

We're seeing more and more abstractions …

rubyinside.com Read