1,813 karma · joined Jun 14, 2011 (15y ago) · 1,037 submissions
comment 7y ago · link · parent
The author I was replying points out how simple the syntax is. But that's missing the point. I provided a direct counter example:
Adding a new compiler to bazel is very complicated, and by new compiler I include something as simple as asserting "all of my C++ code is c++17" at a project level is (when done the correct way, and not one of the many hacky prone to failure ways) a 100+ line toolchain definition (because C++17 should be treated as an entirely new compiler from the perspective of bazel; treating it as a command line argument gets you in a bad place where you hit weird errors).
To draw an analogy, it's like saying that C++ code like:
some_matrix[i, j];
is great syntax and cross platform! When in reality it involves (in user space code) 3 complex classes (at a minimum!), overloading the comma operator(!), implicitly casting from builtin types, and probably hundreds of lines of template code (if you want any sort of extensibility). True it is cross platform and great syntax. But it obfuscates the amount of code and understanding required to do anything but what the most basic syntax allows, for example extending the system in any way.comment 7y ago · link · parent
comment 7y ago · link · parent
Note that adding and removing files (including through a glob) does always cause a rebuild though (because it's a change of the rule). This is a deficiency of bazel.
comment 7y ago · link · parent
Something to be aware of though is that Bazel does do some stupid things around this space. Like adding and removing files causes the build rule to change (if using a glob), which will proc a full rebuild of the library.
comment 7y ago · link · parent
A lot of work goes into those 4 lines. This is evidenced by the simple question of, how do you set up a custom compiler for that code properly? The answer being a couple hundred lines of starlark code, for what in other build systems is effectively `CC=clang` (to be fair bazel allows this but does not support or encourage it, especially for anything besides toy builds).
I like Bazel (a lot!) but you are oversimplifying it here.
comment 7y ago · link · parent
The issue comes with building a system to generate it asynchronously, to load and unload the data in a timely manner, to optimize around common use cases, to plan out memory allocation, and so on. Yes your computer could run it, but game engines are too simple to support the level of complexity to use these kinds of tools dynamically (or even at all sometimes).
Easier to just glom it all into a static world made by artists that are supported by tools like these, and ship it.
To draw an analogy, it's like trying to manage a cluster of a thousand containers across a hundred interrelated applications across a machines with only docker compose when one really needs something like Kubernetes.
comment 7y ago · link · parent
comment 7y ago · link · parent
Bazel is basically cross platform out of the box if one is careful with it: that includes a consistent build organization across platforms, cross builds if configured, and so on. It can build a library declaration for mobile and desktop and embedded and web in a single workspace; try that with CMAKE.
Bazel has a universal package system (e.g. download an archive or git repo) that allows for custom ecosystems (yes some of which are not great yet) to exist regardless of what is normal that ecosystem. This is especially notable for C++ where using CMAKE as a package system is a nightmare, with bazel I can just download any C++ repo off the internet and ignore it's CMAKE file for my own BUILD file. Also notably it's the first build system for C++ that hasn't required me to build or configure boost myself, someone can run bazel build against a repo of mine with boost in it without even knowing what boost is and it just builds.
Which brings me to hermeticy and reproducibility. If one is careful running bazel it always uses the same code for a platform (I've never had or seen weird "on my machine" issues with it which is impressive; reverting/stashing changes has always gotten people a working build again). All of the sources are version pinned, and so on. Getting to hermetic takes some work, but it's possible which is nice. A side effect of all this is my instructions for a bazel project are usually: install bazel, run build; and it just works! Yes parts of the ecosystem suck and break this, but that's a work in progress.
There are other features, like the query system, the test runner, the macro system, the local override idiom, the parallel build. The point is it really is a build tool for whatever needs to be built, however it needs to be built, and not just a scripting language useful for building things.
comment 7y ago · link · parent
Yea, but then it isn't a unifying theory it's basically just a giant case statement of "if relativistic motion, use relativistic motion equation". That isn't a unifying theory, that's more like a programming library that does everything.
A unifying theory would have to allow one to unify all of the existing equations we have as well as synthesize new ones; not just the ones we already have. It probably doesn't exist. It smacks too much of an NP-hard compression problem, where if we have enough output of the function we can find the minimal representation of it, but applied to everything in the universe.
comment 7y ago · link · parent
https://www.nationalgeographic.com/environment/2019/07/how-t...
It's just land the size of the United States to erase our last 100 years of emissions. Trees have the side benefit of being neutral or useful in many contexts. There is plenty of room.
comment 7y ago · link · parent
> But yeah, you can see porn on there and child predators can also access it.. so uh, child abuse or something. Lets just ban everything.
That's a straw-man of my position. Nowhere did I advocate banning anything.
I clearly stated that my issue was the harm caused for the sake of profit. Google could hire 30,000 moderators. Tumblr could (have) take(n) the issue seriously and redesigned the moderation tools it has (and it's reporting system). Kik could have improved the privacy and anonymity they offer their users (and maybe work to do something about communities that actively - basically publicly - exploit children). The operators of the fly by night chat rooms should probably be investigated, have a strongly worded meeting with an officer and prosecutor (along the lines of "your service is being actively used for extensive criminal activity; here is a search warrant"), and be arrested if they don't shut down their offerings (or radically pivot away) now that they are aware of the criminal activity they are facilitating (or if that investigation turned up their knowing facilitation of criminal activity).
My preferred alternative of federation would fix the problem by simply being better in many ways.
Your description is also a straw man of what is happening. We are talking about coordinated grooming of children. People who make many accounts (backed by using proxies, buying untraceable phone numbers, etc.), host servers and develop custom applications (e.g. targeted apps like chat rooms, or to scrape social networks for victims), and then use these tools for targeted attacks on victims (armed with personal details, secrets gained from their close friends through social engineering attacks, pretending to be multiple people, and so on). Let alone some of the recent stuff like realtime deepfakes, which I can only imagine how that is going to be used.
The victims here are children. Do you realize how regularly trained adults fail simple social engineering tests? With alarming regularity. The adversary model here is a motivated persistent personal threat. The win scenario is compromising a single child, and they can easily choose their targets. The information available includes full access to a child's social media and friend network and basically an unlimited number of tries (phrasing it like that makes me realize it can effectively be brute forced). We cannot expect children to survive that threat model unharmed.
On IRC you could log out (or log into a different server!), walk away, and play with your friends. On kik if you log out you are alone, if you walk away your life is over, all of your friends are there.
comment 7y ago · link · parent
Geoengineering will make lots of money for whoever ends up doing it, but on the scale we are talking about they are mostly infeasible decades long projects that will take why more money and political will than just stopping emissions.
comment 7y ago · link · parent
Google researched this, it would take 30,000 employees to manage their communities against child abuse effectively (not watch all content; a mistake people always seem to make when I say this). This would be about a fourth of youtube's suspected profits, so of course that isn't happening. Instead relying on machine learning and other clever solutions which are either ineffective or make the problem worse (youtube heroes for example).
Tumblr had similar problems and got temporarily banned from app stores over it. They of course banned all NSFW content, which didn't actually fix the problem (notably the beacon posts, and their crappy design (click share on child pornography to report it), and the ease of access to children; problems that Kik shares as it happens). And lets not even get started on the easily accessible chat rooms and online games targeted at children (quick, how hard is it to make a chat app, download some shitty cartoon graphics, and access a webcam? what like a day of effort? yeaaa... search "kid" and "chat" see what comes up, go on, I'll wait).
I would say that this would be a way to disrupt the chat market, but I don't even think anyone cares (worse than that, it will probably come off as idiotic, "kids are early adopters" anyone?). People will care when it comes to invading privacy: "think of the children" will be used to introduce stricter controls like it always has. But children are being harmed by companies that actively invade our privacy already (and hence cooperate with the powers that be), they get a free pass because it was never really about the children. Of course the irony is that this app wasn't shut down because of child abuse problems, but because of financial/regulation problems and a pivot. Running a cryptocurrency actually probably does have less criminal risk (and for that matter moral hazard) than running a chat platform (which is an insane statement, but that's where we are).
The only sorta-workable solution I have (that isn't stricter regulation of tech companies and chat platforms) for this issue is federation. Creating local chat platforms backed by local moderators (who have a stake in a positive platform) tied to real people (removing anonymity at the local level, but keeping pseudo-anonymity on the broader internet, but then you also know your system admin), this should overall encourage better behavior. But also children can be restricted to the local community (where it is safe, and they also can't make a nuisance of themselves), the federation would bring them content they could comment on and discuss with their friends (e.g. they could watch and comment on their favorite youtuber's videos, but conversations would be kept local). And of course a parent could white list remote friends, and communities can have "penpal" or "sister" communities that they whitelist in their entirety because they have close ties. Mastodon and other open federated social media platforms are working towards things like this.
This of course comes back to the parental control issue (most notably that parents suck at using them). But the point I would make is that such systems would be community backed, and offer better parental controls. Mixing in things like community ran game servers, document clouds, and so on would also do wonders.
comment 7y ago · link · parent
Climates changing means ecosystems are going to change. Food stuffs will disappear, lowering food diversity. Natural ecosystems will disappear lowering natural beauty. Rising sea levels and failing water cycles will cause cities to migrate. You aren't wrong that your children will probably not be very affected in a life and death sort of way, but they will lack the quality of life you do and many other people's children will die.
comment 7y ago · link · parent
x-rays aren't a unique physical phenomena, just a wave length of electromagnetic waves, which is a physical phenomena that life makes excessive use of (photosynthesis, vision).
comment 7y ago · link · parent
As for wheels, hip joints are a more efficient design of a rotatory system (multiple degrees of freedom). Wheels are much too simple a design to see much use in nature.
comment 7y ago · link · parent