Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
punkpeye
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
181.
▲
by
punkpeye
4y ago
Fair, though I am more curious to hear from those who've used PHP in the past and switched. The estimate I found says there are at least 600k PHP developers in US alone.
182.
▲
Ask HN: What is your reason for not choosing to use PHP for your next project?
3 points
by
punkpeye
4y ago
|
11 comments
183.
▲
by
punkpeye
4y ago
What has been your experience with Next.js? What alternatives have you evaluated when you started?
184.
▲
Ask HN: If your company is using cutting-edge webdev stack, what are you using?
9 points
by
punkpeye
4y ago
|
7 comments
185.
▲
by
punkpeye
4y ago
Is there a way to encode all of them into base64 or another format that would allow serialization of everything into one bundle?
186.
▲
by
punkpeye
4y ago
Looks like I got it inverse indeed.
187.
▲
by
punkpeye
4y ago
Using Stripe here makes sense, if they have product for this. Wouldn't I need to store all of the same information in my database anyway as a source of truth?
188.
▲
by
punkpeye
4y ago
Good points. I am mostly trying to build enough visibility to ensure that whatever I am doing is always profitable.
189.
▲
by
punkpeye
4y ago
If I learned one thing from designing is similar systems in the past is to avoid referential data as much as possible haha I did not go into such depth here, but individual function calls record (duration, billing_rate, total_cost) as plain
190.
▲
by
punkpeye
4y ago
I should have mentioned: thankfully, there are no long-running sessions in this design. The longest session I could imagine would be 1 hour, but... they will average 1 minute. Designing such system for long-running sessions would be a lot m
191.
▲
by
punkpeye
4y ago
I missed `billing_account_id` in `account_credit` and `account_debit`. Corrected. There can be multiple billing rates (that change over time). `billing_account` is assigned reference to whatever is accurate at the time.
192.
▲
by
punkpeye
4y ago
Just based on what I am reading about building such systems, it seems like the common advice is to not have a single balance column such as `running_balance`, but instead calculate this value on the go every time it is needed. That's f
193.
▲
by
punkpeye
4y ago
savage, but the fact that they did not notice for 7 months is insane and telling.
194.
▲
by
punkpeye
4y ago
Personal preference is to pick up a high-level scripting language like JavaScript. It is easy because there are tons of resources, you don't need any software to get started, and you can build usable things pretty quick. Whereas Python
195.
▲
Ask HN: How to design database schema for usage based billing?
73 points
by
punkpeye
4y ago
|
36 comments
196.
▲
by
punkpeye
4y ago
Very interesting! I was thinking of using this to record test execution instead of recording mp4 videos – like Cypress does. Is there a reason rrweb would be a poor choice of this use case? Mostly trying to understand why Cypress is not doi
197.
▲
by
punkpeye
4y ago
I swear this is a real thing. I never noticed Fly.io company, even though it seems like they've been for a while. Now that I read a few of their blog posts recently, I see them _everywhere_.
198.
▲
Ask HN: How does software such as rrweb and OpenReplay work?
3 points
by
punkpeye
4y ago
|
6 comments
199.
▲
by
punkpeye
4y ago
All these comments and still no one really talking about their experience... For what it is worth, the biggest put off for me was that they no longer allow to export data in PostgreSQL compatible way, i.e. You are locked in when you start u
200.
▲
by
punkpeye
4y ago
Good find. No experience, but adding my list to try.
201.
▲
Ask HN: What has been your experience with CockroachDB?
57 points
by
punkpeye
4y ago
|
40 comments
202.
▲
by
punkpeye
4y ago
I am sure it is great, but it feels so overwhelming! I tried it a few times and I just get lost in it
203.
▲
Ask HN: What are modern alternatives for cURL?
4 points
by
punkpeye
4y ago
|
5 comments
204.
▲
by
punkpeye
4y ago
Thanks! How does something like Dataforseo estimate the search volume?
205.
▲
Ask HN: How to discover high-volume search phrases about a service?
1 points
by
punkpeye
4y ago
|
2 comments
206.
▲
by
punkpeye
4y ago
This service is insane :mind_blown:
207.
▲
by
punkpeye
4y ago
Woah! This is _exactly_ what I was looking for :party:
208.
▲
by
punkpeye
4y ago
CloudRun looks promising!
209.
▲
by
punkpeye
4y ago
Re GCP VMs with base image, do you know how long it takes to boot them?
210.
▲
Ask HN: VM hosting that could start under a second?
1 points
by
punkpeye
4y ago
|
11 comments
More ›