HNHacker News
TopNewBestAskShowJobs

peterhartree

148 karma · joined November 25, 2014

https://www.peterhartree.co.uk
submissionscomments
peterhartree··on M1 MBP down to 3.5hr battery life when writing code
I have same issue with my 2021 16" M1.

I bought an iPad Pro recently, so I can leave the 16" plugged in at the office.

peterhartree··on Show HN: Get conversational practice in over 20 languages by talking to an AI
Nice. Please add Icelandic some time soon. I'd probably be willing to pay for that.
peterhartree··on Cal Newport on an industrial revolution for office work
Yes, it collects your email when you install. This lets me send a couple onboarding messages and determine what plan you are on. There's more info in the (human readable) privacy policy.

When I started this project I wanted the onboarding experience to be as simple as possible, i.e. no annoying sign up stage. I wondered whether this approach would lead to lots of questions like yours: in fact, I think less than 5 people have asked about this since 2015. My sense is that, on balance, most people benefit from the "install = sign-up" flow.

https://inboxwhenready.org/terms-privacy/

peterhartree··on Cal Newport on an industrial revolution for office work
If you're using Gmail, you could get a setup like this by installing "Checker Plus for Gmail".

Enable notifications, then in the "Accounts / Labels" tab set the "Polling interval" to 2 hours.

You can also set a "Do not disturb" schedule, during which no notifications will be delivered.

https://chrome.google.com/webstore/detail/checker-plus-for-g...

peterhartree··on Cal Newport on an industrial revolution for office work
> Fixing the hive-mind is going to be a billion dollar industry

Cal Newport was one of the inspirations for https://inboxwhenready.org. At this point, people have paid me over $100K to make it harder for them to read their email.

I've made some effort to persuade the Gmail and Superhuman teams to take this issue seriously, but to no avail, yet. If anyone here is building an email client or popular Gmail extension, I'm happy to talk about this stuff whenever.

peterhartree··on Pomy – Focus timer app for eye health
I recently started using Time Out (Mac) to force myself to take breaks. It's good.

https://dejal.com/timeout/

For a more minimal and non-forcing break timer, Tadam is nice.

https://apps.apple.com/us/app/tadam/id531349534?mt=12

peterhartree··on Are we living at the 'hinge of history'?
Wikipedia has a good list of nuclear close calls: https://en.wikipedia.org/wiki/List_of_nuclear_close_calls
peterhartree··on 'Our minds can be hijacked': tech insiders who fear a smartphone dystopia
In 2015, the European Commission published a report which included the following [1]:

> We believe that societies must protect, cherish and nurture humans’ attentional capabilities. This does not mean giving up searching for improvements: that shall always be useful. Rather, we assert that attentional capabilities are a finite, precious and rare asset. In the digital economy, attention is approached as a commodity to be exchanged on the market place, or to be channelled in work processes. But this instrumental approach to attention neglects the social and political dimensions of it, i.e., the fact that the ability and the right to focus our own attention is a critical and necessary condition for autonomy, responsibility, reflexivity, plurality, engaged presence, and a sense of meaning. To the same extent that organs should not be exchanged on the market place, our attentional capabilities deserve protective treatment. Respect for attention should be linked to fundamental rights such as privacy and bodily integrity, as attentional capability is an inherent element of the relational self for the role it plays in the development of language, empathy, and collaboration. We believe that, in addition to offering informed choices, the default settings and other designed aspects of our technologies should respect and protect attentional capabilities.

