Search Results
Running with Shoes – Form and Function
The Shoes microframework has a small number of succinct data entry controls. Essentially you can create User Interface forms and screens with buttons, text fields, text areas, and select options. All of the Shoes UI controls can have associated code blocks that execute when the control changes. For example, lets create a text field in […]
Running with Shoes – Tasty Text
The Shoes toolkit has a nice rich text format support. At first sight it might seem that Shoes text support borrows a lot from HTML, for example the most commonly used text block is para. In addition to the paragraph text block, you can use banner, title, subtitle, tagline, caption, and inscription. [source:ruby] Shoes.app do […]
Nobody Knows Shoes
Nobody knows Shoes and once you know that, you know all you need to know about Shoes. You may think you know Shoes but nobody knows Shoes. Nobody Knows Shoes is a freely available artwork API documentation for the Shoes framework, developed by the prolific Ruby hacker, writer, and cartoonist Why the Lucky Stiff. I […]
Running with Shoes – Show Me More
This tutorial describes some of the basic graphic capabilities of the Shoes Ruby-based mini-GUI toolkit. Shoes Fade Here is a good example of Shoes oval method in action. For a lack of a better name I call this example Fade Into Black. It is just a series of circles getting 25%. Here is the source […]
Running with Shoes – Transform
This tutorial describes some of the basic graphic capabilities of the Shoes Ruby-based mini-GUI toolkit. Working with complicated graphics, it is often a good idea to work around a given point of origin and then move, rotate, or scale the image as required. Like many GUI toolkits, Shoes origin is located at the top left […]
Running with Shoes – Colorfy
This tutorial describes some of the basic graphic capabilities of the Shoes Ruby-based mini-GUI toolkit. With Shoes you can set the fill and stroke color for the different shapes you draw. To start off with some examples using color, here is how to turn the fill and stroke color off. You can disable the fill […]
Running with Shoes – Shapely
This tutorial describes some of the basic graphic capabilities of the Shoes mini-GUI toolkit. Arrow The Shoes mini-GUI toolkit has a arrow method that draws a simple arrow pointing to the right. You can pass in the location of the tip of the arrow in the form of xy coordinates. The arrow method takes a […]
Running with Shoes – 2D Examples
I’ve already mentioned the Shoes, the mini Ruby-based GUI Toolkit, and gone into detail about its 2D graphics capabilities. In this post I will just provide some additional example of animated graphics developed with Shoes. Shoes Bubbles This sample application follows the mouse when it hovers around the application window and draws growing bubbles. The […]
Running with Shoes – 2D Graphics and Animation
I’ve already gone over the basic UI features of the Shoes toolkit. Shoes is a nice little domain specific language for developing GUI applications in Ruby. Here I’ll go over some of the 2D graphics and animation capabilities in Shoes. Shoes has a light weight 2D support where you can draw lines, rectangles, and circles. […]
Running with Shoes – A Mini GUI Toolkit
Shoes is a cross-platform mini-gooey toolkit for the Ruby programming language written _Why. I installed Shoes on an Ubuntu box ran with it (bad pun intended). Let’s move from puns to code. A simple Shoes application is wrapped around the following piece of code. [source:ruby] Shoes.app :height => 250, :width => 200 do end [/source] […]
The Future of Apple TV
Hard core techies have been able to stream online content to their televisions for years! Even as far back as 4-5 years ago you could have streamed content through XBox and manage it through Media Center. I know some several folks that are using a general purpose Mac Mini connected to a TV to streamline […]
The Ultimate Geek Gift Guide 2009
This geek gift guide is not so much for geeks and techies but for those that have geeks and techies in their life and need a little help in finding the right geek gift this holiday season. So if you don’t know what is the hottest gift item or you want to redeem yourself from […]
Songs in Code
Programming related hashtags don’t make the top trend on Twitter. But last Friday night, when most people are out except geeks, the hashtag #songsincode made it to the top trends on Twitter. As of today, here some of my favorite songs in code. Songs in Code @juixe: if(self.getLikes().contains(BIG_BUTTS) && !self.canLie()) {other.getBrothers().deny(false); you.getFace().add(ROUND_THING); you.getSprung()} #songsincode @techknow: […]
Retweet May 2009
From time to time I just blast tweets about software development, project planning, team dynamics, or whatever else comes to mind. Here is a synopsis of recent tweets and rants. If you want to follow the conversation follow me at techknow and I’ll be sure to follow back. Programming Some people expand their mind, I […]
The Rubyist: December Edition
Here is a recap of the top Ruby-related links for the month of December 2008. Links for The Rubyist are provided by A Rubyist Railstastic Adventure, a tumblelog. Merb Joins Rails The Merb / Rails merger announcement, an inside opinion Rails and Merb core team working together on their next release Merb *is* Rails Rails […]