Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
glenjamin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
glenjamin
2y ago
The fundamental gap in my opinion, is that k8s has no mechanism (that I am aware of) to notify the load balancing mechanism (whether that's a service, ingress or gateway) that it intends to remove a node - and for the load balancer to
32.
▲
by
glenjamin
2y ago
The fact that the state of the art container orchestration system requires you to run a sleep command in order to not drop traffic on the floor is a travesty of system design. We had perfectly good rolling deploys before k8s came on the sce
33.
▲
by
glenjamin
2y ago
This strikes me as something that could be done for the highest traffic packages at the backend, rather than be driven by the client at pubish-time.
34.
▲
by
glenjamin
2y ago
This matches my experience - I was intentional about not saying that a project manager was important - just that project management (the practice) is important.
35.
▲
by
glenjamin
2y ago
This is called project management, and in my experience seems to be a practice/discipline that's often overlooked or ignored at startups and scaling tech companies. Generally in my book projects should only be assigned to teams, a
36.
▲
by
glenjamin
2y ago
Having a proportion of the team act as triage for issues / alerts / questions / requests is a generally good pattern that I think is pretty common - especially when aligned with an on-call rotation. I've done it a few ti
37.
▲
by
glenjamin
2y ago
A question for both you and the parent: If you are heavily performance and memory constrained, why are you using a language that gives you relatively little control over allocations?
38.
▲
by
glenjamin
2y ago
How do you handle errors when reading from a channel?
39.
▲
by
glenjamin
2y ago
I think that’s the safest approach, but it’s inconvenient for the common case of an index that’ll be quick enough in practice. The approach I’ve seen flyway take is to allow detecting / opting out of transactions on specific migrations
40.
▲
by
glenjamin
2y ago
The key here is that in production it's almost always not safe to actually apply a down migration - so it's better to make that clear than to pretend there's some way to reverse an irreversible operation.
41.
▲
by
glenjamin
2y ago
This looks excellent! The go tools for managing DB schema migrations have always felt lacking to me, and it seems like your tool ticks all of the boxes I had. Except for one: lack of support for CREATE INDEX CONCURRENTLY (usually done by de
42.
▲
by
glenjamin
2y ago
Do you mean in TypeScript or in another language? In TS the `Omit<T, K>` type can be used to remove stuff, and intersection can be used to add stuff
43.
▲
by
glenjamin
2y ago
This post is pretty much a paraphrasing of the "Foundations: Why Britain Has Stagnated" essay, which was discussed a few days ago and apparently ultimately got flagged. https://news.ycombinator.com/item?id=41600388
44.
▲
by
glenjamin
2y ago
I’ve been asked to review massive PRs that were produced by a pair plenty of times.
45.
▲
by
glenjamin
2y ago
If you want people to adopt your system, you should aim for it to be easier to adopt than whatever their alternatives are. So I would look into where they're losing time because they need to deal with repeated or inconsistent UI stuff,
46.
▲
by
glenjamin
2y ago
To find out what’s going on in their lives and to arrange to meet up socially?
47.
▲
by
glenjamin
2y ago
The Go standard library makes use of a number of “optional interfaces”, which it uses to detect when a type implements a higher level action in a more efficient or specific way This can be thought of as duck typing. Examples can be found he
48.
▲
by
glenjamin
2y ago
Something that strikes me about Go's approach here, and the explanations in many of the posts on this page, are that they're all focused on what is happening under the hood: What memory are we pointing at, what's being copied
49.
▲
by
glenjamin
2y ago
I think people's concept of how many items in a spreadsheet you can work through is often miscalibrated. Does the author of this piece post their dataset? That would allow people to cross-check the results from GPT and see to what exte
50.
▲
by
glenjamin
2y ago
I think a great takeaway from this article could be "standardization is not inherently valuable or desirable". Standardization, like almost anything, has costs and benefits and tradeoffs and so on. So when you're pushing to s
51.
▲
by
glenjamin
2y ago
If you've ever tried to read data from an XLSX file, you'll find that streaming XML parsing is quite beneficial And the world runs on Excel files.
52.
▲
by
glenjamin
2y ago
Oh nice, I've recently been looking into streaming XML parsing in Go without a CGO depdency and found the available options pretty lacking. Great to see this sort of thing!
53.
▲
by
glenjamin
2y ago
Are you suggesting that most americans have a good grasp of how much water a cubic mile is? Surely the standard unit for this sort of thing is multiples of well known large lakes or seas?
54.
▲
by
glenjamin
2y ago
I think a lot of the more recent issues with gov.uk are the result of some defanging of the central service, leaving departments with more rope to do their own thing and believe that they know best. Identity in particular is a complex subje
55.
▲
by
glenjamin
2y ago
This is incorrect, the primary job of an on-call rotation is to satisfy customers. It’s usually much better ROI to publicly acknowledge an issue if the resolution is not going to be single digit minutes, as it massively reduces the incoming
56.
▲
by
glenjamin
2y ago
Given that the token says it only allows reading of content and assets of this particular article for 1 month, it seems like this is an intentional feature for allowing subscribers to share paywalled URLs
57.
▲
by
glenjamin
2y ago
A key datapoint not mentioned in the article is "Can this be used on AWS RDS?" - to which I believe the only option that meets that criteria right now is `pg_repack`
58.
▲
by
glenjamin
2y ago
Related to this, there is quite a large variation across Postgres versions about whether a particular DML query will take an exclusive lock or not. Is there a good way to analyse a query and be informed of what sort of lock it will take? I’
59.
▲
by
glenjamin
2y ago
This is neat, but your implementation does seem to allow duplicates sometimes
60.
▲
Migrating 500 tests from Mocha to Node.js
(astro.build)
1 points
by
glenjamin
2y ago
|
0 comments
More ›