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

211.

Show HN: I wrote the book Building Mobile Apps at Scale(mobileatscale.com ↗)

357 points · by gregdoesit · 5y ago · 50 comments

212.

Home Birth in the Netherlands (2020)(expatica.com ↗)

2 points · by gregdoesit · 5y ago · discuss

comment 5y ago · link · parent

I invest in seed-stage dev tools startups alongside others (most of them are also on HN - here’s a list of people[1]) and I’m also a part of the Uber alumni investment syndicate[2].

[1] https://github.com/sw-yx/devtools-angels/

[2] https://angel.co/uber-alumni-investment-club/syndicate

214.

Equity for Software Engineers at Big Tech and Startups(blog.pragmaticengineer.com ↗)

2 points · by gregdoesit · 5y ago · discuss

comment 5y ago · link · parent

It started working. Very neat!

comment 5y ago · link · parent

Works impressive! Nice work building it.

comment 5y ago · link · parent

This varies wildly by company, and dynamics of the org/team. The best summary I’ve found is the staff/principal engineer archetypes article[1] by Will Larson. He identified 4 archetypes: Team Leader, Architect, Solver and Right Hand. This categorisation broadly matches my own observations & experience at Uber - even if the formal, internal company definition does not put these as such.

This comes after he interviewed close to a dozen staff/principal engineers at various companies of the likes of Stripe, Mailchimp, Fastly, Slack, Split and others. The stories/interviews[2] are worth reading to get a better picture of exactly what staff/principal looks at each of these companies.

[1] https://lethain.com/staff-engineer-archetypes/

[2] https://staffeng.com/stories

218.

What Silicon Valley gets about engineers that traditional companies do not(blog.pragmaticengineer.com ↗)

805 points · by gregdoesit · 5y ago · 324 comments

219.

System Design Interview book review(blog.pragmaticengineer.com ↗)

160 points · by gregdoesit · 5y ago · 42 comments

comment 5y ago · link · parent

Lawyers will be lawyers. I assume this request from Apple’s side originates from on of the legal teams, who are paid to pre-emotive ensure Apple won’t be sued.

I have a story that makes me relate from Microsoft/Skype. A few months after Microsoft acquired Skype, a JIRA ticket was opened by one of the compliance teams at Microsoft with a simple request. Remove the mooning emoji from Skype [1], as it could be considered offensive in some countries and thus Microsoft could be at risk of being sued.

All of Skype erupted. The mooning icon was a symbol of playful cheekiness at Skype and has always been part of the app, and Skype never got sued for over 10 years. There were about 1,200 Skype engineers at the time and that ticket had more than 500 comments from engineers protesting this change. Some made good arguments. Some voiced frustration. Others called that this is a step towards censoring.

It didn’t matter. The icon was removed, the ticket closed.

In a similar vain, I’ll assume that not everyone at Apple will agree with this “violation”. But it won’t matter, as long as the legal teams says it’s a risk to have apps with such names and icons in Apple’s store.

[1] https://www.google.com/search?q=mooning+skype

221.

Want to Start a Startup, as a Software Engineer? Sell Something Online(blog.pragmaticengineer.com ↗)

3 points · by gregdoesit · 5y ago · discuss

comment 5y ago · link · parent

How would a Solution Architect be different to a senior engineer on the project or a tech lead? Experienced engineers who are thinking longer-term, while also helping team members, and leading by example for planning, building, deploying etc.

comment 5y ago · link · parent

It’s amazing the overhead the “traditional” or “agency” model brings with software development and how it reduces engineers to developers who just need to execute whatever it’s decided by people up the chain. No wonder autonomy, leverage, career progression and pay are all more limited in this setting. I wrote in more detail about exactly this “backwards” approach and its implications [1]

Compare this with how some of the fat-moving companies work. Instead of 7 different people (from BA and PM and a dedicated DevOps engineer etc etc and all the comms overhead) you have two people / roles: - Product & design: the “why” and “what” - Software engineers: the “how” and building/shipping. Note that these people are called engineers for good reason at these companies. While the article says “ A team full of great developers may not bring the expected outcomes if there’s poor communication.” - duh, at places I’m talking about, engineers communicate with each other without a project manager for the most part. In fact, decent comms is something these companies screen for during the interview process. And “DevOps” is part of the role: you build it, you own it. Of course, there would be platform-focused teams and program/feature teams.

These tech companies have other roles for sure: most notably, data scientists and other not-so-technical roles (marketing, operations, legal etc)

But by having one engineer own what companies like SteelKiwi have several people do, no wonder they’ll be able to move faster (less comms overhead), pay more (far more value per engineer) and provide more autonomy (you own solving the problem, not executing the task the BA and PM agreed on, and you’re not expected to understand anyway).

