Better HN
topnewbestaskshowjobs
Log inSign up

quicklime

2,911 karma · joined Oct 19, 2016 (10y ago) · 544 submissions

Submissions

comment 6y ago · link · parent

From the market research I've seen, Americans were actually reasonably happy with the old phone sizes - the move towards larger phones was driven more by international (particularly Asian) consumers.

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

How much slack capacity is reasonable though? Sure, it's good to have a non-zero amount. But that doesn't mean that the opposite extreme - having 20x the capacity that you actually use - is the right way to go.

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

I imagine that for a car seat installation, parking at 45 degrees across two spaces is the right way to go. Otherwise you'd need three spaces to do the installation...

comment 6y ago · link · parent

> I've heard it as far as 20mi/30km away from a shipping lane in the US

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

Agreed - that's why I said that the big thing is the One Version Rule, not the monorepo itself. If you're not following the One Version Rule, then end-to-end tests have to deal with an explosion in the different combinations of versions of everything. It quickly becomes unmanageable.

comment 6y ago · link · parent

I won't try to be exhaustive here, but I think it's worth mentioning a few things:

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.

[1]: https://opensource.google/docs/thirdparty/oneversion/

comment 6y ago · link · parent

That's strange, I'm running Ubuntu 20.04 on a MacBook Air, and I have no problems moving my cursor in a small circle around the "Y". Probably the only thing I do differently from the default is that I use Wayland instead of Xorg. I don't have any proprietary additional drivers installed.

I would've assumed this was a hardware issue - what else do we have set up differently?

comment 6y ago · link · parent

I'm surprised no one (including the IEEE and NPSE, linked in another comment) has mentioned that software engineers should be responsible for disclosing knowledge of any data breaches (and probably security vulnerabilities) that they know about. This would be at the top of my list.

comment 6y ago · link · parent

Another caveat is that many monitors have USB-C ports, but many (most?) cables do not support video. Even my cable from a luxury brand in Cupertino doesn't support it, so it's not just about sticking to famous brands.

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

Also the Pixelbook Go - whoever named that must’ve been throwing two darts at the same time!

comment 6y ago · link · parent

What's interesting to me is that so many people believe that tertiary education should be nothing more than a jobs program, but they're happy to let students "waste" time in secondary and primary school on useless (for an office job) activities like sports, camping and reading fiction books.

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

Hey that’s cool, I didn’t know about this. But there are a few things that would make this difficult to use:

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

Yeah that’s true. So I should clarify that I do care about my department’s budget, but the sum of money we’re talking about here is like $5-10k, or about 2.5-5% of someone’s loaded cost. I’d much rather secure a good candidate than squabble over that. If they’re asking for an extra $50k, then it’s a different scenario.

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

That’s a good point, and How to do this depends on the exact rules for handing out raises at the company. Where I work it’s better to hire someone at a lower level and promote them later - what I said earlier applies within a single pay grade and not between grades.

comment 6y ago · link · parent

> We’ve been talking about your employer as an abstraction, but in the instant case you’re talking to an actual person. Let’s call him Bob. It is Bob’s job to get you signed with the company as cheaply as possible, but Bob is not super motivated to do so, because Bob is not spending Bob’s money to hire you. Bob is spending Bob’s budget. Bob generally does not get large performance incentives for shaving money off of his hiring budget: you get a new Macbook if you convince Bob to give you $5k extra, but Bob gets (if he is anomalously lucky) a dinner at TGIFridays if he convinces you to take $5k less.

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

> Music awards keep being given to people who clearly didn't deserve them.

This is a new angle to the incident that I haven’t heard before. Are you saying Taylor Swift didn’t deserve the award, and Kanye was justified to speak out?

comment 6y ago · link · parent

I'm not the person you're replying to, but I don't think that's what they're saying.

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

If you're browsing the site on a mobile phone like I was, you probably won't see the image of the mascot on the right-hand-side. Even if you click the "mascot" link, you'll just go to a text description of it.

The image is here: https://rubenerd.com/rubi@1x.jpg

comment 6y ago · link · parent

Probably yes, and to be clear I'm not disputing the author's argument that revenue will come to dominate over culture in the long-term.

comment 6y ago · link · parent

The statement that a company is the "most ethical" is a relative one. It doesn't imply that the company is ethical, or a net good to the world. It simply means that it is relatively better than the others.

> 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

I dunno. In my experience, Google was easily the most ethical company I've worked for on a "per capita" basis. The big thing Google has going against it is the size of its user base. Every little bit of evil multiplied out by billions of users ends up having a large impact.

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

Yep. A better analogy would be if the US had lost the revolutionary war, and was subjected to a century or more of British mercantilism, which they were only now starting to recover from.

comment 6y ago · link · parent

The variety of jobs that the author has had in her career is impressive.

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

I’m sure they could develop a classifier that would catch most (~90%) of political content, and make it opt-in - if people want to see it they can, but it could be hidden by default. This would be my preferred approach, so that I can use it for connecting with people but avoid listening to everyone’s political outrage.

comment 6y ago · link · parent

I disagree that would be fair, and it certainly wouldn't achieve a good result.

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

> And it would be unfair to penalise countries with large ports when much of the cargo they handle is being shipped onward to other destinations.

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

> Phones and most end consumer devices should not be treated as leased devices.

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

Hah nice, I remember doing that too! At the time I thought it was important to keep the irc log, which I've just dug up and thrown up on pastebin. I don't actually remember which network this was (EFNet maybe?)

> 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

I suspect the type of people I'd need to fire during their probationary period are the ones who would be desperate enough to say yes to anything during the pre-offer stage.

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

> Have a probationary period

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.

1
8910
19