Back in November, I noticed that I was getting a lot of MySQL crashes, with MySQL's logs saying that it had a log sequence error. It was actually MariaDB, the community-managed version of MySQL (as opposed to Oracle's "MySQL proper"), but for all intents and purposes, it was MySQL. I tried everything I could think [...]
I started playing with Meteor - a Node.js and MongoDB framework - last week as a toy app to help some friends, and it is actually really nice. I don't know yet how serious it is - I've only got maybe five hours playing with it - but one thing it has over almost every [...]
I hate interruptions. The funny thing is, though, that I interrupt people, too, so it's a behavior that I despise while needing to work on it myself. An interruption is a break in flow: while something is being done or said, hey, a squirrel! It's usually done by one person to another, though. (I interrupt [...]
The Flint water problem makes me think a big government would be so awesome - government loves us and takes care of us, right? It's them, they're the parents... or the enemy, if something goes wrong. Government forever! More government, please! Yes, let's make the government stronger and bigger! Let's TRUST the government! Or not. [...]
I still prefer Java over other languages. I'm a fairly regular contributor to javabot, an IRC bot written for the Freenode ##java channel. I don't know that I'd be considered a major contributor (I'm not listed in the credits, for example, so maybe I do know - and I'm not a major contributor) but I [...]
This is a record of my experiences parsing JSON in a REST service written with Django, in Python. I'm following various tutorials (including Django's REST framework tutorial), but I was really struggling to get a snippet of JSON actually processed on the server side. The service in question was really quite simple: a name completion [...]
Test-driven development is, loosely defined, a practice in which tests are written before anything else, without regard to correctness. For example, if I want to write a program to generate "Hello, world," I would write a test that validated that "Hello, world" was generated - before I had anything that might create the output. When my tests pass, I know I've "finished," because my tests define a specification. By having tests in place, though, not only do I have a record of the specification, but I also have a way that I can add to the specification in such a way that I know I'm not breaking code - I would simply add more tests that corresponded with the changing specification, and I will know if my changes break other code. Here's the thing: I wrote the Java implementation using test-driven development practices (TDD), and the automaton is kinda neat; TDD also provided me the opportunity to fix the names of structures (renaming `Dataset` to `Generation`, for example) because the tests made it obvious that the names were inaccurate. However, seeing the differences in the development process between my Python implementation and the Java implementation, I might look into TDD with Python anyway.
I hope my sons understand: when someone compliments an undertaking of theirs, that the compliment more often than not reflects the effort they've invested, and not the results. I hope their memories outlast mine, and I hope that their memory of me reflects more of what they needed me to be than I was able to provide.
I read the HTML version, as I'm reading it on a Macbook, and HTML just seemed the most generic. I have tried Slick tutorials, for example, and the Hello, Slick example projects - only to have them fail out of the box or simply not working, with no clear explanations. I'm pleased to report that this has not been the case with Essential Slick - the code has worked very well, and been explained clearly. While in early access, there are a few minor problems - for example, in the book's source code they use durations early on without specifically including them or describing them.
I just had the most fun time ever with MySQL backing an instance of WordPress. I'm writing up what happened and how I "fixed" it - note the quotes - just so others are aware of it. Maybe someone has insight into how it happened or has a better idea of how to fix it [...]