-
Sf.js
I recently went to the Bay Area to visit my brother and got a chance to go to some meetups and mingle with the local nerdfolk. Here’s a summary of the meetups I attended and what I learned: Electron Meetup The first meetup was for the exciting new Node.js-based framework...
-
A CSS Word-break Bug
So on my last post, I encountered a strange bug on Chrome (but not on Firefox) where some of my text was breaking mid-word, without so much as a hyphen inserted. Here’s a screenshot: I’m using the Hexo framework for my blog, along with a theme from github called Apollo,...
-
Teaching C To A JavaScript Developer
According to Douglas Crockford, JavaScript is the world’s most misunderstood programming language, and I am inclined to agree. Especially in the ’90s, I think a lot of programmers first encountered JavaScript from a C/C++ or Java background (indeed, JavaScript-inventor Brendan Eich has said that he was tasked with creating Java’s...
-
ES6 Maps, Weak Maps, and the Determinism of the JavaScript Garbage Collector
Let’s say you have an app with a number of objects, and you’d like to store metadata about certain objects. How would you do this? What I’ve been doing is creating a special object for the purpose, like so: var x = { uniqueIdentifier : "this is my first object"...
-
Git, Dotfiles, and the Dream of a Truly Cross-Platform Work Environment
So last October I started using Git to track my dotfiles and config files. Although it makes sense to use version control in case you make a change that breaks your system, to me the biggest appeal of doing this was so that I could easily synchronize all my config...
-
Hello, World!
Most programming blogs feature posts from veteran programmers teaching others new concepts and techniques. However, I am a beginning programmer and I plan to blog about the things I’m learning and the difficulties I’m having. Hopefully I can help other beginning programmers, but more importantly I hope people will get...