Profile cover photo
Profile photo
Joe Heyming
40 followers
40 followers
About
Joe's posts

Post has attachment
Continuous Integration tests for your Emacs package
I recently contributed some Emacs Lisp projects to MELPA . The process was pretty simple. I forked MELPA and created a file that pointed to my repo. Then after pushing to my fork, I submitted a pull request. But I had a few issues where my code was emitt...

Post has attachment
Tips for publishing your own Emacs package
I recently contributed some Emacs Lisp projects to MELPA . The process was pretty simple. I just would make a pull request to the git repository and create a file that pointed to my repo. But I had a few issues where my code was emitting compiler warnings...

Post has attachment
Tying together custom knockout bindings
I ran across a problem recently where I had a bindingHandler that I wanted to depend upon other bindings on the same node.
Here is an example: <div data-bind="myHandler, visible: !enabled()">
</div> So in general, you have access to all the other bindings w...

Post has attachment
Add on-the-fly bindings in knockout
Let's say you want to add a special css class that you only need in a certain context in a certain template.  Instead of defining the css class on the viewModel: this.extraCssClass = 'myClass'; Consider doing this: <!-- ko with: function() { $context.extraC...

Post has attachment
Trying to use math to solve my problems
I recently encountered a moderately hard problem that required geometry to solve it.

The basic idea is that I hit an API request that returns a list of points. These points when connecting the dots draw several irregular polygons: But the idea behind thes...

Post has attachment

Post has attachment
Keyword/Named arguments in programming languages that don't support it
Let's say you come from a scripting background like python or perl. Those languages have a cool feature called keyword arguments, which essentially allows you to pass a hash/dictionary of key/values to a function without declaring an object: # python
def p...
Wait while more posts are being loaded