HNHacker News
TopNewBestAskShowJobs

motter

1,568 karma · joined March 29, 2010

submissionscomments
motter··on [dead]
Didn't see that, thanks. I've removed the thread.
motter··on HTTP for Servers
I think this is similar to what happens in the Java Community Process with TCKs.

"One of the three required pieces for each JSR is the Technology Compatibility Kit (TCK). A TCK is a suite of tests, tools and documentation that determines whether or not a product complies with a particular Java™ technology specification. A TCK must be included in a final Java technology release under the direction of its Expert Group."

Quoted from http://jcp.org/en/resources/tdk

motter··on Why Go Gets Exceptions Right
Do you have a link to the CL approach?

Edit: A quick search turn up this interesting LtU discussion: http://lambda-the-ultimate.org/node/1544

motter··on Why Go Gets Exceptions Right
Thanks for pointing out that this differs from the specification.

I found this quite thought-provoking about different error handling techniques, so thought it worth submitting.

motter··on Adding a new statement to Python
I was reminded of this by the post on the goto statement -- having used the AST module recently in a limited capacity[1], I was really impressed by how easy it was to use. There's a good pycon talk for those interested specifically in this part of the process[2], and you can also see the full grammar[3].

[1] http://blueprintforge.com/blog/2012/02/27/static-modificatio...

[2] http://blip.tv/pycon-us-videos-2009-2010-2011/pycon-2011-wha...

[3] http://docs.python.org/library/ast.html#abstract-grammar

motter··on How to contribute to an open source project: look for TODOs in code
Why do this when you can simply look at an issue list?

Seems likely that an issue entry will provide better context to the problem than a simple TODO would. Issues may also be tagged with a rough indication of how much work they will require to tackle. Choosing issues that are a small amount of work seem to be a good way to get familiar with a codebase.

motter··on REST is over
There's also a good presentation here:

http://www.slideshare.net/trilancer/why-hateoas-1547275

motter··on Show HN: Coder Weekly
Absolutely -- I'm trying to remember the name of the effect(s), but my searches have failed so far.
motter··on Show HN: Coder Weekly
Interesting, I had no idea that existed! Completely agreed on the different channels point -- it certainly seems like there's space for multiple players.

Anyway, good luck with statuscode!

motter··on Show HN: Coder Weekly
Seems a little unfair. I'm subscribed to two weekly newsletters, both of which are excellent:

http://www.pythonweekly.com/

http://www.hackernewsletter.com/

...so I decided to create one to gather together the best, most detailed programming articles I could find, regardless of language or platform. I don't see how this could be called "cloning", though the format of a weekly newsletter is obviously nothing new.

motter··on Show HN: Coder Weekly
For convenience I've created a feedburner feed: http://feeds.feedburner.com/CoderWeeklyArchiveFeed
motter··on Why Every Professional Should Consider Blogging
Thanks! Good point, I'll add it to my profile.
motter··on Why Every Professional Should Consider Blogging
For my blog, posts are generally spun out of something that has been helpful in my own work and warrants a write up.

For instance, my recent post on optimising Django's SQL query generation was a collection of useful tools and approaches.

Seen in this light, a couple of the benefits are: the sharing of useful knowledge, and exploring things I encounter in daily development in more detail. As well as building things, it's nice to be able to work on my written communication.

motter··on How our ability to forecast weather has improved
Does anyone here work with weather data? I'd love to hear more about the techniques and tools used.
motter··on An introduction to modern OpenGL
Note that this is in several parts. All are well worth reading:

http://duriansoftware.com/joe/An-intro-to-modern-OpenGL.-Tab...

motter··on How I Program Stuff
For me, programming is creative, and to be creative, you need to have the right environment.
motter··on How to improve your app ratings
I wonder how adding 'Beta' to an app's title influences user ratings.

Has anyone A/B tested this?

motter··on PEP 380 ("yield from") is now Final
Kudos for typing that out for the purposes of illustration!
motter··on PEP 380 ("yield from") is now Final
Full details: http://www.python.org/dev/peps/pep-0380/
motter··on Flask-Skeleton - a boilerplate for flask
Out of curiosity (I'm a flask user), would you be able to explain why?
motter··on Scala IDE 2.0 Released
Congrats to the scala community and the team that worked on this.

If there's a feature you'd like to see in a future release, you can suggest it here: https://groups.google.com/forum/?hl=en#!forum/scala-ide-dev

motter··on MIT launches new online learning initiative
This is a really exciting time to be a consumer (and indeed producer) of online courses.

As somebody who is a few years out of university, being able to access the courses that MIT, Stanford, Berkeley and others produce is really fantastic.

I can't help but feel there are many opportunities for startups in this space as platform and service providers.

motter··on Expect Longer Battery Life with Ubuntu Linux 12.04
Anecdotally, I appear to get better battery life with Windows (and some vendor-specific additions) than with Ubuntu on my laptop.

It's great to hear this is an active area of development, as it's probably the biggest remaining factor in me choosing host OS.

motter··on Optimising REST APIs
Have you looked at MQL? - http://wiki.freebase.com/wiki/MQL

There are some good examples here: http://wiki.freebase.com/wiki/MQL_Cookbook

motter··on Optimising REST APIs
It's not a limitation of django - subclasses of HttpResponse exist for certain error codes, and their content can be set in the normal manner.

https://docs.djangoproject.com/en/dev/ref/request-response/#...

Agreed - 'depth' makes more sense as a GET parameter, since it's a resource in its own right.

motter··on Optimising REST APIs

    The standard approach to expressing errors in a REST API
    is to use HTTP status codes. As is often the case with
    REST, this works fine for simple systems, but is simply
    too limiting for more sophisticated systems, particularly
    those which might submit a JSON or XML document to
    describe a POST request.
That's what the response body is for. If a client PUTs (or POSTs) a malformed representation, it's reasonable for the response to be 400 with error detail in the body.

The "depth" parameter is kind of interesting, since it gives the client a choice as to whether multiple resources are included in the response. I'd be interested to see how others implement this (or if the client is given no choice at all).

But essentially this is a straightforward choice between latency and response size.

motter··on Show HN: Seattle Startup Map
The Crunchbase API is a good starting point for those wishing to create maps of other cities:

http://groups.google.com/group/crunchbase-api/web/api-v1-doc...

motter··on HP CEO Mark Hurd Resigns Over Sexual Harassment Investigation
The question is: after the dust settles, can it be repaired?
motter··on What’s It Like to Work at Google?
Blogspam already? Why is this being upvoted?

Edit: to be clear, my definition of blogspam is "adds no value to the original content".

motter··on HN London meetup tonight (New Venue)
Could somebody point me to the mailing list where this was set up?
← PreviousPage 2 of 3Next →