TeamCity Cucumber Options
If I call a rake task that sets cucumber options, TeamCity seems to clobber the options.
Hardware group mailing list
Who handles invites for nyc-hardware-hackers@ ?
Ping Pong Hygiene
Please put away balls and paddles in the newly-labeled bins.
JSLint non-free license
Douglas Crockford used an MIT derivative licence with the addition of ““The Software shall be used for Good, not Evil.” which makes it “non-free” according to Google Code and Debian.
(Thanks Dennis C.)
- JSHint from within Jasmine
- Monday: Movie Night in Byant Park: Raiders of the Lost Ark
Many fancy demos like realtime mouse . 1 Dollar per 1 Million messages after surpassing the free 1 Million.
They are awesome, check them out.
Sometimes you use a pattern so frequently that you don’t realize that other people might not know about it. Here’s the most recent one for me — I was surprised that this wasn’t being used in the last few codebases I’ve seen:
If you’re using Backbone.js, instead of writing
Backbone provides a
$ method such that you can simply write
It’s less to type and it doesn’t hurt readability.
Q: Why is this not 2**63?
A: Fixnum object ids are the odd numbers, eg, 2.object_id = 5. This means you run out of bits one bit early.
- Jasmine Gem HEAD and undefined JSON
We’re trying to use the latest jasmine with ci_reporter, and jasmine complains that json is undefined. We’re unclear why it would disappear with an additional task being loaded?
Anyone seen this before?
Running “rake && rake jasmine:ci” should fix this
- Anyone have experience writing FFI in Ruby?
If you’ve successfully installed Qt >= 4.6 on CI, Jenkins might fail because bundler is unable to build capybara-webkit, raising the following error in the log:
Installing capybara-webkit (0.12.1) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
If this happens, ensure that you have qmake in your PATH, since it is needed by the capybara-webkit build script.
- Version 1.2.1 of the Jasmine gem is out
- Nesting separate rails apps
What’s the best way to do a request test against another rails app in a separate directory?
- not to deal with separate processes
- to be able to use nice capybara test matchers (i.e. visit “/other_service/foo” and page.should have_content(”other service title”) )
- for it to work on CI well
Should we use a Rack middleware?
Capybara Servers and Pow seemed like good solutions, Engines not so much. Also trying to run integration tests with the adaptors and stub adaptors in other tests.
- Today’s Tech Talk: The Psychology Behind Pair Designing
Folks from the outside can register on EventBrite to come. Lunch is included.
There will be opportunities to get up on stage and pair live with Karl.
More design clarity. Less redesign time. What if methods like Pair Design could increase the efficiency of your team and the quality of your products? Karl Dotter will explain his hypothesis on Pair Design, how he is helping teams practice pair design to build great products and what to do to start practicing pairing with members of your team. You’ll also find out how to participate in P.A.I.R (Pairers Against Inefficiency and Rework), a fun research program he’s working on which will help quantify the benefits of Pairing.
Weekly eXtreme Tuesday returns again! 6:30 in the presentation space.
- Be sure to close your connections inside an Enumerator
Since the block in an Enumerator has its own Thread context and thus connection, be sure to close it at the end od the block.
Vim is a great text editor, and MacVim makes it play nicely on a Mac. RVM is a great utility for managing multiple versions of Ruby on a single machine. The Command-T plugin is a great fuzzy-finder for filematching in Vim. But put all of these together, and things can get hairy: if Command-T is not compiled with the correct version of Ruby, it’ll break. Here’s how to compile it correctly:
rvm use system
When you’re running East and the project goes West, it’s time to reorganize the backlog. This can be painful but Tracker comes to the rescue with multiple story selection and cloning panels. Here’s a little cheat sheet!
Dan Podsedly covered this in a blog post last year, here’s an excerpt:
To select multiple stories, use the small checkboxes to the right of story titles. If you’d like to select a range of stories, select the first story in the list, then shift-click on the last story. This will select all in the range, and allow you to drag them together, or use some of the other actions in the Stories drop-down, such as export to CSV or move to another project. Note: range select with shift-click only works in a single panel at a time, but you can select multiple ranges of stories across the whole project.
You can deselect a large number of stories in the Stories drop down menu.
Check out this short Screencast to see a demo of working with multiple stories in Tracker!