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 5y ago · link · parent
The documentation for Racket is excellent, see e.g.
https://docs.racket-lang.org/quick/index.html
... and many people have created online resources to adapt SICP to Racket, as well as other learning texts. I like Beautiful Racket, e.g.
https://beautifulracket.com/explainer/lists.html
You can use #lang sicp and start playing around with the free online reformatted SICP text here:
http://sarabander.github.io/sicp/
I recommend getting a print copy of SICP, though, and working through the examples in a real DrRacket environment on your computer.
IMO, if you end up going deep in the "lispy" direction after playing with Racket, you'll probably be drawn to Clojure as it is the Lisp with the biggest "production use" community at the moment. So long as you can put up with some JVM warts, it, too, will be a good experience.
comment 6y ago · link · parent
You'd be entering our hiring process early, as we only just kicked off our hiring wave on Dec 1, 2020. As for Parse.ly, our entire stack is in Python and JavaScript, and our team has innovated in areas related to real-time analytics, building some of the best open source tools for working with modern stream processing technologies.
Our frontend team has also built one of the best-looking dashboards on the planet, using bespoke visualizations atop D3.js. We are now expanding our reach into the area of petabyte-scale log data analysis in order to deliver insights to our customers.
And, we are growing! We have three open positions on the ~25-person product/engineering/design team, which operates on the fully distributed model. These are: 1. Frontend Engineer (JavaScript, UX); 2. Backend Engineer (Python, Distributed Systems); and 3. DevOps Engineer (Python, Ansible, Terraform, AWS).
Our frontend team owns the core experience of Parse.ly’s customer-facing SaaS products -- most importantly, the real-time analytics dashboard. In the spirit of Edward Tufte, we do whatever it takes to deliver awesome user interfaces to our customers. Our backend team owns a real-time analytics infrastructure that processes over 2 million pageviews per minute from 10,000 high-traffic sites. It operates a fleet of cloud servers that include thousands of cores of live data processing using cutting-edge technologies like Spark, Kafka, Cassandra, Elasticsearch, and others. Our DevOps infrastructure is a multi-hundred-node cloud footprint in AWS, leveraging self-hosted open source clusters, managed by Ansible and Terraform, and monitored by tools like Elastic Stack and Datadog. If any of this sounds fun, we could use help!
Join us to build the world's best content analytics system. Apply at work@parsely.com with a couple paras describing why you're interested, a link to any portfolio/code you think is relevant, and/or your resume or LinkedIn profile.
Make sure to mention HN and the role you're interested is, among: "Frontend Engineer", "Backend Engineer", and "DevOps Engineer". Also, please list your years of programming experience, current timezone/location, and daily working hours (e.g. 10am-6pm ET). Note that though we can hire from most locations, we will prioritize those near US_Eastern, US_Central, and US_Mountain timezones, due to our current team working hours.
comment 6y ago · link · parent
I was working in NYC, and on Wall St (as a programmer). I was 2 years out of college, so 25 or so, and had only minimal savings and some college debt left to pay off.
The "conventional wisdom" in my circle of friends was, "This is a really bad time to quit a stable job and start a small company, because the entire economy might collapse." I had nothing but evidence in front of me: from my office window one day, I could see streams of hundreds of laid off people leaving the Lehman Brothers building, with cardboard boxes of personal office items in their hands. Friends of mine who were smart and hard workers were getting laid off from their NYC jobs left and right.
When I worked up the courage to quit and pursue the startup, and I announced it to my colleagues at work, quite a few of them took me aside and said, "I get that you already made this decision, but I'm really worried about you given what's going on in the economy."
I think pg's essay, as well as the general mindset of YCombinator, helped me and my co-founder have the attitude of, "We'll try this, and it might fail, but if it succeeds, it'll be awesome. And if it fails, despite how bad the economy is, we can still fall back on just working our butts off to find another job."
Anyway, it wasn't easy, for sure. Though we managed to get seed accelerator financing ($20K) from Dreamit Ventures in Philly in Summer 2009, we then bootstrapped for 2 years in the startup wilderness until our seed financing round of $800K in 2011. I don't think most people, young and frugal or not, would last that long on non-employer healthcare or with only consulting/freelance income to pay the bills. I wrote about that financial reality here:
https://amontalenti.com/2011/04/02/not-for-the-faint-of-hear...
Also, zooming forward to 2020, I think the current economy is much more startup friendly than 2008-2009. In the period we started in, seed financing was not very mature -- we were still living in the shadow of the 2000-2001 crash. NYC had a very small tech startup community in 2008-2009. The 2008 crash, being a "financial" crisis, also depressed venture capital investing at the same time. By contrast, this Covid-19 recession has split investors, where retail/consumer stocks are losing money, but tech stocks are growing by leaps and bounds, and many investors are now trained by the success of low valuation seed investments from the 2008-2010 era, which eventually led to IPOs and exits in our recent tech bull market. So, if I weren't still running my company and if I were working for a BigCo like I was in 2008, I would definitely start a company now, because there's really no downside whatsoever. That is, no downside except the opportunity cost of your salaried job. (One other counterintuitive aspect, though, is that, perhaps, starting a startup now is such an obvious decision that you'll be competing with a lot of other seed stage founders, assuming they are as rational as I describe here :-) ...)
Also, about a year ago I provided a little advice for how to bootstrap your company if you do get started and you are not of any means. Hope it helps someone:
comment 6y ago · link · parent
comment 6y ago · link · parent
From: https://www.npr.org/2020/11/06/931891674/as-presidency-hinge...
"States like New York and North Dakota are valued the exact same way under the current system. They're valued not at all, because they're reliably either Republican or Democrat [...] The only way I know how to put urban voters at parity with rural voters and rural voters at parity with urban voters is to make every voter in this country politically relevant in presidential elections."
The way to do that? A national popular vote that would require candidates to campaign in all 50 states. The effect would be that every voter would know their vote matters.
"I don't care if you're in the heart of Manhattan or in the outskirts of Helena. When you go vote for the American president, you know what's going to count toward the final result in a national popular vote election. And you're not going to be treated like a second-class citizen."
comment 6y ago · link · parent
I was the child of two immigrant parents. Growing up, we were always on the verge of bankruptcy as a family. Always about to miss a mortgage payment or a payment behind. Yet I grew up in a wealthy New York suburb so I was surrounded by a lot of kids described above, whose parents were overjoyed to teach their kids financial principles using inherited family wealth.
I got lucky in my own way. By the time I was 15 or so, I knew how to program a little, and was already an avid internet user (this, in the late 90s). Thus, I could do a little programming, and do web design projects for money.
So I started to build up savings, real cash savings, by the time I was 16. But then, it dawned on me: my parents weren't going to be able to afford sending me to college. So, I knew I had to build up savings in the few years leading up to freshman year to pay for college.
Then, I got into college (thankfully with a big scholarship) and dumped my savings into tuition and living expenses. I also continued working through college and took on student debt. By the time I was 19 or 20... I was very interested in finance. But I still operated entirely on a cash and debt basis. With $100K in loans, depressed savings, and parents entering retirement age with no savings other than the home equity they had in my childhood home. It's at that moment that some financial education would have helped me a whole lot.
I bring this up because I consider myself fortunate. People less fortunate than me never manage to build up any savings whatsoever in high school, and, if they are so fortunate to go to college, are drowning in way more debt and student loan payments than they can afford. By the time they enter the workforce, they are still digging themselves out of that debt, not yet thinking about the marvels of savings, capital investment, rate of return, and compounding interest. I worked for a couple years on Wall Street and made every mistake possible in this regard. I saved money in a 401k with crappy allocations that didn't perform well, leading into the 2008 financial crisis. I did an early withdrawal on that 401k to self-fund my startup. I operated on a cash & debt basis for years while earning sweat equity on that startup, and never diversified personally until very late.
I suspect for most young adults in a wealthy country, the moment when finance education would make the most impact is either senior year of high school or in college itself, or in the first year or two of work. If you teach it any earlier than that, it'll be in one ear, out the other.
When I used to work in Brooklyn, the local library held financial literacy courses targeted at young adults in NYC, scheduled for after work hours. I attended one and it was very well put together, and very well attended. I think that might be the best timing/setting of all for this.
comment 6y ago · link · parent
- Real-Time Sys/App Dashboards (e.g. Graphite) => Datadog
- Collaborative Source Control (e.g. trac, hgweb) => GitHub
- Team Chat & Bots (e.g. IRC, ZNC, Hubot) => Slack
- App Error Tracking (e.g. Raven/Sentry project) => Sentry
In this case, the category is:
- Internal Admin Interface (e.g. Django Admin) => Retool
Like all of the above categories, this category is obvious in retrospect.
Every SaaS product/company I have ever worked on or advised has leveraged a Django admin interface. Or, the team wished it had one once they went into production with real users, if the technology choice _wasn't_ Python/Django.
If you have never personally experienced a the Django admin interface, you can read about it and see screenshots in this tutorial: https://developer.mozilla.org/en-US/docs/Learn/Server-side/D...
Essentially, it gives you a web-based interface, hooking into your existing user/group authentication model, for inspecting (and even altering!) live production data by introspecting your "Django Models". That is, your Python classes which represent your production SQL tables lead to (controlled!) admin interfaces that can edit those tables.
You can extend that admin interface using simple declarative configuration, such that you can build functional, SQL-aware tables and forms without writing a lick of UI code.
Based on the demo video, Retool is even more featureful than the Django Admin (although perhaps a little less extensible, since it isn't based on an open source framework). But, for anyone thinking to themselves, "Why didn't I think of this?" -- perhaps give some thought to the root problems beneath some of the open source tools you're using today, that could perhaps be turned into a widely-applicable SaaS tomorrow.
comment 6y ago · link · parent
"The perfect conditions for creativity, according to Monty Python’s John Cleese":
https://qz.com/919351/the-perfect-conditions-for-creativity-...
"John Cleese on the Five Factors to Make Your Life More Creative":
https://www.brainpickings.org/2012/04/12/john-cleese-on-crea...
comment 6y ago · link · parent
https://www.schneier.com/blog/archives/2004/11/the_problem_w...
comment 6y ago · link · parent
comment 6y ago · link · parent
This MDN doc covers some of the complexity:
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
And here is when browsers added support for CORS:
comment 6y ago · link · parent
comment 6y ago · link · parent
My favorite mouse to use with a Mac these days is the Logitech G305.
Also, here's my review: https://www.amazon.com/gp/aw/review/B07CMS5Q6P/R1KU320KW6ZI3...)
I also personally like having the Magic Touchpad around as a second input device, for silent mouse motions (for calls) and for gesture support. You can have both connected nicely and if you use the paid app BetterTouchTool it serves as a nice way to have a rich input experience while retaining the precision of a high DPI mouse like the above. Another minor gripe of mine is that the Apple Bluetooth keyboard/touchpad combo from the last generation, with AA batteries rather than Lightning chargers, are better than the current generation in lots of subtle ways, so I stick with them.
comment 6y ago · link · parent
He was one of the creators of the Java Collections API and the Java Executor Framework, two of the most durable and most widely-copied APIs ever. That may not seem relevant for an HTTP/REST API, but it is. The design principles are timeless. Here's that reference:
https://twitter.com/amontalenti/status/1260030567501840386?s...
When I had to design a widely-used "HTTP/RESTful" API a few years back, I wrote a summary of the design principles here. It also includes a reference to an old O'Reilly book on the topic, which I summarized:
comment 6y ago · link · parent
That is, aim was to introduce this idea of "shadow traffic", since most of our customers/prospects don't even know it exists! (Whereas, for example, "bot traffic", which can inflate analytics numbers, is a well-known problem.)
The sentence you are referencing is about Sentry error tracking, right? All I was intending to say is that sometimes, tracking protection throws the baby out with the bathwater. The end user wants to avoid creepy ads and privacy leaks. But, instead, they are blocking error tracking tools, whose primary purpose is to catch and fix frontend coding bugs. And then when those same blocking rules become browser defaults, it can end up in a situation where whole classes of users don't have errors tracked/logged, merely because the site owner (quite reasonably) chose to use a SaaS for error tracking/logging, rather than, say, rolling one's own self-hosted system for that commodity use case.
comment 6y ago · link · parent
Here they are:
- Server-side proxy: The blog post I linked about The Intercept uses this setup. Basically, a web server run by our customer captures all the traffic inside their cloud or hosting environment. That traffic is then logged and proxied to our data capture server, with some data scrubbed before we receive it (e.g. IP address removed), with data sent via our server-side protocol.
- First-party custom domain: We spin up a server and HTTPS certificate and the customer points their own subdomain (via a DNS A or CNAME record) to that server, which serves as a proxy. We originally built this facility to clarify data ownership in a GDPR context -- where the customer is a data controller and we are a data processor, so the controller owns the domain where data ingest happens.
This and the prior solution have the side-benefit that Parse.ly couldn't do any cross-site linking even if third-party cookies were enabled in the browser. We never do this anyway, but both of these setups make it technically impossible due to the browser rules around cookies and domains, which is a nice security improvement. But it also raises other issues, like the fact that the customer setup is more complex, with more moving parts.
- API connection to CDN. This one is not actually productionized but was merely prototyped. We'd pull basic per-day and per-page CDN server request logs, and compare that to our pageview counts to understand the delta, which is likely mostly shadow traffic. The upside of this solution is that it might be pretty easy to setup for customers, the downside is that we'd have to build connectors for a lot of CDNs, and through market research we have learned that larger customers might use multiple CDNs at once (believe it or not).
- "Fallback" logging of blocked page loads. This one was also just prototyped, but the idea is that some JavaScript code would detect whether Parse.ly JavaScript SDK was blocked from loading, and if so, a basic privacy-safe "this page's analytics were blocked" event would be sent to a domain owned by the customer, perhaps one that ensured scrubbing of all details other than the "fact" that a block event happened at a particular timestamp. We actually prototyped this particular idea on our own marketing site because we ran into issues with Marketo & Parse.ly data vs our server logs and even our lead capture forms. (That is, situations where a lead was captured for someone with "zero pageviews", because their session was shadow traffic but their form fill nonetheless happened.)
Re: your comment that you sense an undertone of, "it would be better if users didn't have as much tracking protection", I have no such personal or professional belief, and I can assure it isn't a view held by our company/team. I understand the motivation for tracking protection and we even suggest use of Mozilla Firefox's tracking prevention option in our privacy policy.
But there's no doubt that it is leading to confusing data discrepancies for site/app owners, and I think site owners have a right to a basic understanding of how much of the traffic they are paying the hosting bills to serve is actually perceptible to their observability/reporting, even if the only detail they get about that visit is "the visit happened", similar to the level of detail they get from server logs or CDN logs as a matter of course.
comment 6y ago · link · parent
https://twitter.com/amontalenti/status/1165262620959617025
Specifically: I noticed a huge difference between the metrics we were reporting on my blog post in Parse.ly, and the metrics being reported by my personal blog's Cloudflare CDN (caching the content).
Ironically enough, this traffic was all coming from HN and the post was itself about modern JavaScript[1].
Since then, we've also been hearing from a lot of customers about various scenarios where traffic is either under-counted or mis-counted. For example, something that has been tripping us up lately is that our Twitter integration relies (partially) upon the official t.co link shortener[2], and yet, due to modern browser rules related to W3C Referrer Policy[3], the t.co link's path segment is often not transmitted to the analytics provider, and thus the source tweet for traffic cannot be easily ascertained.
I firmly believe in privacy and analytics without compromise[4], so the team is trying to come up with ways to at least quantify shadow traffic at an aggregate level, and to ensure legitimate user privacy interests are honored, while making sure they don't break legitimate privacy-safe first-party analytics use cases.
As a developer, something that concerned me recently was realizing that Sentry, the open source error tracking tool with a SaaS reporting frontend and a JavaScript SDK[5], gets blocked in many conservative browser privacy setups. Though the interest to user privacy is legitimate, I think we can all agree it'd be better for site/app operators to know when certain browsers are hitting JavaScript stack traces.
[1]: https://news.ycombinator.com/item?id=20785616
[2]: https://help.twitter.com/en/using-twitter/url-shortener
[3]: https://www.w3.org/TR/referrer-policy/
[4]: https://blog.parse.ly/post/3394/analytics-privacy-without-co...
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
This was actually the primary thing that kept me on a Pixel 2 for so long, since it also has a similar rear fingerprint sensor design (and I just pre-ordered the Pixel 4a today).
I can't be the only one who greatly prefers a rear fingerprint sensor to face unlock, especially in our new world order with widespread mask wearing -- but, even before! It's so much faster and less finicky.
(The new model's fingerprint sensor is also so subtle on the chassis on the phone that you can just barely make it out in the photograph of the phone's back shown on the comparison page. But if you squint, you'll see it. It's also discussed in many of the reviews.)
comment 6y ago · link · parent
https://www.bogleheads.org/wiki/Managing_a_windfall
I had to help my Mom with personal finance. She is a first-generation immigrant who entered her late 60s with no stock or cash retirement savings, but with a lot of home equity value built up by sheer luck of buying a house in a booming suburb right before it really boomed, and holding it for 40 years. She lived paycheck-to-paycheck her whole life, and, because she fled communist Romania when she was in high school, she had a real distrust of the US financial system. (Perhaps warranted at times!)
So, I had to help her manage the windfall from the sale of her primary residence as she downsized her living space and needed to tap the newly-liquid cash as a kind of pension and healthcare issue rainy-day fund. She wanted to stick all the money under the mattress (quite literally).
I was in my mid-20s at the time (and a college-educated programmer, so savvy enough to wade through the systems), so I tried to wise up to the situation to help her out. I dealt with all the issues outlined in this page (on her behalf) via a lot of haphazard ad-hoc research and through expensive advice from personal lawyers and accountants.
I am impressed with the way in which the page tackles not just the pragmatic issues, but also the psychological ones -- e.g. that someone facing a windfall will feel temporarily "rich" because they are newly in the money, and thus won't manage smartly toward a long-term future, and may also be more prone to frivolous purchases.
Financial literacy is a really hard thing and so much of the information you find is biased and is selling you one thing or another.
I wish I had known about this page -- and the wiki overall -- years ago. The "Bogleheads" philosophy aligns a lot with my personal outlook, which has a a lot of trust for the power of markets and financial management, but a whole lot of distrust for financial advisors and money managers. Now that I've been on this side of the table, representing my Mom's interests in retirement, it became really clear to me why fraud against the elderly is so common, and why it's a very legitimate interest to ensure they are well-protected if they don't have savvy family members who can guide them through it.
comment 6y ago · link · parent
"This column is called Corner Office, and most people who choose to have offices are usually the bosses. And I’ve been to the offices of billionaire C.E.O.s that have their own private bathroom, beautiful art and couches. But these are all things that you can have in your house. What I love about distributed organizations is every single employee can have a corner office."
Of course, the assumption here is that you live/work somewhere in which you can have a separate, closed-door, home office. This is true for most people who did distributed work pre-Covid (for example, 100% of my fully distributed team of ~25 engineers/PMs/designers has this setup or something close to it) but this may not be true for those who had to adapt quickly in small urban apartments, as is common in NYC or SF, post-Covid. That said, given how software engineers are usually comp'ed and given how much a software career relies on autodidacticism and flow, I think every software engineer should strive to have a serene home office from which to work. It's a good investment in your career and your sanity.