Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pdhborges
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
61.
▲
by
pdhborges
11mo ago
I would upvote this comment more if I could. I already refrained from introducing event sourcing to tackle wierd dependecies multiple time just by justaposing the amount of discipline that the team has that lead to the current state vs the
62.
▲
by
pdhborges
11mo ago
I don't agree with this cache take. Adding operations to the cache is easy. Taking the django-redis project as an example there are only two levels until you reach redis-py: The cache abstraction and the client abstraction.
63.
▲
by
pdhborges
11mo ago
The problem with channels is that if you need to touch the ORM you will have to use a sync_to_async call which will block the event loop.
64.
▲
by
pdhborges
11mo ago
Why don't you post the original broken Python code.
65.
▲
by
pdhborges
11mo ago
Might as well just implement virtual threads: https://discuss.python.org/t/add-virtual-threads-to-python/9...
66.
▲
by
pdhborges
1y ago
What did you try to debug this?
67.
▲
by
pdhborges
1y ago
Scale articles are too focused on architecture. What about business problems that come with scale. At a certain scale rare events are common many cases cease to be fixable by some random process that involves humans you have to handle a lot
68.
▲
by
pdhborges
1y ago
AWS can make major version upgrades automatically now with less downtime. I think they do the logical replication dance internally.
69.
▲
by
pdhborges
1y ago
In my experience PMs often work at a very high level. How things shold work are defined in a incosistent way when we take into account all the user flows, subtelness and restrictions of other systems. So programmers end up doing a significa
70.
▲
by
pdhborges
1y ago
I will believe this theory if someone shows me that the ratio of scientists to engineers of leading teams of the leading companies deploying AI products is bigger than 1.
71.
▲
by
pdhborges
1y ago
The author keeps aluding to the problem of loss of type inference without giving any example. I have no idea if the problem is relevant or not.
72.
▲
by
pdhborges
1y ago
>> ARM has supported such capability via the standard CoreSight Program Trace Macrocell (PTM)[3]/Embedded Trace Macrocell (ETM)[4] since at least 2000. Where are the performace tools that wrap those capabilities? IPT has Magic Tr
73.
▲
by
pdhborges
1y ago
If the AI is so smart why are we feeding so many dumb humans?
74.
▲
by
pdhborges
1y ago
Are you refering to DRF model serializers? For medium to big applications I think they are worthless.
75.
▲
by
pdhborges
1y ago
It's not FUD. For all the trouble you claim to have with Postgres I experienced 0 of it in the last 4 years. The only thing extra for a simple setup is a couple of lines in your docker compose files which is completely amortised becaus
76.
▲
by
pdhborges
1y ago
Where is that improvement coming from? Hardware is already here to compute gemm as fast as possible.
77.
▲
by
pdhborges
1y ago
What do you save by going with sqlite vs how much pain are you going to endure in the future?
78.
▲
by
pdhborges
1y ago
This is a cool example but I think it is missing the perspective of what the interface can abstract. For example if I program a data structure to provide an Iterator I get to use these itertool functions for free no matter how complex the d
79.
▲
by
pdhborges
1y ago
If all monad instances work differently what is the value of the Monad interface? What kind of usefull generic code can one write against the Monad interface. Related: https://buttondown.com/j2kun/archive/weak-and-
80.
▲
by
pdhborges
1y ago
Java supports it? Are you conflating method overload (which is statically determined) with multimethods?
81.
▲
by
pdhborges
1y ago
Small Python backend deployment 30 machines 1 DB.
82.
▲
by
pdhborges
1y ago
I'm looking at our Datadog stats right now. It is 64% cpu 36% IO.
83.
▲
by
pdhborges
2y ago
Doesn't this depend on the number of servers, crash rates and recovery times? I wouldn't feel confident running 3 servers running at 80% capacity in ultra low latency scenarios. A single crash would overwhelm the other 2 servers i
84.
▲
by
pdhborges
2y ago
This is using docker-compose. The old deprecated python standalone tool. Doctor compose v2 is a plug-in written in go for the docker cli. Edit: looks like Docker release docker-compose v2 as a go standalone tool ( https://docs.doc
85.
▲
by
pdhborges
2y ago
MVC has depencies on LinAlg. Ex Jacobians.
86.
▲
by
pdhborges
2y ago
Very nice discussion. A lot of times I see people assuming that Web Apps are IO bound anyway to justify technical decisions. Nevertheless here am I looking at our stats: 60% is python, 40% is IO and Postgres is getting faster than Python at
87.
▲
by
pdhborges
2y ago
I get socks for Christmas and I like it.
88.
▲
by
pdhborges
2y ago
Well my experience has always been the opposite. New query patterns are always appearing. The difference between an OLTP and an OLAP query is not as clear cut as one might imagine that justifies huge changes to an existing system.
89.
▲
by
pdhborges
2y ago
I don't read all the lines of code but I open and scan a ton of files from the code base to get a feel of which concepts abstractions and tricks are used.
90.
▲
by
pdhborges
2y ago
In Python you don't even need a lib, dict is thread safe even in nogil. Is it? https://google.github.io/styleguide/pyguide.html#218-threadi...
More ›