927 karma · joined Mar 14, 2017 (9y ago) · 307 submissions
comment 7y ago · link · parent
I really should have spelled it Quality, to show that I meant the philosophy of Quality rather than its more mundane interpretation.
At the same time, in an interview with Pirsig that I read somewhere, IIRC he did rather archly claim something to the effect that the book had better be high quality, considering its subject matter.
I tried to find that interview, but could only come up with this piece [1].
comment 7y ago · link · parent
Ah, yes, my mistake. In my memory I confused index cards with PostIt notes.
> and not really about motorcycles at all
It's Zen, but it's not about Zen; it describes motorcycle maintenance, but it's not about motorcycle maintenance.
These are just a vehicle (no pun intended) for Pirsig to show us the inside of his post-apocalyptic mind, as far as he could remember once being who he called Phaedrus before they zapped him.
I found the book a multidimensional view of Pirsig's current and previous mental state and philosophy, just like the description of a computer software architecture is a multidimensional view of the architecture, neither and none of which can be described by a mere linear narrative.
It (ZATAOMM) is part philosophy, part memoir, part attack on what he calls the Church of Reason, part description of insanity, and more things I can't think of right now. No wonder it took him 4 years to pull together all those threads of consciousness, some of which were very damaged indeed.
Although, like another commenter noted, just spending 4 years on writing a book doesn't mean it automatically deserves accolades - and I agree with that observation - someone who reads it with even a fraction of the patience and insight with which it was written, might be tempted to award accolades after all.
comment 7y ago · link · parent
Then again, I am super-detail-oriented, so that makes sense to me, because IMHO that’s the kind of audience for whom Pirsig wrote the book.
It _is_ a book about the nature of quality, after all, and Pirsig spent four years writing it, with the aid of PostIt notes all over the walls to organize it.
Not all people are detail-oriented enough to be capable of the laser-like focus needed to get all of the way through the book without losing interest. No offense intended, each to their own.
comment 7y ago · link · parent
They talk about the AWS “Metadata Service” Attack Surface and how juicy a target it is. I was just providing support for that opinion.
comment 7y ago · link · parent
comment 7y ago · link · parent
You can get just about anything to "scale" given architectural compensations (like scads of containers), so this, ipso facto, doesn't mean much.
> so why not use a language that's nicer to work with?
Well, why not indeed? But here are some thoughts about that.
Nothing is a panacea, Erlang included. Some of the ecosystem is ugly and hard to work with, but improving. Erlang is in a vicious cycle:
* Erlang ecosystem sucks
* Fewer people want to use it
* Fewer people are available to improve the ecosystem
* Fewer people are available to fill jobs for Erlang
* Less demand for Erlang
* Loop
Erlang gives you certain things that no other language I know of does, and these things make it a more robust, easier to program, highly concurrent solution without needing architectural compensations for those things.
That doesn't mean that you can magically throw 1 million TPS at Erlang running on N boxes and your internal queues/mailboxes won't overflow. You, along with the rest of the world, need backpressure handling mechanisms.
What Erlang gives you that Java doesn't is totally decoupled processes that cannot directly affect each other. No mutexes or semaphores, no shared global memory.
It also gives you ultra-lightweight processes that garbage-collect independently of each other, that are cheap enough to start and stop that you can create one per incoming connection and make it completely unaffected by any trouble that any other process gets into. This is not true of threads in Java.
It gives you a supervisory framework that, if used judiciously (yeah, yeah, no true Scotsman, but that doesn't make this any less valid) gives you an ultra-robust system that degrades gracefully under error or overload conditions.
It gives you linked processes that detect a broken process and brings down the others (if you so choose) to avoid leaving orphaned processes cluttering up the system, plus automatic restart, baked in. These do come free of charge when using OTP supervisory frameworks in the recommended fashion.
I think that in some cases, Erlang has been overhyped and people come into it expecting it to magically solve all the hard problems. People that overhype Erlang do it a disservice. For example, the stupid "nine nines" thing was an almost once-off, limited situation in a very constrained environment and I am sure many Erlangists wish it had never been mentioned.
And I wish nobody had ever said the words "let it crash", because they have been misunderstood and taken out of context and again done Erlang a disservice. Just like the phrase "premature optimization is the root of all evil" has caused untold damage when it was (and is often) taken out of context.
The whole "let it crash" thing was shorthand for "if a process cannot reasonably handle and error condition itself, let it die and be reincarnated by the supervisory process". It does not mean "just let everything crash". For example, if you have a system that has long-lived connections, maybe (say) http/2 connections, or XMPP, or Apple push, you most definitely do not want to let it crash without doing everything possible to recover from errors such that the connection stays up under as many error conditions as possible.
But for the most part, a process should not be written defensively and try to recover from errors where it has no business doing so - it should leave it to the supervisor.
I have written Erlang systems, heavily used in production that ran reliably, without crashing, for many months. Usually they were only stopped to do an OS upgrade. They weren't error-free - we found out about some persistent errors by checking the logs occasionally, then fix them and often hot-patch the fix into the production systems.
Again, Erlang is not the world's best programming language or ecosystem. It is, within its design envelope, one of the finest soft real-time distributed multiprocessing environments around when used, like anything, with skill and careful architectural design.
In my humble opinion.
comment 7y ago · link · parent
10 years ago the ecosystem was horrendous, and is much better now. Granted, the build experience could be better but I didn't find it that bad.
I find that people's experiences are relative to what they are accustomed to. Early years for me included compiling and linking C in Windows (segmented) and that was truly horrible!
comment 7y ago · link · parent
What many people today mean by optimization is a far cry from that.
Here’s a real-life example. Some code was super-slow and nobody could figure out why. It took only a minute to see the code was passing a string (in C++) by value, causing unnecessary copy construction and destruction (in a tight loop, to boot).
Writing that code by passing a const reference in the first place is Good Coding 101, but many people might consider that “premature optimization”.
comment 7y ago · link · parent
comment 7y ago · link · parent
After a number of iterations of this, you converge on a baseline architecture that you try to support future change without being excessively focused on YAGNI. Over-focus on YAGNI often leads to architectures that are so inflexible that when you DO need it, you can't add it without a demolition crew[1].
People should also remember the context in which YAGNI came up: Kent Beck, Ward Cunningham, Smalltalk, and the C3 project. This particular combination of people, project, and process made YAGNI feasible. And the C3 project, which spawned XP, was not as successful as folklore would have it[2].
It's not always so. Imagine if YAGNI was the focus of Roy Fielding and the HTTP specification, which has lasted remarkably well because of allowance for future change in the architecture.
Scrum and other processes that claim adherence to the Agile Manifesto work best in certain contexts, where code turnaround can be fast, mistakes do not take the company down and fixes can be redeployed quickly and easily, the requirements are not well-understood and change rapidly, and the architecture is not overly complex.
Many other projects don't fit this model, and people seem to think that so-called "Agile" (which even the creators of the Manifesto complain is not a noun), and mostly Scrum, is the sole exemplar of productivity.
The fact is that there are many hybrid development processes, described by Steve McConnell[3] long before the word "agile" became a synonym for "success", that may be more suitable to projects that have different dynamics.
An example of such a project could be one that does have well-defined requirements (e.g. implementing something based on an international standard) and will suffer from a pure "User Story" approach.
Let's be much more flexible about how we decide to develop, and accept that you need to tailor the approach to the nature of the project, based on risk factors, longevity, and other factors, and not on dogma.
And let's not underplay the extreme importance of a well-thought out architecture in all but the most trivial of projects.
[1]: https://en.wikipedia.org/wiki/You_aren%27t_gonna_need_it
[2]: https://en.wikipedia.org/wiki/Chrysler_Comprehensive_Compens...
[3]: https://www.amazon.com/Rapid-Development-Taming-Software-Sch...
comment 7y ago · link · parent
On reading certain passages, my afflicted leg (and only that leg) got tingles and goosebumps and the rest of me just... cringed... in horrified empathy. I feel ill just thinking about OP’s pain, and knowing, as OP does, that this is nothing compared to the pain of certain other maladies makes me wonder how anyone can bear it.
comment 7y ago · link · parent
- Anxiety
- Depression
- Digestive problems
- Headaches
- Heart disease
- Sleep problems
- Weight gain
- Memory and concentration impairment
[1] https://www.mayoclinic.org/healthy-lifestyle/stress-manageme...