Better HN
topnewbestaskshowjobs
Log inSign up

dschiptsov

1,198 karma · joined Sep 1, 2012 (14y ago) · 1,815 submissions

http://karma-engineering.com/lab/

schiptsov at gmail or facebook

I am looking for employment in Sweden with relocation only.

Will do UNIX sysadmin's and DBA's tasks and/or code CL/Erlang/Haskell/Clojure/Scala/Python/Go for food.)

Submissions

comment 10y ago · link · parent

Yes, this strong process isolation is one of the design decisions which leads to the ultimate success of Erlang/OTP as a telecom platform. Joe Armstrong's thesis has explicit explanation why JVM is not suitable for telecom-grade reliability (no matter what sales people would tell you).

Another principal design decision, which complements share-nothing architecture, is a pure functional language with single "assignment". This greatly simplified runtime and VM itself which leads to more controlled and predictable behavior, suitable for soft-realtime systems.

The concept of drivers is another one, but it is irrelevant to this discussion.

comment 10y ago · link · parent

It is not only about absolute number of objects created, of course. It is also how long they kept and how often the are changing.

Immutability gives simplifies everything including incremental, parallel GC and hence reduces the pauses for GC.

This is the big idea behind Clojure and Datomic - immutability makes everything simple (less complex runtimes) and even more scalable (share nothing means no locks, mutexes, busy waiting) and in the case of Erlang - fault tolerant (strong process isolation - no threads with shared stack or any writable data).

What is funny - everything has been well-researched and right principles formulated by Erlang team decades ago, and the resulting product just works for telecoms.

The two fundamental principles they described are 1) Posix threads and fault tolerance does not match. 2) Imperative code and GC does not match. While Golang, Lua or PyPy are trying really hard to disprove the second principle, Java is an existential proof.

comment 10y ago · link · parent

Does it mean that ITA services doesn't work in production at Google or that Google does not use any projects written in Common Lisp?

comment 10y ago · link · parent

My pleasure!

http://basho.com/products/

http://highscalability.com/blog/2014/2/26/the-whatsapp-archi...

comment 10y ago · link · parent

There is a much better reading for Young Bloods

https://pragprog.com/book/jaerlang2/programming-erlang

comment 10y ago · link · parent

> garbage collection pauses make masters “disappear”

This happens only with piles of Java crap (gigabytes of jars). With [mostly] functional Erlang, Common Lisp, Haskell everything is fine.

comment 10y ago · link · parent

Let me guess - PHP?

comment 10y ago · link · parent

Blood has no access inside cells.) Viruses are using sophisticated machinery to inject pieces of DNA and enzimes into the cell through the membrane.

But the immune system probably gets reorganized and refreshed.

comment 10y ago · link · parent

There are lots of support from animal model experiments - it prolongs lifespan.

Also this idea is a hundreds years old, and has been known even by ancient Chinese.

This is, probably, is the treatment for Castro and others. If one has no serious chronic diseases it will do.

comment 10y ago · link · parent

[citation needed]

comment 10y ago · link · parent

That's just street/slums/ghetto behavior. Such heavy selection pressure selects the most adaptive and the most lucky (on the contrary to the popular misconception that the strongest and the smartest are selected). One could find a whole countries with this kind of society - Russia and some African states are good example. Highest level of corruption and crime produce such street-gang social norms.

Such practices are plainly stupid and based on misconception and uneducated common sense and primitive memes. Every serious professional athlete will tell you that too much stress and pressure will dramatically diminish one's performance and health instead of making one "stronger". Relaxed self-control, proper habits and just enough of exercises will do.

Any highly such competitive and stressful societies of assholes and jerks characterized by high turnaround, very short lifespan for participants, high injury and mortality rates, and hence adaptations, such as earlier reproductive age, smaller body sized, quicker but lower quality development, etc. It is just biology.

comment 10y ago · link · parent

I said in the comment above that "knowledge" is represented as a structure of specialized areas of the brain - stored procedures, if you wish, but the system needs to be "trained" by the spoken (or signed) language from the shared environment.

The "machinery" probably has notions of a thing, a process, and an attribute, because it reflects characteristics of shared physical environment and every human language has nouns, verbs and adjectives. There are also notions of time and space, due to serialized input of sense organs and self-centered nature of our perception.

Evolved, highly-specialized machinery of the brain's specialized areas reflects major characteristics of the shared environment available to it through the sense organs. There is nothing more than that. No other "knowledge".

comment 10y ago · link · parent

Literally absolutely nothing.

Human (and any other) brain has been shaped by evolutionary forces according to constrains and features of the shared environment (gravitation, light, sound, day/night changes, climate, etc) and has evolved machinery to pick up any language from the shared social environment. So-called hard-wired "knowledge" is just a structure of neurons in specialized areas of the brain, shaped by evolution (selection on random mutations) which reflects the environment.

comment 10y ago · link · parent

If one has serious interest in expert level Common Lisp code there is the Norvig's masterpiece Paradigms of Artificial Intelligence Programming (PAIP) which is available form Amazon or torrents.

There is also the Common Lisp code from AIMA second edition.

PAIP and AIMA for CL is the same as SICP and old classic HtDP for Scheme. After mastering these one might consider oneself a programmer.)

comment 10y ago · link · parent

He advocates "fail-fast" and "share-nothing" as fundamental principles - that's the point. With no sharing a failure of a single process affects no other, unlike threads with shared stack and state. For the same reasons Erlang is functional language with single bindings. Sharing of immutable data is OK, so message passing might be implemented using OS shared memory services.

comment 10y ago · link · parent

