Better HN
topnewbestaskshowjobs
Log inSign up

gregdoesit

7,877 karma · joined Dec 23, 2015 (10y ago) · 481 submissions

I write The Pragmatic Engineer newsletter. Author of The Software Engineer’s Guidebook. Previously Uber, Skyscanner, Skype/Microsoft. More at pragmaticengineer.com
Submissions

271.

Data Structures and Algorithms Actually I Used Working at Tech Companies(blog.pragmaticengineer.com ↗)

6 points · by gregdoesit · 6y ago · 2 comments

272.

Post-Commit Reviews: What They Are, Benefits and Challenges(medium.com ↗)

1 points · by gregdoesit · 6y ago · discuss

comment 6y ago · link · parent

I happen to be writing a book about writing a good developer resume - from the viewpoint of Google, Facebook, Netflix Uber and other tech company hiring managers and technical recruiters as coauthors and reviewers [1]. The book is in beta and I've not advertised it beyond one or two posts, and it's made over $2,500 in a month. So there is definitely some demand here, though I cannot tell how much.

The resume templates you have on site is pretty much the same, somewhat generic ones that profitable resume building sites like resume.io, EnhanCV or VisualCV have. They are not the best templates for hiring managers in tech - even though some candidates will be happy to pay for them, as they think it looks professional. Don't get me wrong: they will work okay, but there are far better ones, purely for optimizing for hiring managers.

Congrats on the sale, but if you are serious about the "resume for data scientists" direction, you might want to think about the market size, and if this what you want to do. All the resume services I know of cater for a much larger audience to make a profit - and, admittedly, this is one of their weakens.

On your site, right now, there seems to be little evidence why these resumes would have an advantage over e.g. the default Google Docs Serif or Swiss resume templates (which, the Minimalist looks very similar to). Selling one-off resumes might not be a fantastic business, or at least it would be a very one-sided marketplace. As someone else was suggesting, taking it a step further, and venture into you also connecting vetted data scientists with companies.

[1] https://thetechresume.com/

comment 6y ago · link · parent

I'm a a hiring manager at Uber. All I want to see is your profile being relevant for the position. The second best thing you can do is choose a clear format [1], be clear about the results you've helped happen, and customize your resume for that specific job.

The best thing you can do is get a referral. Still with a referral you'll want a relatively relevant resume.

And to your point on what you can do to be relevant. I say keep track of the impact of what you ship. How much $$ per year does your project generate? How many users? How many RPS? How many engineering hours saved? Whenever I see people with resumes who have done more impactful things than I'm hiring for, I think: I need to talk to this person. It's exactly the type of expertise we need. And so few resumes have any of this.

I'm also writing a book exactly on this topic, which is at 115 pages and lots of visuals, and examples, including advice for experienced people like yourself. As I don't trust myself only, I'm having tech recruiters and hiring managers across the industry help me out. You can check out the beta of the book [2] and I'd love feedback on what you might feel is missing there.

I'm planning to make the book free for any software engineer who have lost their job due to COVID when it launches.

[1] https://twitter.com/GergelyOrosz/status/1279431439914762240?... [2] https://thetechresume.com/

comment 6y ago · link · parent

The article emits a key point, when talking about any practice: the context, in which unit testing is performed. The size of the team, the type of company, the technology, and the impact of product defects.

For a startup with a small team and few customers building an MVP? Unit testing is overrated.

For a company with 50 engineers in 10 teams building a product, that moved $500,000/day in revenue? Unit testing could or could not be overrated.

For a company with 1,000 engineers working in the same repo, shipping a product that moves $50M in revenue per day? Unit testing is most likely underrated - and essential.

You cannot ignore how the organization works, and the cost of a defect that a unit test could have caught. I happen to work at the third type of organization, and while unit tests might not be the most efficient type of safety net, it is a very big one. We have other types of testing layers on top of unit: integration and E2E tests as well.

Also, one more fallacy in the article: "If we look back, it’s clear that high-level testing was tough in 2000, it probably still was in 2009, but it’s 2020 outside and we are, in fact, living in the future. Advancements in technology and software design have made it a much less significant issue than it once was."

This is not true everywhere. High-level / E2E testing on native mobile applications in 2020 is just as bad as it was on the web in 2009.

276.

How many people are on this site?(blog.pragmaticengineer.com ↗)

1 points · by gregdoesit · 6y ago · discuss

comment 6y ago · link · parent

Congrats on the transition! I have several books to recommend that I all read are on my bookshelf, some with reviews[1]. YMMV vary but these were the most helpful for me:

1. The First 90 Days - a good reminder that when you transition, it's like starting a new job

2. Become and Effective Software Engineering Manager - a hands-on book for people transitioning to management, starting at a new company or looking to make more of an org-wide impact.

