18 May 2013

The Ruby Reflector

Topic

URIs

  Source Favicon
By David of Signal vs. Noise 5 months 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 1 year 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 1 year 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 1 year 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 over 1 year 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 over 1 year 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 1 year 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
  Source Favicon
By Jimmy Thrasher of Engine Yard Developer Blog over 2 years ago.
Email

…UIWebViewDelegate's webView:shouldStartLoadWithRequest:navigationType:). Our web page can emit URIs of various kinds, some ‘http:' and some ‘platformintegration:'. If our code sees a ‘ platformintegration:' URI, it processes it itself, and leaves all other URIs to load normally. Let's look at some details.

If you take a look at the platform_integration.js snippet, you'll notice the following line:

window.location = 'platformintegration:formchanged'; …

engineyard.com Read
  Source Favicon
Email

…http://localhost:9292/version/whatever/doesnt/matter , you'll see "infinity 0.1" and for all the URIs not starting with /version - http://localhost:9292 - you'll see the env hash inspect string!

Please note that :

/versionsomething WILL NOT show the version, but will display the env inspect.

When you have multiple map blocks, URIs are tried from longest length to shortest length.

Nesting map blocks

Let's say you feel like adding information …

m.onkey.org Read
  Source Favicon
Email

all URIs. You will find yourself rewriting your URI patterns all over your code whenever one place references another one.

In JAX-RS you can design your code to wrap URI Builder in your project and only duplicate URIs once. But still there is one duplication, it is not refactor friendly and it is up to the developer to remember using this pattern.

Back in january 2009, Vraptor adopted a proxy approach that is refactor friendly and type safe , two important characteristics from …

guilhermesilveira.wordpress.com Read