Photo for 2014-11-30
New Chrome extension in the works: Glitch Vision - replace .jpgs across the web with glitched-out versions of themselves. Makes heavy use of this project: https://github.com/snorpey/glitch-canvas
New Chrome extension in the works: Glitch Vision - replace .jpgs across the web with glitched-out versions of themselves. Makes heavy use of this project: https://github.com/snorpey/glitch-canvas
unquietpirate: unquietpirate: When you start looking for examples of nonconsensual culture in technology, you find them absolutely everywhere. - Deb Chachra, Age of Non-Consent About a month ago, someone sent me this lovely rant and asked me to publish it anonymously. I’ve been sitting on it mostly because I got… [goto](http://unquietpirate.tumblr.com/post/97550017813/your-consent-is-not-being-violated-by-accident)
But after 1.0 there is no finish line, there is no bottom of the 9th inning. There are more bugs to be fixed. There are new releases ahead. The march continues, because software is not a product, it is a process. Mostly a reminder for myself. http://www.jessesquires.com/apples-to-apples-part-two/
There is a lot of information out there on running tests for Angular using Jasmine + Karma. One thing that was tripping me up, though, was being able to access a mock JSON file, rather than trying to hit a server with an HTTP request every test. Working from this code sample, I injected the mock file with the beforeEach call. However, I wasn’t able to access the JSON response until I injected the defaultJSON directly into the specific test: ...
This took me a while to put together. Luckily, RTFM helped. By the way, the example is written in Jade, which I compile to HTML [with Mustache braces in place] using a Grunt task. index.jade has this thing: {{> header}} but it renders to a blank line. I had the header.mustache file in the same directory (mustache/) as index.mustache [which is the file to which the Jade template compiles]. That directory, however, was not the default location that the grunt-mustache-render task was using. So, in my Gruntfile, I simply added options: {directory: "mustache/"} to the mustache_render task. ...
I found it a bit baffling that this functionality was not built in, but from an archival perspective, it makes sense. If you need it for your project, there’s an easy workaround: Go to this GitHub repo and from the Extensions directory, copy the EditComments directory over to your installation’s Extensions directory. In your Bugzilla directory, from the command line, run ./checksetup.pl to build the necessary tables and extra columns and other magical things. Lastly, in template/en/default/bug/comments.html.tmpl, add the following line to your comment_text div: [% Hook.process('a_comment-end', 'bug/comments.html.tmpl') %]. This provides a link to turn on editing for that field. Since I don’t have memcaching enabled [yet!], I commented out line 229 from extensions/EditComments/Extension.pm. Once I get that memcache going, though, that pound sign is coming right out. ...
Block all of that distracting sidebar stuff in the otherwise excellent Stack Exchange network. My first Chrome extension. Which I suppose isn’t anything to get excited about because of its simplicity, but it should help me focus. [goto](https://chrome.google.com/webstore/detail/se-block/ffpkepieaocfchmcokenleighplnifjh)
To see the effects of custom Bugzilla extensions, restart the server. Otherwise, they won’t render.
The Template::Service module provides a high-quality template delivery service, with bells, whistles, signed up service level agreement and a 30-day no quibble money back guarantee. “Have a good time, all the time”, that’s our motto. http://template-toolkit.org/docs/manual/Internals.html#section_Outside_Looking_In
Resolving the $ conflict between jQuery and YUI… …and what YUI is. All sorts of Apache configuration business, which turned out to be a lot of setting file permissions. chmod g=rw myfile gives read and write permissions to all of the current group members for myfile 87% of the CSS being loaded on my current project aren’t being used Use Chrome Dev Tools to audit yourself Intro to vi commands! i to start typing, esc to stop [i for “insert mode”] Once done typing, :wq to save and quit Jump to line 34 when not in insert mode: :34