Posts Tagged “JavaScript”
The tl;dr is this:
You can fix the problem by replacing number with ReturnType
Similarly you can replace number with ReturnType if you are seeing the problem with setInterval.
If you want to know more about it, read on.
I've run into this problem a number…
Read More / Comment »
I am someone who spends large portions of their time working in weakly typed languages. Namely, PHP and JavaScript. I argue that static analysis is a must-have when working with any weakly typed language. It is nearly impossible to make reliable code without it.
Static analysis makes up for the mi…
Read More / Comment »
While doing code reviews on GitHub I find myself profiling a lot of SQL queries, getting EXPLAIN output into a markdown format for GitHub became very important, and was a huge pain to do by hand.
While there were tools out there, nothing I could easily copy and paste tab seperated query results int…
Read More / Comment »
This is just a small collection of Bookmarklets I personally find useful. To use them simply click and drag them into your Bookmarks bar.
Disable HTML 5 Validation
Clicking this will disable html5 validation for all form elements on the page. Useful for testing server side validation while leav…
Read More / Comment »
CoffeeScript is a programming language that compiles to JavaScript. Its mission is to "expose the good parts of JavaScript in a simple way". I've heard a lot of interest in it lately from various channels.
After a coworkers departure, I inherited maintenance on our deployment bot, and it was writ…
Read More / Comment »
Playing Minecraft, I like making circular things. I used a chart while I was building, but wanted to be able to make variable size ovals which is something I couldn't find a decent chart of or generator capable of, so I created this…
Read More / Comment »
I don’t want anyone take this the wrong way. I love JSON. It is so much simpler to parse than XML, and is an all around exceptional way to represent data. I have one caveat though, and that is “JSON with Padding” or “JSONP” as it goes by.
Building this site I wanted to bring in images from my Flick…
Read More / Comment »