Yeah, if we remove every mention of mathematics to make it less "elitist", then one could notice a few nice things, such as justification behind some TTD practices (writing down examples and counter examples to come up with more refined definition), healthy obsession with precise usage of words (plus not mentioned but important - to use as less of them as possible - just enough), and that, basically, the whole process is a heuristic search, so a "wrong" is nothing but merely an empty branch of the search process, not a "failure" - so, just accept it and backtrack. The need of assertions and tests (proofs) is obvious. And the ladder of abstractions is the very same notion of layers of composable abstractions, where each layer is a "language" and building blocks for a layer above, which was popularized by the on SICP and On Lisp books.

This, by the way, is also the answer to that question "do we need to study math for programming". Discipline in the use of ones own mind is what is required.

comment 10y ago · link · parent

Joe Armstrong thinks it is.

comment 10y ago · link · parent

Message passing, it seems, is the basis for implementation of protocols, be it communication between objects in a hierarchy or between actors/processes in a system or nodes in a network.

It is not coincidence that message passing is the core concept in the original OO paradigm and in design of fault-tolerant distributed systems. Cells do message passing too.

I am not sure what is being copied here. Messages are just structured data (a molecule) in otherwise share-nothing architecture.

comment 10y ago · link · parent

Perhaps, one should borrow message-passing as a standard language idiom, actors and pattern matching on receive from Erlang, the way Akka did, instead of copying hat async/await ugly hacks.

Message passing as a core concept of a language is fundamental and necessary (given that interlop with ObjC is important), and having that and macros gives related control structures for free.

comment 10y ago · link · parent

Has Peter Norvig retired?

comment 10y ago · link · parent

According to old-school philosophy of science truth could be discovered only by removing all the nonsense, as a remainder, not by pilling up nonsense on top of nonsense out of math and probabilities.

Probabilities, for example, are not applicable to partially observed, guessed and modeled phenomena. It should be a type-error.

As for math - existence of a concept as a mathematical abstraction does not imply its existence outside the realms of so-called collective consciousness. Projecting mathematical concepts onto physical phenomena which could not be observed is a way to create chimeras and to get lost in them.

Read some Hegel to see how it works.)

comment 10y ago · link · parent

What has been seen is reading of instruments which has been built according to some mathematical model to register conditions which supposed to happen according to bunch of theories and then a lot of calculations follows which presumably conform the assumptions according to the reading.

The simple analogy is pictures one has on fMRI. These pictures are, well, pictures based on approximations, not the mind. Not even close.

There is a paradox - one cannot make an instrument out of atoms to "see" what is going on inside these atoms. What they saw are pictures created out of mathematical models, not reality as it is.

comment 10y ago · link · parent

BTW, one might notice how a language with type-tagged data (a value has a type, not a variable, there are no box-like variables, but bindings) is much more suitable for data exploration and analysis (python + pandas is a good example).

Also homogeneous lists and especially conditionals is kind of awkward - tuples aren't as flexible as lists. Defining a type for each possible row and then pattern-match on will result in a lot of useless boilerplate, almost as bad as Java.

Common Lisp, it seems, is a better choice for such problems.

comment 10y ago · link · parent

Which is a peak, because Facebook is neither new nor special even in the third world.

comment 10y ago · link · parent

Nice to see how Postgres (a relative of Informix) follows an old-school maxim to focus on Consistency and Durability by being "append-only" and never over-writing the data. Sticking to the right principles is better than over-optimization.

The Uber engineers should, perhaps, take a look at Changelogs of last 5 or so releases of MySQL to see how many bugs in InnoDB has been found in each release and read stories about data loses due to inability to repair storages.

According to old-school DBA tradition, it is much better to have an straightforward storage engine based on right principles written in C than fancy storage written in C++. At least if one values ones data.

Well, in the age of in-memory "databases", "durability through replication" and "eventual consistency" old school focus on disk commits might sound a bit outdated, until one gets that moment when shards got messed up and there is no way to know how many writes are missing and where.

Database is a durable storage which guarantees data consistency and ability to roll-back to a clean state through direct-access (by passing all caches) writes. At lest this is what we had in glorious times of IDS 7.3

comment 10y ago · link · parent

Evolutionary accident, perhaps. We have been conditioning for millions of years to detect dangers and distinguish among sounds of nature. Obviously, the sounds of bird songs and most of animal cries are in so-called major tonality, while sounds of nature like wind, raining, thunderstorm, etc. are belongs to minor. The swinging from one to another and variations on a theme are pleasant to us the way natural bright colors are more pleasant than dull ones. Rhythm is another main factor, and it probably has something to do with repetitive patterns of behavior, the physiological phenomena behind some trance states (which is related to sexual arousal that makes an animal numb) and rhythms found in sounds of nature.

But, of course, it has nothing to do with harmonic series and other man-made concepts of the mind.

comment 10y ago · link · parent

Happiness, defined as self-deluded positive attitude maintained by confirmation bias and caffeine, is a mild form of stupidity.

Seeing things as they are, ideally without differentiating for "good" and "bad", and calling things by its proper names is beginning of intelligence.

Joy, contrary to happiness, is a natural state (that's what makes children so different), which has nothing to do with social and environmental conditioning.

comment 10y ago · link · parent

For those who do not want to understand the details (which in case of Emacs is silly - one miss so many aha moments) bbatsov's prelude is a piece of true craftsmanship.

comment 10y ago · link · parent

And the second part of the joke is that these people usually are not real techies who produce, like Wozniak, Ritchie, Thompson, etc. but socially skilled, manipulative talking heads, who inevitable raise to topmost positions if an organization is old enough - the useless ballast of pointy haired managers. There is no better example of that kind than Balmer himself.
1
567
61