3. The Manager's Path - a short reference handbook for managers at all levels.

4. The Goal - written in the '80s, yet a timeless novel on what management is about, may that be a manager of a team, an organization or an industrial plant.

Also, I wrote a post about my learnings on transitioning from engineer to manager that has some good comments on HN[2]

[1] https://blog.pragmaticengineer.com/my-reading-list/#engineer...

[2] https://news.ycombinator.com/item?id=15326652

278.

Surprising things about working at Skype, Skyscanner and Uber(blog.pragmaticengineer.com ↗)

4 points · by gregdoesit · 6y ago · discuss

comment 6y ago · link · parent

At Uber, we are also adopting a lot more SLOs and SLIs. It's a long and painful process. We started implementing error budgets as well, on an area-by-area basis. There's a lot of learning, and a lot of trial-and-error.

As someone who is working in this space, I found this article to be quite vague, and couldn't take too much out of it. It would be great to see specifics on one SLO, the associated error budget and what graphs Twitter uses to track this.

And while SLOs are a good start - I assume this will be SLOs across services on latency and availability - the next step is measuring key user journeys. "What % of users get stuck on a page, getting the same error message over and over?". "Where can we see a sharp increase from p95 to p99 on success or latency on a user journey, that we can click into?"

I have a feeling Twitter is still at the first level, as most companies I know are. Clearing this one, the next step is what is even more interesting.

comment 6y ago · link · parent

It’s clear from the comments that many people have no positive experiences with LinkedIn. For me, LinkedIn was the tool that not only helped me get into better companies, but also introduced me to Hacker News.

I joined Skype/Microsoft, then Skyscanner, then Uber: all after a LinkedIn recruiter reachout. They were opportunities I did not know or think about and I would have never applied to any of them at the time. I was very happy the time working in investment banking, and had zero reason or motivation to change this up. I needed that "nagging" from a recruiter to actually consider what if I was building the next Xbox that millions of gamers will use on day one, instead of a trading system that no more than a dozen of traders use.

In hindsight, all the positions were a step up in professionally, financially, and from a personal growth point of view. I even learned about Hacker News when I was working at Skype, from colleagues. If it wasn't for LinkedIn, I might have permanently been stuck in investment banking and my career would have turned out very differently.

comment 6y ago · link · parent

Let me chime in my (personal) opinions, working at one of the fastest-growing startups at one point: Uber, and the details I gathered from the early times. While today, Uber is big on code quality, engineering best practices, reliability, and many others, as much as us engineers want to take credit for the success of the business via code quality: they are pretty unrelated.

Few people know that when Uber started and the first $1M was raised, the apps were built by contractors. The app was bad, the code terrible - but even with a bad app, customers used it over taxis, that didn't even have a bad app. The business took off, the next round of funding came, as did the first few full-time engineers.

The first thing that the full-timers did was throw away the mess of a code, and rewrite the app. However, moving fast was still more important than quality. Launching in a new city needed to be done in a few weeks - if the ops team could mobilize a whole city in this time, engineering was expected to move fast as well. So while generally, forward-looking decisions were made, still, many-many shortcuts were added, most notably "The Ping", which was the backend sending over all state data to the client in a massive JSON object, ever 10 seconds. This was to speed up development, not having to make backward-compatible state changes all the time. It's something I'd cringe over today, but it did help moving fast, at the expense of loose contracts and lots of bandwidth usage that could have been avoided.

