HNHacker News
TopNewBestAskShowJobs

jkingsbery

2,170 karma · joined January 19, 2010

submissionscomments
jkingsbery··on Worker pay isn’t keeping up with inflation
As Russ Roberts details in https://www.youtube.com/playlist?list=PLRZf05zFBLXIKLD3blbnn... things are more complicated. A lot of the analysis about things being flat since 1970 makes assumptions about things being the same which aren't true.
jkingsbery··on Pelosi defends stock trading by lawmakers. ‘We are a free-market economy’
We are a free-market economy. But the free market assumptions are not just allowing for voluntary trades, but also require information symmetry. When one person (or group) has more information, we no longer have a free market.
jkingsbery··on Ask HN: I've lost faith in myself as a developer, how do I get it back?
I highly recommend Kent Beck's keynote talk from RailsConf 2015: https://www.youtube.com/watch?v=aApmOZwdPqA (or if you prefer, a more recent blog post with a similar message): https://medium.com/@kentbeck_7670/accountability-in-software.... Software development is hard, and it's easy to do things the wrong way. The thing to do is figure out how to do things that give you confidence you're doing things the right way.

In some ways, it can look bad for someone in leadership, like a CTO, to get called out for not doing things the right way. At the same time though, if you and the leadership in your company have hired the right engineers working with you, even if you are the CTO hopefully people working with you know more about specific areas than you do, and as CTO you can help make sure that things fit together. So what if you get feedback on how to do things better? You as CTO have a chance to set an example to others on the team for how to receive feedback constructively.

jkingsbery··on Ask HN: How do you manage direct updates to databases in a production system
> The common way I know is the access is given to a small number of trusted people who make the updates.

I think this was a common way of doing it 10+ years ago, but what I've seen work the best is to have your CI/CD process apply the updates. Assuming the migration scripts follow the same process as all your other code (code reviewed, tested, and are runnable), automatically applying these scripts is much less error prone than having a person apply them. Humans are pretty terrible at following a script, which is one of the things computers are great at.

Some objections I've seen to relying on automatic deployments:

- "But we should have a person run them to make sure they do they right thing!" Agreed, you should, but that should happen at test time, or maybe code review time, not right before you are about to apply something into production the Shift Left [1] principle applies to database changes as well as code changes

- "What if something goes wrong?" Well, what if something goes wrong with any of your deployments? Usually, you can roll back (either literally rolling back, or rolling forward, or rolling in some other direction that leaves your system in an ok state), look at the logs to see what went wrong, and try again.

- "But data can get messed up!" Data can get messed up by code changes. You should have a backup/disaster recovery process.

[1] https://en.wikipedia.org/wiki/Shift-left_testing

jkingsbery··on Three Steps to the Future
I think this metaverse/VR emphasis is a passing fad. We've been talking about VR for decades. Engineers focus on technology, so focus on how the technology for VR keeps getting better. But outside of very specific domains, no one wants VR.
jkingsbery··on Ask HN: Why is everything changing too fast?
I suppose I'm not young any more, but I'm not all that old (late 30's). I tend to agree with you. Whether one likes or dislikes the changes, it makes investing in writing documentation (or recording training videos, which is even more expensive) impractical. This in turn makes the half-life of knowledge investments on the part of users shorter (independent of the age of the learner). I don't think it's just you.

Well-defined UIs can help by making discoverability of features simpler, but more often than not, but I'm not convinced the industry understands the difference between "the UI is easy to navigate and discover" and "the UI has soft colors and rounded corners on everything."

jkingsbery··on How to make a CPU – a simple picture-based explanation
The knife was a great touch! It did look like he was lining it up carefully...

Also, it took me two passes through to notice the tooth brush in step 16.

jkingsbery··on What caused all the supply chain bottlenecks?
For an alternate take, see https://www.nationalreview.com/2021/10/the-real-culprit-in-o... ...

These posts raise some interesting points I hadn't thought about (I don't see any problem with Next-in accounting). But it seems that lack of inventory isn't the only problem, throughput at ports is also an issue, and the ports themselves are limited at what changes they can make to fix these issues, partly due to profits (no one will want to operate a huge port that's profitable 5% of the time), but also partly due to limits put on ports and shipping by the government.

