I ditched jQuery Mobile's sliders for my growing AngularJS poker
app. It had served as the app's poker
bet slider. All I wanted was a simple slider widget from jQuery Mobile, but the
UI framework wanted me to marry it in return. It had its way with my HTML
markup, littering my DOM elements with selfish classes and attributes, like
an open garbage truck on the freeway. My CSS rules felt oppressed like liberal
college students as jQuery Mobile's CSS files applied forceful rules my
body elements. The kicker? The slider quickly
became deprecated, not working on newer versions of Firefox. Never even saw it
work on Chrome.
Shrink your browser window, I dare you. I spent my last night plastering on some good old responsive web design (RWD) on top of my big bad blog, ngokevin. It was well-timed since I have been recently working on RWD for Firefox Marketplace's app reviewing tools. Initially, I was not sure where to start on converting my px-based blog to be more fluid. Really, I was panicking in my seat just simply imagining having to migrate my whole site from px to em. But then I went into my programming Avatar State, bending my arsenal of media queries at will.more
We know of tangled sleep schedules, and we have all had your struggles with them. But sometimes sleep schedules can become so twisted, that they just happen to morph into something quite ordered. The figurative eye of a typhoon. Such was the case with my sleep schedule. One dawn, I took to bed around the wee hours of 7am with the expectation of only a couple hours shut-eye. After a short day, I fell into bed at 5pm. Then something quite magical happened.
I had stumbled upon a perfect sleep schedule. Love at first nap. Going to bed at 5pm and naturally waking up a bit past midnight.
The reversed day presents itself.more
Call me a mouse-atheist. I love vim; it lets me do everything on the keyboard. In the time it takes for one to reach for their mouse, highlight a line to copy and paste, and Ctrl+C/Ctrl+V to copy in Word, I could type "yyp" in vim.
My whole desktop is vimified: workspace and window management hotkeys, Vimperator on Firefox, Terminator hotkeys, and vim itself. vim is good for text editing, but it ain't good at some things that I have simply put up with for years. Two days ago, I tried out Sublime Text, and today I bought it. Here are five reasons why Sublime Text is just Frosted Flakes great.more
Last weekend, I built a site for a new club on campus as my first freelance gig (though I also handled the domain name and hosting). For the past couple months, I have been a little interested in visual design and user experience. This design exhibits some tricks I picked up and often use make things look pretty. I dub this plastic surgery, as it is a quick and simple path to beautification.more
Gogh, my vessel to the Hacker News front page, creates a tightly-coded random painting using HTML5's Canvas. The cool part is that it draws before your eyes, starting from a blank canvas to a simple landscape with a pretty tree. Currently, it draws trees and mountains along with the ground and sky. I am happy with where it is at for now, though it could use some happy little clouds.
I named it Gogh since I had a Doctor Who poster in my room drawn in the style of Gogh's Starry Night Sky, though I dedicated it to the late Bob Ross, whom I grew up watching since he was on after the cooking show and before Sesame Street. My motivation was to scratch my itch for some Canvas and trigonometry. Gogh try it out at the link above..more