HN user

5vforest

700 karma
Posts45
Comments103
View on HN
blog.dobt.co 11y ago

Using Turbolinks to hack JavaScript's beforeunload

5vforest
1pts0
www.dobt.co 11y ago

Show HN: Screendoor – Online Forms for Government

5vforest
7pts1
blog.dobt.co 11y ago

Managing Design Remotely

5vforest
1pts0
github.com 11y ago

Tricle – Easy Metrics Reporting via Email

5vforest
1pts0
blog.dobt.co 11y ago

Building a static, developer-friendly, open-source knowledge base

5vforest
2pts0
github.com 11y ago

Show HN: Open-source Knowledge Base site

5vforest
8pts0
blog.dobt.co 12y ago

Team Management with Hubot

5vforest
1pts0
blog.dobt.co 12y ago

Let's Fix The Federal Lockout First

5vforest
2pts0
www.politico.com 12y ago

Snapchat hires lobbyist after breach

5vforest
2pts0
github.com 12y ago

Passenger date header was incorrectly formatted as week-based year

5vforest
9pts5
github.com 12y ago

Show HN: A gem to stop progressively building ActiveRecord queries

5vforest
17pts8
blog.dobt.co 12y ago

How Healthcare.gov Went Wrong

5vforest
4pts0
www.github.com 12y ago

Show HN: Formbuilder.rb - Rails engine for users to create their own webforms

5vforest
2pts0
dobtco.github.io 12y ago

Show HN: Formbuilder.js

5vforest
78pts14
www.slideshare.net 12y ago

Re-imagining the USPS (slides)

5vforest
2pts0
www.adopta.co 13y ago

Show HN: Create a site for "adopting" public infrastructure

5vforest
12pts5
dobtco.github.io 13y ago

Starrr: 1-5 star rating plugin for jQuery

5vforest
1pts0
codepen.io 13y ago

CSS Loaders and Spinners

5vforest
70pts22
www.facebook.com 13y ago

Apple holds 3rd party iOS app in limbo while Google builds their own

5vforest
1pts0
github.com 13y ago

Comparison of Node.js Hosting Providers

5vforest
3pts1
dobtco.github.io 13y ago

jQuery Resizable Columns – a plugin for draggable table columns

5vforest
41pts30
ada.mbecker.cc 13y ago

Take your standup meetings online

5vforest
1pts0
thebier.tumblr.com 13y ago

What I saw in consumer startups after I left Silicon Valley

5vforest
2pts0
ada.mbecker.cc 13y ago

Language matters

5vforest
1pts0
www.morningcheckin.com 13y ago

Show HN: MorningCheckin, An email-free tool to get your team on the same page

5vforest
1pts0
www.whitehouse.gov 13y ago

Presidential Innovation Fellows Round 2

5vforest
3pts0
radar.oreilly.com 13y ago

RFP-EZ: Making It Easier For Small Companies to Bid on Government Contracts

5vforest
2pts0
ada.mbecker.cc 13y ago

A Perplexing Pagination Problem

5vforest
1pts0
ada.mbecker.cc 13y ago

Be your own code review

5vforest
2pts0
blue-button.github.com 13y ago

Blue Button Design Challenge (White House / VA)

5vforest
2pts0

## The Department of Better Technology - http://www.dobt.co/ - REMOTE

Our one-sentence tagline: We are dedicated to making great software that helps governments and non-profits better serve their communities.

