6,134 karma · joined Oct 5, 2007 (19y ago) · 831 submissions
Formerly the founding CTO of Parse.ly. Coding in: Python, JavaScript, Zig. Pleased to be a Pythonista and UNIX lover.
Parse.ly was acquired by Automattic (creators of WordPress.com) in February 2021; more here: https://www.techmeme.com/210208/p12#a210208p12
My essays & technical blog: https://amontalenti.com
My AngelList profile: https://angel.co/p/amontalenti
My occasional tweets: https://twitter.com/amontalenti
comment 7y ago · link · parent
Likely yes: https://i2.wp.com/www.dgarciamd.com/wp-content/uploads/2016/...
"There are a lot of doctors, every one of them making a lot of money."
So what? That's the way it is supposed to work for highly skilled jobs adding tons of societal value in our capitalist society. What, sacrificing your 20s and 30s isn't enough for you? You also want doctors to sacrifice their future, their comfort into adulthood, and their retirement? All the while keeping a steady hand on the scalpel while they operate on you and your children?
There is nothing wrong with well trained and well skilled people getting paid to do what they love -- especially if that hugely benefits society. Go looking for overpaid waste in leech sectors like finance and insurance instead.
I agree with you on the rest.
Doctor pay isn't a "racket" though -- you are seeking the wrong boogeyman. Remember, in the healthcare system, they are the ones adding so much of the value, at the cost of personal time, training time, opportunity cost, and emotional cost. Can the same be said by the millions of administrators in the back office of highly profitable private insurers?
comment 7y ago · link · parent
This reminds me of an old Romanian joke a family friend once told me, translating to English.
Two pig farmers, one Romanian and one Bulgarian, live across from each other along the countries' border. A genie magically arrives on the Bulgarian side and says to the farmer, "I can grant you any wish in the world." The humble Bulgarian farmer thinks on it for awhile and says, "I wish for 10 beautiful and healthy pigs, so that my farm may thrive for the coming years." The genie grants the wish and the pigs appear.
The genie flies over to the Romanian side. He says to the Romanian farmer, "I can grant you any wish in the world." The Romanian farmer thinks pensively for a little while, and then it comes to him. He points to the Bulgarian side and says, "Kill his pigs."
comment 7y ago · link · parent
My question is: why bother? Or, put another way, what if we paid them more, reduced their hours, and had more of them? What might that do for outcomes — especially since physician salaries are a rounding error of total healthcare system costs, and since the best and brightest working in medicine means more patient lives saved and more physician happiness?
comment 7y ago · link · parent
comment 7y ago · link · parent
You said (paraphrasing): “despite majority of Americans being led to believe doctors are doing 70-hour shifts per week, it is simply an exaggeration.” First, most Americans don’t believe it. Second, my wife worked 60-100 hours per week for her entire 4-year residency. That included month-long stretches on nights doing 6pm-6am shifts, 6 days per week. That included more 24-hour (or, even 28-hour) shifts than I could count. I know the hours precisely because I worked from home the entire time for my tech startup job, and we lived a 5 minute walk from the hospital. It’s a top academic hospital.
I once attended a wedding where all her med school friends were guests, all in their 3rd and 4th year of residency. Polled them about work hours. All similar. Group of 7 or 8 residents at programs all across the US, mostly top programs. Some exceptions in residencies like geriatrics and pediatrics, but any surgical or specialty residency is brutal. The happiest resident had recently quit medicine altogether — to go into tech.
They work that hard whilst earning essentially sub-minimum-wage. The contrast couldn’t be greater vs tech. My company employs over 50 people, mostly college educated, and it is not even remotely comparable. Residents get paid less than our lowest paid staff, and work twice the hours, with higher stakes, a higher emotional toll, and worse working conditions. And it just gets more unequal from there.
She is now in fellowship and the hours are slightly better. But she is now in a more urban area with a longer commute, higher taxes, higher cost of living, and debt hanging over her. As a fellow, she only makes marginally more money for her 13th and 14th years of post-secondary training. This week she worked approx 55 hours so far (if you don’t count the 4 hours of “journal club”, also required), and will need to commute an hour by car on her Sunday morning to round on a single patient — part of her unscheduled, but required, call.
If she becomes a multi-millionaire in her 40s, as you suggest is inevitable, I will be pleasantly surprised — but considering fellowship, for her, ends at age 37, I think it unlikely. First, she has to pay down over $300k of student debt, since none of the journey was paid by her parents. Then she has to earn for awhile, and make up a little for lost time, since she doesn’t have decades of savings behind her, living right at the breakeven mark for cost of living for so many years. And even if it does happen, I’ll think it a justified renumeration for her countless sleepless and low-paid nights saving lives in her 30s, not to mention the opportunity cost (and real cost) of educational years. After all, should we expect the personal sacrifice of one’s 20s and 30s have no reward at all?
Doctors should be paid much more, sleep much more, and they should suffer much less ire from people like you. As someone with two decades in tech and first-hand, concurrent experience of the contrast, I feel that much more now than ever.
Some earlier comments:
comment 7y ago · link · parent
https://www.forentrepreneurs.com/saas-metrics-2/
I found it to be more about SaaS metrics and less about product/market fit.
For example, you could have great product/market fit with poor pricing, in which case you might have awful SaaS metrics and sluggish revenue growth while having great usage metrics and rapid organic/viral user growth.
For example, imagine if PagerDuty or Slack were free for enterprises: they’d have terrible SaaS metrics but wonderful product/market fit, IMO.
comment 7y ago · link · parent
I was not intending to name-call; to me, the entire comment was wrong and I posted a curt reaction.
I'll provide more info here:
"The level of legitimacy and respect that doctors and hospitals currently have is far too high..."
Ask any young doctor in the US whether their field has a lot of "respect". Medical residents work 80-100 hours per week in windowless, flourescently lit rooms, of which 40-60 hours is often spent doing clerical work at sub-minimum-wage to service private insurance and EMR overlords. Patients regularly tell these same doctors they don't trust them, don't respect them, think they're wrong, want to see the "real" doctor, can prove how wrong they are with WebMD, etc. My spouse is now doing her 13th and 14th year of post-secondary training toward the goal of being a specialized surgeon. She has done hundreds of successful surgeries/procedures already and saved countless lives. Yet, she is burnt out, and often ends her workdays completely destroyed by the humiliation of being a cog in the hospital machine. She is not alone; physician depression and suicide is at all-time highs.
"... and hinges on branding and the exclusivity of becoming a doctor."
Like I said, she is on her 13th and 14th year of post secondary training. Aside from this being a massive time investment, it also cost her dollars she didn't have (no support from parents) on order of $300k in post-secondary education, just in tuition. If becoming a doctor is "exclusive" and confers a "brand", I'd say the exclusivity is "extreme passion for helping humans at great personal sacrifice and cost", and the conferred "brand" is that you are allowed to practice medicine, at all.
"Once all of this data becomes available, it will be obvious how worthless and expensive most medical treatments really are."
Medicine -- and the tireless and ethical work of thousands of well-trained and professional doctors -- saves countless, countless lives every single day. Modern medical treatments are not "worthless" and your comment is honestly insulting to how effective and life-saving many treatments are. I think this part of your comment is what got the rise out of me: spreading this kind of misinformation is the closest thing HN commenting gets to "malpractice".
Society should respect and pay doctors much more for the sacrifice they put toward this profession. Patients should respect doctors a lot more for the benefit they provide society. Hospitals should give doctors a better work environment. Doctors are not perfect, nor is medicine. But to think the root cause of problems in the present medical system is an undeserving respect for doctors and modern medical treatments expresses a profound ignorance of reality.
The original comment is so wrong that it truly stunned me into an uncharacteristically curt ad hominem response, for which I apologize.
comment 7y ago · link · parent
I'm the spouse/partner of a recently-trained doctor, and I'm a programmer and startup founder with 2 decades of experience. With all respect, you have no friggen clue what you're talking about.
comment 7y ago · link · parent
This, especially, is what my team also found to be true: "The only model that makes sense in cassandra is where you insert data, wait for minutes for the propagation, hope it was propagated, then read it, while knowing either the primary/clustering key or the time of the last read data."
We use Cassandra in production at my company, but only after much scope reduction to the use case.
We needed a distributed data store for real-time writes and delayed reads for a 24x7 high-throughput shared-nothing highly-parallel distributed processing plant (implemented atop Apache Storm). Cassandra fit the bill because writes could come from any of 500+ parallel processes on 30+ physical nodes (and growing), potentially across AZs in AWS. And because the writes were a form of "distributed grouping" where we'd later look up data by row key.
At first, we tried to also use Cassandra for counters, but that had loads of problems. So we cut that. We briefly looked at LWTs and determined they were a non-starter.
Then we had some reasonable cost/storage constraints, and discovered that Cassandra's storage format with its "native" map/list types left a lot to be desired. We had some client performance requirements, and found the same thing that hosed storage also hosed client performance. So then we did a lot of performance hacks and whittled down our use case to just the "grouping" one described above, and even still, hit a thorny production issue around "effective wide row limits".
I wrote up a number of these issues in this detailed blog post.
https://blog.parse.ly/post/1928/cass/
The good news about Cassandra is that it has been a rock-solid production cluster for us, given the whittled-down use case and performance enhancements. That is, operationally, it really is nice to have a system that thoughtfully and correctly handles data sharding, node zombification, and node failure. That's really Cassandra's legacy, IMO: that it is possible to build a distributed, masterless cluster system that lets your engineers and ops team sleep at night. But I think the quirky/limited data model may hold the project back long-term, when it comes to multi-decade popularity.
comment 7y ago · link · parent
(This introductory post is by the author of “Fullstack D3 and Data Visualization”, a book notable for, among other things, having the coolest front cover in existence: https://www.fullstack.io/fullstack-d3)
comment 7y ago · link · parent
In addition to making changes internally and technically to ensure compliance, I also prepared a long Google Slide presentation that basically summarized my technical understanding of GDPR, after receiving the advice of several privacy attorneys. The information in this slidedeck was presented to my whole company, as a way to further ensure compliance -- to make sure my employees understood the policy at least as well as I did, since I had spent countless hours discussing the implications of the law -- as well as reading the raw text, which is excellently published/annotated by Algolia here: https://gdpr.algolia.com/gdpr-article-1
My inclination was to publish this deck I had painstakingly prepared publicly, because certainly it would be valuable to others. I publish a lot of stuff publicly on our blog, for example: https://blog.parse.ly/post/author/andrew-montalenti/ -- with the only goal being to share information with the community.
But then, one of my attorneys advised me against this. Basically, the concern was that if I publish something publicly about my understanding of GDPR, and it contains an error of understanding (after all, IANAL), then I could be held accountable for that. That felt really crappy to me -- after all, I'm just doing the best I can, and it seems like there's a lot of misinformation about GDPR out there on the web. Does anyone know anything much about this? To what degree can a company executive get him or herself in trouble for publishing a document that summarizes his or her own understanding of the effect of regulation, if the executive's company is potentially affected by said regulation?
374.
Netflix: 10,000s of VMs for 1,000,000s of customers, with 10s of ops engineers(twitter.com ↗)
1 points · by pixelmonkey · 7y ago · 1 comment
comment 7y ago · link · parent
If so, I can say that over time, we have improved our use of bot lists, though that's just an IP blocking thing. Non-human traffic detection is not presently a strong focus of the company, though people have asked us to invest there. The issue is that non-human traffic detection is a somewhat gnarly problem in its own right, with its own vendors (mostly cybersecurity vendors) trying to figure that problem out.
We do know we are missing some traffic due to ad/analytics blockers and pi-hole style VPNs, which is fine.
One way we have thought about guesstimating "noise/dirt" in the data is to use one of our universally measured metrics, engaged time. So, we could separate really short page sessions from the rest, under the assumption that if a page session is super short, it's either a mindless human click or a JavaScript-enabled bot crawl. I discussed this on our blog awhile back when we did a data study on the subject:
https://blog.parse.ly/post/6509/replacing-bounce-rate-with-e...
In that study, we found that 32% of visits to pages were "bad visits" (page session <15s), a pretty high number, but that would include not just bots, but also humans queuing up tabs, Instapaper/Pocket saves, and so on.
comment 7y ago · link · parent
These 5 categories are roughly equally split in aggregate traffic -- somewhere between 15-25% per category. You're right that certain kinds of sites, like e-commerce, are heavily weighted toward search -- but this is not broadly or necessarily true for the whole "content universe" of news, information, & entertainment sites, including blogs and so on.
Our data reveal all sorts of interesting patterns that go against mainstream assumptions about how people read/watch content online. For example, a measly 1% of traffic to content publishers comes from Twitter, even though Twitter certainly seems like it drives way more than 1% of the conversation, especially in certain categories of content. I wrote about that phenomenon here:
https://twitter.com/amontalenti/status/1126913440746962944
If you care to go deeper, one of our data analysts, Kelsey, did a nice deep dive on the different kinds of traffic sources that resonate with different content categories here:
https://blog.parse.ly/post/8329/the-14-top-referrer-sources-...
378.
A Poem about Silicon Valley, Assembled from Quora Questions about Silicon Valley(splinternews.com ↗)
2 points · by pixelmonkey · 7y ago · discuss
comment 7y ago · link · parent
I wrote about this in the context of Lenovo X1C laptop here:
http://amontalenti.com/2017/09/01/lenovo-linux
I also recently built a Linux desktop from ~$950 of commodity parts (including a pair of free GPUs a crypto friend donated to me after his startup died). I use it as a devserver and a GPU rig for playing with CUDA, PyTorch, and TensorFlow.
Aside from the requirement of proprietary Nvidia drivers, this whole box works perfectly in Linux too, is blazing fast, and operates silently and with low power consumption. (The case itself is bulky, but it’s stationary.) I think an equivalent Mac would cost a 2-3x multiple and run less well for developer workloads.
https://pcpartpicker.com/user/amontalenti/saved/r4rLJx
Say what you will about Linux, but if you choose your hardware carefully, it truly does “just work” these days. And you can’t beat having access to scriptable everything and source code everywhere. That said, I keep a Mac Mini around because there is some proprietary stuff you can’t avoid in the Apple ecosystem (e.g. XCode for iOS, Safari Debugger, Keynote/Pages, ...)
comment 7y ago · link · parent
That is quite the inversion. Let’s take an example: search. Elastic has gone public while employing an army of Elasticsearch and Lucene committers, and while selling SaaS and cloud services around Elasticsearch and related projects, thus paying for those committers, creating a massive ecosystem/community, and revenue for themselves (plus return for their investors). A win like that would have been unimaginable in the pre-OSI era. Companies wouldn’t adopt Elasticsearch, wouldn’t put real data in it, and certainly wouldn’t pay some company to run it for them.
Instead, that era saw companies like Verity, FAST, Autonomy, and similar proprietary search engines. Can you even name a proprietary on-premise deployable search engine today? Even if you can, it’s probably powered by Lucene, Solr, Elasticsearch under the hood. That’s how much the entire universe has shifted.
comment 7y ago · link · parent
https://amontalenti.com/2017/09/01/lenovo-linux
Fan never turns on, matte display, awesome connectivity, great battery life, and everything on Linux just works.
comment 7y ago · link · parent
pycd () {
pushd `python -c "import os.path, $1; print(os.path.dirname($1.__file__))"`;
}
Example usage, with abbreviated $PWD shown after "»" and shell commands entered after "$" in this example session: » (~/repos/web)
$ pycd flask
» (~/./v/3/e/w/l/p/s/flask)
$ pwd
~/.pyenv/versions/web+site/lib/python3.6/site-packages/flask
» (~/./v/3/e/w/l/p/s/flask)
$ head app.py
# -*- coding: utf-8 -*-
"""
flask.app
~~~~~~~~~
This module implements the central WSGI application object.
:copyright: © 2010 by the Pallets team.
:license: BSD, see LICENSE for more details.
"""
» (~/./v/3/e/w/l/p/s/flask)
$ popd
~/repos/web ~
» (~/repos/web)
$
So, usually lets you explore the source code, at the command-line, for any Python libraries you have installed.comment 7y ago · link · parent
Freely available here: https://papl.cs.brown.edu/2018/
More on the Pyret language here: https://www.pyret.org
comment 7y ago · link · parent
I find that this is the most flexible and multi-device option, which then makes it easy to copy-paste content into other tools and places (email, GitHub, GDoc, whatever).
For very quick mobile notes, I also use Pushbullet to send myself a kind of "reminder" to pick up a thought from my phone and continue the thought when I get to my laptop/desktop.
I also have Simplenote installed everywhere (including simplenote.vim and native apps across Android / iOS / OSX / Linux) which I tend to use to quickly jot down notes during meetings, but for little else besides that.
388.
Some Fun Numbers About the Human Brain(blog.piekniewski.info ↗)
3 points · by pixelmonkey · 7y ago · discuss
389.
An update on Python's governance(snarky.ca ↗)
4 points · by pixelmonkey · 7y ago · discuss
comment 7y ago · link · parent
I've been on a project where we had a working system, but it had some severe technical platform & product value limitations, and we knew those limitations were costing us real $$$, both in support burden and market share vs legacy incumbents and competitors.
Plus, we had a "ticking time bomb" because it was a large-scale data system, but the prototype (which became prod) was not designed up-front to handle horizontal sharding, and we were at the limits of vertical scaling, and were projected to hit the "max limit" of that vertical scaling within 12 months, given current growth rate.
Thus, we began a rewrite, with full knowledge of how dangerous it was -- we even circulated Brooks's essay on "the second system effect" and had several team discussions about it during the specification stage of the rewrite.
In the end, the project was a success, and powered 3+ years of scaled growth (the current live data storage of the system is 100x what it was when the rewrite began, and our "hard limit" was around 2x). The rewrite also helped us make the system more scalable, competitive, and mature, not by throwing away edge cases, but by choosing an architecture that didn't cut corners on areas that, we discovered during user feedback from the v1, were non-negotiable core areas of value for our customer use cases. We had relaxed many requirements in the "prototype stage" of the v1, merely in the interest of getting something working out the door in front of customers.
The last piece of de-risking we did is to run both systems in parallel with our users for several months. This allowed us to e.g. let 10% of our users into the new system at first, ensure we weren't breaking any of their use cases, then let 20% in, 50% in, and so on. We could also do user interviews throughout. Since the new system involved not just a better data backend, but also faster response times, a modernized UI, and many new features, lots of people wanted in. We even had a waitlist, at one point.
Then, we cut the stragglers over, and cut the old system loose -- which felt great, BTW! Running two production systems in parallel isn't easy, but was absolutely the right thing to do.
With hindsight being 20/20, we feel firmly that our first system was a "prototype that went to prod", and that we followed Brooks's advice to "plan to throw one away, because you will anyway". And that we executed a "successful rewrite". But it certainly wasn't easy.
I'm really proud of that project, but I also feel it was a bit of a harrowing experience, especially near the end, when we were concerned some "showstopping bugs" were going to keep the progress bar at 99% for a couple extra months. But we made it through.
Perhaps the reason my outcome is better is because the need to rewrite wasn't driven by a framework or architecture du jour, but by real business requirements and real scaling requirements. Even then, I think sometimes those requirements can be overstated and the ability for an existing architecture to cope can be understated. I feel confident we made the right call, but I think it takes real expertise -- and healthy dose of skepticism -- to take on the full rewrite risk with eyes wide open.
(p.s. now, 3 years later, the same team is being forced to rewrite a significant portion of the backend, not for any business requirement or scale reason, but because of bitrot of a stable open source database engine version which needs to be upgraded to avoid EOL, and wherein the new version introduces backwards-incompatible breaking changes to the API and schemas. At least in this case, it's "only" a backend migration, and not a total rewrite. But, I'll tell you that it sucks to realize this is just required maintenance, thus a pure development cost with little customer benefit, rather than a project to introduce a step-level change to the product and business. C'est la vie!)