jean-luc September 19, 2016 Share September 19, 2016 1430 ooooooh I see. Nice. I don't visit as often as I used to. If you want me to see something, make sure to quote a post of mine or ping me @jean-luc Link to comment Share on other sites More sharing options...
tulpa001 September 19, 2016 Share September 19, 2016 1431 1432 I count to four. Nonconsecutively. Host comments in italics. Tulpa's log. Tulpa's guide. Link to comment Share on other sites More sharing options...
jean-luc September 19, 2016 Share September 19, 2016 1433 I wonder what percentage of the numbers from 1 to 10,000 have their digits in consecutive order. EDIT: 1,675 of them do. 1.upto(10_000).find_all{|i| a = i.to_s.chars.to_a; a == a.sort || a == a.sort.reverse}.count #=> 1675 I don't visit as often as I used to. If you want me to see something, make sure to quote a post of mine or ping me @jean-luc Link to comment Share on other sites More sharing options...
bae6c4wv6aw46c September 19, 2016 Share September 19, 2016 1434 I need sleep Link to comment Share on other sites More sharing options...
tulpa001 September 19, 2016 Share September 19, 2016 1435 $ sleep >> /dev/bin Host comments in italics. Tulpa's log. Tulpa's guide. Link to comment Share on other sites More sharing options...
jean-luc September 19, 2016 Share September 19, 2016 1436 $ sleep >> /dev/bin What? `sleep` needs an amount of time to sleep as an argument, it doesn't output anything, and /dev/bin isn't usually a file on most systems. Am I missing something here? I don't visit as often as I used to. If you want me to see something, make sure to quote a post of mine or ping me @jean-luc Link to comment Share on other sites More sharing options...
tulpa001 September 19, 2016 Share September 19, 2016 1437 Yes. The number is optional. You can legally redirect the output of a command that produces no output. And the file being directed to does not need to exist. Host comments in italics. Tulpa's log. Tulpa's guide. Link to comment Share on other sites More sharing options...
Guest Anonymous September 19, 2016 Share September 19, 2016 1438 what? Link to comment Share on other sites More sharing options...
jean-luc September 19, 2016 Share September 19, 2016 1439 It requires a number on my system. Even if it's a valid command, it still doesn't make sense why it would exist. 1437 Yes. The number is optional. You can legally redirect the output of a command that produces no output. And the file being directed to does not need to exist. I don't visit as often as I used to. If you want me to see something, make sure to quote a post of mine or ping me @jean-luc Link to comment Share on other sites More sharing options...
tulpa001 September 19, 2016 Share September 19, 2016 1440 2^5 3^2 5 Eh, must have been hi when I wrote that. Host comments in italics. Tulpa's log. Tulpa's guide. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.