Getting some support on debugging my Automatic Curtain controllers. Somehow two of the four curtain controllers suddenly give a false positive on one of the end switches. Luckily this new guy knows how to work the multimeter using a screwdriver.

seen from United States
seen from Slovakia
seen from United States
seen from United Kingdom
seen from China
seen from United States

seen from T1
seen from China
seen from United Kingdom
seen from China

seen from T1
seen from United States
seen from United States

seen from Australia
seen from Australia

seen from Malaysia

seen from Russia

seen from Malaysia
seen from United Kingdom
seen from China
Getting some support on debugging my Automatic Curtain controllers. Somehow two of the four curtain controllers suddenly give a false positive on one of the end switches. Luckily this new guy knows how to work the multimeter using a screwdriver.
Marigold!
marigold: what’s your favorite tea?
Tazo makes a tea called zen and it’s lemongrass and peppermint and green tea that’s my favorite in the morning or iced on a hot day. Other than that peppermint and green tea are my go to :)
Thanks for the ask! Xx
☆ send me a cute botanical ask ☆
Debugging a simple rails app
Today we were given an assignment to debug a Rails app. The problem with the app is that when you go to the new action and hit submit button, it seems like it creates a game but it's saving blank names for the games name.
The first thing I did was forked the app from my instructor GitHub and opened up my terminal to cloned the repo. I did a bundle install ran the rails server. After running the server, I opened up the browser and checked http://localhost:3000/games. I received this error:
This error is basically stating that it cannot find the 'games' table. So I ran the single migration created. After refreshing the page, the error went away and I was able to create new actions and this is where I ran into the error the instructor wanted us to debug.
As you can see, no value is being shown for the new games. I had this similar error before on a tutorial i was following to create a simple blog app on Rails. The problem was that the game create method didn't have the correct parameters. In the game controller I went to the create method and changed the params[:games] to plural so it should read params[:game]. While i was already at the controller page, I noticed that there was no destroy method, so I went ahead and created it. I went back to my browser, refreshed the page, deleted the two blank values and created a new game to check if I debugged the bug correctly and it worked!
You can still find me via twitter/skype/tumblr epicz3n - but this is for more - sophistication.
I moved. find me; (obviously emails spider dodging) only the TEXT (not the SYMBOLS ) are correct, and PROPERS TO BE REPLACED! # r # e # v # 3 # r # s # i # n # A T # g ~ m ~ a ~ i ~ L +dot+ cum lol you'll figure it out. btw no dots or g's, its WYSIWYG. :) Why am I doing this? Dedication to the old school debugger ideology, I haven't came out my shell for a while - it's time that I take over my shell now.