HNHacker News
TopNewBestAskShowJobs

benrhughes

86 karma · joined February 27, 2012

submissionscomments
benrhughes··on We Have Luxurious Jobs but We Are Not Aware of It
Study Stoicism or Buddhism (if you don't like the religious aspect, it's easy enough to only focus on the philosophical - that's what I do).

There's a surprising amount of overlap between the two. I always liked Buddhism conceptually, but it never really clicked with me. Stoicism on the other hand feels quite natural. Maybe it's a anglo-centric thing.

At the root of both philosophies is the realization of impermanence of all things. Recognizing (and really feeling) this impermanence goes a long way to helping you to mindfully appreciate what you have.

To give you the flavour of what I mean, some Stoic practices include:

- negative visualisation: imagine what it will be like when thing/person X is no longer in your life (which is inevitable). This, somewhat counter-intuitively, brings you into the present and helps you enjoy what you have.

- periodic self deprivation: go a week without your smartphone, or hot showers. This does two things: it teaches you that you can survive without something you're attached to, and also lets you appreciate it. In some ways the essence of Buddhism and Stoicism is "appreciation without attachment".

Stoicism is very practical - Epictetus, Seneca etc basically set you homework. The foundational principle is that there are 2 classes of things: those completely within your control, and everything else. Happiness, freedom and living a good life come focusing your energy on the first class, and being indifferent to the second. The "homework" is about helping you practically interact with the world from that perspective.

edit: for further reading, I'd recommend Irvine's A Guide To The Good Life. Although I find reading Epictetus and Seneca much more enlightening, Irvine is a nice on-ramp.

benrhughes··on Tmux 1.9 released
Tmuxifier (https://github.com/jimeh/tmuxifier) is a great utility for scripting tmux layouts. Well worth checking out if you have complex layouts you want to be able to recreate.
benrhughes··on Mercurial 2.9 released
At work we have non-devs (mostly scientists) using our repos, and I didn't want to have to teach them git. Mercurial is much easier to pick up IME. With the right plugins enabled, there's not much I miss day to day compared with git.

At home I still use git. In part because of github, in part because I like some of the default behaviour better, and in part because being forced to learn how it works to dig my way out of holes broadens my understanding of DVCSs in general.

benrhughes··on The problem with vim
The VsVim extension for Visual Studio is actually quite good too.
benrhughes··on The Open Source Report Card: Dynamic progress reports for Github developers
Pretty and neat, although I echo the sentiments of others on the use of "expert". Especially when github is where I do side projects, not stuff I'm good enough to get paid to do.
benrhughes··on Poll: Do you use your real identity on HN?
In the context of Epictetus' writing, "they" in fact do not hold power over you. That is in large part the entire point of Stoicism.
benrhughes··on Flickr gets new UI, new Android app, 1 TB free space
The 300MB limit might have been removed from the copy, but it's still enforced: https://dl.dropboxusercontent.com/u/5428533/Capture.PNG
benrhughes··on Poll: Do you use your real identity on HN?
I do a similar thing. As Epictetus said:

"When you do anything from a clear judgment that it ought to be done, never shun the being seen to do it, even though the world should make a wrong supposition about it; for, if you don't act right, shun the action itself; but, if you do, why are you afraid of those who censure you wrongly?"

benrhughes··on Introducing "Functional JavaScript"
Link seems to go nowhere, unfortunately
benrhughes··on Letterpress — A minimal, Markdown based blogging system written in Python
Sure: http://paulsamways.com/projects/upublish
benrhughes··on Why we don't hire programmers based on puzzles and tricks
That mirrors my experience with Amazon too. Although it was 3.5hrs of full-on whiteboard coding, I really enjoyed the process and felt like I learned a lot. 3 of the 4 interviewers were excellent.
benrhughes··on Letterpress — A minimal, Markdown based blogging system written in Python
Funnily enough, I just wrote something similar in node[1] and one of my mates has just written one in Go too. Great minds, or something :-)

[1]: https://github.com/benrhughes/crashdown

benrhughes··on Posterous cofounders create a replacement: Posthaven
Because it's taken me less time to write my own thing, that does exactly what I want, than it usually takes me to configure and customise wordpress.

Also, (and this is the main reason, really) it's just a lot of fun.

benrhughes··on Posterous cofounders create a replacement: Posthaven
This would have been perfect around a year ago. Once the writing was on the wall, I migrated 4 or 5 sites (kinda, mostly) to self hosted Wordpress. I would have happily shelled out $5/mth to go to posthaven, had it existed.

Because WP bugs me, I've written my own lightweight markdown based thing in node[1] that I'm gradually moving everything to.

On the upside, the Posterous thing finally taught me to not rely fully on free services, no matter how good the feature set.

[1]http://github.com/benrhughes/crashdown

benrhughes··on Show HN: Mrklt, Kindle-style highlights bookmarklet for the web
Thanks for fixing it :)

The app itself is really nice. Seems to do exactly what I'd expect. Nice and simple.

Good work.

benrhughes··on Show HN: Mrklt, Kindle-style highlights bookmarklet for the web
Twitter signup fails on redirect with a "sorry that page doesn't exist".

Url is https://api.twitter.com/oauth/mrklt.herokuapp.com/session?oa...;

