Full Width [alt+shift+f] Shortcuts [alt+shift+k]
Sign Up [alt+shift+s] Log In [alt+shift+l]

More from Max Rozen

OnlineOrNot Diaries 23

Working with big systems all day can slow you down.

a month ago 59 votes
OnlineOrNot Diaries 22

Feels like I've already said everything I had to say

2 months ago 43 votes
OnlineOrNot Diaries 21

I was young, and needed to ship...

5 months ago 69 votes
OnlineOrNot Diaries 20

Dipping my toe in enterprise sales

9 months ago 90 votes

More in indiehacker

How to Resolve Local Hostnames in OPNSense

My router runs OPNSense Business. I like having an open-source router, but I have a few gripes with it. My biggest issue is that, by default, OPNsense can’t resolve hostnames on my local network. Why can’t OPNsense resolve local hostnames? For every other router I’ve owned in my life, if there’s a computer on my network named foo123 and I run ping foo123, then everything just works, and my computer successfully pings foo123.

6 days ago 20 votes
Living the digital nomad dream in Bangkok

Jesse Schoberg has an enviable life as a founder working from Thailand. He enjoys a great lifestyle at a fraction of the price back in the US. I chatted to him about growing his DropInBlog business into a SaaS success story. Why did you become a founder? My brain doesn&

2 weeks ago 34 votes
if got, want: A Simple Way to Write Better Go Tests

There’s an excellent Go testing pattern that too few people know. I can teach it to you in 30 seconds. Instead of writing Go tests like this: // The common, unrefined way. username := GetUser() if username != "dummyUser" { t.Errorf("unexpected username: got %s, want: %s", username, "dummyUser") } Write your tests like this, beginning each assertion with if got, want :=: // The underused, elegant way. if got, want := GetUser(), "dummyUser"; got != want { t.Errorf("username=%s, want=%s", got, want) } The if got, want :=: pattern works even better in table-driven tests. Here’s an example from my library for parsing social media handles:

2 weeks ago 34 votes
The IndieHackers podcast has ended - the 10 best episodes

The IndieHackers podcast, which celebrated founders who hadn't raised venture capital, has now ended

3 weeks ago 17 votes