Josh Cheek

Results 24 issues of Josh Cheek

## Explanation I'm using Rails 6 and have a `has_one through` association. Rails implemented my `includes` in my app as an `eager_load`, I have reproduced it here by directly calling...

https://github.com/JoshCheek/javascript-ftfy/blob/9ccd4ce014922562ce958af673db844ac565f712/atom-editor-plugin/lib/javascript-ftfy.js (Eg does realtime updating)

A long running script (in my case, couple hundred lines, running a PG query) records the screen location before SIB starts, and then resets it after SIB ends. Instead, it...

I've been doing nothing b/c it can display the error, but if you have a lot of code in the window, you might wind up missing this, so maybe it...

When SiB evaluates a saved file, Atom sees this and tries to update it. Then SiB puts the file back into place, and Atom sometimes freaks out. Either way it's...

With the windows and shit. https://github.com/JoshCheek/atom-seeing-is-believing/blob/016819a87c5408dbd47be2db4a9b4d3796eb2251/lib/seeing-is-believing.coffee#L28-39

Okay, watch like 10 seconds of [this](https://vimeo.com/193110695) video. The code for that is [here](https://gist.github.com/JoshCheek/49087d517d9a531558cf9ae7d644c20a). When I try it with the graphics built from https://github.com/zenspider/graphics/commit/c46b846191b3efdbadb19e2595e989108b1a0fcb, it is very very slow, which...

# Common things I do * 31 px to deal with the colour thing: `super 800, 600, 31` * default proc on colour: `color.default_proc = lambda { |h, c| c...

Playing around with sprites to see how they compose. `blit` attaches them at the center point of the sprite. It took quite a bit of effort to figure that out...

It seems I can only view the source of a proc if I have it in a variable, I thought I should be able to use the `-e` flag in...