jkingsbery··on Epistemic Minor Leagues
I often here the analogy to sports when it comes to expertise. And if it often applies, but not always.

Epistemology is simply the study of "the nature, origin, and scope of knowledge, epistemic justification, the rationality of belief, and various related issues." [1] We all do epistemology, all the time, whether we choose to think about it or not. In sports, we have minor leagues, where the stakes are lower. As the political climate (and the unfortunate affect of things like QAnon) demonstrates, the stakes aren't always lower just because epistemology is done poorly.

Something similar can be said of rhetoric. I applaud this article for not falling a trap we have also seen too often recently, the Appeal to Authority [2]. The author judges someone else's argument solely on the merits, rather than that person's background. To steal the original authors metaphor: Babe Ruth still had to go up to the plate and take a swing. Babe Ruth was an expert baseball player because he hit a lot of home runs. It would bizarre if the opposite were true - that is, if Babe Ruth was given a lot of home runs because he was an expert. And yet, we have experts that try to dismiss plausible (perhaps likely, perhaps unlikely, but nevertheless plausible) scenarios without any explanation as to why they choose to do that. [3][4] And it is incumbent of all of us in a free society to be able to read something presented to us and realize, though we may not be experts, even if the conclusion is right, the argument along the way isn't.

> My point is we're all engaged in this kind of desperate project of trying to feel like we're having new important insights, in a world full of people who are much smarter than we are... Partly this is all for the greater good... I would argue "intellectual exercise" is a better term.

I've come to the conclusion that even if it's not read by many people, public professions are still valuable. As an American who is generally more "conservative" but also finds Trump abhorrent, I wish I had written more random internet posts in the summer of 2015 about how, even from a traditional conservative perspective, Trump is terrible, for the World, for the US, and for Conservatism. Perhaps it would have changed a few people's minds. Maybe it wouldn't have changed anyone's minds, but planted a seed of doubt in people's blind faith for that man. I'm a complete amateur when it comes to all the relevant subjects. Yet, it still seems like it would have been a good thing to do.

1. https://en.wikipedia.org/wiki/Epistemology 2. https://en.wikipedia.org/wiki/Argument_from_authority 3. https://apnews.com/article/who-report-animals-source-covid-1... 4. https://apnews.com/article/joe-biden-world-news-health-scien...

jkingsbery··on Zuckerberg Announces Fantasy World Where Facebook Is Not a Horrible Company
On the plus side, we got a hilarious headline out of the project.
jkingsbery··on Amazon will allow many employees to work remotely indefinitely
I am currently a software engineer at Amazon. I obviously can't speak to other people's experiences at Amazon. And having never worked at any other big tech company, I'm not in a place to compare to them. But my own experiences at Amazon have been pretty good. I've been quite happy with my compensation and work life balance, which all have improved since my previous roles mostly at start-ups. There have been some stressful crunch times (Q4 tends to be stressful, between Thanksgiving-Christmas peak on the Retail side and Re:invent on the AWS side), but not more stressful from other big milestones at previous companies.

I have been lucky, in that I had worked with my first team's director at a previous company and so I knew he was a good boss, and I had known the manager for my second team prior to joining. It's important as part of the interview process (at Amazon, or anywhere else) to treat the interview as a two-way process, as you're vetting the company, the team, and your boss as much as they're vetting you, and if you don't get all your questions answered as part of the interview (interviewers are supposed to save time for you to ask questions!), feel free to relay them to your recruiter.

jkingsbery··on You Are Jeff Bezos
> End homelessness in the United States (-$20 billion)

