hoodwink.d enhanced
RSS
2.0
XHTML
1.0

RedHanded

Stream Copy YouTube, Revver, Etc. #

by why in inspect

said on 19 Feb 2007 at 13:20

Awesome syntax highlighter. When can we expect the etch-a-sketch version to be released?

said on 19 Feb 2007 at 14:35

Could you please use a mono-space font next time?

said on 19 Feb 2007 at 14:54

Where’s the pastie?

said on 19 Feb 2007 at 14:56

I admire your artistry and attention to detail, and the style is refreshingly different. It is a bit tricky to enlarge this in Firefox, unlike other text on the site for which I can use the scroll wheel. Would you consider making these artworks into links to the plain text versions, please? I don’t want to cramp your style, or stifle creativity – you’ll have to continue these until you have have enough for 3 volumes [“The Art of Computer Programming” :-)]. These things (more prographs then programs, but I think that name is taken] must take a long time to do.

said on 19 Feb 2007 at 15:00

My dad always said I should take coloured pencils into exams, just in case.

Why do you use Net::HTTP.start in the 1st instance, instead of another Hpricot(KEEPVID.read)? Is it the only way to do the POST call with the additional params?

said on 19 Feb 2007 at 15:01

But that would defeat the whole point! We are to live as scribes do.

said on 19 Feb 2007 at 15:17

Oh my god. Is your wonderful editor available on mac ? Or your font freely usable ? Have you ever though making a font from the divine moves of your hands ?

said on 19 Feb 2007 at 15:41

The editor is in your mind.

said on 19 Feb 2007 at 16:13

I think this is good. It reminds me of the 80s when you had to type in code from the back of magazines.

said on 19 Feb 2007 at 17:26

So where’s the checksum column already?

said on 19 Feb 2007 at 18:19

http://pastie.caboo.se/41538 I’m reasonably certain I transcribed it correctly.

said on 19 Feb 2007 at 19:52

Maybe we should be careful where/when we transcribe such things—perhaps why is trying to give those of us among us who identify as human a slight headstart on those of us who are more machine…

said on 19 Feb 2007 at 22:21

WhyStiff… perpetually stuck in kindergarten…

said on 20 Feb 2007 at 00:08
said on 20 Feb 2007 at 06:19

More like _why: perpetually sexy! I am pleased to report that the balloon works quite well. Now I can enjoy my crazy cat videos offline!

said on 21 Feb 2007 at 09:03

Ben: Ha! Look beneath the surface. If someone saves your life with a Lego brick, are they in kindergarten too?

said on 21 Feb 2007 at 20:21

When in doubt, 303 See Other:

module YouTube
  class << self
    def flv_url(id)
      url = nil
      Net::HTTP.start('youtube.com', 80) do |http|
        t = http.head("/v/#{id}")['location'].split('&').last
        url = http.head("http://youtube.com/get_video?video_id=#{id}&#{t}")['location']
      end
      url
    end
  end
end
said on 21 Feb 2007 at 20:22

Oh my, a boo-boo. Apologies.

said on 27 Feb 2007 at 02:57

ruby keepvid.rb URL to a video ( to quit): http://keepvid.com/watch/4 keepvid.rb:13:in `keep_vid’: undefined method `[]’ for nil:NilClass (NoMethodError) from /usr/lib/ruby/1.8/net/http.rb:545:in `start’ from /usr/lib/ruby/1.8/net/http.rb:440:in `start’ from keepvid.rb:11:in `keep_vid’ from keepvid.rb:44 from keepvid.rb:41

What to do?

11 Jul 2010 at 20:45

* do fancy stuff in your comment.

PREVIEW PANE