News for hackers. Stuff that matters.

jbox

Re:Ask HN: What are good reads for designing APIs? on Wednesday August 10, 2016 @12:16PM (#12262847)
Heroku's Interagent is a set of practical guidelines for building APIs based on their Platform API: https://github.com/interagent/http-api-design
Re:Golang custom transports and timeouts on Thursday April 09, 2015 @08:45PM (#9351972)
If you're going across the network, a slow timeout is often trickier than an explicit failure.

I wrote about handling this in Python: http://www.mobify.com/blog/http-requests-are-hard/

Re:Show HN: One click image optimization for GitHub on Tuesday December 23, 2014 @10:09PM (#8791380)
No worries! It worked, we just got a lot of emails :)

Could you aggregate the messages and post an update when the entire task is complete?

Seeing the commits come seems to be a good progress indicator.

If you are "watching" a repo, you get an notification for every comment, not every commit.

You could also just create the PR with a link to the job on ShrinkRay and have the progress updates there...

Re:Show HN: One click image optimization for GitHub on Tuesday December 23, 2014 @01:16PM (#8789318)
Cool tool!

I gave it a shot on one of our private repos this morning and it did what it said on the box.

In the process it also generated ~150 comments on the repo.

For folks watching the repo, this is a fair amount of email.

Is there anyway to aggregate the comments? Perhaps into the Pull Request description?

Re:New GitHub Pages domain: github.io on Friday April 05, 2013 @11:09PM (#5502487)
"As a general rule, it's not possible to securely allow arbitrary user-provided content on a subdomain."

This rule is also good to keep in mind when choosing a domain for non-production environments!

Especially when parts are straight copies out of Zepto.

Zepto Closest Implementation: https://github.com/madrobby/zepto/blob/master/src/zepto.js#L...

JQ.Mobi: https://github.com/appMobi/jQ.Mobi/blob/master/jq.mobi.js#L3...

Zepto End Implementation: https://github.com/madrobby/zepto/blob/master/src/zepto.js#L...

JQ.Mobi: https://github.com/appMobi/jQ.Mobi/blob/master/jq.mobi.js#L4...

That said, it's all open source and there are only so many ways to write these functions succinctly.

Re:Ask HN: Who is Hiring? (January 2012) on Sunday January 01, 2012 @02:36PM (#3413645)
Mobify, Vancouver, Canada.

Director of Engineering

Mobify is a growing, profitable, bootstrapped startup. Our goal is to build a web where every website delivers and amazing experience on every device. We serve millions of pageviews for companies like Starbucks, Threadless and Conde Nast using a combination of client/server side JavaScript.

We're looking for an experienced technical manager with a history of delivering successful web products.

We have a glee club, yoga classes and an awesome team.

http://mobify.com/company/jobs/#job-list

Re:Django 1.3 released on Wednesday March 23, 2011 @02:53AM (#2358372)
It's been fun watching these features play out in libraries over the last year.

I particularly like the idea of TemplateResponse - the earliest implementation I saw was in simonw's:

https://github.com/simonw/django-openid/blob/master/django_o...

This approach makes template rendering much more flexible!

For example, it would be easy to swap out a template for a mobile one ... or to A/B test a template. Or choose the content type of the output (HTML, JSON etc.)

Re:Ask HN: Who's Hiring? (December 2010 Edition) on Wednesday December 01, 2010 @11:35AM (#1958414)
Vancouver, BC, Canada - Mobify

http://mobify.me/jobs/

We're building great mobile experiences using HTML5.

Looking for smart people with a background in web development.

We're based out of downtown Vancouver - right by the water, mountains and nightlight. Weekly yoga classes, flexible schedules and all the latest gadgets :)

Mail me a john at mobify dot me.

Re:Ask HN: Who's hiring? (September 2010) on Friday September 03, 2010 @11:52AM (#1659966)
JavaScript Developer (Wearer of Many Hats) - Vancouver, Canada

http://mobifymedia.com/jobs/

Mobify is a mobile web company. We're changing the way people surf the mobile web. We work with traditional publishers like Wired and SPIN Magazine as well as top websites like BoingBoing and Smashing Magazine.

We're looking for more devs to help us take our client side interactions to the next level. If it's your dream to optimize the performance of top mobile websites drop us a line!

john at mobify dot me.

Re:Django 1.2 final out on Monday on Sunday May 16, 2010 @02:21PM (#1352482)
customizing auth.User to accept an email based login

This app solves the problem by allowing users to log in using their email address.

It's not a bug that it doesn't deal with account creation - it's outside the scope of the app.

That said, it is fairly trivial to create a registration form that enforces the constraints you mentioned.

Re:Django 1.2 final out on Monday on Saturday May 15, 2010 @05:01PM (#1350646)
Re. customizing auth.User to accept email based login - There isn't a completely DRY solution for this, but it's got much better - here is a tiny app that will do it for you:

http://github.com/johnboxall/django-email-auth

The URL of the CSS file and the contents are POST'ed as a key/val pair back to a endpoint you specify in the configuration.

You'll need to setup a listener on your server to process the request and save the contents to file.

Re:Booted out of Bootup Labs on Thursday April 15, 2010 @12:55AM (#1267027)
Acquisition, investment or acceptance into an incubator are all great things but don't build your startup in such a way that success is dependant upon them.

Ultimately, your success will depend on one thing - you. Build your business for profitably and don't count on money until it's safely cleared in your account.

Re:A Shocking Truth About CSS on Tuesday March 09, 2010 @01:12PM (#1178981)
Steve's final conclusion:

“For most web sites, the possible performance gains from optimizing CSS selectors will be small, and are not worth the costs. ”

http://www.stevesouders.com/blog/2009/03/10/performance-impa...

Re:Notify HN: There is currently an AppEngine outage on Wednesday February 24, 2010 @12:53PM (#1148588)
Happy that their status page stay up this time. Last time (236 days ago) this happened, it was not.

http://news.ycombinator.com/item?id=685093

Re:The iPhone obsession on Monday February 08, 2010 @11:54AM (#1110070)
None.

Having worked on mobile web applications that serve a wide range of devices, I can honestly say that this is not the case.

I would challange ppk to cite examples of this behaviour.

Re:Django-forum on Thursday January 07, 2010 @11:53AM (#1037372)
I think you guys nailed the look and feel, nice work!

A few months ago I was looking for a Django forum. Of the existing solutions, I liked Snapboard best for it's clean code, relative simplicity and test coverage. In the end I used it but rewrote a substantial part. This code is available on GitHub: http://github.com/johnboxall/snapboard/tree/dev/snapboard/

It's currently used to host the Mobify forums: http://community.mobify.me/

Re:How To Develop a jQuery Plugin on Wednesday July 22, 2009 @05:34PM (#718614)
Not to be cheeky but if you're familiar with programming and JavaScript I'd start with the jQuery source:

http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js

Be patient and focus on understanding one part that your are familiar with - perhaps handling AJAX requests.

This is a very crowded space. The involved players market themselves towards carriers rather than the end user so it's unlikely simple searching will turn them up.

For example airG (http://corp.airg.com/) has deployed white label social networks on most North American carriers. They don't come up for "white label mobile social network" :)

Re:Django design patterns on Friday July 03, 2009 @02:23PM (#686424)
If you're interested in Django Design Patterns check out James Tauber and Brian Rosner's talk "Django Design Patterns": http://eldarion.com/talks/2009/05/eurodjangocon_djangopatter...
Re:Google App Engine Broken For 4 Hours And Counting on Thursday July 02, 2009 @04:15PM (#685093)
I disagree. The GAE status page was down for hours: http://code.google.com/status/appengine

What's the point of having a status page it's only up as long as your service? We shouldn't have to hunt around a Google Group for information about what's going on.

Re:Dynamically create a type with Python on Wednesday June 17, 2009 @08:16PM (#662724)
"Metaclasses won't fly in this case, since the order of struct members has to be kept."

Couldn't you use a creation counter in a metaclasses and assign order to the attributes as they are added? (like Django's forms use to keep track of field order)

Re:Dajax: An easy to use ajax library for Django on Wednesday May 20, 2009 @09:35PM (#619685)
There be dragons in the Python: http://code.google.com/p/dajaxproject/source/browse/trunk/da...

If all that importing is really necessary then you might want to check out Django's new preferred import method, importlib, it might clean that up a bit: http://code.djangoproject.com/ticket/8193

And here in the J/S - lots of evals - is that really necessary?: http://code.google.com/p/dajaxproject/source/browse/trunk/da...

Re:EuroDjangoCon Presentations on Saturday May 16, 2009 @12:14AM (#611847)
Good conference - Too heavy on scalability.

Best slides from the bunch IMHO:

James Tauber's Django Patterns - an in depth overview of common patterns found throughout a Django Project:

http://eldarion.com/talks/2009/05/eurodjangocon_djangopatter...

Alex Gaynor's Form's presentation included many interesting ideas including a few 'ohhhh' moments using some functional hotness to get things done fast:

http://www.slideshare.net/kingkilr/forms-getting-your-moneys...

Paul Smith's talk on the EveryBlock stack dives into map tile generation and rendering using Django.

http://www.slideshare.net/pauladamsmith/the-web-map-stack-on...

Simon Willison's talk was excellent though you might not get as much out of the slides. Turtles all the way down!

http://www.slideshare.net/simon/django-heresies

Re:Django File Browser on Thursday April 30, 2009 @07:53PM (#587773)
Looks awesome!

I think class implementations of Directories & Files would probably go a long way to helping cut down cruft in the view code:

http://code.google.com/p/django-filebrowser/source/browse/tr...

Re:Vancouver HN April Meetup on Wednesday April 01, 2009 @02:07AM (#541447)
I've also seen some of the SocialPicks guys cruising around.

Older »