News for hackers. Stuff that matters.
Re:A single line of Basic sends readers into a labyrinth by petercooper on Friday November 30, 2012 @10:17PM (#4856705)
I can't resist a golf!

    ruby -e 'print %W{\u2571 \u2572}.sample while sleep 1e-3'
(Updated: Made 3 chars shorter.)

And a shorter, but cheats, version:

    yes|ruby -pe'$_=%W{\u2571 \u2572}.sample;sleep 1e-3'
My favorite overall balance of readability and shortness though is:

    ruby -e 'print %w{╱ ╲}.sample while sleep 0.01'
Re:A single line of Basic sends readers into a labyrinth by inkel on Saturday December 01, 2012 @04:45AM (#4857246)
Amazing! I always forget about the `something while other_thing` syntax, thank you for reminding me of it :)