2,911 karma · joined Oct 19, 2016 (10y ago) · 544 submissions
comment 6y ago · link · parent
Part of this is because a smartphone is a "primary computing device" in those countries, whereas Americans tended to have tablets, laptops and TVs as well.
comment 6y ago · link · parent
If the best place is anywhere in the middle of those two extremes (e.g. to have 5x the capacity), it won't be possible to achieve while everything is based on individual private ownership. We'd have to share, and build the slack capacity into the shared pool of vehicles.
comment 6y ago · link · parent
Have you taken a look at The World Hum Map (linked from the article)? There are a lot of data points that are deep inland, way more 30 kms. For example there points in the Australian outback, and all through the "flyover states" in the US.
comment 6y ago · link · parent
comment 6y ago · link · parent
One con is that most open source (as well as publicly available but proprietary) tooling is geared towards the non-monorepo approach. So if you want to use a monorepo, you're going to have to fight a bit of an uphill battle because most tools and processes assume you have lots of little repos. For example, build triggers in a lot of CI/CD tools operate on a per-repo basis.
There are some random benefits - it's easier to make everything public-by-default, which encourages people to look at source code written by other teams, and creates a culture of transparency and internal openness.
But the big thing in my opinion isn't directly the monorepo itself, but what's known inside Google as the "One Version Rule"[1]. Basically this means that only a single version of any package should be in the repo at a time. There are exceptions, but that requires going to extra effort to exempt your package from this rule.
I guess Chrome and Android are examples of this - they are made up of lots of little Git repos that are stitched together, but they generally follow the One Version Rule. On the other hand, if you just stick a lot of npm modules in there and every single one has a separate package.json file, then it's technically a "monorepo" but it's not following the One Version Rule.
You also need good test coverage. Not just in terms of line coverage or some other artificial metric, but to the point where you could say "I feel reasonably comfortable that a random change will be caught by my tests". This lets people in other teams catch regressions without having to have a detailed understanding of your team's codebase.
So once you've got these three things - 1) a monorepo 2) with everyone following the One Version Rule and 3) lots of tests - it means that dependency owners can update all of their consumers at once without much effort. They just make a change to their base library, and the build system will walk the dependency tree and figure out all the consumers that could possibly break, and runs all the appropriate regression tests.
This is the inverse of how it normally works at large companies, where each team pulls in their dependencies and pins them to a specific version. At most companies, updates require extra effort, so the default is to let everything go stale. This is especially problematic when security vulnerabilities are released (e.g. to an ancient version of jQuery) but teams can't update until they migrate off of an old API. It also means that library owners regularly have to maintain multiple old branches for months or even years after the initial release, because everyone's too afraid to update.
I personally think it's a myth that you need to be "Google scale" to benefit from a monorepo. In my opinion, you only need a few tens of repos before all the different combinations of semvers get unweildy. For me, going from Google's monorepo to a company that is built around lots of little repos in GitHub Enterprise felt like going back to the CVS/RCS days, where every single file had a separate revision number and changes weren't made atomically.
comment 6y ago · link · parent
I would've assumed this was a hardware issue - what else do we have set up differently?
comment 6y ago · link · parent
comment 6y ago · link · parent
I'm not sure how a regular consumer is supposed to understand this. In the past, it wasn't possible to plug a VGA cable into a PS/2 port. Now, you just have to know these hidden properties of each cable.
comment 6y ago · link · parent
The vast, vast majority of high school graduates aren't going to be professional athletes. But everyone (I hope) understands that we don't have PE in schools just so that schools can supply professional sports leagues with athletes. We have it because it helps people live better lives, even if it doesn't prepare them for a job.
comment 6y ago · link · parent
1. How do you even call a Java library from Go?
2. Graphviz generates diagrams, whereas according to the ELK page:
> Note that ELK itself doesn't render the drawing but only computes positions (and possibly dimensions) for the diagram elements.
It also wasn’t really clear to me from glancing at the page, what this does better than graphviz.
comment 6y ago · link · parent
I hear people justify not negotiating by saying things like “I’m worried what they’ll think of me” or “I don’t want to create trouble”. This is what people think I care about, but don’t.
And as others have said, absolutely this is different for small companies where they’ll feel it more personally.
comment 6y ago · link · parent
I've been saying this to people for years, and I'm glad to hear someone else say it. As a hiring manager, I'm not paying your salary out of my own pocket, so I don't give a shit if you want (and get) an extra $10k. My job is to fill the headcount that I've got, so as long as it fits within budget, whatever.
I don't think anything less, or more, of people who ask for extra - I usually forget by the time the person starts the job. It's not my money. I don't care.
And neither does "the company" - a corporation is an abstract legal entity that is incapable of human emotions. It's not going to get mad at you because it thinks you're greedy. Don't anthropomorphize it.
At least at my company (and from what I understand, most companies) it's a lot easier to get a pay bump when you're negotiating the offer, than it is to get a raise/promotion. When you're getting a job offer, you're a one-off special case and there are a lot of unknowns. When it's performance review season, everyone is potentially getting a salary increase, so there are tighter budgets to stick to. My advice is to get what you can up front, and worry a bit less during the annual cycle.
comment 6y ago · link · parent
When I write Python, I'm paranoid that someone will pass a string instead of an int to my function. Or that when I for-loop over my tuple of strings, I'll accidentally iterate over the characters in the (single) string of my (1-)tuple, instead of the many strings in a n-tuple (with n>1). So I write unit tests to cover these specific cases.
When I'm writing Java or Go, I write all the other tests, but not those ones. Because the type checker would catch those problems for me.
comment 6y ago · link · parent
The image is here: https://rubenerd.com/rubi@1x.jpg
comment 6y ago · link · parent
> every ad-driven revenue model is at odds with privacy
I agree with this statement (assuming you're talking about personally targeted ads). Believe it or not though, there are ways to be evil that don't require invading people's privacy, and there are a lot of companies out there that engage in this sort of bad behavior.
I'm not saying that Google is perfectly ethical. I'm just saying that the other companies I've worked at have been worse, and that the heuristic of "avoid ad-based business models" won't necessarily steer you in the direction of an ethical career.
comment 6y ago · link · parent
But for two companies of an equal size, I don't think a company with an ad-driven revenue model is necessarily going to be less ethical. The sales and marketing people I've worked with at other companies were far, far worse than people at Google, and their evil was only limited by the scaling limits of their sales tactics.
comment 6y ago · link · parent
I consider myself lucky in that I'm reasonably marketable on the job market - I'm ok at interviewing and I've worked at a few FAANGs (including Amazon). But I recently got turned down for a job because I "don't have enough AWS experience".
It feels like the only way to change a career is 1) get a job doing exactly what you were doing before (e.g. React dev), 2) at that job, do something tangential for a while (e.g. UX design) and then 3) with that experience, go and find a new job in the new field.
How does someone go from working in elderly care, to a fish factory, to a design agency, etc.?
comment 6y ago · link · parent
comment 6y ago · link · parent
If emissions are attributed the country where they are physically made, then it incentivizes rich countries to offshore all their manufacturing to poor countries - which is exactly what's happened here in the case of Britain.
If the choice is between poverty and low emissions, of course developing nations are going to have lax regulations.
comment 6y ago · link · parent
This takes us back to the point of the top-level comment, but I think it's also unfair to penalize countries with large factories, when much of the manufacturing output is being shipped to other destinations.
Carbon should be attributed back to the consumers that paid for it to be emitted, not the place where it was emitted. This is what a carbon tax would achieve, as companies would pass the tax on to consumers, who ultimately drive all this manufacturing activity.
The Brits don't get a free pass just because they paid people in poorer countries to emit carbon for them.
comment 6y ago · link · parent
I lease my home. Even though I don’t own it, I still have an expectation of privacy! The law protects me from having my landlord just decide to walk in whenever they want, for example.
Privacy is something everyone should have, even on leased devices. People have things like private conversations and banking credentials on their phones.
comment 6y ago · link · parent
> 03:46:49 -crier- THE BILLENNIUM HAS ARRIVED!!!!! Uh, you might want to play auldlangsyne.wav. YAAAAAAAAAAAAAAAYYYYYY!
more at https://pastebin.com/71H7eR8r
For some reason the billennium arrives at 3:46:49, which doesn't make sense - I wasn't in UTC+2, and anyway this should've been at 01:46:40am UTC (40 seconds past the minute, not 49 seconds). Most likely reason is simply that my local machine's clock was wrong.
comment 6y ago · link · parent
Also, firing people isn't something I really enjoy, so even just for selfish reasons I'd rather avoid it. If it's preventable, I'd rather just get it done property at the start, rather than take these risks later.
And if it got to it, HR would make my life difficult.
comment 6y ago · link · parent
As someone who's done a lot of interviews, my rule is that letting someone go during their probationary period is an absolute last resort. It'll never be used as an excuse to take risks during the interview stage - except in extreme situations, everything should be decided up front.
This is purely for the benefit of the candidate. Many people quit their old jobs only after they've received an offer for a new one. Some even have to uproot their lives (and that of their families) and relocate. Firing someone during their probationary period for a preventable reason seems negligent. I'd rather put them under a bit more stress up front during the interview.