Capybara using_session leaves dangling web servers
We were using
Capybara.using_session with email addresses as the key for the session. Our email addresses were being randomly generated by Faker. This is a bad combo. Each new session name spawns a new web server (phantomjs in our case) and it doesn't get shut down till the test suite is finished. In our case this meant we had a lot of processes/files open and ran into ulimit issues all the time.
ALSO, each new server incurs the server start up penalty (Rails app), so the first time you hit a page you incur a couple seconds of spec time. This added up to two full minutes on our test suite.
Jasmine 2.2 is out
We release jasmine 2.1.0 (actually 2.2.0 with additional backward compatibility) last Friday (11/14) at lunch.
Jasmine-core release notes are here: https://github.com/pivotal/jasmine/blob/master/release_notes/2.1.0.md
Monday: Lunch Tech Video – Linear Book Scanner (Titanium)
Meditative Pair Programming
We tried an experiment of meditative pair programming. After reading the story and discussing it, we spent some time meditating. This helped clear our head and make space for the brain to identify additional creative solutions by not actively working on it. We each used a different meditation technique. I would allow thoughts to flow through my head like clouds and my partner preferred silent chanting. We tried this technique as a means to counter "rushing" into a story and to lower stress levels of trying to get "everything" done "today." We didn't agree upon a length of time, we would wait for us to both finish. In practice, we found two to three minutes to be a good starting point. My pair and I enjoyed the practice. If you try this, please let Todd Sedano (email@example.com) know.
Martin Fowler: "Sacrificial Architectures"
"For many people throwing away a code base is a sign of failure, perhaps understandable given the inherent exploratory nature of software development, but still failure.
But often the best code you can write now is code you'll discard in a couple of years time."
Monday: Yoga tonight
Easy yoga. 6:15
For the second day in a row we were unable to find our cowbell this morning. Where, oh where, has it gone?
Can "created-at" timestamps be duplicated?
Will SQL ever create two rows with the same timestamp? Is this answer dependent on which SQL implementation we're using?
Partial solar eclipse
The solar system will tip its celestial hat this afternoon to Diwali starting at 1:34 this afternoon.
Thursday: Diwali celebration at lunchtime
We'll celebrate Happiest of Hours: Diwali during lunch, from 12-1:30pm.
Join us for appetizers and music!
We'll have a henna artist on site, you may sign up for henna by clicking here:
Facebook releases AsyncDisplayKit
Second open-source library to come out of Facebook's Paper.
For the first one, see: https://github.com/facebook/pop
As your friendly standup grandmaster, I am hoping to get a reading from those of you who regularly attend standup. Are you distracted by peripheral conversation or general noise elsewhere on the floor while standup is going on? If so, please let me know.
Monday: Lunch Tech Video – Martijn Verburg – The Diabolical Developer (Titanium)
Spring Ordered Interface FTW
Exception handling Controller advice was consistently running in a different order locally than when deployed to cloud foundry. Locally Spring correctly fell back to our Default exception handler only after using more specific exception handlers, but on cloud foundry our default exception handler ran first, 500'ing on any exception. Exception handlers implement the Ordered interface, and when you don't specify an order they run in an "arbitrary" sequence which is seemingly JDK dependent. So order your exception handlers!
There's a rumor going around that the reason Microsoft is skipping version 9 because there's so much code out there that checks to see if the OS version starts with the string: “Windows 9” (to check for 95 and 98)
iOS 8.0.1 failed – 8.0.2 is on the way!
Apple is planning to take a second crack at updating the newly-released iOS 8, which it yanked yesterday after widespread reports of it affecting cell service, mostly in newer iPhone 6 and 6 Plus models, as well causing problems with its fingerprint reader, Touch ID.
Users tweet about iPhones Bending in their Pockets
"In a few months when you wonder why hipsters are wearing fanny packs, this will be the reason #BendGate"