sparrk

Activity Graph

Page 1 of 1

2018-03-27

[20:02:39] sparrk: has joined #ruby
[20:02:39] sparrk: Changing host

2018-03-26

[03:31:58] sparrk: has joined #ruby
[15:01:52] sparrk: Ping timeout: 246 seconds
[15:03:56] sparrk: has joined #ruby
[18:00:24] sparrk: has joined #ruby
[18:00:24] sparrk: Changing host
[20:30:08] sparrk: has joined #ruby

2017-12-30

[05:38:43] sparrk: has joined #ruby

2015-08-14

[22:33:48] sparrk: has joined #ruby
[22:34:15] sparrk: Quick question. Why does URI report that '/' as relative?
[22:34:33] sparrk: isn't that an absolute uri?
[22:35:54] sparrk: I mean like this: https://gist.github.com/zachaysan/74020b8775148678276c
[22:36:32] sparrk: well if I'm going through an HTML document, and someone has an href="/" doesn't that take me to the host?
[22:36:47] sparrk: even if I'm on, say, youtube.com/watch/
[22:37:32] sparrk: Mine may be as well.
[22:39:05] sparrk: Whew. Well I'm happy to learn a gotcha, but now I'm calling into question things like relative and absolute. Writing a web crawler has been very crazy. (did you guys know about the <base> element?!)
[22:39:30] sparrk: Ok, I'll ask one of the URI maintainers for further instructions. Thanks for the help!
[22:40:40] sparrk: Thank you
[22:47:02] sparrk: [spoiler] Thanks for the explanation. I assumed that I could treat what "relative" and "absolute" mean in the browser.
[23:07:21] sparrk: has left #ruby: ("Leaving")