Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
PetahNZ
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
PetahNZ
4y ago
But what makes it good? It's fast, it uses low memory, it has a great package manager, it has great backwards compatibility, it has a huge ecosystem of libraries, it is easily integrated with other technology, it scales, it has an easi
32.
▲
by
PetahNZ
4y ago
No typed variables, no generics, threading/async is hard(er than other languages). [This is coming from a long time PHP dev who actually loves it.]
33.
▲
by
PetahNZ
4y ago
Are you asking what php version uses copy on write for arrays? If so, it's all of them (at least in the last decade). I have never known it not to do this.
34.
▲
by
PetahNZ
4y ago
If it saves my time working, it doesn't mean I get to spend that else where though. Just more work.
35.
▲
by
PetahNZ
4y ago
Are you tracking declined payments, and using the fraud/risk metrics? Doing ZIP checks and 3D secure?
36.
▲
by
PetahNZ
4y ago
You don't need to encode it to do that though. You can just sign the URL
37.
▲
by
PetahNZ
4y ago
Come on, it's not their main usage... An intentional side effect maybe, but their main usage is clear.
38.
▲
by
PetahNZ
4y ago
Well on my older 4770 PC, Windows doesn't bug me to upgrade to 11, since it knows it can't.
39.
▲
by
PetahNZ
4y ago
I am on Ubuntu and it constantly bugs me to upgrade: > New release '20.04.5 LTS' available. > Run 'do-release-upgrade' to upgrade to it.
40.
▲
by
PetahNZ
4y ago
We are doing this all the time anyway during code reviews.
41.
▲
by
PetahNZ
4y ago
Opening large files is a pretty niche case anyway. Even CLI tools like less and grep are slow with things like searching muti GB files.
42.
▲
by
PetahNZ
4y ago
Deep packet inspection hardware/software that was sold to controversial governments/militaries who ended up in a coup and used to track and ** opposition.
43.
▲
by
PetahNZ
4y ago
Filtering seems broken. Either changes are ignored, or it gets stuck on a loading spinner.
44.
▲
by
PetahNZ
4y ago
I'm not sure the comparison here. I could get 8 t3a.micros (16 cores total) for ~$700 reserved for 3 years, including power costs. And I don't have to maintain it, or the network connection etc.
45.
▲
by
PetahNZ
4y ago
Yep, we do about 30TB of user images a month, looked into converting to avif for storage savings, but the processing time basically stopped that. Ended up on webp.
46.
▲
by
PetahNZ
4y ago
As long as you are logging the error with the context somewhere that's fine. You could always include a timestamp or request ID with the user message to not give away information, but be able to easily search your logs for the occurren
47.
▲
by
PetahNZ
4y ago
Unless your app is doing a lot of compute. We tried moving our workers to lambda, it was 10x the cost vs an EC2 auto scaling group
48.
▲
by
PetahNZ
4y ago
Its almost uncanny the similarity I have to Graham. NZ, programmer, daughter T1 diagnosis about 2 years ago. A CGM and insulin pump were absolute game changers for us. We went with the Dexcom CGM (not funded) and t:slim pump (funded). The c
49.
▲
by
PetahNZ
4y ago
You draw over the part of the image that is not ideal and get it to infill it
50.
▲
by
PetahNZ
4y ago
Beyond All Reason gets pretty close
51.
▲
by
PetahNZ
4y ago
Maybe we should teach beginners PHP instead of JavaScript then.
52.
▲
by
PetahNZ
4y ago
Cause an OS update has never broken docker before right. And prod doesnt run linux with a gui.
53.
▲
by
PetahNZ
4y ago
CloudWatch is basically that.
54.
▲
by
PetahNZ
4y ago
Self hosted gitlab breaks all the time, at least for us. Maybe had ~10 significant issues just the last few months.
55.
▲
by
PetahNZ
4y ago
Seems like hot web3 buzzwords without much substance.
56.
▲
by
PetahNZ
4y ago
So I run servers used to process images, 99% of the time it is typical ~5 megapixel photos, but occasionally it will be ~150 megapixels. We use swap because that 99% of the time it will fit in 4GB of ram. The occasional ones take an underst
57.
▲
by
PetahNZ
5y ago
We trialed switching our EC2/ASG based queue worker over, price went up 10x-100x.
58.
▲
by
PetahNZ
5y ago
If thats your only argument, FWIW Pear and Pecl typically were both bundled with PHP.
59.
▲
by
PetahNZ
5y ago
I see comments like this an it always confuses me. AFAIK pooling or proxying a DB is actually worse for concurrent performance, because as soon as you hit the connection limit threads start waiting. It almost always makes sense to increase
60.
▲
by
PetahNZ
5y ago
We use AWS elastic beanstalk mostly, so just auto scaling EC2 servers running nginx, RDS serverless, SQS worker queues etc. Front end is static hosted on S3/cloud front. Handles up to ~100k orders per day.
More ›