23 April 2014

The Ruby Reflector

Topic

URIs

  Source Favicon
Email

…URI or Uniform Resource Identifier is how objects are identified. Clients use URIs to tell the server what object to act on for a given request. In more general terms a URI is nothing more than a web address.

Request Header Fields

A client can communicate additional information to the server via a request's headers. In addition to just communicating information about the client, ie. what type of browser the request originated from, these values can modify how the server responds …

robots.thoughtbot.com Read
  Source Favicon
By Joshua Timberman of Chef Blog 3 months ago.
Email

Ruby has excellent libraries for manipulating URIs and paths as strings, and it is easier to break up a string than compose a new one.

How can this be improved? First, we can set attributes for the full URL. The actual code for that is below, but suffice to say, it will look like this (note the version is different because the new cookbook installs a new Splunk version). default['splunk']['forwarder']['url'] = 'http://download.splunk.com/releases/6.0.1/universalforwarder/linux/splunkforwarder-6.0.1-189883-linux-2.6-amd64.deb' …

opscode.com Read
  Source Favicon
By Tammer Saleh of Tammer Saleh 3 months ago.
Email

OS X's Dictionary.app registers itself as a consumer of dict:// URIs. Simply add the following to your ~/.vimrc file: " Use \d on top of a word to look it up in Dictionary.app nmap <silent> <Leader>d :!open dict://<cword><CR><CR>

Now, whenever you're curious about finding inventive 1 ways of stating something - just type \d when your cursor is over the word.

...or creative, original, innovative, imaginative, ingenious, resourceful, …

tammersaleh.com Read
  Source Favicon
By David of Signal vs. Noise over 1 year ago.
Email

…that's the best way to prevent breakage. Like the W3C says: Cool URIs don't change . Which means this isn't much of a problem in the wild and even if it was, hypermedia APIs would still have big holes with direct links break.

Enabling discoverability

Good API docs explain what all the possible attributes of a resource are. They explain the possible values of those attributes. The options available and so forth. Thinking that we can meaningfully derive …

37signals.com Read
  Source Favicon
By drbrain of Segment7 almost 2 years ago.
Email

…does not terminate chunked transfer-encoding properly. Issue #116

Mechanize no longer raises an exception when multiple identical radiobuttons are checked. Issue #214 by Matthias Guenther

Fixed documentation for pre_connect_hooks and post_connect_hooks. Issue #226 by Robert Poor

Worked around ruby 1.8 run with -Ku and ISO-8859-1 encoded characters in URIs. Issue #228 by Stanislav O.Pogrebnyak

blog.segment7.net Read
  Source Favicon
By Assaf of Labnotes almost 2 years ago.
Email

Basline A Baseline for Front-End Developers .

In parallel Concurrency is not Parallelism (it's better) : keeping your gophers busy and learning a thing or two about Go.

Domains Domains in node.js, what to expect . Looks like a killer feature.

Garbage On the Use and Abuse of Garbage Collected Languages :

Data-size optimization in dynamic languages is the new cycle counting"

Easy The easiest way to parse URIs in JavaScript on the browser.

blog.labnotes.org Read
  Source Favicon
By Leigh Shevchik of New Relic 2 years ago.
Email

The benefits of decentralized addressing and routing via URIs, he argues, keep administrators' decisions (and mistakes) from having a peripheral impact, so "the damage is limited to that person's URI space." He goes on to say that web architecture provides a framework for standardization because URIs give the motley horde of administrators a fixed set of parameters for routing. Therefore, there's less variation for developers to consider - and what complexity prevails …

newrelic.com Read
  Source Favicon
By Leigh Shevchik of New Relic 2 years ago.
Email

DNS, the network stack, and the Internet backbone operators." Because URIs are used to address nodes and resources, the technologies are then shared across the web. Everyone within the environment, therefore, reaps the benefits without necessarily even realizing the topology has shifted.

Although we arrive at a different conclusion on the matter, you can't argue with his assessment of what's going on behind the scenes. In fact, a paper we've referenced several times in …

newrelic.com Read
  Source Favicon
By drbrain of Segment7 2 years ago.
Email

Meta refresh URIs are now escaped (excluding %). Issue #177

Fix charset name extraction. Issue #180

A Referer URI sent on request no longer includes user information or fragment part.

Tempfiles for storing response bodies are unlinked upon creation to avoid possible lack of finalization. Issue #183

The default maximum history size is now 50 pages to avoid filling up a disk with tempfiles accidentally. Related to Issue #183

Errors in bodies with deflate and gzip responses …

blog.segment7.net Read
  Source Favicon
By Trevor of Trevor Turk over 2 years ago.
Email

…per-directory .rvmrc files to set per-application environment variables for configuration (e.g. DB URIs, API keys, etc.) on our dev machines.

summarized the changes over 1.9.2 ( Ruby 1.9.3 Release Candidate 1 Released (What's new?))

A First Look at BankSimple | BankSimple Blog

Gem Versioning and Bundler: Doing it Right « Katz Got Your Tongue?

dwilkie/carrierwave_direct - GitHub

Process your uploads in the background by uploading …

almosteffortless.com Read