benrhughes··on Is It Cheating to Have a Side Project?
FYI, for whatever reason, trying to sign up in FF for Android I constantly got an invalid email address error. Worked fine through desktop Chrome though.
benrhughes··on Write More Classes
FWIW, with C#'s object initialisation syntax you can cut that down to once too. eg

  public class Foo
  {
     public string Bar { get; set;}
  }

  var foo = new Foo { Bar = "Hey there" };
benrhughes··on Things That Are Never Admitted About Open Source
I think the author is being a little uncharitable to MS. While he's correct that the whole company isn't going OSS any time soon, there's a decent number of projects that are "fully" OSS (as in they take contribs) and even more where the source is available.

So they're not just making sure OSS works with their products. In a lot of situations (esp in dev tools) they are actively promoting and releasing OSS.

benrhughes··on Closing Issues via Commit Messages
This is nice, but I'd like it to go a step further.

I have my default branch set to 'dev' so that that's where pull requests go by default (otherwise I end up with pull requests going to 'master', and having to manually merge them). However, I'd like the github project page to default to 'master', and I'd also only like issues closed when they're merged into 'master'.

I guess what I'm asking for is more granularity in the default branch settings: I'd like a 'default branch' and a 'default branch for pull requests'.

benrhughes··on Can filming one second of every day change your life? [video]
> I've always felt there was something bordering on the "sacred" about memories. They're as personal a thing as you can have. Being able to rewind and see everything that ever happened to me would take something away from that for me. As with many technologies, you'd gain something, but lose something precious too.

Ed: Do you own a video camera?

Renee Madison: No. Fred hates them.

Fred Madison: I like to remember things my own way.

Ed: What do you mean by that?

Fred Madison: How I remembered them. Not necessarily the way they happened.

benrhughes··on Trello celebrates One Million Users
At my last place we used Trello from the day it came out (and had used fogbugz for years). At my current place we use jira + agile. I do prefer Trello for high level stuff, but I think jira does a good job of handling both high level and low level tracking in the same app. Their agile stuff seems to be getting better too.

I'm glad to see Trello is going so well. It's a great product and a great example of not having to build something that covers every possible use case.

benrhughes··on Distraction free writing and the simplest blogging platform in one
Excellent, looks great.
benrhughes··on Distraction free writing and the simplest blogging platform in one
I really, really like the interface. I'd love to use it for my blog, but I'd want a self hosting version. I've been burnt too many times by hosted/proprietary writing platforms.

If you're not keen on self-hosting, I'd want: - the ability to export to an importable format (eg, wordpress's WXR). Exporting html/text is all well and good, but I need to be able to migrate - other stuff I'm sure you've thought about, like custom domains, custom URLs (eg /this-is-the-post-title) etc - discoverability of other users/"blogs" on the network

Nice work though. I really like it.

benrhughes··on Twitter and Emptiness
A few months ago I quit Twitter after being a fairly heavy user (24k tweets in ~4yrs). I found one of my now-best IRL friends on Twitter, and a lot of other people I care/d about.

But more and more, it seemed to create an emptiness in me. Or more to the point, it brought the existing emptiness to the surface. There's a kind of desperation there, with everyone clamouring to be less lonely.

It also occupied too much of my thought process. I'd find myself subconsciously rephrasing thoughts into 140 character chunks. It was weird.

I'm still half tempted to go back, and try and to see if I can maintain the relationships without the downsides. I'm not too confident though.

benrhughes··on What one book could give me a new, useful superpower?
1) Discourses (incl Enchiridion) by Epictetus, if you're interested in happiness and contentment.

1a) A Guide to the Good Life is an easier introduction to Stoic philosophy if you don't want to dive straight into Epictetus

2) The Black Swan by Taleb to change the way you think about risk

benrhughes··on On logic in a Rails app
MVC is great for managing the display layer, but it doesn't really cover how to manage your domain logic. IME, MVC scales best when the "model" is a logicless DTO created by a business layer.

For small scale apps this is overkill, and you can squash persistence and business logic into the model. But for some complex apps you really benefit from a multi-layer approach.

benrhughes··on Goodbye, Uploads
This is understandable, but a bit sucky for me. Since day 1 I've hosted todotxt.net's installer files on github, and the project's landing page uses the downloads API to link to the latest version.

Thankfully I changed the app to link to the landing page rather than the downloads page.

In any case, it was nice while it lasted. Especially the ability to track the number of downloads.

Guess I'm spending the night changing my release process and landing page :(

benrhughes··on Why I released a crappy todo app that no-one will ever use
I felt the same way when I released my todo app (http://benrhughes.com/todotxt.net - a windows implementation for http://todotxt.com). I mean, who's ever going to use this little PoS that I wrote basically so I could update my task list at work? The last thing the world needs is another todo app.

That was a bit over a year ago. Now I have ~500 active users and a half a dozen of contributors. I get random "thanks" emails, the occasional donation, and something nice to put on my resume. And the satisfaction of actually shipping something.

benrhughes··on PostgreSQL Rising
There's a reason Oracle can charge an arse-load of money, and it's not because they're "evil": it's because their DB does some frigging incredible things when you know how to use it. I've worked with a 4 billion row star schema, partitioned by day then sub-partitioned for query optimization. It was OK to be "stale", so we inserted each day's data into an indexless table then swapped it in as a new partition over night.

Billions of rows in performance critical apps is pretty edge case. I think a lot of people paying for Oracle could pretty easily migrate away.

← PreviousPage 2 of 2