If I had the ability to freely work within my preferences, I’d be building applications that you call from a command line or terminal. They would do their work quietly, report their state to some logging table somewhere, and they would make their output available in some useful fashion. That is to say, my idealContinue reading “User Interfaces and Whatnot”
Tag Archives: javascript
Timers
Something that I do, besides programming, is lift weights. Specifically, I train for and compete in kettlebell sport. The training is usually based around doing X-thing for Y-time and so I’ve developed some experience with interval timers. I didn’t like any of them! So I built this instead! I realize that roughly four years agoContinue reading “Timers”
A Small Note on WebSockets: Objects
I wanted to make a note about this because I’ve been working a bit with WebSockets. I ran into a little bit of a question that I didn’t see a great answer for online. That usually means one of two things: Just in case neither of those are true, or maybe you’re as big aContinue reading “A Small Note on WebSockets: Objects”
First Class Functions: C# and JavaScript
Last week I found myself looking at two C# methods I’d written. They were nearly identical, with different names and they differed by the execution of one single predicate function at the very end to filter out exactly the kind of thing I was looking for. I found this to be pretty dissatisfying. I knowContinue reading “First Class Functions: C# and JavaScript”
JavaScript’s NaN
I wanted to write something about NaN because this occupies a weird space in JavaScript and might not behave like you suspect it should when doing equality comparisons. It also came up recently, and I want to make absolutely certain that I don’t forget the manner in which I should handle this thing. My firstContinue reading “JavaScript’s NaN”
Byte Tool
Let’s talk about developing your own tools. It’s hard to come up with an introduction to this because it’s such a pervasive thing in programming that it feels like talking about breathing. “Yeah, breathing is fun and important! You should try it yourself!” Well, whatever. Developing your own tools is fun and important! You shouldContinue reading “Byte Tool”
Why Code Is Hard To Read
If you’ve been developing for any length of time, it’s likely that you’ve run across some variation on the phrase “Code isn’t for machines to run, it’s for humans to read.” Yet, we’re often also caught discussing how code is a mess, difficult to read, hard to maintain, etc… It seems that if it wasContinue reading “Why Code Is Hard To Read”
JavaScript Object Equality!
I started working on a little test utility to go along with the verbosely-named “Let’s Make Byte Buffers Easier” project. There will be a post about that soon, because it’s been an adventure and I think I’ve produced something that is at least moderately useful. I quickly realized that determining whether or not two thingsContinue reading “JavaScript Object Equality!”