As the business proved to be successful, in year 3 or 4, reliability and quality started to be more of a focus: things like tests, listing, architecture, rollout best practices, and so on. A big push happened when in year 4 or 5 (I can't remember exactly) a sloppy change almost took down all of Uber's core systems at rushour. But for the first few years, quality took a relatively back seat. Was it worth it? I'd definitely say so. As another commenter noted, the customers of a startup do not buy code quality: they buy something that meets their needs and is good enough.

When a startup becomes wildly successful, you'll have the funds to pay off tech debt. Until then just make sure it doesn't suffocate you - otherwise pile it on, and move fast.

comment 6y ago · link · parent

“Why did we allow so many unprofitable companies IPO? When did losing money become acceptable and the new normal for publicly traded companies?”

First off, the SEC “allows” companies to go public in the US. Any company can do so, assuming you meet the regulatory requirements. Being profitable is not one of them. Being transparent enough on their business and their outlook _is_ one of them.

Now, when you go public, you take on a bunch of additional constraints - like having to report regularly to shareholders, that private companies don’t have to do. So now, the question should be “why did investors invest their own cash into unprofitable companies IPO’ing?”

The answer partially lies into how profitable companies typically do not IPO, as they do not need capital. Want to be a part of IKEA? Not a public company? The Mars Group, who sell most candies worldwide? They are also doing great. LEGO? Nope.

Okay, so you have investors - pensions funds, private individuals and many others - who want to invest, and gain returns on their money. So why do they invest in no -profitable companies? Because they think it’s an investment that they are comfortable with. And they usually believe that short- or long-term, their stock value will go up, thanks to the performance of the company.

Welcome to how publicly traded markets work.

283.

A Developer Culture Test(blog.pragmaticengineer.com ↗)

107 points · by gregdoesit · 6y ago · 41 comments

284.

Test coverage only matters if it's at 100%(lobste.rs ↗)

2 points · by gregdoesit · 6y ago · discuss

285.

He criticized the government on Facebook, and was taken from his home by police(insighthungary.444.hu ↗)

2 points · by gregdoesit · 6y ago · discuss

comment 6y ago · link · parent

One of the most well-known companies using what the author calls “impact frame” is Facebook.

There, engineers’ promotions and perf used to be heavily dependent on their impact. Developers needed to be aware what the business impact of their work was, thus they needed to measure (using the excellent tooling available).

This model worked very well while the company was growing. Lots of features core to Facebook today were created by engineers, not product managers. Newsfeed. GraphQL. A/B testing frameworks.

The difficulty comes both when growth slows - and it’s hard to have impact without cannibalising another team’s impact - as well as when having more impact actually causes harm to the company on a different direction. While engineers were optimising for engagement, tweaking the news feed algorithm to show items you were likely to click on, sensationalist content (sometimes: fake news) was over-promoted. While the ads team optimised for ad engagement by exposing various metrics, they exposed metrics that turned to public uproar later on.

The idea of only optimising for impact is a great short-term strategy. Long-term it is not nearly as black-and-white.

My take is the optimum is in-between. Engineers should have an understanding and input on the business impact. But the strategy and prioritisation framework does need to come top-down, aligned with the long-term goals of the business.

287.

Surprising Things About Working at Well-Known Tech Unicorns(blog.pragmaticengineer.com ↗)

3 points · by gregdoesit · 6y ago · discuss

comment 6y ago · link · parent

Can someone tell me the difference between Google Meet, Google Hangouts, Google Duo and Google Chat?

Multiple of these support video and chat. I’ve used Hangouts and Chat and Duo before. Why the new brand “Meet”? And why have competing - even more importantly - confusing products at Google who seem to offer the same features?

I would like to, but cannot be bullish on Google as a video communications platform for this reason.

comment 6y ago · link · parent

Alternatively, you can parallelise parts of your build (eg the tests, static analysis etc) and speed it up. Then, if you have more changes coming in than you could parallelise is when you can start to do some advanced things like trying to predict which changes might break the build.

There was a longer discussion on one of these approaches done by Uber[1] on HN. Granted it’s a lot of investment, it’s interesting to explore ways of dealing with long builds that need to run frequently.

https://news.ycombinator.com/item?id=19692820

comment 6y ago · link · parent

This article is full of opinions, and brings no facts to the table. The author does not mention his experience interviewing or hiring people, and the whole piece reads more like a rant.

> When an accountant is in an interview, they're not asked to multiply on-the-spot in their head what 485 x 761 equals because "you have to be good at math to be an accountant"

This is an ignorant statement. Accountats don't have to multiply things in their head day to day. Yet developers do need to code, day to day.

I'm a hiring manager and the reason people code on interviews is - well, after joining a company, the first few months they _will_ spend a good chunk of their time coding. And the companies I worked at, who dropped the coding interview always regretted it, through mishires. People who could code, but were not very good at it. E.g. their code was sloppy, incorrect and they needed considerable mentoring and coaching to write code that worked. As senior developers.

The other reason is to even the odds. 70% of people I've seen hired did not have public Github profiles or code they could show. The people who complain about "why can't they just look at my portfolio" and (potentially rightfully) conclude that they're amazing developers don't realize that this approach would result in more bias for hiring this group of people. Good luck maintaining a fair hiring bar this way or hire diverse candidates.

This is why the coding test exists in most places. It's to test for something that you're expected to do from day one and to even the bar that people need to jump through, for everyone.

I'd love to hear what OP suggests to replace the coding tests with - a chat about past projects, then make an offer? And what do you do with the people who don't have these things to show?

291.

The Developer Culture Test: What Defines Places Where Developers Thrive?(blog.pragmaticengineer.com ↗)

2 points · by gregdoesit · 6y ago · discuss

comment 6y ago · link · parent

Priority changes, expanding scope and switching work from one project to the other all have a cost. Too much of this and you don’t get anything done: you’re just treading water. It doesn’t matter if you or customers drive your roadmap and it’s changes (though you would want to have a prioritisation framework to decide based on what business metrics you prioritise projects).

The first thing you should do is create stability within an ever changing business environment and also capture the cost of the priority churn. So create a roadmap, and have a process to capture priority changes, and how much WIP work is wasted (=not shipped, as it’s deprioritized) as a result.

There’s a bunch of tools and methodologies you can use for this. Sprints, scrum, OKRs etc.

As an engineering manager in a similarly fast-moving environment, the two main rules I follow are: 1. We don’t do any work that does not have impact defined: what happens or what we expect to happen when this project is shipped. This is usually in some numeric value. And we always work on the best impact/effort project next. 2. The team _always_ finishes what we start and we do small enough work items/milestones that enable us to iterate quickly.

Good luck!

comment 6y ago · link · parent

The article does not mention what the author means by “scaleable” projects. Scaleable in terms of the codebase being used by tens or hundreds of apps? Scaleable in terms of tens or hundreds of developers working in the same codebase? Scaleable in terms of millions of users with different hardware and devices using the web sites?

My guess is that it is “scaleable in terms of a team of 10-20 developers working on the same codebase”. The practices are fair in this sense, though I’m a bit unsure on the specific library recommendations and why they are better than the alternatives not listed. I was also missing things like tooling om test coverage - and agreeing with the team on how to go about this - or code review practices and enforcing (or not enforcing) this.

When it comes to scaling for millions of users, things like monitoring, alerting, logging, measuring performance in smart ways are things that also need to be done.

I happen to head up a web team who is building “scaleable” web apps in this latter regard (we have millions of monthly paying users around the globe whom we need to scale for) and I’ll write up the additional practices we use to “scale” with w small team in a later post on my blog [1] for anyone interested.

[1] http://blog.pragmaticengineer.com

294.

Tech Debt and the Pragmatic Middle Ground(blog.pragmaticengineer.com ↗)

1 points · by gregdoesit · 6y ago · discuss

295.

The upper crust of Earth is shaking left following coronavirus lockdowns(cbsnews.com ↗)

2 points · by gregdoesit · 6y ago · 1 comment

296.

Uber’s Payments Platform Under the Hood(underhood.blog ↗)

2 points · by gregdoesit · 6y ago · discuss

comment 6y ago · link · parent

The article could be a_lot_ more concise. Here’s what I got out of it as the takeaway:

> And that helps us understand why Recursive Cactus spends so much time practicing. He’s training himself partially because his current company isn’t developing his skills.

Exactly. Recursive Calculus wants a better job, (a lot) higher pay, a better environment. So he spends time prepping for this.

And companies who can offer all of this, and get a lot of interest already, they are selective, minimising false positives in the hiring process. They expect working code in the coding challenge, a good attitude and some other skills like demonstrating decent systems design. Recursive Calculus also preps so much as his interview process to his current place was different and he _really_ wants to nail these interviews, get a bunch of offers and get into a bidding war before saying bye to his current workplace he’d love to leave for something better.

There wasn’t really any actionable thing in this article that I found, or applicable advice. The end.

comment 6y ago · link · parent

I joined Uber in 2016, right around when on every conference you'd hear a talk along the lines on "Lessons learned at Uber on scaling to thousands of microservices" [1].

After a year or two, those talks stopped. Why? Turns out, having thousands of microservices is something to flex about, and make good conference talks. But the cons start to weigh after a while - and when addressing those cons, you take a step back towards fewer, and bigger services. I predict Monzo will see the same cons in a year or two, and move to a more pragmatic, fewer, better-sized services approach that I've seen at Uber.

In 2020, Uber probably has fewer microservices than in 2015. Microservices are fantastic for autonomy. However, that autonomy also comes with the drawbacks. Integration testing becomes hard. The root cause of most outages become parallel deployments of two services, that cause issues. Ownership becomes problematic, when a person leaves who owned a microservice that was on the critical path. And that no one else knew about. Oncall load becomes tough: you literally have people own 4-5 microservices that they launched. Small ones, sure, but when they go down, they still cause issues.

To make many services work at scale, you need to solve all of these problems. You need to introduce tiering: ensuring the most ciritical (micro)services have the right amount of monitoring, alerting, proper oncall and strong ownership. Integration testing needs to be solved for critical services - often meaning merging multiple smaller services that relate to each other. Services need to have oncall owners: and a healthy oncall usually needs at least 5-6 engineers in a rotation, making the case for larger services as well.

Microservices are a great way to give more autonomy for teams. Just beware of the autonomy turning into something that's hard to manage, or something that burns people out. Uber figured this out - other companies are bound to follow.

[1] http://highscalability.com/blog/2016/10/12/lessons-learned-f...

299.

“I am exhausted, this is a war” – dev on the Amazon SCOT team(twitter.com ↗)

4 points · by gregdoesit · 6y ago · discuss

1
91011
17