A brand-new project and my first (here) in Node. It’s a simple-to-use converter to make HTML out of XML docs. I’m hoping to add other output formats later on.
Using JavaScript to Find Prime Numbers
There’s a relatively common interview question that asks you to write a chunk of JavaScript to find prime numbers. I thought I’d tackle it without the pressure of someone watching over my shoulder. To that end, I built getPrimes.js to do the work for me.
Using HTML5 Data Attributes
One of the coolest features in HTML5 is the data attribute. You can now build out attributes on your own to customize content as you see fit. They aren’t rendered by the browser, simply added to the objects as data for you to play with. Let’s have a look.
PodRadio.js – Cross-Domain JS Podcast Player
Ever wanted to load a podcast (or several) onto your web site, but didn’t have the resources to make a proxy to get around cross-domain scripting issues? Worry no more! PodRadio.js is here.
Building an Array of Tags/Categories Using jQuery.inArray
I had a problem that I got to solve using something I rarely (if ever) use: jQuery.inArray(). While working on a new tool for doing Improv practice, I came across an interesting problem that might be worth sharing.
Gwaker – Chrome Extension Tutorial
Got to playing around with Chrome extensions and put this one together. There are a few simple plugin demos out there, but I thought this one was short and sweet.
Snap-Points.js – Add snap-to functionality to your page
If you want to add snap-to functionality to your web page, check out this ridiculously easy-to-use JavaScript library.
Just add it (and jQuery) to your page, then define which HTML elements you want to make the snap points. I love simple-to-use code, don’t you?
I’ll add onto it later as new ideas pop into my head. Right now, it’s using a timeout to account for the fact that there’s no scroll-end event in the DOM or jQuery. I’m not a huge fan of timeouts, but in this case it seems to work. I’d like something more elegant going forward.
Improv & Programming
I’ve always embraced a holistic view of life and skills. Skills learned from doing Task A don’t only apply to Task A. A truly wise person can learn to use those skills in other parts of their life.
For example, I’ve known many people that study martial arts. I don’t, I’m a giant klutz and would only serve to maim myself and everyone around me. That being said, those people that have varying degrees of belts often use the self-discipline from martial arts in other parts of their lives, be it their career or home life.
I don’t do martial arts. I do improv.
508 Resources
As I strive to understand and code for 508 compliance, I realize there are few, if any good resources out there. I want to rectify that by collecting some of the better tools out there for coders to reference.
I hope to update this entry a few times a year to keep it fresh. If you have a resource or idea that I’ve left off, share the love and drop me a comment. Thanks!
So Long Internet Explorer
I’d like to say we hardly knew ye, but I knew ye way too well. In fact, I just realized that my web development carrier started just as IE rolled out (in 1995) and is going strong even after it was put to bed.
Certainly, this isn’t the end of it, seeing as it takes people forever to upgrade and it’s only available on Windows 10. But it’s the beginning of the end.
So long you crazy, backwards piece of software. You weren’t the best, but you did keep us web developers on our toes. I salute you, worthy adversary!