News for hackers. Stuff that matters.
Re:How I Came to Write D (2014) by wglb on Sunday June 03, 2018 @11:51AM (#17220096)
Take note: "Who the hell do you think you are thinking you can write a C compiler?" If you take that challenge it will seriously elevate your computer programming skills. In some circles, this will get you immediately hired.

Try a simple language, maybe devise an emulator to go along with it.

Re:How I Came to Write D (2014) by Lerc on Sunday June 03, 2018 @01:03PM (#17220463)
I'm taking this path.

So far I have

The emulator -> https://github.com/Lerc/kwak-8

An assembler -> https://github.com/Lerc/AvrAsm

A texbed playground -> http://fingswotidun.com/avr/AvrAsm/Testbed/

In hindsight, attempting an assembler before a full compiler is a really good idea, It lets you encounter a lot of the pitfalls before you hit them in a much more difficult environment.

Re:How I Came to Write D (2014) by WalterBright on Sunday June 03, 2018 @04:14PM (#17221528)
It'll also help you when your language needs a built in assembler!

https://dlang.org/spec/iasm.html

Re:How I Came to Write D (2014) by ashleyn on Sunday June 03, 2018 @12:18PM (#17220233)
One day I decided to write a simple lexer-parser. It's really not black magic as it's commonly made out to be. You read in one character at a time to build "tokens" (e.g. one-to-n character sequences meaning something like "assign", "equals", "add") and then you use recursive methods to return data structures built out of the tokens. Honestly, the hardest part is remembering mathematical precedence, which doesn't even have much to do with parsing per se.

Of course, a compiler backend is a much deeper concept, getting into things like register colouring and such. If you were to write a simple stack-based VM, it'd be much simpler. I've thought of doing exactly this for embedded systems projects where all I have is Assembly, or a very bad C compiler.

Re:How I Came to Write D (2014) by WalterBright on Sunday June 03, 2018 @04:17PM (#17221544)
Lexing/parsing is the easiest part of writing a compiler, by far. Even writing the C preprocessor is much, much harder.
Re:How I Came to Write D (2014) by SilasX on Sunday June 03, 2018 @12:47PM (#17220403)
Yes, that was my experience on the nand2tetris course, which teaches that as project 10 and 11:

http://nand2tetris.org/course.php

Interestiny, the toy language you’re writing a compiler for doesn’t have operator precedence except for parentheses, so it sidesteps that problem.

Re:How I Came to Write D (2014) by userbinator on Sunday June 03, 2018 @02:11PM (#17220821)
A recommended article for those who want to know more about how to parse expressions with precedence very simply and easily: https://www.engr.mun.ca/~theo/Misc/exp_parsing.htm
Re:How I Came to Write D (2014) by vfinn on Monday June 04, 2018 @04:27AM (#17225658)
Bisqwit on Youtube has a nice series called "How to Create a Compiler": https://youtu.be/eF9qWbuQLuw
Re:How I Came to Write D (2014) by Forge36 on Sunday June 03, 2018 @01:01PM (#17220450)
Annoying thing I learned from doing that: source code does not follow a recursive structure. Preprocessor directives allow for some really strange structures. Of course it only caused my problems for a single file at work. I think a custom stack I can read through when the parsing gets weird makes slightly more sense in retrospect.
Re:How I Came to Write D (2014) by setr on Sunday June 03, 2018 @02:29PM (#17220927)
never wrote a c parser but I don't see why the preprocessor would change it from being recursive as long as C is; after preprocessing finishes, you should just have normal C?
Re:How I Came to Write D (2014) by drexlspivey on Sunday June 03, 2018 @02:17PM (#17220860)
David Beazley gave a talk on the exact topic a couple of weeks ago in PyCon. https://www.youtube.com/watch?v=zJ9z6Ge-vXs
Re:How I Came to Write D (2014) by wenc on Sunday June 03, 2018 @02:34PM (#17220979)
I was at that talk. Beazley is an entertaining speaker (always has been), but frankly I was surprised how many people were oohing-and-aahing over the material as if it was new. A lot of the stuff covered can be found in any intro to compilers course.

Also Ply has been surpassed for many years by better parsing tools in Python. Sly, which was demonstrated, doesn't seem to be production grade yet.

Re:How I Came to Write D (2014) by jmcqk6 on Sunday June 03, 2018 @02:53PM (#17221085)
>A lot of the stuff covered can be found in any intro to compilers course.

So really, you're surprised that not many people have taken an intro to compilers course?

Re:How I Came to Write D (2014) by wenc on Monday June 04, 2018 @02:32PM (#17230664)
Upon reflection, I think my attitude was wrong. I really oughtn't to have been surprised. There were many developers in the crowd who may not have had a computer science education (developers today, especially web developers, often come from a multitude of disciplines). Sure, there were a ton of CS people, but were also a ton of non-CS people (Math, EE, psych, design, etc.). If the latter group managed to learn something new and interesting from the talk, I ought to be happy for them.

I think my reaction was a knee-jerk reaction against how easily people become impressed by things these days. It's ok to be encouraging towards others but in an atmosphere of overly-positive attitudes (especially in SV), there is a certain lack of discernment with respect to ideas and technologies which leads to bandwagonning and susceptibility to marketing (case in point, the early adopters of MongoDB). I'm convinced this has a cost to the tech community.

But that is no excuse for me to have a holier-than-thou attitude. It's condescending and discouraging toward people who are just trying to learn [1]. I retract my words.

[1] https://news.ycombinator.com/item?id=14225033

Re:How I Came to Write D (2014) by wenc on Sunday June 03, 2018 @03:08PM (#17221141)
Yes. This was at PyCon. A substantial number of people there have computer science degrees. A compilers course is part of most standard CS curricula.
Re:How I Came to Write D (2014) by jcadam on Monday June 04, 2018 @06:58AM (#17226552)
It was a required course in my BSCS program, and I didn't even go to a big name tech school. So, yes, I'd expect someone with a CS degree to have written a simple compiler.
Re:How I Came to Write D (2014) by omaranto on Monday June 04, 2018 @12:07PM (#17229255)
Do you expect most programmers to have CS degrees?
Re:How I Came to Write D (2014) by mlthoughts2018 on Sunday June 03, 2018 @12:12PM (#17220206)
> “In some circles, this will get you immediately hired.”

Is this true though? I mean Google famously didn’t give a shit about hiring Max Howell (creator of homebrew) because of hazing-style pointless whiteboard trivia [0].

I’d guess the number of circles where a thoughtful side project that digs into deep computer science fundamentals as well as difficult implementation specifics would even get you the slightest attention for an interview is close enough to zero as to render it meaningless.

If you think about a lot of possible different self-study options, ranging from cramming and shallow memorization of leetcode garbage or Cracking the Coding Interview, all the way to patiently applying craftsmanship and self-learning to a side project that exercises and demonstrates core fundamentals in a pragmatic way, the shallow memorization garbage will earn you money, while the side project will earn you an email with a hyperlink to HackerRank.

It is one of the worst aspects of our industry, and a major reason why I would advise younger people to treat the idea that there are direct, stable, good-paying jobs with job security in the tech industry with a lot of skepticism. It’s an industry constantly trying to invent new ways to shift the demographics more and more into the least experienced and least expensive quantiles of candidates, and to arrange businesses where actual software labor productivity doesn’t have a strong tie to the company’s bottom line, except maybe for a tiny population of experts.

[0]: < https://www.quora.com/Whats-the-logic-behind-Google-rejectin... >

Re:How I Came to Write D (2014) by wglb on Sunday June 03, 2018 @01:01PM (#17220451)
To your first point, the answer is yes, because I hired the kid. And it wasn't for a compiler job.

And I would do it again in a heartbeat.

Re:How I Came to Write D (2014) by fjsolwmv on Sunday June 03, 2018 @12:59PM (#17220440)
Max Howell created a distro, not a compiler, so that's not relevant to parent's comment. Howell said that he couldn't do core computer science things (like compilers, and NOT whiteboard trivia), that he was better at cobbling together scripts that solve user problems well. Maybe Google was wrong to pass him over, but if they were it wasn't because "they didn't care that he could write a compiler".

As Howell wrote: "I am often a dick, I am often difficult, I often don’t know computer science, but. BUT. I make really good things, maybe they aren't perfect, but people really like them".

Re:How I Came to Write D (2014) by mlthoughts2018 on Sunday June 03, 2018 @01:15PM (#17220525)
My feeling is that your reply is excessively focused on the specific example of a compiler from the parent comment. Replies don't need to be specifically focused on compiler projects to be relevant to the general comment about how a side project like a compiler project could get someone hired.

My belief, which it seems you do not share, is that a project like homebrew is perfectly analogous to a project like a self-made compiler. They illustrate broader scale systems thinking, although the specific computer science fundamentals will be different for each of those two problems, the a system like homebrew likely also has to have more focus on deployment, user interface, and project management tasks (which, I would argue, makes it more relevant for most hiring situations).

I can't comment on whether Howell's self-deprecation was meant to be tongue-in-cheek criticism of Google or if he sincerely meant it, and of course those interpersonal reasons could have been at fault for a failed interview (although it doesn't seem that anyone disputes that it was actually just a straightforward result of some binary tree trivia).

Re:How I Came to Write D (2014) by chaosite on Sunday June 03, 2018 @01:36PM (#17220627)
No, the point is that compilers are a different sort of beast.

Writing a C compiler is not like other side-projects. It explicitly exercises a whole bunch of basic Computer Science skills, so if you can write a compiler, you obviously got a good grasp on those.

So, no, a project like homebrew is not perfectly analogous to a compiler. The hardest CS problem in there in my opinion is the dependency resolution, which can be a bitch, but it just doesn't have the breadth of problems that a compiler has.

Re:How I Came to Write D (2014) by userbinator on Sunday June 03, 2018 @02:09PM (#17220811)
Is this true though? I mean Google famously didn’t give a shit about hiring Max Howell (creator of homebrew) because of hazing-style pointless whiteboard trivia [0].

Creating a package manager, which is mostly "gluing things together without understanding how they work", is a very different skillset than being able to work from first principles. I suspect Google was looking more for the latter.

Speaking as someone who has written pieces of compilers, emulators, assemblers, and related software in my spare time, I can say that even mentioning those things casually is enough to get some "you did what?" looks.

Re:How I Came to Write D (2014) by stirner on Sunday June 03, 2018 @05:26PM (#17222261)
The one topic from “hard” computer science that applies to package management is graph theory. Inverting a binary tree is one of the simplest operations you can do on a graph. Google may have been interested in Howell because of Homebrew, but not understanding this simple algorithm probably showed them that he didn’t have the skills they originally thought his project exemplified.
Re:How I Came to Write D (2014) by pjmlp on Sunday June 03, 2018 @12:27PM (#17220293)
In my experience, you are quite right.

Most HR departments will only care about latest set of projects and education, barely giving any value to side projects.

Yes, there are those that care about side projects, passion and such, but most of them tend to be startups and sometimes not with the desired set of benefits or requiring relocation.

Re:How I Came to Write D (2014) by WalterBright on Sunday June 03, 2018 @04:22PM (#17221573)
HR people often know little about programming, and will just compare bullet lists of requirements with the resume bullet points. People with unusual skills don't get hired through the HR front door, they come in the side door.
Re:How I Came to Write D (2014) by giancarlostoro on Sunday June 03, 2018 @06:08PM (#17222577)
This is so true. I got my first (and current) programming job cause someone I knew at college recommended me. I didn't talk to HR till after they decided to hire me. So networking is important. Keep in touch with developers you meet at different jobs. You never know when they might land you your next job. It can be easier to skip HR and go straight to the person who will actually be your boss (directly or indirectly) for the hiring process imho.

Edit: wrote "talk to me" instead of "hire me"

Re:How I Came to Write D (2014) by wglb on Sunday June 03, 2018 @01:03PM (#17220460)
To whatever extent you can get hiring decisions moved out of HR, I would recommend doing it.
Re:How I Came to Write D (2014) by dionian on Sunday June 03, 2018 @01:52PM (#17220717)
true. though the problem extends to developers and developer managers as well. I've seen so many colleagues say stuff when discussing a candidate like "Well they just could write <x> algorithm on the board correctly. I found an edge case" or whatever. I've actually not been offered interviews in part because of failed whiteboard coding questions where the developers just weren't impressed. Yet once I land a job I usually tend to be in the top 25%, because most of the requisite skills are not algorithms, which I'm not particularly practiced at ...
Re:How I Came to Write D (2014) by acqq on Sunday June 03, 2018 @01:43PM (#17220673)
Google byrocracy required from Ken Thompson to pass a C language exam.

https://www.theregister.co.uk/2010/04/21/ken_thompson_take_o...

Re:How I Came to Write D (2014) by zerr on Sunday June 03, 2018 @01:59PM (#17220757)
C exam aside, I don't think he would pass a regular Big G interview, unless he'd allocate some 6 months for preps which I doubt he did.
Re:How I Came to Write D (2014) by johannes1234321 on Sunday June 03, 2018 @03:59PM (#17221441)
Considering that he is not one of the young hackers starting with JavaScript, but in a time were looking at raw memory dumps was normal operation and memory was sparsely available and CPUs were slow I assume he well knows about algorithms and data structures by heart. Most likely he implemented more binary trees in his live than I thought about and I assume he would consider a question about inverting a binary tree more of a joke than a serious question.
Re:How I Came to Write D (2014) by acqq on Sunday June 03, 2018 @05:40PM (#17222382)
> I assume he would consider a question about inverting a binary tree more of a joke

If you refer to this:

https://www.quora.com/When-do-you-need-to-invert-a-binary-tr...

I also don't know why would anybody ever need to implement "inverting" a binary tree except for the Google exam.

> Most likely he implemented more binary trees in his live

"Most likely"? Actually he "just" invented (not a complete list):

- Unix (with Ritchie) (in assembly first)

- the language B, based on which Ritchie developed C.

- the notation for the regular expressions everybody uses today

- the algorithm for fast regular expression handling

- the chess computer that won the 3rd World Computer Chess Championship 1980

Re:How I Came to Write D (2014) by pjmlp on Monday June 04, 2018 @09:19AM (#17227437)
Agree with everything except for B.

He implemented a BCPL dialect, which he called B, in fact if you compare B and BCPL programming manuals they are quite similar.

https://www.bell-labs.com/usr/dmr/www/bcpl.html

https://www.talisman.org/b-manual.html

Re:How I Came to Write D (2014) by acqq on Tuesday June 05, 2018 @06:33AM (#17236398)
I don’t understand with which detail of my statements you don’t agree.
Re:How I Came to Write D (2014) by pjmlp on Tuesday June 05, 2018 @07:01AM (#17236531)
His B "invention" in reality was closer to copying and dropping a few features from BCPL than actually inventing something new.
Re:How I Came to Write D (2014) by acqq on Tuesday June 05, 2018 @04:32PM (#17241752)
Well, it can be argued that most of the “structured” languages were “dropping something” from Algol. Or later from Ada... yes, nothing fundamentally original happens often. But people give the names to the languages they make... even “dropping” is something “creative” often worth naming. Apparently Unix kept only minimum of Multics. Sometimes exactly the “bigger” variants aren’t fit to survive.
Re:How I Came to Write D (2014) by johannes1234321 on Sunday June 03, 2018 @06:25PM (#17222692)
> > Most likely he implemented more binary trees in his live

> "Most likely"? Actually he "just" invented (not a complete list):

Please mind the full quote of me "... than I thought of" -- I thought (and implemented) about trees quite a bit myself and grant him a few factors on top of that.

Re:How I Came to Write D (2014) by jonex on Sunday June 03, 2018 @02:58PM (#17221103)
Someone who knows how to program and is at least superficially aware of different data structures and algorithms would not need six months of preparation to pass the interview. That's very exaggerated and it might discourage people who would enjoy working at Google from applying.

I know I thought it would be a lot harder than it was. I spent some hours checking example interview questions, and it was definitely enough. If anything, I might have been too focused on thinking in terms of established algorithms, and too little focused on reasoning on my own.

Re:How I Came to Write D (2014) by acqq on Sunday June 03, 2018 @05:50PM (#17222454)
> That's very exaggerated and it might discourage people who would enjoy working at Google from applying.

But it's irrelevant to what I wanted to point to: that somebody already accepted Ken Thompson to Google. Then some absurd bureaucracy decided that Ken Thompson has to pass the exams given to the young beginners. Probably reasoning something like somebody here "explained" "so that developers can be moved around."

Whoever is not aware of these "details", please see my another post for what Ken Thompson invented before coming to Google. Such "minor things" like the Unix OS, the language that preceded and inspired C and the currently used kind of regular expressions.

Re:How I Came to Write D (2014) by DmitryOlshansky on Monday June 04, 2018 @01:07AM (#17224826)
I came mostly unprepared, and passed just fine. In fact they extended it with 2 hours more “followup”. And I’m no superhuman. It may depend on the part of Google you apply to + it was compiler team and I love compilers ;)
Re:How I Came to Write D (2014) by zerr on Monday June 04, 2018 @03:49AM (#17225466)
How one would apply to such a specific part of Google? e.g. Compilers team?
Re:How I Came to Write D (2014) by johannes1234321 on Sunday June 03, 2018 @03:54PM (#17221405)
It's worth noting that this is not a simple C language exam, but a Google C style exam. Purpose is that all Googlers write as similar code as possible, so that developers can be moved around and find a common approach everywhere. Also this simplifies code reviews for the same reason.
Re:How I Came to Write D (2014) by acqq on Sunday June 03, 2018 @05:36PM (#17222345)
> so that developers can be moved around and find a common approach everywhere. Also this simplifies code reviews

Would you agree with me that if you brought Ken Thompson for that to your company (or using that excuse to require from him to "pass the C exam") something is fundamentally wrong?

He actually co-invented Unix and worked on the "first C" before C was even called C.

https://en.wikipedia.org/wiki/B_(programming_language)

It's like hiring J. K. Rowling and then requiring from her to pass the Harry Potter trivia quiz in order to allow her to write text messages.

Re:How I Came to Write D (2014) by johannes1234321 on Sunday June 03, 2018 @06:49PM (#17222853)
1) since (by the time of the article) he didn't take the test he wasn't hired for writing C code

2) C can be written in many styles, whatever he writes should be an easy uptake for later developers, thus adhere to the common style

I have no doubts that he can express anything in C and I assume this would be of good quality, but might take a different approach, thus makes it harder for the junior who is trained heavily in Google style and has to fix a bug or add a feature a bit later.

Re:How I Came to Write D (2014) by samatman on Sunday June 03, 2018 @01:51PM (#17220709)
Attitude is important. If you have a solid codebase that you created, insist on being interviewed about that codebase.

That screens out a few employers, but not nearly as many as you think. Most are desperately looking for a way to determine that a candidate is good. Sitting back while they explain in increasing detail how their pet project works is close to ideal here.

Re:How I Came to Write D (2014) by jacquesm on Sunday June 03, 2018 @01:30PM (#17220605)
Google apparently is not an element in the set 'some circles'.
Re:How I Came to Write D (2014) by justaaron on Sunday June 03, 2018 @04:25PM (#17221607)
saved the best reply for last. full circle. zing!
Re:How I Came to Write D (2014) by dozzie on Sunday June 03, 2018 @01:04PM (#17220466)
> I mean Google famously didn’t give a shit about hiring Max Howell (creator of homebrew) because of hazing-style pointless whiteboard trivia [0].

People usually omit the part that Homebrew was at that point a quite shitty reiteration of ideas well-implemented in many other places (RPM/Yum, DEB/APT, and half a dozen other package managers). It was a common complaint that installing one package could break several others, because Homebrew updated some common dependency and the new one was missing symbols or had otherwise incompatible ABI. There also was this hilarious bug report that Homebrew served everything over plain HTTP (and Homebrew had no digital signatures whatsoever), and the ticket got closed by a Homebrew team member saying it's not a problem, which spoke tons about their competency in package management.

I don't know how the situation looks now, but when Howell was interviewed by Google, Homebrew was not something you could be proud of writing.

Re:How I Came to Write D (2014) by bendmorris on Sunday June 03, 2018 @01:28PM (#17220593)
>Homebrew was not something you could be proud of writing.

Anyone should be proud of writing a widely used tool that provides value to so many individuals and companies, regardless of nitpicks from the peanut gallery.

Re:How I Came to Write D (2014) by stephenr on Sunday June 03, 2018 @01:51PM (#17220714)
Nitpicks, Glaring security issues that are design “features” and thus will effectively never be fixed... sure those are the same thing.
Re:How I Came to Write D (2014) by mlthoughts2018 on Sunday June 03, 2018 @01:10PM (#17220506)
> "People usually omit the part that Homebrew was at that point a quite shitty reiteration of ideas"

I realize we might just disagree in our assessments, but I think this is an unfair characterization. At that point in time, homebrew was basically the only way I could get cross-platform support to work for several image processing projects that my lab was working on. To us, despite its obvious rough-around-the-edges needs for incremental improvement over time, it was a complete lifesaver.

I think this speaks to a larger point too about the way that engineers cut down and compete with other engineers in petty ways, instead of acknowledging that getting a complex working system up and running that adds value for people is a huge accomplishment that utterly dwarfs any sort of algorithm trivia in terms of whether a candidate is worth hiring, especially in a company like Google.

The perspective that,

> "when Howell was interviewed by Google, Homebrew was not something you could be proud of writing."

is just so incompatible with my world view about what counts in software engineering that it likely means we are coming from perspectives so far apart that there's little hope we could agree.

Re:How I Came to Write D (2014) by dozzie on Sunday June 03, 2018 @02:22PM (#17220888)
Success of Homebrew was based on marketing, not on the tool being well designed on technical level (because it was not designed well) or its authors' technical competence (because they haven't displayed it much). Google was hiring for a technical position based on technical prowess, not on marketing one (maybe the skills tested were unrelated to the job, but they were still technical), but people pulling out the Google vs. Homebrew case mistake one for the other, which certainly needs correction.

> [...] likely [...] we are coming from perspectives so far apart that there's little hope we could agree.

You see, I come from Linux administration field. We have package managers deployed in the field for two decades now. These package managers usually don't silently break your library dependencies on update (though Fedora and desktop Ubuntu break them with a lot of noise) and have integrity ensured cryptographically. I take these features almost for granted, as I work with them every day for a long time. Any package manager that provides anything less than that is, in my view, badly designed, especially because there are many examples of how it should be done, it just takes some effort to learn them.

On the other hand, you, coming from macOS angle, didn't have a prior experience of working with many package managers -- or at least that's my guess. If I am right, it's quite clear why a poorly designed but popular package manager (i.e. one that has many packages available already) was a huge improvement for you. It was the same for Debian's APT twenty years ago, but APT had pretty much no prior art and the internet was not a viruses/worms/spyware-driven machine it is nowadays.

Re:How I Came to Write D (2014) by setpatchaddress on Sunday June 03, 2018 @03:35PM (#17221300)
>Success of Homebrew was based on marketing

No, as a user of every previous package manager for macOS, I can tell you that Homebrew was successful because it actually worked, and worked really well, and it kept working even for prerelease versions of macOS.

This doesn’t mean that it’s well designed or secure. But it’s not a marketing cream puff.

Re:How I Came to Write D (2014) by iainmerrick on Sunday June 03, 2018 @08:03PM (#17223314)
Seconded. I like and use homebrew because it works better and causes much less hassle than other Mac package managers. (Before homebrew I used fink.)
Re:How I Came to Write D (2014) by saagarjha on Sunday June 03, 2018 @03:16PM (#17221184)
> On the other hand, you, coming from macOS angle, didn't have a prior experience of working with many package managers -- or at least that's my guess.

There were package managers before Homebrew, such as MacPorts and Fink–which went as far to use APT.

Re:How I Came to Write D (2014) by mlthoughts2018 on Sunday June 03, 2018 @03:00PM (#17221112)
> "On the other hand, you, coming from macOS angle, didn't have a prior experience of working with many package managers"

Just to clarify this: I personally have always used Debian and Ubuntu, and spent a lot of time with APT (including helping to build a PPA for wrapping a custom wrapper for NetworkManager for my company because their third-party VPN solution prevented all of us who use solely Linux from being able to work remotely for a while.

Despite my personal views that Linux provides me with better tooling, many of my colleagues don't share that view, and they like to use Mac. At times, homebrew has given us a super easy way to solve some problems that arise from that situation.

This doesn't mean it's perfect. Just that it solves specific problems that a lot of users have in a way where they are not adversely affected by its downsides. Every tool out there will have downsides, and a subset of the population who hates the tool because of those downsides.

It just strikes me as incredibly myopic to privilege your own experience in system administration as oh so much more enlightened than a person manage the overall problem of a package management tool that users are actually using with success.

It's just tone deaf to me to say, "but for these engineering reason that I care about, I discredit the entire achievement of the project because the author didn't design it the way I want."

And even if it's not merely "the way you want" but includes broader and more established criteria from history of package management solutions, it's still nonsense to use that to dismiss it.

It's a lot like the shortsighted dismissals of early MongoDB, which went after very specific customer use cases at the expense of omitting big design considerations that the history of database engineering had come to accept as standard.

MongoDB used this to build a customer base who was happy with what they engineered. And then began investing in going back to fix the things that were glaringly suboptimal from historical database perspective.

Lots of people wallowed in their constant criticism of MongoDB, turning their noses up at it. Yet now it's a public company, releasing lots of features that bring it into alignment with those earlier best practices that it was forced to omit for the sake of addressing shorter term workflow needs of its customers.

To me, this is effective engineering. Sticking my nose up at MongoDB because of its earlier choices to omit accepted database designs would be a silly way to look at it.

I'm not saying that example maps perfectly to homebrew, but it is similar in spirit.

It's one thing to say, "I don't like that homebrew prioritized XYZ for its users short term experience instead of addressing big, underlying, sysadmin design considerations ABC."

It's totally different to say that this choice entirely discredits the project.

Re:How I Came to Write D (2014) by dozzie on Sunday June 03, 2018 @03:20PM (#17221210)
> It just strikes me as incredibly myopic to privilege your own experience in system administration as oh so much more enlightened than a person manage the overall problem of a package management tool that users are actually using with success.

Users use with success plenty of ill-suited tools for various purposes. It doesn't make the tools any better, merely more widely used. There are many examples of better products dying, while worse products take over the market.

My experience with system administration gives me better standing ground for assessing technical aspects of package managers. These technical aspects have little to do with success of any particular package manager, though, which I find unfortunate.

> To me, this [MongoDB; Homebrew too?] is effective engineering.

Effective marketing. Engineering, not quite, especially with MongoDB's track of losing real data because of operations tuned for benchmarks.

> I'm not saying that example maps perfectly to homebrew, but it is similar in spirit.

It is a similar case indeed. Especially in how marketing was much more important for adoption than technical grounds.

Re:How I Came to Write D (2014) by stephenr on Sunday June 03, 2018 @01:21PM (#17220562)
> was at that point

Still is afaik.

It’s hard to take a package manager seriously when it refuses to run as root and installs system-wide tools as user-owned.

Re:How I Came to Write D (2014) by wglb on Friday June 08, 2018 @08:22PM (#17270785)
And as an example of someone who took this particular bull by the horns: https://news.ycombinator.com/item?id=16900938