[1] https://blog.pragmaticengineer.com/what-silicon-valley-gets-...

comment 5y ago · link · parent

Former Uber engineer/EM here: I worked on the Rider app.

The “there are only a few screens” is not true. The app works in 60+ countries, with features shipped in the app that often for a country, and - in rare cases - a city.

The app has thousands of scenarios. It speaks to good design that each user thinks the user is there to support their 5 use cases, not showing all the other use cases (that are often regional or just not relevant to the type if user - like business traveler use cases).

Uber builds and experiments with custom features all the time. An experimental screen built for London, UK would be part of the app. Multiply this by the 40-50 product teams building various features and experiments outside the core flows you are talking about (which core flows are slightly different per region as well).

I worked on payments, and this is what screens and components are in the Uber app:

- Credit cards (yes, this is only a a few screens)

- Apple Pay / Google Pay on respective platforms

- PayPal (SDK)

- Venmo (SDK)

- PayTM (15+ screens)

- Special screens for India credit cards and 2FA, EU credit cards and SCA, Brazil combo cards and custom logic

- Cash (several touch points)

- AMEX rewards and other credit card rewards (several screens)

- Uber credits & top-ups (several screens)

- UPI SDK (India)

- We used to have Campus Cards (10 screens), Airtel Money (5), Alipay (a few more), Google Wallet (a few) and I other payment methods I forget about. All with native screens. Still with me? This was just payments. The part where most people assume “oh, it’s just a credit card screen”. Or people in India assume “oh it’s just UPI and PayTM”. Or people in Mexico “oh, it’s just cash”. And so on.

Then you have other features that have their own business logic and similar depths behind the scenes when you need to make them work for 60 countries: - Airport pickup (lots of specific rules per region)

- Scheduled rides

- Commmuter card functionality

- Product types (there are SO many of these with special UI, from disabled vehicles, vans, mass transport in a few regions etc)

- Uber for Business (LOTS of touchpoints)

- On-trip experience business logic

- Pickup special cases

- Safety toolkit (have you seen it? Very neat features!)

- Receipts

- Custom fraud features for certain regions

- Customer support flows

- Regional business logic: growth features for the like of India, Brazil and other regions.

- Uber Eats touchpoints

- Uber Family

- Jump / Lime integrations (you can get bikes / scooters through the app)

- Transit functionality (seen it?)

- A bunch of others I won’t know about.

Much of the app “bloat” has to do with how business logic and screens need to be bundled in the binary, even if they are for another region. E.g. the UPI and PayTM SDKs were part of the app, despite only being used for India. Uber Transit was in a city or two when it launched, but it also shipped worldwide.

And then you have the binary size bloat with Swift that OP takes about.

225.

Engineering Challenges Due to the Nature of Native Mobile Applications(blog.pragmaticengineer.com ↗)

1 points · by gregdoesit · 5y ago · discuss

comment 5y ago · link · parent

"Even at scale, not all financial technology companies manage their own ledger. Many don’t."

This was surprising for me to hear. Yes, it's a lot of work to build and manage your own ledger, but I'd think it's a core capability at FinTech?

When I worked at Uber, we built/managed our own ledger there. Operating with dozens of PSPs, many of them settling in bulk, on a less frequent basis, I'm not sure it would have been feasible not do so so.

227.

I cannot convince Twitter that I am human(swyx.io ↗)

16 points · by gregdoesit · 5y ago · 5 comments

comment 6y ago · link · parent

This is a nice summary, and shows the benefit of working with a publisher, when you are writing a book that is similar to ones they have published already. You get a lot of support, and will definitely benefit distribution-wise later as well. Congratulations to the author - especially on publishing relatively quickly, in 10 months from the idea! And it's very nice to read that all royalties are going to Girls Who Code.

I've worked with O'Reilly and a few other publishers on a proposal that was slightly different to what they usually publish. I went through the same submission process, working with an acquisitions editor, similar to how it happened in this case. In my case, O'Reilly rejected the proposal after a month and half. The feedback in my case was that the book competes with another project, which project got priority. Sure enough, I took the proposal without any changes to another publisher, worked with the acquisitions editor there, had the proposal accepted and we went ahead with the writing process with a development editor.

In the end, working with the other publisher did not work out for me. They did not publish the type of book I was writing, and the feedback from the editors kept nudging me to "shape" the book into the type of book this publisher knew would sell, and would sell well. Unfortunately, it didn't feel like the type of book I was excited to write.

A year and some time later, I'm still writing the book -The Software Engineer's Guidebook[1] - and if all goes according to plan, I'll publish it early next year.

