I love this Google Doodle for today! One of my favorite books, with this gloriously awesome animation. I really need to start drawing again, all this great animation stuff with JS and HTML5/CSS3 gives a great way to convey art without the bloat of an additional plugin.
I hate getting tripped up on silly interview questions, and I usually always rework them afterwards to see what brief moment of dumbness I was suffering during the interview.
On a “field trip” I took recently just for fun b/c of who it was, I had a problem presented like this, with a jsFiddle link to my current solution below.
GRRRR at how easy this was in thought after the interview…
An interview question, to create a generic function that will give a path for cursor animation on a “search menu” that is displayed like:
A B C D E
F G H I J
K L M N O
P Q R S T
U V W X Y
With a path given like “R!L!DDDRRRR!” when searching for “BAT”.
The problem assumptions were that you are always dealing with uppercase letters, no special characters, no spaces, etc. The beginning always starts at ‘A’. You are also given a dynamic width (to worry about), so your function can traverse any size menu. I got tripped up on this after getting barraged with a bunch of core JS language questions, so here’s a stab at the solution, minus some additional work to not traverse boundaries (outside the matrix or in places where there are no selectable letters).
Well, I wish I would have had this at a previous job. This is really nice approach to building apps in the system, and will definitely make it easier and quicker to build IT apps without muddying up the core application, and further “hindering people from trivial tasks”. With the amount of hacking I used to do in there, I wonder how hackable this is in the sense of keeping everything contained. I’ll probably do some tinkering with their demo site just to see. Well done ServiceNow!
After fully playing with AngularJS for a recent hack at work, I fell in love with it’s simplicity. Using ExpressJS, NodeJS, and AngularJS together is awesome, but then I ran into some headaches (that I easily worked through) using Redis as the NoSQL db. After reading this article, I think I know what I’ll be experimenting with on the next (next) hack day.
While having dinner with some friends, one mentioned how he has blocked distracting sites like social networks, entertainment, etc. on his systems while he works. I thought lightly of it, until I sat down and realized how much time I spent perusing these sites when I should be getting work done.
As a test, what I started doing was using multiple desktops for specific tasks, and only using certain browsers for stuff (like Firefox for development and Chrome for browsing). I close all misc apps like twitter, rss readers, or chat, so I won’t be tempted to check out what’s going on on Engadget. Using my mac and full screen apps also helps greatly, as I have my code editor fullscreen and browser full screen so I can only focus on code, test, code, test, etc. Doing all the above, I definitely noticed a big difference in focus and throughput.
I think it may be time to try out one of these pomodoro technique apps that I have installed, to play around with break up tasks and fun breaks to see if it helps mentally. I currently have Concentrate and Vitamin-R installed, which from initial glance appear to have different viewpoints on how to lock down your workflow. I’ll report back in a few weeks to see how playing with each goes, as I’m sure there’s something I should be doing now instead of blogging.
In a nutshell, D3.js is AWESOME, THE BEES KNEES, EPIC…. and a great way to make you remember geometry
We ended up creating a visualized way of monitoring events with our home product, so you can see alarm notifications, arming info, etc. all on a cool little graph. Best thing about, it’s all real-time, must better than the cached long poll list that is there now.
Can’t wait for any other books Cody has in the pipeline.
Since my old blog on mbu Creations is pretty much dead (and I’m working on revamping/upgrading that anyway), I think I’ll start a new one here. I’ll keep it Tumblr-ish to keep it simple, but I won’t use Tumblr b/c well, I like having more control over my stuff and playing around.
I’ll do posts about general thoughts, things I’m tinkering with, and cool stuff I see around the internet (and in the real world).
This blog may not stay in this overly simplistic state. Since I love messing around with anything web, I’ll more than likely use this as a test ground for something, be it cool CSS3, some HTML5 wizardry, or some funky JS, expect to see stuff change.
But in the spirit of rapid development, for now you just get quick and simple 🙂