Ask for Help
*”Has anyone used Lobot to install CI somewhere other than EC2?”
*”Has anyone used Lobot to install CI somewhere other than EC2?”
We recently came across a situation in our markup where we wanted whitespace in the markup for readability, but we didn’t want that whitespace represented between the elements.
We found a fix that suggested using
font-size: 0 in CSS to eliminate the whitespace. That worked fine in Chrome, but we found that in Firefox, the containing element no longer scrolled with the mouse wheel or arrow keys! Apparently Firefox’s scroll speed is proportional to
Here’s a jsFiddle demonstrating the issue (open in Firefox to see the problem, of course).
Ultimately the best solution for us was to eliminate the whitespace in the markup. This StackOverflow question lists a couple creative ways to solve the same problem (using comments in place of whitespace, leaving the whitespace inside the tag).
The CSS3 draft (currently) specifies a
text-space-collapse property, but we are targeting IE8 among other browsers, and the draft doesn’t seem to be finalized anyhow.
Watching the latest NCAA sports reel from the comfort of your own couch is not always a reality. For all those times you can’t make it back for game time, there is now the new NCAA mobile app for your iPhone or iPod Touch!
With this app you can now stream live games, and watch exclusive video highlights from championship games on both Wi-Fi and 3G networks. Get exclusive live coverage of NCAA Championship events, including football, wrestling, hockey, soccer and much more – over 60 championships in all. Besides championship coverage, you’ll also have access to the most recent news about your favorite NCAA sports teams.
Now the excitement, and sense of community created by college-level sports doesn’t end when you graduate. Even if you were born and raised in Southern California, went to the University of Alabama, and now work in New York; you can still watch all your college teams compete live for the national championship.
Join in on the conversation with your friends and other sports fans through the built-in use of Facebook and Twitter feeds. These enhanced social plug-ins allow you to discuss game highlights with friends and foes alike.
This app is compatible with your iPhone or iPod touch device running iOS4.1 or higher. Never miss another game again with the NCAA iPhone and iPod Touch app.
Get it from the iTunes store here!
Essentially the gist is “if you don’t have a URI, then don’t use the anchor tag”. That means not using markup like
I did the first pass of a refactor and started to use a span element before Berger pointed out that that was probably just as non-semantic as the anchor element. I had to concede the point.
For our case, the best option was an input element with type button. That summed up the best interaction for our use case; manipulating the DOM on a user action, without referencing another resource or an anchored point within the current document.
The thing is, it’s a small change and there are so many examples on the web where the href=# pattern is used. It does work, so why bother changing it? Well yes, while it might work, this isn’t the purpose of an anchor tag. There are other elements that will work just as well for you and make semantic sense. If we do that, then we can all make Dan a little happier.
How to scrub production data
For most of us over the age of 25 there was a certain learning curve associated with the adoption of the Internet, computers, and other new technologies. But for the younger generations who have been born under the technology sign, hard copies of magazines and libraries are quickly becoming foreign concepts (as evidenced here http://www.youtube.com/watch?v=aXV-yaFmQNk).
Because of these increasingly tech-savvy toddlers, applications for young children make up a small, but growing segment in the app stores. Here at Xtreme Labs we think it would be a mistake to ignore this segment. That is why we jumped at the chance to make a children’s app with Corus Entertainment, one of Canada’s premiere broadcasters and a leader in the digital media space.
The Corus Treehouse Streaming Video app for kids offers parents the ability to give their kids unlimited access to hundreds of hours of their favorite television shows from Treehouse TV. Content from thirteen of your children’s favorite shows are already available on the app, with more being added all the time. Franklin & Friends, Babar, The Cat in the Hat, Dora the Explorer, Blue’s Clues, and Max & Ruby are some of the shows available on demand from your iPhone, iPod Touch, and iPad.
Using the Treehouse app is simple. You can create playlists of your children’s favorite episodes, check the Treehouse live television schedule from directly within the app, and there is even a colouring book! Choose from 6 different colouring pages and a full set of virtual crayons. When they’re done? Save their masterpiece, or email it to Grandma and print it out for the fridge.
We also had the privilege of working with Corus on their Franklin Talks application for iOS, and Franklin’s Shape Slider application for iOS. Both of these applications let your children get a little more familiar with their friend Franklin while providing hours of entertainment. Drag and drop shapes on Franklin’s Shape Slider to help your children develop shape recognition and enhance motor skills, and use Franklin Talks to encourage your children to practice their verbal skills! Check them out today.
Having your children’s favorite shows on demand, and on a portable device is what we like to call “are we there yet” insurance. Treehouse for iOS is currently rated in the top 100 apps for iOS, get your copy of the Treehouse today: http://itunes.apple.com/ca/app/treehouse-video/id408405756?mt=8
At Pivotal Labs, one of the services we provide our clients is helping them interview and hire. Pivotal Labs and our clients place a strong emphasis on Agile development and its many aspects: Pair Programming, Test-Driven Development, rapid iterations, and frequent refactoring.
Halogen Media Group merged with YouCast Corp. to collaborate in forming a powerhouse of technology, Social Chorus (http://socialchorus.com), that measures social reach through paid and earned media through influencer distribution.
Here’s the job posting:
Are you looking for a chance to do agile development? Do you want to immerse yourself in extreme programming using test driven development? Then Social Chorus is for you.
On to our development practices. We are on Rails 3.1.1 with deployment on Heroku and test driving EVERYTHING with Rspec, Jasmine, and Selenium. We are running Jenkins on our Amazon EC2 cloud for our continuous integration tests and firing it off on every push to Github. Every Monday we have an internal planning meeting that includes the dev team along with our project manager to go over upcoming features, stories that need discussion, and story estimation. Why stories? To manage the project and all the components that drive its development we use Pivotal Tracker, the collaborative, lightweight agile project management tool, brought to you by the experts in agile software development. Mornings start with stand-ups to go over the previous day’s work, work for the current day, or any blockers anybody might have. Pair programming and green tests make the day fly by with the gratification of clean code without broken windows. Our analytics module runs in the cloud, hitting nginx, aggregating all data into our sharded MongoDB database. Like to map/reduce over extremely large data sets? Sweet.
Perks. Our development is fueled by a fully stocked kitchen and beer bashes at least once a month. Team dinners, ski/snowboard trips, lunchtime crosswords, Giants games, are some of the enjoyable company sponsored events. Halloween and Christmas parties also keep us busy as the holidays get closer. On top of that, we have competitive salaries and a semi-annual bonus plan.
Currently we are boot-strapping with Pivotal Labs at their office at 875 Howard St. Upon the end of our engagement with them, which tentatively concludes at the end February, we are moving back to our home base located in SOMA, China Basin, right next to AT&T Park to join the rest of the team. Come join our team and show off your Ruby on Rails chops!
BS Computer Science or equivalent
Depends on experience
Adam cant hear you, speak up!
Job chaining in resque
Start the next after the first finishes or create a big wrapper job that does all of them
Change objects before rendering — no good answer found
“I’m making an HTML5 web app that consumes a web service, and in development the browser is blocking cross-site requests from localhost. How can I just turn off this security while developing?”
Chrome has a command-line flag just for this occasion! –disable-xss-auditor
For everything else, change your hosts file to have the target site on localhost.
“Rails 3.1 seems to be slowing down my test suite to be about twice as slow. Seems to have something to do with garbage collection time. Thoughts?”
… no one had any definite answers.
As a society we are becoming more and more reliant on the insight gained from consumer-reviewed products. Word-of-mouth is making a comeback in this digital age now that the entire marketplace is connected.
Brand Power’s collaboration with Xtreme Labs has brought together word-of-mouth and the digital age in the form of the Brand Power app for iPhone!
The Brand Power iPhone app lets you create and organize a shopping list, review and rate products, win prizes, and learn more about featured brands. It’s simple to use and helps make everyday shopping easier!
Shopping List & Scanner Using the shopping list feature is very interactive, and it never lets you forget the milk! Not only can you remind yourself, you can remind others too. If you are worried your sister will forget she’s bringing the appetizer for Christmas, send her a list by email just in case!
What makes the shopping list even more interactive is its built-in scanner that you can use to scan the UPC barcodes of products directly from your pantry. You can also use the scanner for Brand Power’s monthly Scan & Win promotions. If you scan each of their Featured Brands once per month at the store, each scan enters you into a draw for a monthly prize.
Brand Power Having brand information available in one place is changing the way that we shop. With the current state of supermarket shelves being oversaturated with dozens of brand names, it is hard to determine which one you will choose. Using the Brand Power app you can learn more about each product through the Featured Brands page. If you want to learn more about a Featured Brand there is either a Medifacts page or Brand Power page associated with it. Medifacts pages are reserved for healthcare products, while Brand Power pages are for all the rest of your favorite products.
New Product Watch Thinking of switching up your usual haul at the grocery store? Try out the New Product Watch feature that recommends new products. Each product has a picture, some key features, and may have a link to learn more or share your review.
Learn & Win Just to sweeten the deal even further, the Brand Power app has the chance to win great prizes and promo deals via their “Learn & Win” quizzes. Answer short questions about some of their Featured Brands for a chance to win cash, an LCD TV, spa days and more.
Brand Power is not only helping us “Buy Better”, but also more easily. To download the latest version for free, visit the iTunes store now!
“When using the wkhtmltopdf library via the PDFKit gem, if you use an HTML snippet that does not have a height defined, it generates a PDF that appears to only be an image, the text is not searchable or selectable. If you give your element a height however, it behaves as you would expect. Both PDF documents visually look the same though.”
Our team ran into an issue installing Ruby 1.9.3 on Lion today. When running…
$ rvm install ruby-1.9.3
… the installer fails with an error message including “checking whether the C compiler works… no” even though we had XCode and gcc installed.
After some reading on StackOverflow and Github I found this solution …
$ rvm install 1.9.3-p0 --with-gcc=clang
… which points an explanation on RVM’s issue tracker .
See our full command line history and error messages below:
$ rvm install ruby-1.9.3-p0 Installing Ruby from source to: /Users/foobar/.rvm/rubies/ruby-1.9.3-p0, this may take a while depending on your cpu(s)... ruby-1.9.3-p0 - #fetching ruby-1.9.3-p0 - #extracted to /Users/foobar/.rvm/src/ruby-1.9.3-p0 (already extracted) Fetching yaml-0.1.4.tar.gz to /Users/foobar/.rvm/archives Extracting yaml-0.1.4.tar.gz to /Users/foobar/.rvm/src Configuring yaml in /Users/foobar/.rvm/src/yaml-0.1.4. Compiling yaml in /Users/foobar/.rvm/src/yaml-0.1.4. Installing yaml to /Users/foobar/.rvm/usr ruby-1.9.3-p0 - #configuring ERROR: Error running ' ./configure -- prefix=/Users/foobar/.rvm/rubies/ruby-1.9.3-p0 --enable- shared --disable-install-doc --with-libyaml- dir=/Users/foobar/.rvm/usr ', please read /Users/foobar/.rvm/log/ruby-1.9.3-p0/configure.log ERROR: There has been an error while running configure. Halting the installation. $ cat /Users/foobar/.rvm/log/ruby-1.9.3-p0/configure.log [2012-01-13 10:31:49] ./configure -- prefix=/Users/foobar/.rvm/rubies/ruby-1.9.3-p0 --enable-shared --disable-install-doc --with-libyaml- dir=/Users/foobar/.rvm/usr configure: WARNING: unrecognized options: --with-libyaml-dir checking build system type... x86_64-apple-darwin11.2.0 checking host system type... x86_64-apple-darwin11.2.0 checking target system type... x86_64-apple-darwin11.2.0 checking whether the C compiler works... no configure: error: in `/Users/foobar/.rvm/src/ruby-1.9.3-p0': configure: error: C compiler cannot create executables See `config.log' for more details