Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
SolarNet
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
121.
▲
by
SolarNet
7y ago
> That being said, the processes described in the article sound like they will arrive at a fairly transparent (in a good sense), publicly-vetted algorithm Or a family of them for different applications anyway, which increases chances bot
122.
▲
by
SolarNet
7y ago
I still want arbitrary modifier keys. This is a feature of some game engines which allow people to use arbitrary keys (or combinations) as modifier keys. Which allow for less motion of the hand over the keyboard, by simply being able to hit
123.
▲
by
SolarNet
7y ago
Wasnt this because the dependency for gRPC was moved into bazel itself? How is this different than most other build systems? You always have to rely on others.
124.
▲
by
SolarNet
7y ago
> Sure, the Sentry of now might never do that - but if/when they're acquired for their patents and licenses that acquiring company may. And the three year conversion window gives you cover there. It's a question of will th
125.
▲
by
SolarNet
7y ago
I feel like that's a misunderstanding of the issue. Recursive dependencies are orthogonal to the issue of having an ecosystem of dependencies. There is a pattern for recursive dependency management (did you notice the `boost_deps` recu
126.
▲
by
SolarNet
7y ago
> You'll have just as easy/hard of a time getting Boost installed with Bazel as you would for Make. > Or publishing an accessible library that depends on Boost. This is patently false. Here is the bazel dependency for boost
127.
▲
by
SolarNet
7y ago
That is categorically not true. Go compiles down to machine code, it has a stack and heap, it has structures on that stack and heap, and it has data races; those are all of the required components for a use after free. You can have data rac
128.
▲
by
SolarNet
7y ago
GC does not provide memory safety at a system level, it has the same issues as C++ in poorly programmed code once compiled. Also C++ has "memory safety" idioms similar to garbage collection through reference counting and RAII. Goo
129.
▲
by
SolarNet
7y ago
Sure they are political, but that doesn't mean they should fall under the umbrella of what people consider politics in polite conversation or - for example - at work. To draw an analogy of a sort of inverse example, Brexit is political
130.
▲
by
SolarNet
7y ago
> I've seen the simple act of untangling a globbed dependency to the various isolated files reduce the size of an output artifact by gigabytes. And I don't take issue with what are obviously exceptional cases. What you are desc
131.
▲
by
SolarNet
7y ago
> Well sure, but build systems are hard, so that's still success in my book. Sure, but suggesting the one true way to use the tool is a way that only works inside of google's ecosystem is myopic. I don't actually have comp
132.
▲
by
SolarNet
7y ago
> But it doesn't actually have that. It has that for 1 very specific usecase, sometimes. I mean not really, it's there enough that for all practical cases it exists effectively. I would be extremely surprised if that wasn'
133.
▲
by
SolarNet
7y ago
> No, I just don't have the time or interest in reimplement language analysis tools when I don't need to. And I don't have the time or interest to do it by hand when bazel already has that .
134.
▲
by
SolarNet
7y ago
Sure I'll just go ahead and stick my fly weight class and it's provider class in two different libraries. And have one of them expose their shared internal header that is not meant for public usage. That's not going to cause
135.
▲
by
SolarNet
7y ago
I mean the best practices on the bazel website include: > To use fine-grained dependencies to allow parallelism and incrementality. > To keep dependencies well-encapsulated. Like if I need 5 source files in a library to keep it well e
136.
▲
by
SolarNet
7y ago
I mean sure, I'm not necessarily disagreeing that many people could do with fewer source files per library. But I also think you are pathologically misusing the tool along the lines of creating an NPM library for the left-pad function.
137.
▲
by
SolarNet
7y ago
Yes but it's minimizing the complexity of the cliff. The original author they were responding to was describing the static/dynamic discrepancy, and how it requires a lot of work. The author I was replying points out how simple the
138.
▲
by
SolarNet
7y ago
Then that is a problem with those language's implementations. Bazel allows for it, it is on those language implementations to provide support. Notably I am not aware of many languages that easily allow access to their dependency graphs
139.
▲
by
SolarNet
7y ago
Sure, but my point was that Bazel is doing file/include analysis so medium sized multi-header libraries are not penalized.
140.
▲
by
SolarNet
7y ago
I just tested this and I think you are incorrect. Bazel will appear as if it's rebuilding all of them (it lists a dozen files), but it's really just checking the caches for them. Try running `bazel build -s` and watch what command
141.
▲
by
SolarNet
7y ago
It does, this is testable a number of ways. The funniest one is to do a `#include "foo.bar"` (and make sure the file exists and is in `srcs`!) and watch bazel freak out with "I have no clue what kind of file that is, how do I
142.
▲
by
SolarNet
7y ago
The case in question is .h file include chains. And it does work correctly.
143.
▲
by
SolarNet
7y ago
Yes but there is a hundred megabytes of system behind that. Tens of thousands of lines of starlark code, and tens (maybe hundreds) of thousands of lines of java code besides. A lot of work goes into those 4 lines. This is evidenced by the s
144.
▲
by
SolarNet
7y ago
I mean this is the new (Omniviolence future article from a few days ago) world, they might as well get used to it now...
145.
▲
by
SolarNet
7y ago
In theory, but the US laws are a lot weaker and also not well enforced. The EU actually enforces it's laws on this subject and they are not as simple to "not technically illegal" them.
146.
▲
by
SolarNet
7y ago
The issue is software development time and the tools available. Game developers can make trees that look like this, no problem. And they do study the underlying science. The issue comes with building a system to generate it asynchronously,
147.
▲
by
SolarNet
7y ago
Those benefits have to come from somewhere. As do the social security and unemployment contributions.
148.
▲
by
SolarNet
7y ago
That was what it was for the US and EU polities. I think there is a throwaway line about China just doing it because China. When this happens in US and EU it will be because of terrorism, linked with technologies like amazon's drones,
149.
▲
by
SolarNet
7y ago
I mean, you should read Rainbows End (basically predicted this 15 years ago), this was going to happen, it's probably going to happen to the rest of the world at some point.
150.
▲
by
SolarNet
7y ago
Oh hey look another example of Rainbows End being spot on in predictions. At some point the U.S. will try something similar (hell under Trump there was already noise about it), and I think Rainbows End is necessary reading for what we w
More ›