HNHacker News
TopNewBestAskShowJobs

mr_tristan

1,282 karma · joined October 3, 2015

Greybeard engineer
submissionscomments
mr_tristan··on Monorepos: Please don’t
Open source software workflows are very common and provide a _lot_ of tooling, e.g., Maven, bundler, npm, etc. Add semantic versioning and you have a lot of tooling that you basically get for free for polyrepo setups. With monorepos, you have to really spend a lot of time tooling, because you basically don't use the OSS tools.

There's a lot of odd arguments in this blog that are very spurious:

"If an organization wishes to create or easily consume OSS, using a polyrepo is required."

What? _Consuming_ OSS is usually not that bad. I've even imported the complete history from external repos, pretty easily. (It does suck with git but I wouldn't use git for a monorepo...) _Contributing_ to OSS is tricky, but the fact you use a polyrepos don't really help you much there either.

"Polyrepo code layout offers clear team/project/abstraction/ownership boundaries and encourages developers to think carefully about contracts."

Clear ownership boundaries has _zero_ to do with polyrepos. In fact, I'd say monorepos can be easier, since you say "everything under this directory is owned by X,Y,Z". There's no search function that's required to figure out where some other team hid their code. So many times, with polyrepos, projects are _hidden_ because they're off in some other grouping unit that you're not a member of. So you don't even know who owns what or where it came from.

In the end, I'd still strongly recommend using polyrepos because you get _a lot_ of tooling for free, and most integration issues are solved with semantic version locking and CD automation. But the arguments here are not really great.

mr_tristan··on K-Cup creator John Sylvan regrets inventing Keurig coffee pod system
Yeah, I'm just pointing out the underlying problem is cultural - if Keurig didn't exist, we'd have something else filling up the trash bin.

Given that 91% of plastic made hasn't been recycled, it does seem like "just make it all compostable, who cares where it goes" is a better approach. (https://news.nationalgeographic.com/2017/07/plastic-produced...)

mr_tristan··on K-Cup creator John Sylvan regrets inventing Keurig coffee pod system
I've learned that Keurig is really trying to get more municipalities to even recycle at all, because so few can accept recyclable resources, even the #5 polypropylene that they make their recyclable cups out of. Compostable cups are not really realistic as well, since so few municipalities offer pickup, there's basically no consumer interest.

It's the sort of thing that made me sit up and realize what a bubble most of the tech world sits in. Composting and recycling is very much a "liberal urban thing" in the US. It seems like the culture is against cutting down on waste in any significant way.

mr_tristan··on Bye Bye Mongo, Hello Postgres
NoSQL like DynamoDB or Cassandra does make for good general purpose data stores, but you have to work within the concepts of NoSQL: typically, use 1 table with careful choices in partition and sort keys.

It's an epic shift in thinking to go from a schema of 50-60 tables to 1. Almost every dev I've worked with is very new to this.

The #1 sign a dev has no business using NoSQL: They chat about how flexible NoSQL is. Yeah, you can add attributes on the fly but I've found Dynamo to require much more careful planning then RDBMSes. Most devs I've met can understand when they need to use an index. But, almost all of them have issues predicting if their changes will lead to unbalanced requests against partitions.

Anyhow, since you can even connect the PostgreSQL WAL easily to a log stream like Kafka or Kinesis, I'm not sure why you'd ever start with a NoSQL DB, unless you just had master NoSQL data wonks.

mr_tristan··on Glitter bomb tricks parcel thieves
Unfortunately, it's becoming a pretty common problem. Here in Portland, the police is understaffed, largely because the hiring process is insane. (It can take a full year to complete the background check - so onboarding new officers is a slow process.) Thus, they prioritize responding to violence or possible major damage - given the high number of homeless addicts on Portland streets, it's unfortunately frequent. Even home break ins wont warrant much investigation time, just a report, unless there is a violent act to go along with it.

So, I have no problem believing Mark when he said police weren't interested. It's definitely par for the course here in Portland. I would imagine that in other areas, it's similar.

We have a lot of homeless people in our area just walking around. I see "package stolen" notifications on Nextdoor pretty much every other day.

mr_tristan··on Stop Learning Frameworks
The issue isn't "learning frameworks", it's don't waste your time learning how to use frameworks only. Learning how different frameworks are implemented, their goals, etc, is pretty valuable.

I would say the same thing about databases. Don't just learn how to use PostgreSQL, or Kafka, or Dynamo. Try to understand how they're implemented.