If you've ready some of the recent posts about US Digital Service or 18F, we're doing similar stuff, but from the outside-in, with mostly SaaS products. (Our flagship product, Screendoor: http://www.dobt.co/screendoor)

We're bootstrapped, profitable, and we'd love to find folks who are passionate about this kind of work. Stack is Rails / Postgres / JS -- nothing too fancy, but we're serious about the quality of our code. We're big on open-source, too: github.com/dobtco/

If you're interested in hearing more, email me at adam (at) dobt (dot) co

Ruby Developer to Fix America Department of Better Technology Headquarters: USA http://www.dobt.co

About us

We’re the Department of Better Technology, a Knight Foundation-funded startup that’s digging into the guts of government and trying to fix it with technology.

Job Details

We're hiring a web developer to help us revolutionize the world of government IT. We started this company after being embedded inside government and seeing first-hand the horrors of the technology that these folks have to use everyday. We worked on a project called RFP-EZ that made it super simple to view and bid on government contracts. It wasn't anything amazing -- just a simple Bootstrap site, but just by making this process easier to understand for web firms who don't specialize in government contracting, we were able to save the federal government an average of 30%.

We've been in business for a just under a year, and have already created dozens of success stories - governments who are using our software to save staff time, save money, and provide better experiences for citizens. We're looking to grow our team and help us scale this success to governments across the country.

Experience

We're looking to bring on a developer who fits the following:

You are experienced in Ruby and ideally, Rails You have strong knowledge of SQL/Postgres You have a passion for good user experience and are excited about frontend development, too You are comfortable working with a 100% distributed team And last, but perhaps most important, you are as passionate as we are about our mission to revolutionize government IT

Our Culture

For many people in the technology industry, DOBT is a different kind of place to work, and a different set of people work here. Usually, they’re people who value time more than they value money. While from time to time, circumstances may call for it, you aren’t going to see a lot of 80 hour weeks, and depending on your time zone you might see some people who clock out at around 6.

You’re probably not going to be in a work environment that has a foosball table, catered lunches, and its own mass transportation either. That’s because we’re a fully remote firm. While some people may opt to work together in the same space, we want people to work from wherever they feel like it. So if you’ve always wanted to live in Japan, now’s your chance.

Diversity

DOBT is an equal opportunity employer. We will not discriminate and will take measures to ensure against discrimination in employment, recruitment, advertisements for employment, compensation, termination, upgrading, promotions, and other conditions of employment against any employee or job applicant on the bases of race, creed, color, national origin, or sex. We are committed in all areas to providing a work environment that is free from harassment.

How to apply

Fill out the form on Screendoor: https://screendoor.dobt.co/dobt/developer-hiring/ (yay for dogfooding!) Alternatively, send a note to sdp-response-hclhimz1@in.dobt.co. USA/Canada only, sorry. Recruiters and agencies will be marked as spam.

Testing at Airbnb 12 years ago

Wow. I'm surprised at how big they were able to scale, while still pushing most commits directly to master and having a test suite that took 1hr to run.

Passenger sometimes gets the date wrong when appending the http Date header to responses. This happens when the week-based year differs from the calendar year. It happens because it uses %G to print the year when it should be using %Y (see this commit: 15ed1d4).

Took me a few hours to track this down -- and it's probably affecting a large majority of the Rails apps that are using a Passenger server.

Hopefully getting the word out can save some folks a few hours of banging their heads on their desks.

Here's a quick summary:

There's a Rails design pattern where you send an AJAX request to your controller, and it returns a bunch of Javascript that gets eval'd by the page you're on. This is used for say, infinite scroll. You'll click the 'load more' button, the server will render a partial containing your new records, and return something like:

    $('#itemsList').append('<li>My new item</li><li>another new item</li>')
So guess what? This is susceptible to XSS-ish attacks.

Let's imagine that instead of a simple list item, this request was returning some sensitive information or a CSRF token. (Egor points to various examples of this.) Normally, executing a GET request from an unauthorized domain will not be allowed because of CORS. This is what prevents me from instructing the users of my website to make an AJAX request to gmail.com, allowing me to see all of their emails.

But "wait", you say, "the content type of this request is application/javascript."

So open developer tools and type this: (using jQuery for conciseness)

    $.ajax({
      url: 'https://basecamp.com/[BASECAMP_PROJECT_ID]/progress.js', 
      dataType: 'jsonp'
    })
And boom, you have a bunch of sensitive information about your Basecamp project, accessible via JSONP request from any domain.

Ah, that's neat. I usually just build these forms without the Rails helpers, using something like:

    <form>
      <input type='text' name='email' value='<%= params[:email] %>' />
    </form>
Which works out nicely, since the method defaults to 'GET' and the action defaults to the current path.

Author here. Probably a matter of preference, to be honest. has_scope never really made much sense to me.

If we're checking boxes, two features that Filterer has and has_scope doesn't are:

- results ordering

- pagination (although most folks will already be using kaminari or will_paginate)

Seems like as good of a time as any to bring up Zed Shaw's "Programming, Motherfucker": http://programming-motherfucker.com/

  We are a community of motherfucking programmers who have been humiliated by software development methodologies for years.

  We are tired of XP, Scrum, Kanban, Waterfall, Software Craftsmanship (aka XP-Lite) and anything else getting in the way of...Programming, Motherfucker.

  We are tired of being told we're autistic idiots who need to be manipulated to work in a Forced Pair Programming chain gang without any time to be creative because none of the 10 managers on the project can do... Programming, Motherfucker.

  We must destroy these methodologies that get in the way of...Programming, Motherfucker.