Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
brandur
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
brandur
6y ago
Your parent's comment is out of date, but what you said isn't a fair representation either. The 1.5% tax they're talking was the 1.5% payroll tax that SF had in place until 2012 [1]. Payroll tax isn't quite the same as a
92.
▲
by
brandur
6y ago
Personally, this kind of thing actually gives me _more_ confidence in Postgres rather than less. The core team's responsiveness to this bug report was incredibly impressive. Around June 4th, the article's author comes in with a bu
93.
▲
by
brandur
6y ago
Also worth noting that the old syntax was renamed from `asm!` to `llvm_asm!`. It'll still disappear at some point, but existing users of the former on nightly have a very easy way of fixing their build in the meantime.
94.
▲
by
brandur
7y ago
Yep, it's not totally clear yet from their website. My personal hypothesis is that given an alternative recipient for the .org registry that's better in every respect except for the amount of money they're able to pour into t
95.
▲
by
brandur
7y ago
This has improved quite a bit on recent versions of the official mobile clients. If you go to your lists, you can "pin" a list, which has the effect of making it an alternate timeline from the app's home screen. It's a l
96.
▲
by
brandur
7y ago
Does anyone know if there's any merit to Apple's claim that USB-C isn't compatible with the iPhone's slim dimensions? (From the article: "Apple insisted that its slimmer devices would be unable to fit the then-new U
97.
▲
Actix Web: Optimization Amongst Optimizations
(brandur.org)
120 points
by
brandur
7y ago
|
14 comments
98.
▲
by
brandur
7y ago
It's likely to be most useful for anyone using a Unicorn-style process forking model in Ruby. You call `GC.compact` in the parent right before forking off your child processes and because the memory in the children are copy-on-write (C
99.
▲
by
brandur
7y ago
For what it's worth, you're not the only one with that reaction. I got onto the book after it was recommended to me as a good way to get an introduction to philosophy. Not only was it not, but the philosophical content it did have
100.
▲
by
brandur
7y ago
On the order of many dozens of fields and it's a pretty good mix of all of those. Lots of low cardinality fields, lots of counters and numbers (e.g. request duration), and quite a few high cardinality fields too. e.g. IDs, IPs.
101.
▲
by
brandur
7y ago
I wouldn't put too emphasis on the plain text — we started logging back when carrying everything via JSON would've been going against the grain. These days it might've gone the other way (I'm not sure). One point that I&
102.
▲
by
brandur
7y ago
(I'm the author, and) Yeah, whatever you might call them, canonical lines are an "obvious" enough idea that I'd expect a lot of shops to have arrived at them independently. Besides yourself, I've heard from a number
103.
▲
by
brandur
7y ago
Yes, exactly — normalization is really useful for reasons of quality and correctness, but generally not so important for data like logs that's rotating through the system on a pretty constant basis. And addressing the parent's poi
104.
▲
by
brandur
7y ago
It seems like three-factor is a mistake in the article, but what you suggest is very close to the three factors that will be involved in SCA (Strong Customer Authentication), an upcoming European regulatory requirement to reduce fraud in pa
105.
▲
by
brandur
7y ago
I'm continually impressed by the efforts of Parisian politicians to improve their cityscape. (Aside from this, see their removal of motor traffic along the Seine [1] and tightening restrictions on polluting cars [2].) It speaks very we
106.
▲
by
brandur
7y ago
I really think there's something to this. I've been living in a dense urban area that does a poor job of traffic control (San Francisco), and of all the "city problems" that I find tearing most at my mental well-being is
107.
▲
by
brandur
8y ago
Hah, thanks! :) I'll got a few queued up that I hope to get finished up pretty soon.
108.
▲
by
brandur
8y ago
Checking responses in production is also a good idea because it reveals all the edges that may not be exercised in an artificial test suite. There is still some performance cost for checking a response against a schema though, so a nice c
109.
▲
by
brandur
8y ago
But even if we take copyright year to be the same as the printing year, Apple would almost certainly have just made a new box if they'd known well in advance they were going to cancel AirPower. This still shows an unusual level of diso
110.
▲
by
brandur
8y ago
Normally I'd agree, but the fact that the AirPower mat is printed onto the back of the new AirPods case box does seem to be a pretty good indicator that this was a very sudden decision. That is unless they were trying to make it look
111.
▲
\watch-ing Star Wars in Postgres
(citusdata.com)
5 points
by
brandur
8y ago
|
0 comments
112.
▲
by
brandur
8y ago
> More obvious than specifying the version in some dependencies file? I have nothing against dependency files, but yes, it's probably even more obvious. If I see an `import "github.com/x/y"` at the top of a Go fi
113.
▲
by
brandur
8y ago
A few years into using Go, I have mixed feelings about `GOPATH`. On one hand, I can see the author's frustration in that it was always incredibly presumptuous of the language's authors to dictate how its users should organize thei
114.
▲
by
brandur
8y ago
Aside from the price, one very good reason to be interested in CloudFlare as a registrar compared to Google Domains is that CloudFlare supports CNAME flattening [1] so that you can use a CNAME instead of an IP address for an A record (AKA &
115.
▲
by
brandur
8y ago
See the `||` operator and `jsonb_set` (use Cmd-F): https://www.postgresql.org/docs/current/static/functions-jso... From the docs for the `||` operator: > Concatenate two jsonb values into a new jsonb valu
116.
▲
Scalable incremental data aggregation on Postgres and Citus
(citusdata.com)
65 points
by
brandur
8y ago
|
8 comments
117.
▲
by
brandur
8y ago
This is great. I love the simple, succinct interface — I wish real financial companies like my trading account and my bank had even half this much sense when it comes to pragmatic design. A few notes from taking a look at the code: * I'
118.
▲
by
brandur
9y ago
Spot on. Some programming languages can be, and are, better than other programming languages. They've all been evolving along a single historical timeline, and many mistakes were made in the past that we acknowledge and wouldn't m
119.
▲
by
brandur
9y ago
> I take documentation bugs seriously. If you did this with any of my crates, please file bugs. My guess is that other crate authors might feel the same, and that they would also appreciate bug reports. Will do! For what it's wort
120.
▲
by
brandur
9y ago
Thanks for not taking it personally :) that's not always easy! > For one example; we're working really hard right now on getting async/await shipped, and dealing with ergonomics problems around it. The recent changes are
More ›