How to Graph a Heart Curve in Roblox with Lua

Untitled-1So  my kid has been playing with Roblox for some time now.  I’m not here to explain what it is, rather this post is specific to graphing mathematical objects in Roblox with Lua scripting.

The video and the code that follows is all that you need to graph a Heart Curve (cardoid) in Roblox using Lua scripting without having to add ANY objects from the toolbox. 

Feel free to check out my Roblox Lua scripts at GitHub.

for x = -1,1,.01 do
local q = math.sqrt(1-x*x)
local y0 = math.sqrt(x*x) - q
local y1 = math.sqrt(x*x) + q
local xa = ((x+1)*160)
local ya = ((y0+1)*100)
local yb = ((y1-1)*100)


How to watch local channels with Roku on your TV (Solved)

HD Antenna is how to watch local channels with RokuLike many people I decided to try out Roku 3 Streaming Player and drop my Fios tv.  One of the first issues that came up was how do I watch local channels with Roku?  After days of searching I found nothing but dead ends.  Some folks said to add a private Roku channel that streamed some local affiliate channel.  Well, it did, and it was bad.  Very low quality and the channel wasn’t local enough.

The solution of how to watch local channels with Roku is quite simple!

Living in the Pittsburgh area I really wanted to be able to watch KDKA, WTAE and WPXI.  Mostly because I wanted to watch the Mentalist.

Another option was to try PlayOn, which, actually will cost you a subscription fee in order to watch local channels such as WTAE, KDKA and WPXI.

HD antenna to watch local TV with RokuMy solution? Well, amazingly enough, I totally forgot that these local channels actually still broadcast over the airwaves.  Right!  An antenna! I need to buy an antenna.  An HD antenna.  This sounded expensive to me, also I reminded me of watching tv back in the 80s.  Remember having to wrap foil around the antenna in order to pick up your local channels?

As it turned out, it didn’t cost me more than $12 at Walmart.  I bought a cheap RCA Digital Flat Antenna ANT1050R HDTV, which plugged right into my flat panel Samsung TV.  All I needed to do was tell the tv to autoscan for channels.

BAM, just like magic I was watching my local channels in HD without even needing the Roku.  An believe it or not, the HD quality over the air was incredible.

Getting Rid of a Double Chin

double chin exercise You know you are all guilty of thrusting your chin out for that photo op to avoid the double chin.  This is one way getting rid of a double chin, but you can’t go walking around with your chin sticking out all day! I’m always pushing the ever-popular perfect cheekbones product and for good reason.   The dude provides a cool and effective exercise for getting rid of a double chin, called the double-chin blaster.

The exercise involves working the platysma muscle, the one that is responsible for downward movement of the jaw.  I’ll give you a brief overview of the exercise:

  1. Rotate your neck slowly and clockwise and then counterclockwise (you can feel your double chin jiggling around)
  2. Next, lay down on your back with your shoulders lifted off the floor just slightly.
  3. Rotate your head to the left and then to the right.
  4. Tilt back your head as far as you can, keeping your shoulders slightly arched.
  5. Tilt your chin toward your sternum.
  6. Repeat about 10 times.

So this is one exercise to help get rid of a double chin, but you can’t stop there.  Achieving your chiseled face will require more exercises than the double chin blaster.

The next step is to continue reading on how to get rid of a double chin and to tighten up that jaw line.

Blog post inspiration – Google Insights


It’s that time of year to start writing about seasonal things such as costume ideas, thanksgiving recipes and even Christmas ideas for 2012. But let’s be honest, sometimes it is just tough to start writing anything…even if the post ideas are obvious. Many times I find myself getting out of a slump by simply writing something totally different than what I was planning.

Back when I was writing celebrity gossip articles for, I found my inspiration through google zeitgeist. Things have changed since then, so now I like to get my inspiration from google trends, also known as google Insights. Upon visiting the site you can click the hot searches links to see what the latest buzz is today. Today’s inspiration happens to be the following:

  • Yankees
  • the steelers
  • Columbus Day

Go figure that a popular search would be Columbus Day on a day that happens to be Columbus Day. Well there you go, perfect writing inspiration fodder. I mean, come on, how many time have you hears somebody say “Columbus didn’t discover America!” Here’s your chance to write something somebody would actually read.

Hopefully after this little exercise, your brain will be inspired to get back on track to writing something about what the coolest costume ideas for 2012 are, with of course your affiliate link embedded in the post!

JRuby or TRuby?

Ok, so I’ve been hacking around with JRuby recently but I’m not sure if I’m too thrilled with it.  I’ve been so used to working with TRuby that maybe my opinion of JRuby has been skewed.  Yeah, you caught me, I’m just making up stuff.  I’ll change gears here and give you my top 5 reason to use JRuby:

  1. Access to Java
  2. Awesome JRuby Shirts
  3. Appealing to companies with legacy code.

Now, I don’t want to sway you to pick any particular version of Ruby.  Chances are you are using a shared hosting platform and are limited to whatever the heck the web hosting company gives you.  Whatever you pick, consider using Ruby on Whales for a framework.