I've found that sometimes, you do need help. Getting some nice user documentation will get your feet wet. But I've found that the best books tend to be more general topics, like "Designing Data Intensive Applications" for databases. (Note: I haven't found anything like that for frameworks - would be a great topic though.) These tend to cover not only "patterns" but give you a nice survey of the theory - so you can dive further into details yourself.

mr_tristan··on Trying to ‘Save’ the Rural Economy
I don't think states are particularly balanced, either. States tend to put capitals away from population centers, and have the same tendencies to bias toward rural voters:

"Even states that had constitutions requiring equal population districts were ignoring them. Florida, Georgia and New Mexico gave small counties 100 times the voting power of the most populous ones. Decades ago in California, Amador County (population 14,294) had the same representation in the state’s Senate as Los Angeles County (with a population over six million)."

https://www.nytimes.com/2016/11/21/upshot/as-american-as-app...

mr_tristan··on Trying to ‘Save’ the Rural Economy
When the US was founded, about 95% of the population was rural, and notably, Thomas Jefferson was famously pro-rural, and viewed cities as corrupt.

You can just search "thomas jefferson agrarian quotes" and get tons of pro-ag, anti-city statements from him, such as:

“Cultivators of the earth are the most valuable citizens. They are the most vigorous, the most independent, the most virtuous, and they are tied to their country and wedded to its liberty and interests by the most lasting bonds. As long, therefore, as they can find employment in this line, I would not convert them into mariners, artisans, or anything else.” –Thomas Jefferson to John Jay, 1785.

mr_tristan··on Trying to ‘Save’ the Rural Economy
I suspect this is a much bigger deal in the US, since we have rural power bias built into our political system. Thus, the rural voter has a much bigger "say" in how things run.

(Subsequently, if their life continues to get worse, well, I suspect more tendencies towards authoritarianism.)

This is where I sense the tension. At least in the US, the political system seems to want to maintain people in rural areas, but the economic system doesn't. And I'm not sure a politician running on a platform of "we're gonna get you out of dodge" is going to be very popular.

Advocating for moving people out of rural areas seems like political suicide. I can't find anyone pushing for this idea.

mr_tristan··on Etsy’s experiment with immutable documentation
I've noticed the concept of _information architecture_ is being used in technical communication more frequently these days, borrowed from graphic design. Which covers a bit more ground then patterns, including topics like search, labeling, and taxonomy.

Sure, getting everyone to maintain docs with their features is useful. But given enough time, you'll end up with so many "close but not really close" concepts in documents it's very hard to stay on top of without someone putting some organization into play.

mr_tristan··on Facebook removed post by ex-manager who said site 'failed' black people
There is a weird belief, that's particularly American, that if you're not outwardly hateful towards black people, you're not racist. Even the dictionary definition of racism often includes concepts like racial superiority. So I guess a lot of tech folk aren't really that kind of hateful, ignorant racist. But to me, you can be racist if you simply compartmentalize someone else based on their race. It's a conversation that's rarely had, and it's significant.

People can grasp hate, and violence. But they can't really see the effects of simply seeing someone as "other" based on race. And it's everywhere in the US.

It's strange. Americans just don't have deep vocabulary for ethnicity, really. It's all just race.

mr_tristan··on Amazon Quantum Ledger Database
I had a similar thought - this is probably built on Kinesis or Kafka with additional crypto layer
mr_tristan··on “A Horrifically Bad Idea”: Smartphone Voting Is Coming
Oregon's had voting by mail exclusively, and, it _automatically_ registers voters in a number of places, so unless you are fully off the grid, you're pretty much gonna get a ballot. Consequently, Oregon has had consistently higher turnouts in most elections.

Each vote gets the signature reviewed by a person, one at a time. I actually had my ballot put on hold this year because the signature wasn't quite close enough - likely, since I probably just flippantly scribbled something on the package. They quickly mailed out another registration form where I basically re-signed the ballot for additional information.

Ballots can be dropped off into several boxes, that don't even go through the postal service.

Additionally, most counties have phone and email notifications for you to track your vote. That's how I got my notification, 2 days after mailing it in, that my ballot was under review.

mr_tristan··on The impact of the ‘open’ workspace on human collaboration
Enough people talking, such that you can not follow any one conversation, functions like white noise.
mr_tristan··on The impact of the ‘open’ workspace on human collaboration
I wonder if any of these studies of workspaces take sound into consideration. These studies seem visual in nature, where sound tends to be as significant for many of us.

I've worked remotely, from cubes, open offices, and have spent plenty a working hour in cafes. And amazingly, I've noticed I focus best either isolated (at home), or at a cafe, where I'm effectively surrounded by white noise.

Edit: I'm not just interested in "is person talking" or not, but what is the nature of the sound environment.

mr_tristan··on InVision has no physical headquarters and all 700 employees work remotely
This is a little light on details - but it's good to see some more "happy words" on remote success stories. I've been remote for a couple of years and would like to stay that way. Puff pieces like this do help.

What I've noticed:

- When people write things down, communication is improved. - Ad-hoc communication is far easier with tools like Slack.

My current company is about 1000 employees now. Communication is actually better then my last couple of companies, and I think it's mostly because we have fewer "gatekeepers" of information.

mr_tristan··on Silicon Valley's Keystone Problem: A Monoculture of Thought
Kind of funny that the Portlander mentions racial diversity. Portland remains one of the whitest cities in the US. (https://priceonomics.com/how-diverse-is-your-city/) (NOTE: I'm also a Portland-er.)

The bay area actually is one of the _most_ diverse in the country, which does include San Jose: https://www.kqed.org/news/10435390/bay-area-cities-among-mos...

The issue isn't racial _diversity_, it's racial _inequality_: the economic gains made in the Bay Area aren't including everyone across the racial spectrum. (https://www.brookings.edu/research/the-urgency-to-achieve-an...)

(I do agree about the commercial diversity argument though, but that's mostly my own anecdotal experience.)

mr_tristan··on “Free College” programs vary in how they define both “free” and “college”
What concerns me is how the US college system created a market where colleges have been without price controls for a long time. These grant mechanisms seem like another way to just give colleges the ability to crank up fees and drive up prices. Effectively, the "solutions" seem to take the guaranteed loans the students have to pay and making the public pay for it.

Have there been any other systems that have successfully converted out of such a out-of-control market without direct price controls from a central authority?

mr_tristan··on Why Is College in America So Expensive?
But... I can't help but wonder about how many of the graduates from the 75% of schools that take most of their applicants just end up doing something that basically required none of the education they acquired. I'd bet it's far more common then the scenarios you present.

https://www.niche.com/blog/the-most-popular-college-majors/

I'm not sure the 600,000 humanities degrees lead to that kind of hockey puck style career path.

mr_tristan··on Why Is College in America So Expensive?
> Still, the return varies wildly depending on the college one attends. One in four college grads earns no more than the average high-school graduate.

I found this shocking: 25% of _graduates_ are in a significantly worse financial position after college? They're not only getting zero monetary benefit for their degree, they've forgone 4 years of experience. And I'd bet that most of them are adding significant student debt on top of this.

I'd be curious how _that_ number compares internationally.

mr_tristan··on How America lost its love for the stick shift
Related news: Americans spend considerably more time in traffic as well. (Here's a comparsion from 82 - 92 - 02: https://ops.fhwa.dot.gov/congestion_report/executive_summary...)

I'm not sure there's a significant market for cars in the US where traffic isn't a factor or hasn't grown significantly in the last generation.

Given that automatics are much nicer to drive in traffic, I sense that is a huge reason why there's just not much of a market for manuals. Unless the manual was going to be massively cheaper (and it's not), I can't think of a large group of people who would desire manual transmissions.

mr_tristan··on Many who crafted regulations after the 2008 crisis now work for Wall Street
We have a system that lets legislators manufacture a job specialty for themselves. Out of basically nothing but reactions to serious problems of the past.

While it may generally be done in good faith, it still doesn't seem to avoid a tragedy of the commons. We now are building a system so byzantine that nobody wants to operate without a part of their business working to understand public policy.

Complexity seems to beget more complexity. While this sort of thing may have "always been done", I sometimes fear that with more tools like machine learning, AI, etc, we are going to just simply compound the rate of complexity growth. And thus we end up with specializations that were completely manufactured. It just seems wasteful.

mr_tristan··on The fight over the sugar industry's influence on nutrition research
That was the article's implication, which I'm not totally convinced of either.

My sense is that the main problem is still the focus on "positive" research results, and a complete lack of sharing of anything that wasn't successful. "That research doesn't hold up in this case" isn't really a statement anyone seems to publish much.

_Maybe_ that's exacerbated by private funding, though I think it's just generally a cultural problem within the scientific community.

Perhaps a public source of funding would enable the opening up and sharing of "negative" research results, of which I think there is considerably more data for. But, given that universities haven't really done that at all to my knowledge, I'm skeptical of that as well.

The last paragraphs of this article are what struck me as "anti private funding".

mr_tristan··on The fight over the sugar industry's influence on nutrition research
> One thing is clear: the food industry keeps funding research today — with dire consequences.

This article makes it sound like the _majority_ of research funding is coming from industry, very little from government. Maybe this exacerbates focus on needing to "succeed" in research, in order to keep justifying funding from profit motivated sources.

It seems like everyone is so focused on producing "successful" research, that we just try to fit experiments into to a positive light, and toss out data that just didn't really "work". Meanwhile, there's probably a lot of data that just goes unpublished and never shared, and thus, we remain largely ignorant of what's actually being discovered.

Part of me still feels like it's more of a just broader cultural problem, and simply shifting who's funding things isn't going to help. Not sure if there's any effort to simply provide a way of sharing experimental data, i.e., something like "open source licensing" for experimental data, etc, where sharing means you don't get screwed by someone else.

mr_tristan··on Writing Documentation When You Aren't a Technical Writer
This is a good overview on how to structure a particular page, but what about the structure of overall documentation? I've actually found several good articles about writing articles, but little about organizing many of them.

I find that most documentation that goes into a wiki, e.g., Confluence, begins and ends life as a plan. It is then surrounded by business process clutter. And then the true gems of reports about performance analysis or other details just get buried.

What would this be even called? Taxonomy? I sometimes wonder if I could convince people to call wikis, google docs, etc, a "library" and we should have a librarian go organize everything. Because it's a little sad how much knowledge just gets lost.

mr_tristan··on Distributed teams are rewriting the rules of office politics
I've worked full time remote for two companies now, and one was more like you described, where most of the team was in one place with "augmented" remote employees, and the other bit the bullet and treated everyone remotely, even though there are large physical offices where some people like to work. And the main issue is communication.

"Augmenting" your team with remote workers leads to horrible communication. First, meeting rooms require very good audio setup, and very few people will spend the time, hire a sound engineer, and operate the meeting such that everyone in the room is clearly audible. As a end result, the remote workers often sit there with the sound up trying to figure out what's being said most of the time. Thus, people can never really act normally - everything has to be this composed, staged, response.

Additionally, the mostly local team will frequently have offhand conversations the remote workers are never a part of. Thus, you get siloing. Add time zone shifts, and the amount of siloing increases.

The place I work for now has teams that rarely meet in a physical room together - even though several members sit near each other, everyone's got a headset. It is amazing how decent audio changes communication. We also frequently have chats online.

Additionally, all major meetings at my current company are held as if people are remote. And events or other informal affairs are kept organized and isolated. I don' t have to sit through notifications about the coffee machine on the 3rd floor of a building 1300 miles away being broken.

I believe this has led to senior management feeling comfortable working remotely as well, so some VPs work from cities where there is no significant office or company presence.

Now, I _do_ wish this company relied on writing, but not everyone is a good writer. It takes a lot of time to build up that kind of confidence. If I could make one change, it would be to improve writing.

mr_tristan··on Why you should, and shouldn’t, join a startup
> It's an early traditional company that's in the black but is not poised to go through the roof or become bloated with employees or ask a ton of its employees

Why not just call these small businesses? If they're in the black, then they can just operate using a traditional business model.

The startup is about _not_ operating traditionally, but, taking a massive risk to do something different, that can _eventually_ get to that traditional model. Usually by way of turning into a publicly traded company. Which many small businesses never will achieve, by the way.

Entrepreneurship doesn't mean you have to go that "insane growth" trajectory. It _can_ just mean "launch a small business". And that small business can just be private for a very long time; there's nothing wrong with it.

Some idiots may have you believe that the "best entrepreneur" creates startups, but that's stupidity at it's finest. IMO the best entrepreneur can create the _right kind_ of operation. There are plenty of examples of private companies that can grow but don't require operating non-traditionally.

mr_tristan··on You don’t need standups
It creates silos.

We do this on occasion, sometimes people are out, and there's just a few of us around.

I _never_ see social interaction when people do that via chat. It's the same thing as just updating your ticket.

mr_tristan··on You don’t need standups
I'm the scrum master on a team where most members are very geographically spread out, and the standup is great. It's time for everyone to have that direct social connection.

But I don't ask about ticket status. We just ask about what they did yesterday, and what they're up to today. And I mostly ask that if they aren't doing something already captured in a ticket, make another one, so we have a record of issues taking up our time. You want to do some tech debt reduction? OK, but keep it unambiguous - "tech debt" is too generic.

The standup typically exposes important issues, like how team members are siloing off from each other. And then we can easily sit down and notice "hey we need to sync up". A lot of ad hoc conversations appear right after standups, that wouldn't have just happened, because people don't often spend their time reading through the comment section on open tickets.

It's really a gut check that yes, the team is indeed working together. If your team's standup is just some regular robotic process of repeating status already captured in tickets... WTF; I'd say you've got serious leadership problems.

mr_tristan··on Why Google Stores Billions of Lines of Code in a Single Repository (2016)
The biggest problems are always cultural. Most monorepo workflows really reinforce constant integration, and once you have separate teams with separate managers, I've always witnessed constant conflict that ended up trying to establish spheres of control. It's bizarre - but it's something I've seen at pretty much every place I've worked at.

With all that integration, your single CI toolchain is front and center since everyone's success or failure is tied to it. While projects like bazel exist, how many developers do you know work with bazel every day? I no nobody who does. And most want documented IDE support and ease of use, not some optimal CI workflow. I've found gradle to be OK, but even that kind of pushes everyone toward using Jetbrains tooling. In the end, almost real monorepos have significant custom CI tooling that wires together different toolchains, and, they may have to maintain custom tooling for use in developer machines. And that custom tooling can get expensive to maintain as the project scales up.

← PreviousPage 8 of 10Next →