As a popular web rendering engine, WebKit is mostly used via browsers. Sencha Engineering Director Ariya Hidayat presents a different angle: using WebKit as a library to write web development tools. Includes how to get and compile the WebKit code.
CrowdFlower enables a quality, fast, large, global workforce to complete simple tasks. Brian O’Rourke and Chris Van Pelt create a sample app to demonstrate the API and the quality analysis tools. They also discuss lessons learned in its development.
bundle install --without testexcludes the test group in your Gemfile from the install. It works well for reducing the size of your Heroku slug. However, there’s a glitch with this option on Heroku — when you specify it, Heroku reinstalls every included gem every time you deploy. It does respect your Gemfile.lock, so you’re trading a smaller slug for a longer deploy.
Pivotal’s open source CIMonitor project now supports OpenID! Thanks Tyler and Josh.
Arel has a bug that makes it difficult to use in
rails console. Every time you add a predicate, the number of internal objects in the Arel result increases exponentially. So, by the time you have 5 or 6 predicates, the console finishes generating the expression more or less instantly, and then spends 15+ minutes calling
to_son the resulting Arel object in order to display it to you. tl;dr: when you’re playing with Arel in rails console, end every line with
; nilto avoid having it print out the result. The exponential object explosion will be fixed in Rails 3.1.
While helping client upgrade a Rails 2.3.10 site to Rails 3.0.1, I came across a very perplexing problem with our WebDriver based Cucumber tests that all worked fine under 2.3.10.
We were “randomly” getting some very strange errors from Cucumber having to do with timeout problems and other strangeness like Cucumber not being able to find form fields to fill in.
1) require => false for the FakeWeb line in the Gemfile
2) add require ‘fakeweb’ to the top of the test_helper.rb file
It has something to do with FakeWeb inserting it into the HTTP stack strangely even if you tell it to allow non-local HTTP requests. We weren’t seeing it in 2.3.10 because we were using a cucumber environment to run the cucumber tests. Now under 3.0.1 we run the cucumber tests in the test environment.
I wish I had some more details but I was just happy to move past this strangeness so I didn’t really look back.
Tracker will be moving to a new hosting environment this weekend. This post contains updated information about this move, and how it will affect you.
The move will occur this Saturday, November 6th, starting at 8:00am PDT. We expect the move to take approximately 6 hours, including testing and site verification. Tracker will be unavailable during this time.
Pivotal Tracker will be moving to new IP addresses, so if you have any firewall rules related to integrations that access internal resources (for your example your JIRA instance), you will need to update them. Tracker requests will now originate from one of two possible IP addresses: 188.8.131.52 and 184.108.40.206, on ports 80 and 443. Please add rules to allow requests from these IP addresses in advance of the move this Satuday, in order for your integrations to continue working without interruption.
We’ve set the DNS TTL low leading up to the migration, so we don’t anticipate significant DNS propagation delays. If you are in a place where DNS changes take longer to propagate, however, please keep an eye out for this. We’ll help you with workarounds if the issue persists.
Our apologies for any inconvenience caused by this hosting move. Please do not hesitate to contact us by emailing firstname.lastname@example.org if you have any questions.
Is it possible in Jasmine to spy on a getter such as
myObject[key]? We want to know when local storage is accessed.
Local storage has a functionally equivalent
getValue function, which you can spy on, but the spy is not triggered when you access the value via
On unicorn, the random number generator is seeded before the fork. So if you are depending on a set of unicorns to generate different random numbers, you need to reseed the random number generator manually after the fork.
If you want to make absolutely sure you aren’t generating any queries in your Rails views, try no_querying_views – which explodes if your query comes from view code.
Skype 5 beta is out for Mac, which allows group video chat. Everyone must be on the beta for it to work.
Our NYC office is growing and we need someone to help our systems keep up with demand. We’re agile, fun, and believe in sustainable pace (no death marches), and lots of testing. We have daily catered breakfast and keep our fridges well stocked. We like to work in an open environment – no cubicles here.
You’ll be supporting our tenants’ needs first (around 40 people – assist with printers, networking, etc).
You’ll also support about 20 of our developers onsite as well as additional developers in client offices around the city.
We use Macs exclusively but our tenants will have a mixture of systems.
We’re looking for someone to take initiative and help plan and transition IT-related needs from our current office to our new office as well as provide on-going support.
Install, configure, and support:
- Workstations and laptops (Macintosh, Windows and Linux)
- Local area network (LAN), WiFi and Internet connectivity to our office
- VoIP phones
- Manage backups, onsite and offsite
Additional Skills desired:
- Experience with managed switches and VLANs
- OS X Server administration
- Linux administration
- VPN experience (IPSEC)
- Scripting languages (Shell, Ruby, Perl, Python, etc.)
- Ability to communicate with both technical and non-technical clients
If you or someone you know is interested please reach out to email@example.com
This is a contract-to-hire position.
Do people put bundler in the Gemfile?
Yes. Bundler is smart enough to omit it from the cache. It does, however, still follow the rules for version. We recommend using
~> 1.0.0 as the version string, because 1.x is supposed to be backwards-compatible with the current Gemfile format.
If you instead use
= 1.0.0 and your managed hosting environment updates bundler to something more recent, things will ASPLODE.
- Tech talk that was going to be today has moved to Thursday, due mostly to noise concerns. See you tomorrow.
We made a branch in git called “–track” by accident, and now we can’t get rid of it. git thinks it’s a command-line argument, even when it’s in quotes.
Here’s the command what did it:
$ git checkout -b --track origin/actual_branch_name Branch --track set up to track remote branch refs/remotes/origin/actual_branch_name. Switched to a new branch "--track"
Consensus: kill it through RubyMine or gitX. There is also a way through the command line:
$ git branch -d -- --track
…but make sure you get the dashes in all the right places.
reset after tail – sometimes, if your PS1 has colors (or square brackets, or … ?) you can lose your Terminal after tailing a file. To get it back, type
reset, which should work even if you can’t see it echoing. You may need an extra return before it.
The Giants seem to have won! There’s a parade tomorrow, right in front of the office. If you’re coming for the tech talk, leave extra time as streets will be closed and they’re expecting a crowd.