Better HN
topnewbestaskshowjobs
Log inSign up

stephen123

110 karma · joined Apr 21, 2014 (12y ago) · 88 submissions

stephenn.com
Submissions

comment 1y ago · link · parent

I like leopard links for that. cmd+t type "go/" and I get all of the shortcuts I've configured.

https://leopardlinks.com/

comment 2y ago · link · parent

Its google cloud sql.

comment 2y ago · link · parent

What do you do to then query the data? I usually need indexes so queries are not slow. Perhaps I could insert into a staging table then bulk copy the data over to an indexed table, but that seems silly.

comment 2y ago · link · parent

How were they doing millions of events per minute with postgres.

I'm struggling with pg write performance ATM and want some tips.

5.

Fast Postgres Index Creation(stephenn.com ↗)

2 points · by stephen123 · 2y ago · discuss

comment 2y ago · link · parent

I think its because of btrees. Btrees and the pages work better if only the last page is getting lots of writes. Iuids cause lots of un ordered writes leading to page bloat.

comment 2y ago · link · parent

That was fun. I like birds but I'm no twitcher, spent a good 10min going through getting better at recognising the sounds.

It would be fun if you could pick a country the birds are from. Australian birds sound silly.

comment 2y ago · link · parent

Looks great.

What are people using to store and send retries?

9.

QueryPulse a database driver to log and monitor queries(github.com ↗)

1 points · by stephen123 · 3y ago · discuss

10.

Mastering Database Transactions in Go: Strategies and Best Practices(stephenn.com ↗)

2 points · by stephen123 · 3y ago · discuss

comment 3y ago · link · parent

Good luck, the product looks slick.

I see you have traffic coming from indiepa.ge, so I wonder which indie hacker are you and are you on twitter. I always wont to know who's behind something, particularly if im going to install their tracking tool. ;)

comment 3y ago · link · parent

Yea, I find go's concurrency very error prone compared to something with futures.

I've even got a library for using futures in Go. https://stephenn.com/2022/05/simplifying-go-concurrency-with...

comment 3y ago · link · parent

"completely static" has a gotcha though. I was getting segfaults yesterday because libc was removed from my docker image.

I had to add `CGO_ENABLED=0`

comment 3y ago · link · parent

It seems like a waste of time to me. Wrapping errors adds context. But you can usually get enough context from stack traces.

15.

Gopher Wrangling: Effective error handling in Go(stephenn.com ↗)

129 points · by stephen123 · 3y ago · 305 comments

comment 3y ago · link · parent

Nice, thank you. It was only the other day I was copy and pasting from the old site. Looking forward to installing the lib and deleting some code.

17.

A Step-by-Step Guide to Raising Subscription Prices(upollo.ai ↗)

2 points · by stephen123 · 3y ago · discuss

comment 3y ago · link · parent

Hi, Stephen from Upollo here.

When I was running a small SaaS, I had lots of users repeating my free trial so they wouldnt have to pay. There was no easy way to stop it. So I joined Upollo to build it :)

We've just added no-code integrations with Segment and Google Tag Manager, so you can find out how much account sharing or repeated trials you have in minutes.

I would love to hear what you think

19.

Show HN: Upollo – Account sharing and repeat trialing detection tool(upollo.ai ↗)

1 points · by stephen123 · 3y ago · 1 comment

comment 3y ago · link · parent

https://upollo.ai/

Project Description: We help subscription businesses earn more by detecting and upgrading users that repeat trials or share accounts. Eg, when signing up with your work email to get another free week, or giving your password to your friend/co-worker..

What to test: Connect your app/website and see how many users are repeating trials or sharing accounts.

How to test: Sign up, follow the wizard, install our js, ios or android API in just a few lines of code.

Contact: Intercom

Love this thread btw. Thanks everyone

comment 3y ago · link · parent

Is having that much L3 cache useful for anything other than gaming?

comment 3y ago · link · parent

I like manually reviewing users onboarding and reaching out to them. It doesnt scale, but its a great way to actually talk to and hear from users. Once a dialog with a is open, its amazing what issues can be uncovered and solved.

How else are people winning back users who are abandoning trials.

23.

How to win back users who are abandoning your trial(upollo.ai ↗)

2 points · by stephen123 · 3y ago · 1 comment

24.

Transforming webhook messages with no code(webhookwizard.com ↗)

1 points · by stephen123 · 3y ago · discuss

comment 3y ago · link · parent

The main difference is that reading from channels will block if its empty where Futures, return the same value.

Written more concisely.

f := New(func() Type{return t}) v := g.Get() w := g.Get()

comment 3y ago · link · parent

Great project. It seems like channels are just the wrong tool for a lot of concurrency problems. More powerful than needed and easy to get wrong. Lots of nice ways to make go concurrency safer.

The problem that bothers me (and isnt in Conc), is how hard it is to run different things in the background and gather the results in different ways. Particularly when you start doing those things conditionally and reusing results.

Something like go-future helps. https://github.com/stephennancekivell/go-future

comment 3y ago · link · parent

Works for me :)

comment 3y ago · link · parent

I've seen lots of startup founders struggle with free tier vs free trial. We break it down to make sure your getting the most out of it.

29.

Should you offer a free tier, a free trial – or both?(upollo.ai ↗)

2 points · by stephen123 · 3y ago · 1 comment

comment 3y ago · link · parent

Is it a common startup idea to open source a successful product and change the payment to be donation based?
123