graysoftinc.com
Gray Soft / Not Found
http://graysoftinc.com/tags/Terminal%20I/O
The Ruby Rogues Podcast. Rubies in the Rough. The page I hope you dont see. Sorry, an error has occurred. The page you requested could not be found. Rubies in the Rough. The Ruby VM Interview. Tools of the Trade. He does all of this just because he loves to program. This site is where he writes about that. School form: What motivates your child? My answer: Autonomy, mastery, and purpose. Mdash; about 8 hours. Mdash; 1 day.
graysoftinc.com
Gray Soft / The Standard Library
http://graysoftinc.com/the-standard-library
The Ruby Rogues Podcast. Rubies in the Rough. Digging into those helpful libraries that ship with Ruby. The Secret Shell Helper. Someone pops onto the Ruby Talk mailing list fairly regularly asking how to break up content like:. One "two" "a longer three". They expect to end with a three element. Where the third item will contain spaces. They generally expect the quotes will have been removed as well. If your needs are very, very simple you may be able to handle this with a regular expression:. I came up...
graysoftinc.com
Gray Soft / Early Steps
http://graysoftinc.com/early-steps
The Ruby Rogues Podcast. Rubies in the Rough. My content targeted at the newer Rubyists among us. The Evils of the For Loop. I've never liked the. Loop in Ruby. I cringe every time I see it in examples (Rails seems to put it in views a lot) and I tend to switch it to an. Call It really bugs me. That's mostly just my gut reaction, but if I had to put it into words it's that I fell in love with Ruby's iterators early on and. First, let's see what I'm talking about. We are all pretty comfortable with. Strin...
graysoftinc.com
Gray Soft / Ruby Voodoo / Working With Multiline Strings
http://graysoftinc.com/ruby-voodoo/working-with-multiline-strings
The Ruby Rogues Podcast. Rubies in the Rough. Deep dives into random corners of my favorite programming language. Working With Multiline Strings. I imagine most Rubyists are aware that Ruby has "heredocs," but do you really know all they can do? A "here document" is a literal syntax for a multiline. In the most basic form, they look like this:. This is a n multiline, nas is String! Syntax introduces the heredoc, but it actually begins at the start of the following line. It continues until. This is messag...
graysoftinc.com
Gray Soft / Tags / Hidden Features
http://graysoftinc.com/tags/Hidden%20Features
The Ruby Rogues Podcast. Rubies in the Rough. Posts tagged with Hidden Features. Some APIs provide collections of dirt simple methods that just do one little thing. This approach in less common in Ruby though, especially in the core and standard library of the language itself. Ruby often gives us rich methods with lots of switches we can toggle and half hidden behaviors. Let's look at some examples of what I am talking about. I suspect most Rubyists have used. To read lines of input from some kind of.
graysoftinc.com
Gray Soft / Ruby Voodoo / Rich Methods
http://graysoftinc.com/ruby-voodoo/rich-methods
The Ruby Rogues Podcast. Rubies in the Rough. Deep dives into random corners of my favorite programming language. Some APIs provide collections of dirt simple methods that just do one little thing. This approach in less common in Ruby though, especially in the core and standard library of the language itself. Ruby often gives us rich methods with lots of switches we can toggle and half hidden behaviors. Let's look at some examples of what I am talking about. I suspect most Rubyists have used. Is a magic ...
graysoftinc.com
Gray Soft / Rubies in the Rough
http://graysoftinc.com/rubies-in-the-rough
The Ruby Rogues Podcast. Rubies in the Rough. Rubies in the Rough. This is where I try to teach how I think about programming. When we think of real multiprocessing, our thoughts probably drift more towards languages like Erlang, Go, Clojure, or Rust. Such languages really focus on getting separate "processes" to communicate via messages. This makes it a lot easier to know when one process is waiting on another, because calls to receive messages typically block until one is available. But what about Ruby?
betweenscreens.fm
Between | Screens - James Edward Gray II
http://betweenscreens.fm/episodes/136
James Edward Gray II. James Edward Gray II. James Edward Gray II. Please tell us about your screencasting project? Why did you decide to approach teaching to code from the perspective that people might have trouble reading code properly? Any other future plans for screencasting? Why do you think this is a good hook or a good point of entry to teach people to be better at coding? What frequency do you have in mind for releasing episodes and what are your plans for pricing this? And actively reading code.
graysoftinc.com
Gray Soft / Terminal Tricks / Basic Curses
http://graysoftinc.com/terminal-tricks/basic-curses
The Ruby Rogues Podcast. Rubies in the Rough. A deep dive into the ways we can get fancy output out of our terminals. This post is part of a series. Larr; Previous Post. Rarr; Next Post. In my last article. Probably the most famous of these higher abstraction libraries is. However, your version won't be called that. Was the original library for System V UNIX. These days you are far more likely to have. Which is the same library with. Read: non-ASCII) support. Also,. Have been this very thorough. It does ...