Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
weberc2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
451.
▲
by
weberc2
7y ago
That makes sense. What doesn't make so much sense is that the documentation indicates that Python 3 is supported, but everything I've tried and everyone I've spoken to have indicated that it's just broken. In any case, I
452.
▲
by
weberc2
7y ago
Caching depends on a correct model of the dependency tree. If a dependency isn't included in the model, then a non-hermetic tool will silently succeed, incorrectly while a hermetic tool will do the correct thing and fail the build. Kee
453.
▲
by
weberc2
7y ago
Most _C++_ projects are using CMake, but it has virtually no adoption among other mainstream languages, and given most open source is not C++, CMake definitely doesn't have any strong share of the open source market.
454.
▲
by
weberc2
7y ago
> Also, cmake has become the de facto solution for open source libraries, not sure why they would select something else It is definitely not the de facto solution for open source. After using CMake as a C++ developer, I will never use CM
455.
▲
by
weberc2
7y ago
OCI provides a standard container image format, at least. Assuming your whole toolchain is compatible, then it shouldn't be an issue.
456.
▲
by
weberc2
7y ago
Docker's build system is really strange. The build cache assumes that your dependency tree is linear, and it will invalidate the build cache if any file dependency changes, but a `RUN apt install foo` doesn't invalidate the cache-
457.
▲
by
weberc2
7y ago
> I said it fixes the same problems as OP listed. The OP listed noted that hermeticity is required for fast builds, and that humans can't be relied upon to provide hermeticity as a property. How does build2 guarantee hermeticity or
458.
▲
by
weberc2
7y ago
> but the ecosystem around Bazel is quite bad at the moment I've noticed this as well. I'd love to use Bazel for our Python 3 project, but as far as I can tell, the advertised Python 3 support doesn't actually work. There
459.
▲
by
weberc2
7y ago
I agree with all of this. My proposal addresses exactly this problem for the allocation related bottlenecks. CI will fail if someone introduces an allocation in a noalloc—annotated block.
460.
▲
by
weberc2
7y ago
They were talking about writing code that doesn't allocate in the hot path. Mostly this is pretty easy to eye-ball, but you can make sure it doesn't allocate by passing `-gcflags -m` to the `go build` command. This is almost alway
461.
▲
by
weberc2
7y ago
I like that the tools just work. I don't have to learn a DSL just to write my own build system for my project (unlike CMake, gradle, opam, etc); it's just `go build` or `go test`. And it works for almost everyone's project, s
462.
▲
by
weberc2
7y ago
Yeah, I envision fewer performance tests at a higher level of granularity. Not only might you miss annotations here and there, but allocations aren't the only thing (although they are probably the most significant) that would affect yo
463.
▲
by
weberc2
7y ago
> After these ports, our team has built up some expertise with Go and its compiler quirks. But you can still get burned. For example, you can very easily write data that you want to place on the cheaper stack instead onto the much more e
464.
▲
by
weberc2
7y ago
Technological advances in agriculture would presumably explain it, many of which are probably computer driven (precision agriculture, data-driven agriculture being two examples).
465.
▲
by
weberc2
7y ago
What is your country, out of curiosity?
466.
▲
by
weberc2
7y ago
The parent was referring to the OP’s doomsday scenarios (“kids are in for it”).
467.
▲
by
weberc2
7y ago
So "interpreter time" is defined as "time not spent parsing JSON" and thus "the less time you spend parsing JSON the less time you spend parsing JSON"? Of course that's correct, but it's so obvious as
468.
▲
by
weberc2
7y ago
The post is profiling large payloads? Maybe ujson is optimized for smaller payloads?
469.
▲
by
weberc2
7y ago
Especially considering that JSON compresses well.
470.
▲
by
weberc2
7y ago
> so if you're parsing a lot of small JSON files, whatever difference in speed the JSON parser makes is masked somewhat by the interpreter overhead Does this vary based on the size/quantity of the input JSON files? I would expe
471.
▲
by
weberc2
7y ago
I would be surprised if Google didn't know a given customer was disabled and serve up accessible results. Whether that is something an engineer deliberately coded or whether it was an algorithm that learned that a given cluster of user
472.
▲
by
weberc2
7y ago
One of two scenarios will happen depending on how easy it is to retrofit an existing website for accessibility. If it is easy, some subset of developers will specialize in retrofitting. If it is not easy, all developers who want to compete
473.
▲
by
weberc2
7y ago
There have been businesses that provide compliance services for forever. I would expect ADA compliance to be dramatically simpler and easier than HIPPA or SOC or GDPR.
474.
▲
by
weberc2
7y ago
I’m not usually one for more regulation, but I think this is a good thing. As far as regulations go, this is one of the cheaper ones, or at least it will be when developers are properly trained in accessibility and every serious CMS support
475.
▲
by
weberc2
7y ago
I don’t doubt this. Regulatory corruption is a real issue. Fortunately this isn’t an issue for most consumer-facing industries in the US.
476.
▲
by
weberc2
7y ago
Maybe it is, but that Wikipedia article doesn’t illustrate any controversy (unless I missed something), only that we should take the source with a grain of salt.
477.
▲
by
weberc2
7y ago
I agree, but the parent is responding to the article’s claim that the rich pay less. This isn’t in support of the parent’s comment, just trying to clarify the conversation and root out accidental straw men.
478.
▲
by
weberc2
7y ago
Insurance, food, cell service, and mattresses all have a fair amount of competition and lower prices. Airlines and medical are heavily regulated industries and regulation drives industries toward monopolies, not away from them. Search engin
479.
▲
by
weberc2
7y ago
I lived in Rennes, but traveled all over. The food is more expensive all over France compared to the US. If you compare France prices with major US metropolis prices, then sure, the prices in the US are perhaps more expensive, but overall f
480.
▲
by
weberc2
7y ago
“The bv US”? Europe has shorter hours and more vacation, but after factoring in everything else (healthcare, taxes, etc), my salary would be at least 40% lower in even the wealthiest European countries. And as mentioned elsewhere, the cost
More ›