blog.adamstegman.com
TIL, Grails edition - My Kind of Stupid
http://blog.adamstegman.com/til-grails-edition.html
My Kind of Stupid. Web development, user interfaces, and other development topics. TIL, Grails edition. I’ve unfortunately been experiencing the magic of Grails lately. New JSONObject([key: [] ) = new JSONObject([key: [] ). New JSONArray([]) = new JSONArray([]). New JSONObject([key: new JSONArray([])])! New JSONObject([key: new JSONArray([])]). This is so much fun. Update: This is due to a non-implementation of. JIRA logged here: http:/ jira.grails.org/browse/GRAILS-7770. July 21, 2011, 10:38 pm.
blog.adamstegman.com
Write a README - My Kind of Stupid
http://blog.adamstegman.com/write-a-readme.html
My Kind of Stupid. Web development, user interfaces, and other development topics. Reading code documentation to understand a system is like learning how to drive by inspecting the washer fluid dispenser, then a spark plug, then the brake pads. Write a README. July 13, 2011, 11:09 am. Written by Adam Stegman. Follow me on Twitter. Follow me on Github.
github.com
adamstegman (Adam ⚛ Stegman) · GitHub
https://github.com/adamstegman
San Francisco, CA. X6d;e@adamstegman.com. May 25, 2010. A skeleton nanoc application that supports rendering haml, compass, coffeescript, markdown and builder right out of the box, and deploys the website to Github pages for free with ease in a matter o. IOS project illustrating a weak reference issue with OCMock. Chrome extension to add Instapaper links to tweets on twitter.com. A quick app to track water consumption. 2,239 contributions in the last year. Aug 15 Aug 17. Aug 16 Aug 17. Aug 12 Aug 18.
blog.adamstegman.com
Launchd Gem Servers on OS X - My Kind of Stupid
http://blog.adamstegman.com/launchd-gem-servers-on-os-x.html
My Kind of Stupid. Web development, user interfaces, and other development topics. Launchd Gem Servers on OS X. Usually when I need documentation for a RubyGem I’m working with, I go to RubyDoc.info. Today, however, it was not responding. After catching up on Twitter it occurred to me that I could read the documentation locally since I already had the gem installed. Generates documentation for the prawn gem. Then. Will start a server on. Hosting the generated RDoc. 214 is available at. And 22.1 is at.
blog.adamstegman.com
Complex Associations with factory_girl - My Kind of Stupid
http://blog.adamstegman.com/complex-associations-with-factory-girl.html
My Kind of Stupid. Web development, user interfaces, and other development topics. Complex Associations with factory girl. Is great for DRYing up test code and making tests isolated and maintainable. What it’s not so great at is any association. More complicated than has one/belongs to. I found a nice trick on Stack Overflow. For has many associations. The Factory.after hooks appear to be the only way to do this successfully. August 18, 2010, 2:00 pm. Written by Adam Stegman. Follow me on Twitter.
blog.adamstegman.com
Quoted-printable in Ruby - My Kind of Stupid
http://blog.adamstegman.com/quoted-printable-in-ruby.html
My Kind of Stupid. Web development, user interfaces, and other development topics. I’m working on reading emails sent from ActionMailer, and was noticing the weird form of what I thought was URL-encoding in an HTML section of a multipart email, e.g. I also noticed the line length and endings:. Blah blah … blah bl=. I shrugged these off as quirks of ActionMailer or SMTP and moved on to removing/decoding them. String#unpack was able to do it for me all along. February 9, 2011, 9:31 pm. Follow me on Twitter.
blog.adamstegman.com
Test-Driven Drudgery - My Kind of Stupid
http://blog.adamstegman.com/test-driven-drudgery.html
My Kind of Stupid. Web development, user interfaces, and other development topics. I’ll admit it. I hate test-driven development while I’m actually doing it. It’s boring and tedious. I get lost in details while trying to get some test to work. Maybe I just need to do more katas. But it gets old fast. Just like writing code without TDD, it can often work just fine. But it’s not scalable and it results in poorly-tested and/or poorly-written code. Sometimes I just hack. But most of the time, I drop in T...
blog.adamstegman.com
Code Reviews - My Kind of Stupid
http://blog.adamstegman.com/code-reviews.html
My Kind of Stupid. Web development, user interfaces, and other development topics. Imagine if we didn’t judge the author of the code by how few WTFs it generated, but instead by how fertile it was for discussion? Or, imagine if every programmer was being judged by what they learned from the discussion. How would that change things? The work that others are doing, but Raganwald makes a good point that you learn from the. About the work that others are doing. October 4, 2012 7:20pm. Written by Adam Stegman.
blog.adamstegman.com
JRuby NameError: missing class or uppercase package name - My Kind of Stupid
http://blog.adamstegman.com/jruby-nameerror-missing-class-or-uppercase-package-name.html
My Kind of Stupid. Web development, user interfaces, and other development topics. JRuby NameError: missing class or uppercase package name. Originally posted as a gist. In response to this twitter conversation. I’m working on a Rails application that uses the Exchange Webservices API. Unfortunately the EWS API has a weird package, but I thought that wouldn’t be hard to overcome. So I wrote this script:. Jruby/java/java package module template.rb:14 (root) at lib/sandbox.rb:11. I thought the problem was ...
blog.adamstegman.com
Kent Beck on Pair Programming - My Kind of Stupid
http://blog.adamstegman.com/kent-beck-on-pair-programming.html
My Kind of Stupid. Web development, user interfaces, and other development topics. Kent Beck on Pair Programming. Pair programming works best with a large uncertain search space of problems and solutions. the closer to a solved problem, the less it helps. October 3, 2012 8:29pm. Written by Adam Stegman. Follow me on Twitter. Follow me on Github.
SOCIAL ENGAGEMENT