The problem with this way of thinking is: we've already spent this amount of money on ending homelessness. California plans on spending $4.8 billion next year [1]. HUD has a budget of around $2.7 billion [2]. In 2019, the City of New York spent $3.2 billion [3]. I haven't bothered to do a full accounting of how much we've spent on homelessness over the past 5 years, but from those three data points it seems safe to extrapolate we've spent over $20 billion. This is also in the context of the larger War on Poverty, which has spent an estimated $15 trillion since the program started in the 1960's [4]. It seems that simply throwing money at problems is insufficient.

> "The options are stark reminders of public good we forsake in refusing to redistribute wealth." - Newsweek

One could just as easily make a game that did something similar with the US government's budget. The overall budget is something like $4 Trillion. Just the annual interest payments are on the order of $250 Billion. If we had a more fiscally responsible approach to budgeting and therefore didn't have to make interest payments, according to that game we could "repair Puerto Rico," "hire 100,000 new teachers," and "end homeless in the United States." We already redistribute wealth on a grand scale.

It's also not like the wealth of billionaires is just in a Scrooge McDuck-style money vault that they swim in all day, nor are they like Smaug, holed up in a cave sitting on vast amounts of gold and precious stones. The wealth is invested in various things, which in turn serve the public good.

1. https://www.latimes.com/california/story/2021-07-16/californ... 2. https://endhomelessness.org/ending-homelessness/policy/feder... 3. https://datalab.usaspending.gov/homelessness-analysis/ 4. https://en.wikipedia.org/wiki/War_on_poverty

jkingsbery··on How big tech runs tech projects and the curious absence of Scrum
As someone who currently works at a Big Tech company, but spent most of his career prior to that at smaller companies, I found this article very confusing.