(The report was co-authored by Luciano Floridi, who is supervising James Williams' PhD at Oxford.)

[1] https://ec.europa.eu/digital-single-market/sites/digital-age...

peterhartree··on 'Our minds can be hijacked': tech insiders who fear a smartphone dystopia
> If this is true Then it also presents a unique opportunity. I.e. There should be a very real and observable productivity boost from being able to ignore

B J Fogg, who gets brief mention in this article, teaches his students to cause behaviour by making the behaviour easy and then delivering timely triggers [1]. If you find yourself behaving in ways you don't reflectively endorse, your basic approach should be to flip the Fogg model upside down – avoid triggers and make it harder.

In my own case, that's meant disabling notifications and blocking websites and apps. I also hacked a Chrome extension which applies the "avoid triggers and make it harder" idea to Gmail [2]. The extension has several thousand users, many of whom reclaim 30-60 minutes of focussed work each week which would otherwise be lost to compulsive inbox processing.

[1] http://www.behaviormodel.org/

[2] https://inboxwhenready.org

peterhartree··on 'Our minds can be hijacked': tech insiders who fear a smartphone dystopia
If you enjoyed the article and want a more detailed discussion, James Williams gave a talk on this topic at the RSA in May [1], and did an interview with David Runciman in July [2].

[1] https://soundcloud.com/the_rsa/are-digital-technologies-maki...

[2] https://www.talkingpoliticspodcast.com/blog/2017/53-the-nine...

peterhartree··on The “free” economy comes at a cost
> Correct a problem? A problem for who? Neither the consumer nor the provider appear to be in any kind of trouble.

In a recent lecture at the RSA [1], James Williams (former Googler who worked on metrics and strategy for search advertising) makes the case that:

- The ‘distractions’ produced by digital technologies are much more profound than minor ‘annoyances’

- So-called ‘persuasive’ design is undermining the human will and ‘militating against the possibility of all forms of self-determination’

- Beginning to ‘assert and defend our freedom of attention’ is an urgent moral and political task

I'd recommend giving it a listen. Tristan Harris' recent TED talk offers a more popular primer [2].

[1] https://soundcloud.com/the_rsa/are-digital-technologies-maki...

[2] https://www.ted.com/talks/tristan_harris_the_manipulative_tr...

peterhartree··on Our Minds Have Been Hijacked by Our Phones
From the transcript of the TED talk [1] mentioned in the OP:

> So how do we fix this? We need to make three radical changes to technology and to our society.

> The first is we need to acknowledge that we are persuadable. Once you start understanding that your mind can be scheduled into having little thoughts or little blocks of time that you didn't choose, wouldn't we want to use that understanding and protect against the way that that happens? I think we need to see ourselves fundamentally in a new way. It's almost like a new period of human history, like the Enlightenment, but almost a kind of self-aware Enlightenment, that we can be persuaded, and there might be something we want to protect.

> The second is we need new models and accountability systems so that as the world gets better and more and more persuasive over time -- because it's only going to get more persuasive -- that the people in those control rooms are accountable and transparent to what we want. The only form of ethical persuasion that exists is when the goals of the persuader are aligned with the goals of the persuadee. And that involves questioning big things, like the business model of advertising.

> Lastly, we need a design renaissance, because once you have this view of human nature, that you can steer the timelines of a billion people -- just imagine, there's people who have some desire about what they want to do and what they want to be thinking and what they want to be feeling and how they want to be informed, and we're all just tugged into these other directions. And you have a billion people just tugged into all these different directions. Well, imagine an entire design renaissance that tried to orchestrate the exact and most empowering time-well-spent way for those timelines to happen. And that would involve two things: one would be protecting against the timelines that we don't want to be experiencing, the thoughts that we wouldn't want to be happening, so that when that ding happens, not having the ding that sends us away; and the second would be empowering us to live out the timeline that we want.

[1] https://www.ted.com/talks/tristan_harris_the_manipulative_tr...

peterhartree··on Ask HN: How did you acquire your first 100 users?
Here's what I did for my Chrome extension [1]:

1. Searched the Chrome Web Store, Twitter and Google for users who had said lukewarm or negative things about another extension which addresses a similar user problem in a different way.

2. Searched the same places for people who were clearly interested in the topic of focus and email productivity.

I spent a day or so manually emailing several hundred people in this way. This initial push - and the events that it lead to (e.g. people I contacted recommending the extension to others) - got me 100 WAU within a couple of weeks (and lots of helpful feedback).

(I tried some other things which were much less effective. Listing sites, in particular, were largely a waste of time, though my Product Hunt submission came good when the extension was featured a few months later.)

[1] https://inboxwhenready.org

peterhartree··on Ask HN: I’ve been applying to a million jobs
> I can't take this situation anymore and this is a cry from the heart.

> I am so frustrated right now, I don't understand why everything takes so long, this process is unbearable.

Meta advice: if I were you, I'd take a break for a few days and focus on getting your feelings about this back to a calmer, constructive, cheerful place.

If you're not sure how to do this, I'd say: start with vigorous exercise every day [1], do things you normally enjoy, and consider mindfulness meditation [2].

[1] http://7-min.com/ is a good quick fix.

[2] https://www.headspace.com/ is good and free for a beginner.

peterhartree··on The Google Analytics Setup I Use on Every Site I Build
> all I'll say is you'll be very surprised how many bots actually execute JS

Interesting. Do you have any numbers you can share?

peterhartree··on The Google Analytics Setup I Use on Every Site I Build
> for many websites you'll get more accurate traffic data with GoAccess parsing your logs and showing you page views and basic demographic data

Yes but remember that bot traffic may be more of an issue when analysing server side logs (a lot of bots still don't execute JavaScript).

It's hard to know how effective the bot filtering features in GoAccess are compared with those of Google Analytics.

peterhartree··on The Google Analytics Setup I Use on Every Site I Build
We're seeing 30-50% of visitors blocking Google Analytics client side tracking at 80000hours.org. Target audience is university educated 18-30 year olds, ~100K unique visitors / month.

The folks at Segment.io warn their users to expect ~20%, with the caveat that blocking rates vary wildly between demographics [1].

[1] https://community.segment.com/t/1889n1/how-common-is-client-...

peterhartree··on Four of Iceland’s main volcanoes are preparing for eruption
There was no smell from the plane. But the Bárðarbunga eruption did emit a lot of sulphur dioxide [1][2].

[1] http://en.vedur.is/pollution-and-radiation/volcanic-gas/meas...

[2] https://en.wikipedia.org/wiki/2014%E2%80%932015_eruption_of_...

peterhartree··on Four of Iceland’s main volcanoes are preparing for eruption
When there are ongoing eruptions in Iceland, there are usually several companies that offer flights or helicopter tours to go see them. The tours normally cost $1-2k per person. Another option is to go hang out at the domestic airport in Reykjavík. Talk to a few people and you may find a private pilot who just wants to split the fuel cost.
peterhartree··on Four of Iceland’s main volcanoes are preparing for eruption
> Isn't it dangerous to fly over erupting volcanos?

I'm not a pilot, but I trusted the judgement of the pilot and felt like it was worth the risk. The pilot planned our approaches carefully and though we got quite low, we were always circling around rather than going directly over the fissure. At the time the Icelandic aviation authorities had issued a warning (but no closure) for the airspace around the volcano.

The spectacle was so moving that fear wasn't a prominent emotion. The only hair-raising part was when we flew too low over some lava (shortly after this photograph was taken: https://www.flickr.com/photos/41812768@N07/15145875322/in/al...). The turbulent air from the heat shook the aircraft so violently that my headset came off.

peterhartree··on Four of Iceland’s main volcanoes are preparing for eruption
I live in Reykjavík. I was lucky enough to have a friend with a plane when Bárðarbunga erupted in 2014.

Photos: https://www.flickr.com/photos/41812768@N07/albums/7215764724...

If you're planning a visit to Iceland I'm happy to answer questions here or by email.

peterhartree··on Ask HN: What insight was key to growth of your career or startup?
Sam Altman's advice to "always ask" has been very helpful. I can't find the link but the sense is: do not skip asking for something you want because you assume you'll get a "no".
peterhartree··on Stop Checking Email So Often (2015)
I made a Chrome extension for Gmail which uses CSS to make your inbox hidden by default [1]. This makes it easy to search your archives or compose new messages without seeing your inbox.

Users of the extension report benefits that sound similar in kind and magnitude to those mentioned in the article [2]. The median user has Gmail open, but the inbox hidden, for 1.5 hours per day (mean: 4.5 hours).

I'm starting to think that "inbox hidden by default" should be the standard UI for an email client.

[1] https://inboxwhenready.org

[2] https://chrome.google.com/webstore/detail/inbox-when-ready-f...

peterhartree··on 8,760 Hours: How to get the most out of next year
Alternative PDF link:

https://drive.google.com/open?id=0B-A14CtANtmIX3ZCQmFvVW5neU...

peterhartree··on On Phone Numbers and Identity
> Call your cell phone provider and set up a PIN or password, ask for a port freeze and ask to lock your account to your current SIM.

Seriously — do this. I’ve twice had the experience of walking into the retail store of a major UK network, supplying my mobile number, name, date of birth and postcode, and walking out with a replacement SIM card activated for my current number. In both cases I subsequently complained loudly to the network management and received apologies and assurances that the retail staff were not following protocol, training procedures would be reviewed etc.

peterhartree··on Developing ethical, social, and cognitive competence (2015)
> Fluidity recognizes that ethics can have no ultimate foundation, but that we can still often make clear judgements. [...] It takes ethics to be a matter of collaborative practical improvisation that is responsive to specific situations. Lacking any ultimate principles, an engineering approach to ethical mastery is impossible, but ethical skill—a toolkit of methods for ethical bricolage—can be learned.

If you find this interesting, I recommend Ethics Without Principles by Jonathan Dancy [1], or the Stanford Encylopedia of Philosophy article on Moral Particularism [2].

[1] http://www.oxfordscholarship.com/view/10.1093/0199270023.001...

[2] http://plato.stanford.edu/entries/moral-particularism/

peterhartree··on Formal – Interruption free communication
I made a Chrome extension for Gmail which includes a timed inbox lockout feature. You could configure this so that you can only see your inbox at specific times of day.

https://inboxwhenready.org/

peterhartree··on Users You Don’t Want
I enjoyed the piece, thanks Michael.

Sorry for the boring feedback, but the post feels like it needs a bit more proofreading. Some of the syntax is a little confusing and I noticed a couple of definite typos:

> So what should to you?

Should be:

> So what should you do?

And:

> Does this user represent an even better opportunity for you to grow your business.

Should be:

> Does this user represent an even better opportunity for you to grow your business?

peterhartree··on How to use your full brain when writing code
Strongly agree. Another good option for aerobic exercise is the 7 minute workout [1]. I often do a couple of rounds of this when I need a quick refresh between sessions of focussed work.

The routine is easily done in an office / park / parking lot, though you'll probably want a shower afterwards.

[1] http://7-min.com/

peterhartree··on Ask HN: How happy are you working as a programmer?
9/10

I'd say that's roughly half because I enjoy the work and half because over the years I've got better at looking after myself, being self-aware and cultivating positive habits.

For me, the big wins have been:

(1) Regular exercise (daily cardio, weight training 3x a week)

(2) Daily mindfulness meditation.

(3) Flexible hours, remote working.

In some circumstances, (3) can be hard to negotiate. But (1) and (2) are up to you.

See also this excellent survey of positive psychology: https://www.coursera.org/learn/happiness/

Page 1 of 2Next →