Better HN
topnewbestaskshowjobs
Log inSign up

motter

1,568 karma · joined Mar 29, 2010 (16y ago) · 156 submissions

Submissions

1.

The fall of public key pinning and rise of Certificate Transparency(medium.com ↗)

1 points · by motter · 9y ago · discuss

2.

Hacking on Heka, part I(words.volant.is ↗)

9 points · by motter · 11y ago · discuss

comment 11y ago · link · parent

It's certainly worth looking at the standard flag package (http://golang.org/pkg/flag/) if you just need flag parsing.

I've also heard good things about https://github.com/spf13/cobra and https://github.com/codegangsta/cli.

4.

Understanding gunicorn's async worker concurrency model(words.volant.is ↗)

1 points · by motter · 12y ago · 2 comments

5.

Shuffle Sharding: massive and magical fault isolation(awsarchitectureblog.com ↗)

50 points · by motter · 12y ago · 10 comments

comment 12y ago · link · parent

That's a nice solution, though I've gone for a markdown admin widget instead.

This one if I remember correctly: https://github.com/timmyomahony/django-pagedown

comment 12y ago · link · parent

I'm in the process of moving away from a static site for my website.

Simply put, a web interface is often more convenient so I can update things easier on the go, and it's good to have a place to host experiments too.

I have used various static site generators but none of them seemed to be significantly less work to get going than a small django app on heroku. Though I've been using Django for a few years, so there is simply no learning curve left.

comment 12y ago · link · parent

It's surprisingly easy, though I believe the tests expect one to be configured (I haven't checked precisely why, or if it can be configured not to expect a database).

comment 12y ago · link · parent

We whipped the landing page together quickly, it is definitely not a good indicator of the project design.

Our new design looks like this: http://test.lfgss.com/. We focused heavily on clear typography.

It's not quite finished, so parts of it don't work yet. But you get the idea. Feedback appreciated.

comment 12y ago · link · parent

"How to Write Go Code" shows you this, and is a good read: http://golang.org/doc/code.html

comment 12y ago · link · parent

"Social networks -- real social networks, not the online instantiations of them -- work best when the groups are relatively small, Dunbar's number is respected, and there's a level of insularity around any given group."

Agreed, and to add to your point, group identity is also a strong motivator for close-knit networks.

Forums are a good example of this. It's partly why I think communities (and the software they use) centred around a specific interest or activity will, for certain kinds of community, ultimately win over what we now call social networks.

It's the tools that are lacking: at the moment it seems far easier to set up a facebook group than work out what a community needs and provide it without technical knowledge.

(I have an interest in this area because tools for communities are what I left my job to work on: http://microco.sm).

comment 12y ago · link · parent

I agree with the main conclusion here, but it's a stretch to reduce technology choices to a simple "new or not" dichotomy.

Let's say you're writing a new web service in Java, because it has features aplenty and is also the language your team is most familiar with. You're confident the JVM is a platform you want to build on.

Now you need to:

1. Choose a set of libraries or a framework. Do you go for Spring or Java EE, or for something newer like Play or Dropwizard?

2. Choose a build tool. Maven? Ant? Gradle? Maybe we'll write some scala, so SBT?

3. Choose tools for deployment, config management, etc.

4. A database.

5. And so on.

All of these tools have different trade-offs. There are so many trade-offs that I don't think blog post comparisons (or whatever) cut it. And so you have the "magpies" who try and figure out some of these trade-offs for themselves by experimentation. (That is what, in my opinion, hack days and 20% time are for, not your new production system.)

But don't listen to me, we wrote our new web service in Go ;)

More seriously, it was a major decision and I couldn't possibly write a few hundred words on my blog to justify it. I may write a few thousand, though.

comment 13y ago · link · parent

`go vet` (checks correctness) and golint (https://github.com/golang/lint) are also extremely useful.

As a whole the toolchain makes working with Go code very convenient.

comment 13y ago · link · parent

If you're in London, you might like to come to the Go user group which I run with John Graham-Cumming:

http://www.meetup.com/Go-London-User-Group/events/147685182/

Don't worry about the waitlist, people always drop out nearer the time.

15.

Trench-vision: the downside of bootstrapping(yankeesabralimey.tumblr.com ↗)

1 points · by motter · 13y ago · discuss

16.

Espruino (JavaScript microcontroller) raises 5x its Kickstarter goal(kickstarter.com ↗)

2 points · by motter · 13y ago · discuss

comment 13y ago · link · parent

http://play.golang.org/p/TjzkjvDfYa

comment 13y ago · link · parent

There's go-wiki: https://code.google.com/p/go-wiki/w/list

Another good resource for new Go programmers is Dave Cheney's list: http://dave.cheney.net/resources-for-new-go-programmers

And (shameless plug), the archive for the Go newsletter, e.g.: http://www.golangweekly.com/archive/go-newsletter-issue-9/

comment 13y ago · link · parent

Thanks for pointing that out. The static routes in the talk are just for illustration -- we use nginx to serve them in production.

One thing I haven't touched on at all is html template rendering, something I'd like to take a look at in detail at some point.

Would like to hear more about your experience with Go -- is there a writeup somewhere?

comment 13y ago · link · parent

In that case, I don't know a number that can be used for that comparison. 18k is the total number of lines in the source code files; the SLOC will be different.

In hindsight, I should've left this number out. It was intended to give background to the overall program size, but it's a small detail that shouldn't be the focus of this discussion.

21.

How we built a pre-launch, customer-development pipeline for Copyin(peternixey.com ↗)

6 points · by motter · 13y ago · discuss

comment 13y ago · link · parent

High compared to what?

It's just the output of

    wc -l `find microcosm/ -name *.go`
so is really just a rough indication of the size of the project.

comment 13y ago · link · parent

None of the links work in the embedded version, but if you download the PDF they're fine.

comment 13y ago · link · parent

Or you could fork selfstarter[1], which is what we used to allow users to reserve their username on http://microco.sm

[1] https://github.com/lockitron/selfstarter

25.

Absolute knowledge is absolute power(peternixey.com ↗)

68 points · by motter · 13y ago · 28 comments

comment 13y ago · link · parent

"...it's better for us to focus our intent on excellence in our own right, rather than our impact on someone else's product."

This, in my view, is the salient point for startups when faced with competition. It's too easy to get distracted by zero-sum thinking.

123456