1,291 karma · joined Mar 27, 2019 (7y ago) · 868 submissions
comment 3y ago · link · parent
That is only half of the truth. If your application needs a database, and which application doesn't, you have to store its data somewhere. So you either need a storage cluster, or you open the can of warms called local volumes and (anti-)affinity rules.
For smaller application deployments, hosting a separate kubernetes cluster is extremely expensive in terms of time spend to debug infrastructure issues. k8s introduces orders of magnitudes of additional complexity to networking, dns, storage, routing, logging, etc. All in the name of making these exact same things easier for the developer. This can be a good separation of work, if you are large enough to afford a dedicated k8s maintenance team. But often it is not.
comment 3y ago · link · parent
Basically, it contains most of what you would need to use it for simple scripts, make network requests, parse command line arguments and many more things.
But, it won't run every possible Clojure program and it won't be as performant as Clojure on the JVM if the program runs longer.
comment 3y ago · link · parent
That is one the downsides of trunk-based developments. One keeps a history of all failed experiments, the usefulness of the commit history deteriorates. That is for reading commit messages as well as for bisecting bugs.
comment 3y ago · link · parent
Regarding your first point:
> I've been in enough projects that changed version control systems
I have the impression that with the introduction of git, it became suddenly en-vogue to have tools to migrate history from one SCM to another. Therefore, I wouldn't settle on restarting from a snapshot anymore.
With git you can cut off history that is too old but weighs down the tools. You can simplify older history for example, while keeping newer history as it is. That is of course not easy but it can be done with git and some scripting.
comment 3y ago · link · parent
Imho, you are missing out on a great source of insight. When I want to understand some piece of code, I usually start navigating the git log from git blame. Even just one-line commit messages that refer to a ticket can help understanding tremendously. Even the output of git blame itself is helpful. You can see which lines changed together in which order. You see, which colleague to ask questions.
comment 3y ago · link · parent
As far as I know changes to the Linux kernel are usally submitted as a series of patches, i.e. a sequence of commits. I.e. a branch, although it is usually not represented as git branch while submitting.
comment 3y ago · link · parent
> This is also false. I was an active fitness instructor for 8 years and my cardio was great and also was a weightlifter. I could teach a two hour master class and go hard without giving out of breath. The first time I decided to do an outdoor 5K on a whim, it took me 40 minutes and I felt like I was going to die. I had to do run specific training.
This is also false. If you look at professional soccer players. They do all sorts of excercises that you never see in a game. I assume lot's of American footplayers also lift weight in training. Yet there are no weights on playing field. Shouldn't they just play games in training?
comment 3y ago · link · parent
Trusted computing is often used such that one might think, it implies the user can trust something (his computer). But it is the other way around. A service provider can trust a machine - that a user bought -- to not do what the user wants. That is misleading at best.
comment 3y ago · link · parent
This is exactly the kind of problem that is targeted by Project Loom [1] and structured concurrency [2] on the JVM. Async programming makes a lot of tools not applicable (or at least very cumbersome to use): debuggers, profilers, tracing tools, stack traces, etc.
comment 3y ago · link · parent
It might be clear in this case for someone who has already seen that really obscure bugs could be practically misused. But in the long-term, it is necessary to show that this is not some theoretical risk, which could be exploited in one never-heard-of hobby linux distribution. If security researchers skip these PoCs, a generation of future developers - who never saw practical PoCs - will just not believe it is relevant.
Saying the security researchers don't need to show PoCs is like saying mathematicians don't need proof, they just need to be very sure that a theorem holds.
That is the difference between a researcher/scientist and an engineer. An engineer could say, well this is likely exploitable, therefore let's safeguard against this. So that there remains a margin of security.
comment 3y ago · link · parent
So you don't want to live somewhere near forests or lakes. Somewhere, where is still some for of nature present. You only want to live downtown in a major city. Let me guess, you don't have children. Because many people change their opinion about that when they become parents.
comment 3y ago · link · parent
Please, tell us one country in the world that doesn't need cars.
Many, may be less dependent on cars than the U.S. . But no country is independent of cars. Using such hyperbole doesn't help the conversions. It just deepens the trenches.
comment 3y ago · link · parent
On the other hand, Haskell's unsafeCoerce or OCaml Obj.magic are usually not considered to be part of the language, since they are "normal" functions, but it is impossible to implement them inside the language.