What I've learned with working with a book publisher, is just how involved the process is. Now, instead of taking a $5,000 royalty upon completion of the manuscript, I'm budgeting to spend around $5,000 out of pocket on development/copy editing, cover design and production editing. The things that the publisher would have otherwise paid for. It's a bit simpler to hire professionals these days for these areas thanks to sites like Reedsy[2], which I do recommend for fellow authors self-publishing in finding support on various publishing tasks.

[1] https://www.engguidebook.com/

[2] https://reedsy.com/

229.

Systems Design Interview: An Insiders Guide Book Review(blog.pragmaticengineer.com ↗)

3 points · by gregdoesit · 6y ago · discuss

comment 6y ago · link · parent

Okay, so I hunted this bug down and it was in my code, an interesting one. Sharing it here for amusement.

The endpoint returning the string of "Looks like you're based in Netherlands" is a nodej.js script that has this defined in the top:

    const MESSAGE = "Hey  - it looks like you're based in $countryName."
Sometime later in the code, in a function I manipulate this string in the module's export function:

    module.exports.getDiscountData = function(countryCode, countyName, etc) {

    // Fetch the right message

    let message = counryValues[countryCode]; // We get MESSAGE

    message = MESSAGE.replace("$countryName", countryName) // oops - we overwrote MESSAGE with a new value!

    message = MESSAGE.replace("$otherVariable", etc)

    return message; 
}

And for each country, I have keys /values listed, like: "GB": MESSAGE, "NL": MESSAGE, "HU": MESSAGE_2

The problem was that once the first request replaced the country name, MESSAGE was mutated, and it now had the value "Hey - it looks like you're based in Netherlands." instead of "Hey - it looks like you're based in $countryName."

I had no idea this would happen. And that a "const" in Javascript is a mutable thing. I fixed it by deep copying the string of the original message.

The super interesting part is that I did not notice this problem, as when I was testing, I did low frequency testing. As I am using Lambda, I probably got a new container created, where MESSAGE was re-initialized. But with the HN traffic, the containers stayed alive longer, making this mutated string issue a problem.

comment 6y ago · link · parent

Most companies use an ATS to organize inbound applications and ask job seekers to upload their resume. Here, recruiters/hiring managers later view this resume.

You need a PDF or Word doc here (PDF preferred). When applying for larger tech companies, this is the use case 90% of the time.

As a hiring manager, I want to see details quickly. The less "fanciness", the better. I can scan traditional resumes much easier than this one. So my view is the same as when choosing a fancy template: you make the job of the hiring manager more difficult, thus lowering your chances.

With software developers, boring and simple format is good. Your resume content should sell you, not the presentation.

comment 6y ago · link · parent

Sorry about that, I didn't do it on purpose! I use the service https://ipstack.com to look up IPs and use their data to display discounts based on location. I pay for this, so I was hoping it's better quality than it is.

comment 6y ago · link · parent

I do, but it seems to be hidden more down on the page[1], if you missed it. I've added a link to it on the top, with the text "Read book success stories & reviews" to make it easier to find. Thank you for the suggestion!

[1] https://thetechresume.com/#reviews-section

comment 6y ago · link · parent

Szívesen :)

comment 6y ago · link · parent

As I've not hired other people than developers or engineering managers, I would hesitate to recommend it. It might be helpful, but that would be more accidental than deliberate.

The hiring pipeline setup is probably similar for other tech roles, but I cannot vouch for anything else. I've had a technical program manager and a tech writer tell me it helped them somewhat. Two product managers read the beta, but when I reached out to ask if they found it helpful, I never heard back: so I assume it was not that useful for them.

What I would assume applies to other tech roles as well is this: - Try to get a referral, where you can. This will 10x your chances of progressing from the resume screen. - Use a clear format that hiring managers can scan easily. - Aim to tell a story with your resume. This is your sales pitch. - Be specific and use numbers, where you can. Talk about the impact you made and the business results you enabled. - Tailor your resume to the job description if you cold apply, over sending the same one, over and over again.

comment 6y ago · link · parent

Thanks for the feedback and suggestion!

For the contrast: you have a good point. I'm seeing if I can do something, but I am seeing a good variety of sales across packages. I might just leave it for today, come back to it later.

For pricing: I'm aiming to optimize for reach over revenue for this one. I'd like to keep the book affordable, and give people a good deal. But by people paying, I'm hoping to target those who will actually read it, over just download numbers. I especially would not want to overcharge as resume advice is... a subjective field, and no one can guarantee results (maybe some gurus say they can, but I don't want to be that guru).

Originally, the whole book was supposed to be two pages in the next book I'm (still) writing on growing as a software engineer, in the job search section [1]. I just hope the other parts won't expand as much as this one has :)

[1] https://blog.pragmaticengineer.com/book/

1
789
17