Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
agbell
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
agbell
5y ago
You can check it, but I'm pretty sure the difference is negligible. But yeah, all benchmarks are using the code in perf and the pop code is just to demonstrate. It is not benched. Edit: dropping the extra list() from the blog code exam
32.
▲
by
agbell
5y ago
So we could determine what gains I am getting are due to C and the specific compares and which are due just being 2 lists? That would be an interesting test. Maybe I'll do a follow-up. Thanks for reading the article. I suspect you know
33.
▲
by
agbell
5y ago
That's me. Thanks for reading it and listening to the podcast. The SQLite episode is now nearly the most listened to, thanks to hacker news. On Merging lists: I was caught off guard by recommendation to use sort to merge sorted lists.
34.
▲
by
agbell
5y ago
TimSort is cool. In it's worst case it looks no better than merge sort, but give it some partially order data, or small amounts of data, where it uses insertion sort, and it really shines.
35.
▲
by
agbell
5y ago
Here is a small monorepo example. We build a DAG of dependencies between parts of the monorepo and only rebuild what is needed. This is different but similar to what Bazel does.
36.
▲
Message from Space
(message-from-space.readthedocs.io)
2 points
by
agbell
5y ago
|
0 comments
37.
▲
by
agbell
5y ago
> Cyber noir is subgenre that combines elements of noir and cyberpunk. Isn't cyber punk supposed to be film noir set in a high tech future? So we just increasing the amount of film noir to get Cyber Noir?
38.
▲
by
agbell
5y ago
So Jeff VanderMeer makes video games now? This is very creepy.
39.
▲
by
agbell
5y ago
It is fundamentally a containerized build technology and people use it for that reason. That might make it not have value for you, buts fundamental to the reason that those who use it do find it valuable.
40.
▲
by
agbell
5y ago
Makes sense. Kafka is Apache, confluent platform is open core. So I agree the post is a bit confused about that. We can update it and link in the PR. No intention to misrepresent the facts on our parts, just a small team trying to build stu
41.
▲
by
agbell
5y ago
I know less about Bazel then Vlad does so he may have a better answer. But Earthly lets you use your languages build tool and expects but does not enforce that the individual steps you call are reproducible. So it is a less granular approac
42.
▲
by
agbell
5y ago
Here is an SBT example[1]. Earthly is starting up the database dependencies, running the integration tests, tearing them down and other glue type things that need to happen when a complex build pipeline has dependencies and several steps.
43.
▲
by
agbell
5y ago
Thanks for checking it out. We do get a lot of requests for podmad support and have it on our roadmap here: https://github.com/earthly/earthly/projects/1
44.
▲
by
agbell
5y ago
Thanks for checking it out. This is something we have plans for.
45.
▲
by
agbell
5y ago
We do have plans for podman and other container runtime support. Here is our roadmap: https://github.com/earthly/earthly/projects/1
46.
▲
by
agbell
5y ago
We support dependencies in a number of ways, but are a bit different than make dependencies, because the file system of each step is separate unless you explicitly copy in or depend on other targets. This helps us do things in parallel bec
47.
▲
by
agbell
5y ago
Hi, We have a blog post discussing the license change here: https://earthly.dev/blog/every-open-core-company-should-be-a...
48.
▲
by
agbell
5y ago
It's pure target transactional, so it would not keep intermediate files in that case.
49.
▲
by
agbell
5y ago
Hi, just on my phone but Dependencies and parrellism are supported. It's inferred from the structure of targets.
50.
▲
by
agbell
5y ago
I agree that build systems and CI/CD systems should converge. One way this could happen is considering one side, say the Bazel build or the earthfile canonical, and generating the config for the other side from it, including various su
51.
▲
by
agbell
5y ago
Not right now, but we are happy to take a PR :) You can probably just manually write a buildspec that has a single earthly call: command: - earthly +build I've not used CodeBuild though, so I'm not totally sure. L
52.
▲
by
agbell
5y ago
So you just have to pull in earthly and then call it. Here is an example. Note that the travis file has almost nothing, because you can move all that to an Earthfile so that you can easily port it and run it locally. https://git
53.
▲
by
agbell
5y ago
I like nix. If you dig into nixpkgs far enough back you can find commits from me bumping version hashes on postgres. The caching and our future plans for distributed builds have some similarities with Nix Hydra and Bazel but creating images
54.
▲
by
agbell
5y ago
It does seem strange. If they wanted that emphasis they could have used a quote. > "It may just be a game to you but" Red Cross spokesperson tine said "it means the world to us."
55.
▲
by
agbell
5y ago
It does. You just put all your actually build logic in an earthfile and call it from your github actions. A benefit of this is its easy to move CIs and you can test your build locally. Here is an example githubaction script[1]. https:/
56.
▲
by
agbell
5y ago
Thanks for checking it out. You can totally do that. We are using moby/buildkit and docker to provide this platform independence.
57.
▲
by
agbell
5y ago
Thanks for checking it out. I've not tried this and I'm not very familiar with TeamCity but it should just work. If you are running the teamcity builds inside of containers, you may need to switch that off, as Earthly brings its o
58.
▲
by
agbell
5y ago
You can take a look at how the phoenix framework uses earthly to simplify their builds. They are testing across OTP versions and across different databases (mysql, SQL Server, postgres) all in an earthfile[1]. Ecto_sql does something simila
59.
▲
by
agbell
5y ago
Thanks for using it! Yeah, I was sick of having to write build scripts in vendor specific formats and then not being able to run those builds locally without jumping through a lot of hoops. If earthly didn't exist I think I would use a
60.
▲
by
agbell
5y ago
Hello HN. Earthly is a tool for build automation. I like to think of our solution as a modern version of a makefile. Many people are familiar with makefiles, and back before every CI server was configured using YAML and groovy, this was a c
More ›