Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
latch
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
latch
4y ago
Every release has brought the function parity closer to PostgreSQL. When we first migrated, it didn't have enums or partial indexes, or (a rather long list of thing). Now, I'd say there are 3 big missing features: - Extensions, if
92.
▲
by
latch
4y ago
I haven't heard of the single-assertion thing in at least 10 years, probably 15. In the early 2000s, when I was starting out and doing .NET, it used to be something you'd hear in the community as a very general guideline, more lik
93.
▲
by
latch
4y ago
Honest question: isn't it a stroke of the pen that then must be executed? The proclamation is a very short read and what I got from it is that now things need to be "administered" and "developed" and "reviewed&
94.
▲
by
latch
4y ago
I've had 2 Dell XPS's running Ubuntu, a 9300 and 9370. I very recently switched to an Air M2. The build quality between the XPS and the air is night and day. The 9300 flexed so much that when I picked it up with a single hand, the
95.
▲
by
latch
4y ago
your parent means that even the article mentions Canada [so there's no need to just be 'pretty sure']
96.
▲
by
latch
4y ago
Hardly dumb. They include a variable length, payload masking, their own layer of fragmentation, different message type, validation (txt vs bin) and an extension framework.
97.
▲
by
latch
4y ago
I'm going to beat a dead horse, and say that hiding comment score (1) was a mistake (1) - although I realize I'm in the minority. It removes information, and I think that's generally a bad thing. I'll often see a comment
98.
▲
by
latch
4y ago
Off topic, but I never heard of nebula (don't watch much videos). It's amazing how slow that site loads for me. Their /videos takes around 10s to load. I need to wait almost 3 seconds for _something_ to show up on the page.
99.
▲
by
latch
4y ago
I read the blog post and the Java documentation (which is more informative), and maybe I missed it, but I can't figure out how you define the # of streams/partitions. Is it defined when the superstream is created? What's the
100.
▲
by
latch
4y ago
CockroachDB has column families which we use in a very few cases. We have some fairly wide tables with a few stats columns that are updated normally a few times per second, but can go up to hundreds of times per second.
101.
▲
by
latch
4y ago
I'm not sure you and your parent understand what an SLA means. It's an agreement that, when broken, incurs a penalty. They aren't saying they guarantee 100% uptime. They're saying they'll pay you for any downtime. I
102.
▲
by
latch
4y ago
There must have been _some_ intersections of time/technology and/or cost/efficiency where this didn't hold? Where a weapon system became _so_ vulnerable that, despite being the best at its job, it still wasn't good
103.
▲
by
latch
4y ago
I've been (technically) blogging on my own site for 12 years, and a number of years before that on another platform. I'd say around 10 of those posts have made the front of HN. I struggle to (a) come up with things to write about
104.
▲
by
latch
4y ago
This is why a lot of people don't test or claim that testing takes more time since "we spend half our time fixing the tests" - a lack the experience to design code that's testable. I think it's also worth pointing o
105.
▲
by
latch
4y ago
This procedure is officially documented (1). Since we're talking about copying a folder, I'm not sure why you'd feel safer doing it via an additional layer of abstraction. (1) https://www.postgresql.org/docs&#
106.
▲
by
latch
4y ago
Some migrations are non-trivial and might take hours or days (e.g. they could involve hitting external services, or might require manual work). Sure you can default these, but `null` is probably semantically correct in most cases
107.
▲
by
latch
4y ago
I don't know Django and what Django-specific problems/solutions are available, but AFAIK the only scalable (and largely language agnostic (1)) solution is to break these down and deploy incremental versions of the app. For example
108.
▲
by
latch
4y ago
I've been doing elixir professionally for 6 years. I realize I'm in the minority, but as someone who _reads_ a lot of code, I feel that the strong emphasis (and in some cases, requirement) to extract functions seriously hurts read
109.
▲
by
latch
4y ago
I think this is a good idea. It's essentially what I mentioned with Paypal requiring OTP before the signup process starts up. But as you said, it adds a lot of friction to something most companies want to be as frictionless as possible
110.
▲
by
latch
4y ago
You can remove username enumeration from login and password reset, but it's much harder to remove it from signup. And this is pretty much an all or nothing, there's no point giving cryptic error messages (in the case of forgot pas
111.
▲
by
latch
4y ago
What are you trying to say? This sounds like a tautology to me.
112.
▲
by
latch
4y ago
It doesn't overlap 100%, but I'd strongly recommend you first find out if Vector ( https://vector.dev/ ) fits your needs. Unlike beats, it supports 45 different "sinks" (destinations) and the documentation
113.
▲
by
latch
4y ago
> almost no governments have legal frameworks for a digital nomad to work legally in a country That's an ... interesting perspective. Put differently, most governments have a legal framework that prevents people from working on tour
114.
▲
by
latch
5y ago
Only place I ever expect to see this is on an airplane.
115.
▲
by
latch
5y ago
> A WAF service (like CloudFlare) ensures that older, unpatched, infrastructure is protected It ensures that they're protected against a trivial and fairly outdated set of threats. You might say that's better than nothing, but
116.
▲
by
latch
5y ago
> * Human readable Computers are the main consumers of APIs, and ISO 8601 is far from machine-readable. For example, in Elixir, DateTime.from_iso8601/1 won't recognize "2022-03-12T07:36:08" even though it's valid
117.
▲
by
latch
5y ago
WAFs are security theater. False positives and false sense of security. People say "security in depths", but WAFs add nothing that don't 100% _have_ to be mitigated down the stack - this 8K limit is just another part of the j
118.
▲
by
latch
5y ago
While this might be technically true, I think it's worth pointing out the typical solution: append a character (usually either \t or ') to anything that looks like a formula (i.e. anything that begins with @, +, - or =). The chara
119.
▲
by
latch
5y ago
That's a bit too YAGNI for me. You have a `users` table with an `tenant_id uuid not null` column. You aren't going to need uniqueness on it and you aren't going to need range operations on it it. And..even if you did, you cou
120.
▲
by
latch
5y ago
This was fixed in PG 10 (Oct 2017). See https://rhaas.blogspot.com/2017/09/postgresqls-hash-indexes-...
More ›