The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Matrixed-Out JARHs Not To Be Missed!

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Red Handed

Posts: 1158
Nickname: redhanded
Registered: Dec, 2004

Red Handed is a Ruby-focused group blog.
Matrixed-Out JARHs Not To Be Missed! Posted: Mar 2, 2005 10:28 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Red Handed.
Original Post: Matrixed-Out JARHs Not To Be Missed!
Feed Title: RedHanded
Feed URL: http://redhanded.hobix.com/index.xml
Feed Description: sneaking Ruby through the system
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Red Handed
Latest Posts From RedHanded

Advertisement

A little discussion worth preserving: Sam Roberts brought up ruby -rtracer -rsocket -enil, which spits out source code as binary text. He called it the “DIY Matrix Screensaver,” which must have dug into the skin of some of the sig wizards out there, because now we have a couple of bona fide scripts that both disseminate Matrix line noise into a phrase along the lines of: eh, yeah, you could say I use Ruby.

From Jannis Harder:

 puts"\e[2J\e[0;11r";$stdout.sync=true;c='/,-=<>*+.:&%$'.split'';k=[nil]*25#
 z=0x1c59f7d252f3573e0e198b8f06470cbc5.to_s(?$).tr"xqzp"," JR,";p=0;while p<
 11;i=-1;print"\eM"*7,"\e[0;0H",k.map{|q|q ?" ":c[rand(13)]},"\e[6;0H",k.###
 map{|q|l=z[i+=1,1];q ?l:"\e[C"},"\n",k.map{|q|q ?" ":"\e[C"};k[rand(25)]=##
 true;sleep 0.1;k.compact.size>24&&p+=1;end;sleep 2;puts"\e[2J\e[r"+z##JIX##

From Brian Schroder:

 z=0x585f689d4bf0636c157a335b6cfb6e3b178d.to_s(31).tr'dfgil',' JR!y';$><<####
 "\e[2J\e[0;11r";e=('!'..'/').to_a;$>.sync=a=proc{|d|k=0;(k|=(1<<<(0..26).map{|i|d[k[i]==0,i]}<<"\n";sleep 0.03}) while k<8**9-1};b=
 proc{|t,x|t ? e[rand 13] : z[x,1]};c=proc{|t,x|b[!t,0]};a[c];a[b];puts [z]*9
 sleep 2;puts"\e[2J\e[r"+z#######http://ruby.brian-schroeder.de##############

As always, from the font of everlasting lava: Ruby-Talk.

Read: Matrixed-Out JARHs Not To Be Missed!

Topic: Ruby Turns 12 Previous Topic   Next Topic Topic: Emacs and Ruby

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use