First of all, I work at Amazon (and posting this under our social media policy, this is just my experience, and I don't speak for the company), and Scrum is pervasive at Amazon. The article is right that many big projects start with a 6 pager, but once teams start executing, many teams run some form of Scrum (Kanban is also popular).

The second thing I found strange in this article was the idea of Scrum being heavy-weight. Early in my career I worked at a small company where our process guru was a big fan of the Unified Process. The point of Scrum is that it is lightweight (without being zero process). There really isn't a lot to it. You sync with your teammates daily, to make sure you're all focused on the most important thing today. You check in every 1-4 weeks by (a) demoing your software to figure out where you are, (b) you do a retrospective to look at what can be done better, (c) you figure out what is the most important thing to be doing the next N weeks. The teams that I've been on that have tried to not do these things either in actuality, did these things, but did them subconsciously, and therefore unintentionally. When I hear people say "Oh, I don't like Scrum because my old team did Scrum and I didn't like how we..." what follows is almost inevitably something that if you asked a professional scrum coach "Should we do that?" the answer would be no.

> Competent, autonomous people need less structure to produce reliable, high-quality output. Big Tech is able to attract, afford and hire these people.

I don't like this way of thinking. Start-ups have lots of competent, autonomous people. Big Tech companies have lots of people early in their careers that are still learning to be autonomous. In fact, when I was at start-ups I often heard the opposite (and equally untrue) claim: that start-ups required people with more autonomy, because the product is new and the team is involved in discovering the product, whereas in larger companies the products are more defined, so people needed less autonomy.

I appreciate the author surveying people and trying to make sense of the results, but in this case I think he just over-simplified a much more complex reality in a way that isn't particularly helpful.

jkingsbery··on When McDonalds Came to Denmark
Thanks for finding this! If the original article was better written, it would include something like this. I had a similar reaction from reading the article. I get now why McDonalds would need to pay $22/hour. Genuine question: How are McDonalds in Denmark profitable?
jkingsbery··on Busting the 10x software engineer myth
> One of the most interesting recent studies comes to a very different conclusion. In a controlled environment, the variation between most software engineers is much more modest.

This is a silly comparison. The engineers I've worked with in my career that stand out don't stand out because they can write for-loops faster than others or public-class-Foo-public-static-void-main-string-args-System.out.println-hello faster than others. They are much more productive because they are better at ensuring they understand the problems they're trying to solve, and solving the problem with the least amount of superfluous work.

> No one talked about the fact that this particular developer had been developing the same system for the past 15 years, the first five almost alone. He relished being “the best." Wrote hard-to-understand procedural code to 5000-line files. Did not actively share knowledge with his peers. Over the years, some capable developers had joined the company. Most of them decided to move on. The ones left were happy to coast along and leave all the heroics to the “10x engineer.” As a result, the company had great difficulties in trying to scale its development efforts.

This example seems like a counter-example to me. It's important to separate out one's (potentially flawed) judgement vs the actual value an engineer brings. This engineer made everyone else less productive. Simply calling someone a "10x engineer" does not make it so.

> The best strategy for most companies is not a relentless focus on trying to hire “the best” in hopes of finding 10x unicorn engineers.

The rest of the article is a distraction from this generally good piece of advice. For many things, finding a competent programmer familiar with your tools and stack who can write the CRUD operations you need should be acceptable. A lot of software engineering interviewing distracts from this, with gotcha trivia questions about whether one can recite from memory algorithms from a text book that are not relevant to the work.

jkingsbery··on Ship / Show / Ask: A modern branching strategy
> The reason you’re reliant on a lot of “Asking” might be that you have trust issue. “All changes must be approved” or “Every pull request needs 2 reviewers” are common policies, but they show a lack of trust in the development team.

In my current company, teams are left to come up with their own policy, but most teams I know of have the "every commit needs 2 reviewers" policy (the ones that don't have a "1 reviewer policy"). I am a Principal Engineer at a big-tech company, and when I want to commit code, I must get it reviewed by 2 engineers, same as an engineer who graduated in May. It's not because my team doesn't trust me (I think...), but rather I earn my team's trust by showing that my seniority doesn't put me above the rules. My seniority also doesn't put me above getting better either.

Prior to my current company, most places I've worked generally had all code reviews optional. It was usually the better engineers that were more likely to ask for a review.

> The reason you’re reliant on a lot of “Asking” might be that you have trust issue.

I'd flip this on the head - the reason many teams are reliant on skipping code reviews is that they have a problem doing code reviews. As engineers, reviewing each other's work is part of our job. We should be prioritizing it as such. On the team's that I've been on that prioritize doing code reviews, waiting for a review has hardly ever been a problem.

jkingsbery··on How did American “wokeness” jump from elite schools to everyday life?
https://en.wikipedia.org/wiki/No_true_Scotsman
jkingsbery··on The World After Capital (2018)
I read the first few sections, and I'm not a fan. In the author's defense however, he defines capital to mean only physical capital. It doesn't make sense why he'd pick that definition, but there it is.
jkingsbery··on Enterprise Software Projects Killed the Software Developer
I had the same reaction. I've spent most of my career working on non-consumer-facing software (either internal enterprise, or external to enterprises or small-medium businesses). At all the places I've worked, the team that built software was the one that would go on to operate it - there was no hand-off. Then again, I've never worked in consulting, nor worked on teams that used consultants to deliver code. Many of the points the article raised are good ones, it's a shame that the title is so misleading (or at least, reflects a narrow experience).
jkingsbery··on SWE interviews should be paid
It's an interesting idea, but there are lots of problems this article doesn't address.

At most of the companies I've worked for, there is a bunch of up front ramp up before someone can complete even a simple task. You have to become familiar with a team's frameworks, the business context, and the structure of the code base. To do one real task then requires all that ramp up first (or else, you'd need to simplify it so it's not a real task).

How big a task? If you are interviewing new college grads, it might not matter, but people who already have industry experience either have to use a large chunk of vacation time or leave their current job if the task is non-trivial (taking, say, a sprint or two to do).

How much do you pay? Do you have a fixed bounty? Do you pay senior engineers more?

I get how you want to see someone do this for real, but I've already built something like this 20 times. If a company trying to recruit me asked me to build this, I could spend a few hours building it again, or I could just tell you about the times I did something like that (and the challenges I ran into), which would take 30 minutes.

jkingsbery··on The Top Shelf Principle (2019)
> Say you have before you a kitchen cabinet with three shelves. On the top shelf you have your most delicious snacks and delicacies. Chocolate chip cookies, crispy cheetos, and frozen pistachio gelato...

> The only problem is, I'm all out of chores.

The author could try cleaning up the melted gelato that's all over the pretzels on the middle shelf and the almonds on the lower shelf. Who puts gelato in a cabinet?

A little more seriously though, I find it hard to relate to an author who puts working and playing video games on the same shelf, and who also puts chores and interacting with people on the same shelf. As far as I can tell, the ranking of things into "shelves" mostly has to do with how digital they are (assuming "work" here is done on a computer). Is that a common sentiment? For me, even as a relatively introverted person, I would rather be outside, spending time with family, or reading a book then working (even as much as I do enjoy my relatively cushy work as a software engineer).

jkingsbery··on What makes an interview podcast good or great?
Russ Roberts is a terrific interviewer. He is excellent at understanding perspectives other than his own and asking questions from that perspective. When he is interjecting with his own bias, he's also very good at acknowledging his bias. The handful of times I've heard him interview someone about a book they wrote and I've gone on to read the book, I feel like I've gotten most of the main point already from listening to the EconTalk interview.
jkingsbery··on Maker's Schedule, Manager's Schedule (2009)
For any meeting I schedule, in addition to having sent the agenda over email, I always kick off the meeting with "Here's what I want to get out of our time together: <spiel goes here>..." and then some variation of "Does that seem like the right set of things to talk about?"

The last 2 VPs I've been under have had similar takes on meeting attendance: don't feel obliged to continue in a meeting if it's not providing value to you and you aren't providing value to it. This is, admittedly, way easier in COVID, where you can just drop off without much notice. But there's a polite way to do this in person (send an IM message to the meeting organizer politely saying you have other commitment/need to work on a near term delivery, and excuse yourself from the room).

Depending on the situation, I've found your-mileage-may-vary with trying no meeting days. Currently, as a principal engineer at a big tech company, it pretty much doesn't work. At smaller companies (or in smaller teams) I've found it works better.

jkingsbery··on Please Bring Back Our Downvotes: Society Desperately Needs It
I think it's worth distinguishing between "I disagree with this comment" and "This comment is not well written: it is superficial, makes extraordinary claims without backup, or is illogical." My one problem with downvotes is it's hard to know which is meant.
jkingsbery··on Software Dark Ages
Overall, I liked this article, but a bit of a tangent: most historians today reject the term "Dark Ages" when referring to the entirety of the time between the fall of the Roman Empire in the west and the Renaissance (https://en.wikipedia.org/wiki/Dark_Ages_(historiography)).

Also, the claim "In the historical Dark Ages, religion put down science" is simplistic. If by "Dark Ages," the author means the time between the fall of Rome in the west and the Carolingian Renaissance in 800, there was no institution maintaining science, but there happened to be institutions maintaining religion. During this time, what scientific knowledge that was preserved in the west was preserved by monks copying manuscripts. If the author means to refer to the whole Medieval period, then many of the most famous scientists were clergy, and many scientific institutions grew out of religious institutions, so again the claim is confusing.

It's unfortunate that the author chose to distract from a good point by using a problematic metaphor.

jkingsbery··on Fauci: 'There's no way' the coronavirus was made with U.S. funds. Here's why
Dr. Anthony Fauci has received plenty of vitriol, some of which is at least uncharitable (even wrong-headed). However, this article did a disservice in not addressing the exchange fully either. According to the accounting of another news outlet, Paul cited a specific paper (https://journals.plos.org/plospathogens/article?id=10.1371/j...) that discusses experiments within WIV:

> In this study, we confirmed the use of human ACE2 as receptor of two novel SARSr-CoVs by using chimeric viruses with the WIV1 backbone replaced with the S gene of the newly identified SARSr-CoVs. Rs7327’s S protein varied from that of WIV1 and WIV16 at three aa residues in the receptor-binding motif, including one contact residue (aa 484) with human ACE2. This difference did not seem to affect its entry and replication efficiency in human ACE2-expressing cells. A previous study using the SARS-CoV infectious clone showed that the RsSHC014 S protein could efficiently utilize human ACE2 [33], despite being distinct from SARS-CoV and WIV1 in the RBD (S1 Fig). We examined the infectivity of Rs4231, which shared similar RBD sequence with RsSHC014 but had a distinct NTD sequence, and found the chimeric virus WIV1-Rs4231S also readily replicated in HeLa cells expressing human ACE2 molecule. The novel live SARSr-CoV we isolated in the current study (Rs4874) has an S gene almost identical to that of WIV16. As expected, it is also capable of utilizing human ACE2. These results indicate that diverse variants of SARSr-CoV S protein without deletions in their RBD are able to use human ACE2.

So, I'm not a biologist but I have read biology papers before. The way I read that is that they are doing local changes to binding sites, not simply taking spike proteins and putting them on an experimental backbone.

All the opinions and politics aside: is that the right reading of this passage from the article? Seems like that should be an objective-to-answer question, and for my own education I'd appreciate someone explaining to me.

jkingsbery··on Fauci: 'There's no way' the coronavirus was made with U.S. funds. Here's why
That first link just says that the virus was unlikely to have originated in the Wuhan wet-market, which does not disagree with the lab outbreak hypothesis (whether or not that hypothesis is wrong).

Otherwise, what you've cited disagrees with the WHO timeline, which says pretty definitively that the first COVID-19 cases were in Wuhan (https://www.who.int/emergencies/diseases/novel-coronavirus-2...). Whatever disagreements one might have with the WHO, this timeline seems pretty well documented and supported by cross-referenced citations.

jkingsbery··on Ask HN: for senior positions is it advisable to list side projects on your CV?
I do a fair amount of helping interview senior positions at my current company. At the risk of saying something obvious: when interviewing senior people, the goal is to figure out whether they will do well operating at a senior level. Senior engineers usually bring two things to a team: a broader and deeper technical knowledge, and the ability to help influence and structure larger projects (doing larger scale designs, reviewing designs and code from other engineers, helping mentor more junior engineers, things like that). Side projects can sometimes help inform someone's technical abilities, but it's rare for people to have a side project where they are doing a lot of the "influencing others" part of the job.

But, yeah, if you put in the work, it shouldn't hurt to list your side projects. But also, keep them in perspective: don't bring them up simply because they would be "interesting to discuss." By their nature, side projects don't deal with a lot of challenges of professional projects: there's usually no deadline, there's no disagreements with other engineers, they deal with a smaller scale audience so don't deal with bugs and maintenance.

jkingsbery··on US democracy: The threat in 2024 is 'completely uncharted territory'
> Another is that we have a very strong opposition. The Democratic Party is well organized, it’s well financed. It controls the most economically and culturally powerful regions of the country.

So... the party that holds the presidency and both chambers of Congress is the "opposition?" That's an interesting take on things.

Perhaps he means "opposition to authoritarianism," but the party of "I have a pen and a phone" and "We need to pass the bill to find what's in it" has it's own authoritarian tendencies. I'm NOT a fan of Trump, but the idea that this is a problem only with the Republicans is silly.

So is the idea that the dissolving of "mutual toleration" mentioned in the article is a one way street. There are plenty of interviews like this one https://www.nationalreview.com/2021/07/ive-never-felt-this-s... that express how norms on the left have also changed pretty drastically over the past few years. The government has been in multiple law suits with a group of nuns, called the "Little Sisters of the Poor," all of whom are celibate and most of whom are elderly, trying to force them to buy health insurance that includes birth control. Maybe that group of nuns is misguided, but how does the left demonstrate mutual respect? How do situations like that demonstrate "restraint in using their institutional powers?"

jkingsbery··on Is This Prime?
Great game!

Keyboard short cuts would make it a bit better.

← PreviousPage 5 of 21Next →