1,198 karma · joined Sep 1, 2012 (14y ago) · 1,815 submissions
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.)
comment 10y ago · link · parent
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
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
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
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
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
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
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
comment 10y ago · link · parent
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
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
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
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
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
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
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
But, of course, it has nothing to do with harmonic series and other man-made concepts of the mind.
comment 10y ago · link · parent
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