Category: coding


Thing’s I’ve Learned – The Start of a Series

I’ve been meaning to post things I’ve learned as I learn them (before I forgot), and I’ve missed probably two opportunities already, so here goes: When you copy code from another site (specifically from a code pen that you can see, the code works in the pen) and it doesn’t work for you, look for […]

Continue Reading

Meteor Testing – Link and MemoryRouter

I’ve been taking a course about Meteor and I’ve absolutely loved it. However, one thing that has completely thrown me off is how testing works. For example, I had no errors when using <Link> in my webapp, but when trying to mount a component for testing (Mocha / Chai / Enzyme), I received an error […]

Continue Reading

Unwanted reloads with PHP, Sqlite, and Webpack

Well specifically, I’ve been using create-react-app and I’ve been having unwanted page refreshes for the longest time. It was annoying but I ignored it until today, when I realized that it was really causing problem with testing the user experience using the dev server. It took me a while, but I realized that my sqlite […]

Continue Reading

KnockoutJS and MomentJS

As usual, I spent too long debugging. MomentJS wasn’t accepting my fairly standard Date/Time of YYYY-MM-DD HH:mm:ss. I finally switched to a unix timestamp, and even that wasn’t working properly. I thought maybe I was passing a string and Moment might require a number, but parseInt also failed. I finally realized, by using typeof(mydate), that […]

Continue Reading