Helping you debug the dreaded SSLError.
Helping you debug the dreaded SSLError.
Mapping every letter of the alphabet to its function in shell prompt, process control, and Vim normal mode.
Answer the following questions:
- Why is this change necessary?
- How does it address the issue?
- What side effects does this change have?
How to settle on whether to merge or rebase at specific points in a team-shared git workflow.
This 80-minute, incredibly well-produced documentary gives us a personal look into the catastrophic impact that junk food corporations and other sugary products have on Brazilian youth, where 33% of all children are overweight or obese.
The key problem is demonstrated by frequent interviews of both children and their parents: they are mostly unaware of just how much sugar is contained in innocently packaged snacks that big brands market to kids.
Unfortunately, education alone is not a solution as long as poverty rate remains high and junk foods are cheaper than vegetables.
Taking a closer look at the role of RubyGems, Bundler and other binstubs.
I use a different set of categories for my tests:
- Unit. Do our objects do the right thing, and are they convenient to work with?
- Integration. Does our code work against code we can’t change?
- Acceptance. Does the whole system work?
Note that these definitions of unit and integration are radically different to how Rails defines them. […] All of the typical Rails tests fall under the “integration” label.
Xavier then goes on to restate how
A test is not a unit test if it talks to
the database, communicates across a network, or touches the file system, and
what constitutes an acceptance test.
Peter Chernin’s announcement shows us the future of Twitter: a media company writing software that is optimized for mostly passive users interested in a media and entertainment filter.
A meritocracy is not a system for locating and rewarding the best of the best. If it were, the “best of the best” in almost every goddamned industry or group on the planet would not be a clump of white men. […]
A meritocracy is a system for centralizing authority in the hands of those who already have it, and ensuring that authority is only distributed to others like them or those who aren’t but are willing to play by their rules.
Use GitHub's Gist as a platform for hosting text passages, demo HTML examples, and making browser-based presentations.
Finding amusing instances of my Creative Commons–licensed photographs being used in various articles on the web.
To effectively manage our email, we have to accept a few basic truths. They’re hard truths, but that only makes them even more valuable. Here they are:
- What’s important to other people is not (as) important to you.
- You are inherently lazy and egocentric.
- Ruthlessness is a hell of a time-saver.
Sound advice. I don’t get as much email as the next person, but I should increase my ruthlessness nevertheless to reduce cruft idling in my inbox.
Take control of authorship information on content that you create.
Some pictures that I've drawn to my friends on Draw Something iPad app.
There's no reason for line numbers to be prominently displayed, neither in code snippets or your text editor.
Prior to Railsberry in Kraków, I participated in a Rails Girls workshop by helping coach 40+ girls that attended the event in Applicake’s offices.
It’s been a fun and rewarding experience for me, and I look forward to where empowering more women with knowledge & skill takes us.
Next workshops take place in different cities in Europe, one in Buenos Aires, and there’s rumors of Rails Girls in San Francisco. There’s even a guide how to organize a workshop in your city.
Impressions after Railsberry conference in Kraków. In pictures.
The big 1.0 of Zepto is approaching fast, so we pushed a v1.0 release candidate. This release also features a shiny new documentation site, which some folks on Twitter already prefer as a reference even if they use jQuery.
Steve Klabnik in an essay he adapted from prior work:
Servicing men and children at home serves capital: by making housework and reproduction a women’s ‘natural and feminine’ process rather than work, capitalism benefits in the form of free labour. When capital pays husbands they get two workers, not one. Denying domestic labour a wage makes this work invisible, and divides the working class into waged and unwaged at the expense of both.
Money is used to generate more money. Not even people at “the top” (i.e. the bosses) are in control of this; money controls them by swapping them out as soon as they fail to deliver adequate capital accumulation relative to the competition. It’s a self-perpetuating mechanism, powered solely by the participation of the working class.
Whatever the definition of “geek” is, it shouldn’t include gender.
In which I give you permission to use `and` and `or` keywords in Ruby, as well as the `unless ... else` construct.
I’ve released a new version of hub and made a significant improvement to its website.
hub is a command-line tool that wraps git to make it smarter about dealing with GitHub repositories. If you haven’t tried out hub yet, and are using GitHub, now’s a good chance to take a peek.
My favorite features of hub are definitely
$ git fork # push the topic branch to my new fork: $ git push -u mislav feature $ git pull-request → (opens the text editor to write the pull request message)
Chinese labor keeps producing our electronics at an admirable rate, although under conditions not up to standards of the modern Western world. Who, if anybody, is to blame?
Avdi Grimm–the author of one of my favorite Ruby books, Exceptional Ruby–just published his new notebook on thoughtful and advanced object-oriented design, available online for free. With practical advice about dependency injection, introduction of the Exhibit pattern (an alternative to presenters) and even dabbling in hypermedia APIs near the end, Object on Rails is for every developer who wants to take his or her skills up a level.
An early reader jokingly called it “how to build a blog in 15 months”, which I got a chuckle out of, because it’s kind of true. I picked a blog example because it’s something that’s familiar to everyone, […]. But the design choices I chose to illustrate are of the kind that are primarily relevant for growing and evolving large systems. Of course, every large, complex system starts out as a small simple one; and a robust architecture comes from making good decisions early on in the process.
How to find and easily use typographically correct characters on the Mac.
How I learned Vim the proper way.
In memory of Steve Jobs and how he had influenced our lives.
Rescuing and distributing Mark Pilgrim's work after he is gone.
The long anticipated will_paginate 3.0 version is finally out.
If you use Ruby to perform any sort of HTTP requests, you might want to take a closer look at Faraday.
The verbose mode in Ruby is both useful and distracting. It activates a mode where the interpreter is warning you about potentially dangerous syntax.
How to avoid hijacking clicks that would open new tabs or windows.
How I sniffed out the private API of Instagram by monitoring iPhone HTTP traffic, wrote the first ever Instagram API client library and an accompanying web site.
Real-world lessons for writing better Cucumber stories
Some hidden gems of git version control
Little-known line processing capabilities of Ruby on the command-line
Adjusting layout for iPad orientation changes in CSS using CSS3 media queries.
Analysis of fonts available on iPad (and iPhone OS 3.2)
What I learned about iPhone and Droid from their TV ads.
A tiny cookie library and a great video to go along.
Simple Rails configuration to enable switching your database as you change branches.
A couple of easy steps to install SQLite on Windows or Linux