News for hackers. Stuff that matters.

stephen123

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

https://leopardlinks.com/

Re:Using ClickHouse to scale an events engine on Friday April 12, 2024 @04:33AM (#40010516)
Its google cloud sql.
Re:Using ClickHouse to scale an events engine on Thursday April 11, 2024 @08:07PM (#40008110)
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.
Re:Using ClickHouse to scale an events engine on Thursday April 11, 2024 @06:17PM (#40007379)
How were they doing millions of events per minute with postgres.

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

Re:My Notes on Gitlab's Postgres Schema Design (2022) on Saturday February 17, 2024 @07:04PM (#39414754)
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.
Re:BirdLingo: A birdsong learning game on Saturday February 10, 2024 @02:43AM (#39324379)
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.

Looks great.

What are people using to store and send retries?

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. ;)

Re:Gopher Wrangling. Effective error handling in Go on Tuesday June 20, 2023 @03:26AM (#36400778)
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...

Re:Gopher Wrangling. Effective error handling in Go on Tuesday June 20, 2023 @03:23AM (#36400766)
"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`

Re:Gopher Wrangling. Effective error handling in Go on Tuesday June 20, 2023 @12:20AM (#36399671)
It seems like a waste of time to me. Wrapping errors adds context. But you can usually get enough context from stack traces.
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.
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

Re:Ask HN: Who needs beta testers? (February 2023) on Thursday February 02, 2023 @03:10AM (#34623644)
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

Is having that much L3 cache useful for anything other than gaming?
Re:How to win back users who are abandoning your trial on Wednesday February 01, 2023 @09:54PM (#34621441)
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.

Re:Conc: Better Structured Concurrency for Go on Wednesday January 11, 2023 @08:12PM (#34347707)
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()

Re:Conc: Better Structured Concurrency for Go on Wednesday January 11, 2023 @04:58PM (#34345566)
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

Re:ChatGPT Is Not Working? on Tuesday January 10, 2023 @06:49PM (#34333140)
Works for me :)
Re:Should you offer a free tier, a free trial – or both? on Tuesday January 10, 2023 @06:48PM (#34333132)
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.
Re:Pirate Weather: A Free, Open, and Documented Forecast API on Tuesday January 10, 2023 @06:19PM (#34332883)
Is it a common startup idea to open source a successful product and change the payment to be donation based?

Older »