14 Jan '14, 7pm

ruby: the source of the method confuses me further

check the query v component for RFC2396 compliance and against the URI::Parser Regexp for :QUERY Can not have a opaque component defined, with a query component defined. Show source # File lib/uri/generic.rb, line 882 def check_query ( v ) return v unless v # raise if both hier and opaque are not nil, because: # absoluteURI = scheme ":" ( hier_part | opaque_part ) # hier_part = ( net_path | abs_path ) [ "?" query ] if @opaque raise InvalidURIError , " query conflicts with opaque " end if v && v != ' ' && parser . regexp [ :QUERY ] !~ v raise InvalidComponentError , " bad component(expected query component): #{v} " end return true end

Full article: http://apidock.com/ruby/URI/Generic/check_query

Tweets

Lazing With A Ruby

Lazing With A Ruby

hackaday.com 11 Jan '14, 12am

While the design and manufacture of the first ruby laser was astonishingly complex, the basic idea behind it is pretty sim...

Ruby 2.1.0 Changes of Note

Ruby 2.1.0 Changes of Note

pivotallabs.com 15 Jan '14, 10pm

Release is nearly a month old, so its well past time to look over the changes and uncover the features least discussed. Th...

Open Source Access to Your Brain, using Autodesk Maya via @PDandD

Open Source Access to Your Brain, using Autodes...

pddnet.com 14 Jan '14, 4pm

The team at OpenBCI is trying to undermine the “ivory tower of intellectual property” and prove another way to do business...

水馬メモ Ruby in Twenty Minutes #SmartNews

ruby-lang.org 15 Jan '14, 12am

This is a small Ruby tutorial that should take no more than 20 minutes to complete. It makes the assumption that you alrea...

Visualizing Garbage Collection in Ruby, JRuby &...

pivotallabs.com 15 Jan '14, 1am

Visualizing Garbage Collection in Rubinius, JRuby and Ruby 2.0 Watch live streaming video from pivotallabs at livestream.c...

We still need a couple more sponsors to make @l...

larubyconf.com 09 Jan '14, 9pm

With out the continued support of the companies below the Los Angeles Ruby Conference would not be the quality it is today...

the schedule for #larubyconf 2014. Feb 6-8 in #...

larubyconf.com 13 Jan '14, 6pm

The sixth annual Conference will be February 8, 2014 Workshops will be held February 6 and 7 LA Ruby Conf 2014 $199 Early ...

the speakers list is updated for #larubyconf 20...

larubyconf.com 13 Jan '14, 9pm

Matthew is passionate about delivering quality software at ludicrous speed. He believes in collaborative thinking in an op...

Lux: A 100% Open Source Camera

Lux: A 100% Open Source Camera

hackaday.com 15 Jan '14, 9pm

[Kevin Kadooka] recently finished his open source camera. The Lux Camera is 100% open source. Lux uses no parts from other...

Paul Dix presents InfluxDB - An open source tim...

pivotallabs.com 09 Jan '14, 5pm

InfluxDB – An open source time series, metrics, and analytics database Watch live streaming video from pivotallabs at live...

Skyhook's Open-Source Bitcoin ATM Will Cost Under $1,000

Skyhook's Open-Source Bitcoin ATM Will Cost Und...

coindesk.com 13 Jan '14, 2pm

There are a surprising number of bitcoin ATMs currently on the market for entrepreneurs willing to make an investment. Com...

[Bunnie]‘s Open Source Laptop Is Ready For Prod...

hackaday.com 12 Jan '14, 12pm

Just over a year ago, [Bunnie Huang] announced he was working on a very ambitious personal project: a completely open sour...

Sam Ruby: Software in 2014:

intertwingly.net 10 Jan '14, 11am

We have a model, view, and controller on the client, seemlessly interacting with the model, view, and controller on the se...

Sam Ruby: Software in 2014

intertwingly.net 10 Jan '14, 8am

We have a model, view, and controller on the client, seemlessly interacting with the model, view, and controller on the se...

Sam Ruby: HTML5 Mode Links

intertwingly.net 13 Jan '14, 7pm

HTML5 Mode Links Mon 13 Jan 2014 at 17:46 Based on a suggestion by Tim Bray, I converted my board agenda Angular.js applic...