andycroll.com
Simplest (Serious) Ruby/Rails Setup on MacOS - Andy Croll
http://andycroll.com/mac/ruby/the-simplest-possible-serious-ruby-on-rails-setup-on-mavericks
Designer, iOS &. Ruby on Rails Chap. Simplest (Serious) Ruby/Rails Setup on MacOS. I try and keep my development environment as ‘light’ as possible, so with that in mind here’s my serious (in that I make a living from coding) but simple Ruby and Rails setup for a Mac. The reason for writing this? Managed to nuke my machine’s install and thus had an opportunity to review my toolkit. Is better than Macports in nearly every way. Open source recipes to manage stuff you used to have install yourself. A cross ...
andycroll.com
Twitter Bootstrap & Kaminari Pagination - Andy Croll
http://andycroll.com/ruby/twitter-bootstrap-and-kaminari-pagination
Designer, iOS &. Ruby on Rails Chap. Twitter Bootstrap and Kaminari Pagination. In the process of putting together the first of many internal tools for ImpulseFlyer I’ve utilised the marvelousness of Twitter Bootstrap. In the course of building out administrative tools I also had cause to use kaminari. For pagination. So I forked the kaminari themes. To provide a useful set of templates if you’re using bootstrap. If you liked this article you might be interested in my forthcoming Ruby writing:. And Boots...
andycroll.com
New Babies, Remote Working & Startups - Andy Croll
http://andycroll.com/business/startups/new-babies-remote-working-and-startups
Designer, iOS &. Ruby on Rails Chap. New Babies, Remote Working and Startups. Had been going (for me) a about a year when Jo fell pregnant and we found out very early on that there were two little individuals growing in there. This meant some radical changes. We returned to the UK to live with my folks and I worked remotely during the last months of the pregnancy. Managed to get our iOS app shippable and launch several other features. A planned C-section meant we knew the date the twins were arriving; I ...
andycroll.com
It's Not Just Apple vs Android - Andy Croll
http://andycroll.com/ios/its-not-just-apple-vs-android
Designer, iOS &. Ruby on Rails Chap. It's Not Just Apple vs Android. I read Gruber’s latest piece. Nodding. While many may find him to be an Apple cheerleader (I don’t) his approach to the industry is much more insightful than the broad-brush approach of most of ‘mainstream’ tech journalism. The whole narrative around tech companies is typically forced into a cookie-cutter narrative. Company X smashes Company Y. Samsung good, Apple bad. Google open, Apple closed. Google underpins the loose Android crowd,...
andycroll.com
xip.io Doesn't Work on BT, Fix It - Andy Croll
http://andycroll.com/mac/ruby/xip-io-doesnt-work-on-bt
Designer, iOS &. Ruby on Rails Chap. Xipio Doesn't Work on BT, Fix It. For my local device testing when running Rails apps and ran into a curious issue: it didn’t work at my parent’s home. I was getting a ‘cannot open the page because the server cannot be found’ error. This is something to do with their network using the BT HomeHub DNS which has locked down the wildcard DNS method that xip.io uses to redirect to your local machine. This might be a feature on other telco-provided ADSL routers. Go and sign...
andycroll.com
On 'The Magazine' - Andy Croll
http://andycroll.com/ios/on-the-magazine
Designer, iOS &. Ruby on Rails Chap. There’s several things to think about with the launch of the iOS-only The Magazine. So far, so good. The articles are of high-quality, enjoyable and the right level of thoughtful. Also not too many, the ‘few articles a month’ schedule seems manageable both for him to produce and as a consumer to read. Of the first issue articles I most enjoyed Alex Payne’s very personal reflection. On the recent travails of his life. I also kinda want to buy the guy a beer. There is a...
andycroll.com
Furiously Paddling Underneath - Andy Croll
http://andycroll.com/startups/singapore/furiously-paddling-underneath
Designer, iOS &. Ruby on Rails Chap. In the wake of its successful acquisition by Rakuten. I went back and skimmed the coverage of Viki in the local blogs and even its coverage in the wider tech sphere. You might think it’d been a smooth, straight path to success. Raise money - raise more money - raise a surprising amount of money - sell to large Japanese company. Do not be fooled. You won’t have seen the huge efforts to combat illegal content being posted. It’s a shame you won’t hear these stories in an...
andycroll.com
RedDotRubyConf 2012: Wrap up - Andy Croll
http://andycroll.com/singapore/ruby/reddotrubyconf-2012-wrap-up
Designer, iOS &. Ruby on Rails Chap. RedDotRubyConf 2012: Wrap up. Thanks to all who came, and all who spoke. The feedback I’ve had has been mostly lovely and for that I’m really grateful. Given this was a Developer conference we had some bloody amazing looking slides. Sixteen speakers, one unix Thinkpad, the rest Macs. No Windows. I’ll add missing decks as they become availible. Building a Faster Web. The 12 factor app. Ruby, Rock and Roll. CSS Can be Tested Too. Dive Inside Ruby 1.9. Bundle Y U So Slow?
andycroll.com
Benchmarking each_with_object Against inject when building Hashes from Arrays - Andy Croll
http://andycroll.com/ruby/benchmarking-each_with_object-against-inject-when-building-hashes-from-arrays
Designer, iOS &. Ruby on Rails Chap. Benchmarking each with object Against inject when building Hashes from Arrays. I read Better Hash Injection using each with object. I’d long known that using Ruby’s. Was much faster: merge hash in place in memory, don’t copy and assign. I’d never come across. In the wild,. At least and remembered. What a fool I’ve been. Rather than use code like either of these. It’s much more idiomatic Ruby to use. Based objects. I used the benchmark-ips. The results were interesting.
andycroll.com
Some TextPattern .htaccess Goodness - Andy Croll
http://andycroll.com/development/some-textpattern-htaccess-goodness
Designer, iOS &. Ruby on Rails Chap. Some TextPattern .htaccess Goodness. One of my key things for giving a site the best SEO I can is to reduce the number of URLs that point to the same content. I’ve made a note of the little. Niceties I’ve used in the setting up sites. My personal preference is to remove www from URLs, which is a simple rule seen all over the internet. RewriteCond %{HTTP HOST} www .(.*) [NC] RewriteRule (.*)[ /]? Http:/ %1/$1 [R=301,NC,L]. Removing the trailing slash. Redirect 301 /wri...
SOCIAL ENGAGEMENT