HNHacker News
TopNewBestAskShowJobs

dkarapetyan

1 karma · joined December 4, 2019

submissionscomments
dkarapetyan··on Tiny Linux distro that runs the entire OS as Docker containers
You realize how you're not making any sense. Docker is another abstraction so it can not be better in terms of resource usage than running whatever process you are now running inside docker. You literally have more overhead with the docker approach in terms of all resource utilization. You now have all the overhead of an OS and then you are layering docker on top of it. The OS has not gone away. It is still managing processes, memory, files, sockets, networking, etc.
dkarapetyan··on Tiny Linux distro that runs the entire OS as Docker containers
So you have an organizational problem and you're hacking one problem with another hack. Clearly nothing can go wrong with this approach.
dkarapetyan··on Tiny Linux distro that runs the entire OS as Docker containers
http://man7.org/linux/man-pages/man7/capabilities.7.html

There are several capabilities in that list to address your problem. Since your question is concerned about memory you can search for "memory" in that page and note the exact capabilities you will need.

OpenBSD has even more features (https://en.wikipedia.org/wiki/OpenBSD_security_features) alongside the capability model.

My gripe is that instead of learning how to properly use their tools and platforms people have started looking for golden hammers like docker and now we have a mess like RancherOS. If someone can explain to me how isolating the system services in docker containers (which by the way are not isolated since they are privileged) does anything above and beyond what capabilities and the security features in OpenBSD provide then I'll concede the point. My guess is there are no advantages and people are jumping on bandwagons they know nothing about and since the previous generation of tools was not utilized to its full extent neither will all the new docker hotness. People are hammering square pegs into round holes.

dkarapetyan··on Tiny Linux distro that runs the entire OS as Docker containers
What exactly is the problem with process sandboxing and language level VMs? The industry is tackling all the wrong problems. So have we given up on process sandboxing with capabilities? The whole containerization movement is one giant hammer to kill a fly kinda business these days. While you guys are figuring all this out I'm gonna stick with BEAM, JVM, and other tried and true methods. I'll check back in another 5 years to see what this mess has turned into. Maybe that's enough time to figure out how all the overlay networking is working out because, you know, we need a few more overlays between the hardware and the VM.
dkarapetyan··on Tiny Linux distro that runs the entire OS as Docker containers
I have to say this enrages me. The system services are still privileged containers and we are now basically emulating a micro-kernel (very badly I might add with a monolithic kernel). If you want to use a micro-kernel then use a fucking micro-kernel. Hacking a micro-kernel with docker is not the right approach, especially given the stability track record of docker itself. It's a hack and aesthetically unpleasant on all sorts of levels. Not the least of which is that docker itself is one giant hack.
dkarapetyan··on Lab-grown ‘mini-brains’ do mimic human brain development
Getting spooky and ethically tricky.
dkarapetyan··on Uber’s Anthony Levandowski out as Advanced Technologies lead amid legal fight
So all this drama is kinda pointless. I mentioned in another thread that SV culture actively encourages this kind of behavior and ultimately I think folks buy into the system because everyone deep down thinks they're gonna become a millionaire this way.

I'm only watching because of morbid curiosity and really I have no stake in the outcome whatever it may be. Both companies are equally bad in my opinion and they are making things more and more unsustainable. The modern technology ecosystem feels very unhealthy in general.

dkarapetyan··on TypeScript 2.3
Anders and team are like programmer whisperers. Every design decision has been a productivity boon.
dkarapetyan··on Linkerd 1.0
> ... service mesh for cloud native applications

Need I say more? Paging Alan Kay to tell these folks what the origins of an unnecessary complicated mess looks like.

dkarapetyan··on Is it really “Complex”? Or did we make it “Complicated”? (2014) [video]
I think this is the case with all software. None of it is 100% or even 95%. This is why I've given up on learning anything language specific. If you understand the concepts then you'll be able to re-create the pieces you need in your language of choice because most of the time the other 5% or 10% is context dependent.
dkarapetyan··on Is it really “Complex”? Or did we make it “Complicated”? (2014) [video]
Have you used OMeta? That came out ouf VPRI I believe: https://en.wikipedia.org/wiki/OMeta. It is a really nice approach to constructing parsers and interpreters. Then there is "Open, extensible object models": https://www.recurse.com/blog/65-paper-of-the-week-open-exten.... Again by the same folks.

Those are the one that come to mind when I think of simple and very powerful tools. There are many others. So I think Alan Kay and friends have demonstrated that we have made things complicated for dubious reasons.

dkarapetyan··on Is it really “Complex”? Or did we make it “Complicated”? (2014) [video]
In what sense are other languages less precise?
dkarapetyan··on Is it really “Complex”? Or did we make it “Complicated”? (2014) [video]
This is a fun one. But then again most Alan Kay talks are fun.
dkarapetyan··on The Internet Isn’t Making Us Dumber – It’s Making Us More ‘Meta-Ignorant’
Since we are playing with words. Startup idea: the meta-internet to restore humanity to its previous intellectual glory.
dkarapetyan··on The Kekulé Problem
And notice how many flame wars there are in programming forums. It's almost like the programmers forget that the tools they use are just tools and that they are a means to an end instead of an end in and of themselves. The focus shifts from solving problems and people start comparing the relative merits of one tool against another instead of discussing the best way to go about solving a problem.

In programming I think we substitute the language for the problem space and forget that the problem space is primary and the language is secondary.

dkarapetyan··on Palantir No Longer Works With The NSA
I don't get the hype around palantir. It's a regular consulting shop like any other. Same as SAP, IBM, HP, etc. but a lot cheaper because their labor is a lot cheaper.

So what does it mean it no longer works for the NSA? Like they stopped taking government contracts? Of course not. They still work for big banks and big corporations and they still have government contracts. Whether the contract is with NSA or CIA or FBI I don't think makes a difference.

dkarapetyan··on The Kekulé Problem
I think the trouble with stories, language, and symbolic meaning is that over time people confuse the symbols with reality. Somehow the story becomes the reality and people forget that they made it up. Conspiracy theories are a really good example of stories and fantasies that people are convinced is reality. When you keep substituting symbols for reality it is pretty easy to confuse the two at some point.

Another example is fantasy literature. Much of it is concerned with magical systems that revolve around saying the right things. As if the right words and gestures can shape reality. I think this is the definition of magical thinking. Even though saying the right words will not make them reality people really like to think that is the case.

dkarapetyan··on Building a Completely Reversible Computer
So reversible computing requires less energy not more right? Last I heard it is damn hard to forget information.
dkarapetyan··on Losing My Patience with Google+
I think G+ was dead on arrival. Don't really know why that was the case but it just never made any sense. They had Orkut and killed it which kinda makes me wonder how management at Google thinks.
dkarapetyan··on Nim programming language
> The GC is only triggered in a memory allocation operation. It is not triggered by some timer and does not run in a background thread.

I think this is what D does as well. This means you have to be mindful of what you're doing and if you want few pauses then you need to perform all your allocations ahead of time or disable it entirely in certain sections.

dkarapetyan··on Moby: An open-source project to advance containerization
Sounds like the folks from MirageOS have been hard at work.
dkarapetyan··on Moby: An open-source project to advance containerization
Aren't they doing it kinda backwards? Shouldn't you start with the pieces and then let people assemble them how they want?

It's fine to offer off-the-shelf supported configurations but why start with everything and the kitchen sink and then try to backtrack?

dkarapetyan··on Loss of Coral Reefs Could Cost $1T
Dan Ariely and folks in behavioral economics in general have written a book or two on the matter. Basically it comes down to tricking your brain into long term thinking by hijacking short term thinking habits.

Like if you want to develop a running habit then eat a cake after every run and then after a while stop eating the cake. Then you start looking forward to the run because you anticipate eating cake which after a while becomes a running habit. Substitute whatever you like for the cake. It's all hacks though.

Humanity is basically doomed. At some point the thinking that we can innovate ourselves out of every dilemma we got ourselves into will stop working because the complexity of the dilemma keeps growing and technology will stop being the panacea it is at a certain level of complexity.

dkarapetyan··on Oracle buys Wercker
Why do these posts always sound the same and follow the same format? Are they mandated by the legal department?
dkarapetyan··on Loss of Coral Reefs Could Cost $1T
Are you from this planet? People consistently burn down all the things that sustains them in pursuit of short term gains. Like that's not even a philosophical point about greed and shortsightedness. It's an empirical fact you can bet on.
dkarapetyan··on Materialism alone cannot explain the riddle of consciousness
Isn't this confusing the map for the terrain? The mathematical formalism doesn't have an answer to the questions this essay is asking. If you model reality with wave functions and compute then you get certain results. That's pretty much all the mathematics says. Material things are entirely absent in the mathematical formalism.

In math people learn to not ask questions like "what is a set?". The answer is always whatever is consistent with the axioms of set theory. That question is a non-question in the mathematical formalism of set theory. I think it's the same thing in physics. Asking what is an electron when all you have are some axioms about wave functions will lead to equally nonsensical answers.

dkarapetyan··on Unreasonable Ineffectiveness of Machine Learning in Computer Systems Research
Misunderstanding? Given that my day job is to literally build tools and infrastructure for "modern software systems" I don't think I'm misunderstanding things at all.

But whatever I can say on "modern software" has already been said much better by Alan Kay so I'm going to defer to him for the rest of this conversation.

I'll buy Toyota stock. You buy Google stock. We'll compare notes in a decade and see who managed to make self-driving cars commercially viable.

dkarapetyan··on Unreasonable Ineffectiveness of Machine Learning in Computer Systems Research
I think you're downplaying the actual engineering required. Robotics is more than just actuators. Robotics folks have been doing sensor fusion, control, and learning for much longer than software ML folks have been doing those same things.

I'm saying a software company is not gonna crack the market. Software companies neither have the expertise nor the engineering discipline. Boston Robotics and Google have been famously not getting along and their self-driving division seems to have been horribly mismanaged for a long time and we are now seeing the fallout in the form of lawsuits.

dkarapetyan··on Unreasonable Ineffectiveness of Machine Learning in Computer Systems Research
So if you were a betting man what would you go with. A bunch of software folks that don't really understand robotics. Or a bunch of robotics folks that learn some ML.

I think the ML is the easy part. The real engineering in making these things truly production ready is the hard part. Only few places in the world have that kind of production expertise. Toyota being one such place.

dkarapetyan··on Unreasonable Ineffectiveness of Machine Learning in Computer Systems Research
How is Toyota behind? Don't they have an entire robotics division? Google, Uber, and all the other guys had to cobble together something that looks like a robotics division but Toyota has all of that already figured out.

I think if anyone pulls this off it is Toyota.

← PreviousPage 5 of 34Next →