Better HN
topnewbestaskshowjobs
Log inSign up

physicles

1,822 karma · joined Feb 3, 2019 (7y ago) · 645 submissions

Submissions

comment 4y ago · link · parent

This resonates with me. Like GP I find going full nomad too lonely, so I just started experimenting with spending maybe 60% of the year in my “base”, and taking 2-4 week trips here and there. So far so good!

comment 4y ago · link · parent

For me, the two aren't conflated, and I still find that I prefer some office time. I have the ability to work from home or work remote, so I often do that. But I live in China, so social life is rather normal these days (modulo the occasional restrictions).

Like another commenter said, I find it easier to care about the concerns of people around me, so if that's a bunch of people at my company then I'll care more about them and what they need. It makes a difference for me if physical presence and work presence are aligned.

Probably for a similar reason, I've found that I can't reach 100% productivity consistently (over weeks) unless I'm in an environment where people around me are working. So that means finding a coworking space wherever I go.

Also, in-person conversation is so much higher bandwidth than anything else. Those couple hundred ms of latency do matter. Being able to party on the same physical whiteboard is really nice.

comment 4y ago · link · parent

Our lives will suck but at least we’ll be swimming in money!

comment 4y ago · link · parent

We're still on 1.7.x and using TSM (not TSI), because we've found that to work well enough for the time being. Haven't tried 2.x yet because the investment needed to properly benchmark and upgrade would probably be around a week at our scale, and there are just more pressing things to do.

To be fair, we still haven't paid you guys a dime so I can't complain. But if you're interested in hearing my thoughts I can email you after next week's holiday.

comment 4y ago · link · parent

We were using Prometheus for metrics (for k8s services), but switched to influxdb because we were using it to store other non-metrics data, and it’s nice not to have two time series databases with two different query languages you need to learn.

We went from using Prometheus itself to scrape metrics from services and export them to influxdb (fine, but very heavy), to using kapacitor (an utter nightmare for this particular use case), to just writing our own Prometheus metrics harvester from scratch (took about 3 days with service discovery). The current solution has been in place for more than a year and it’s perfect.

I love influxdb’s on-disk compression, but its query planner and unpredictable ram usage leave a lot to be desired (at least the 1.x versions).

comment 4y ago · link · parent

I can wholeheartedly recommend this book too. Sam has a perspective that allows him to take the best parts of religion without believing in anything supernatural. This was perfect for me just after leaving religion when I was searching for a new way to be human.

comment 4y ago · link · parent

For some more anecdata, an ex of mine grew up with parents who had a terrible relationship but stayed together anyway. She once told me she wishes they had just gotten divorced. She can’t know for sure what that particular hell would’ve been like, but the fact that she said that means parents staying together isn’t obviously always better.

comment 4y ago · link · parent

If we assume that clothing doesn’t impact how many watts a person produces (do cold people produce more?), then clothing doesn’t impact the energy imparted to the car. That 100W has to go somewhere, so if the person+clothing isn’t emitting 100W, their temperature will keep increasing until they do emit 100W.

comment 4y ago · link · parent

Staying close to the code where possible always wins, I think. One code base I worked in had a particularly complex state machine, and right above its main function was a giant ascii art diagram of said state machine. It was perfect documentation.

comment 4y ago · link · parent

Scotland has Sled Zepplin

comment 4y ago · link · parent

I had a nearly identical experience a few months after starting my first job out of college. Huge software firm. I was looking through code with a senior colleague, and something looked really off to me. I literally said something like, "How could the person who wrote this be so stupid?" My colleague replied calmly,, "I wouldn't presume to know the mental capacity or state of the person who wrote this code at the moment they wrote it."

What he said humbled me and I basically never said anything like that ever again.

I also had the opposite experience. Two years in, wrote some code for a library that I thought was pretty clever. One day I got pulled into an online chat with a couple principal devs -- phenomenal engineers, respected the hell out of them -- and one was asking the other about this piece of code. He said something like, "Who wrote this shit? It's so complicated, I can't figure it out."

So from that moment I understood that you have to be careful not to be too clever when you write code. Changed my life.

To this day I'm so grateful to have had such amazing, patient mentors early in my career.

comment 4y ago · link · parent

The perfect app I found for this (on HN) is Daylio. It captures info at the right level of detail. Even has a place for a bit of writing or a photo each day.

comment 4y ago · link · parent

This answers a question I’ve had for a long time: how can the telescope station-keep without any thrusters pointing “up”, away from the sun? Answer: very, very carefully.

comment 4y ago · link · parent

I’m another dev who built a webhook solution and wishes he had built /events instead. Many of the reasons are similar those raised by the stripe dev who holds top comment in a earlier discussion: https://news.ycombinator.com/item?id=27823109

We also have the (mis?)fortune of needing to push a high volume of data to some subscribers. The tricks required here — gzipping request bodies, multiple push workers — significantly increase complexity and demands on the engineers writing the destination endpoint. It’s much simpler for me to just worry about making sure my own endpoint is fast enough.

To this I’ll add that while Postgres replication slots are pretty amazing, they come with two significant drawbacks (at least when used with 10.4+ logical replication):

1. AFAIK there is no way to specify a retention policy. This means that if a subscriber falls too far behind, the disk fills up with unread logs. If you’re using a SaaS database, this means the DB becomes completely unresponsive and you have to call support. This reason alone makes them too dangerous to use in prod.

2. The way you consume data from the replication slot is totally different from how you consume it in a query. This means maintaining two code paths.

comment 4y ago · link · parent

I mostly give them a pass because they weren’t being malicious, just curious. I’ve spoken with plenty of people who literally had never talked to a foreigner before. Perhaps half the country has still never even seen a foreigner.

It’s definitely taken too far sometimes though.

comment 4y ago · link · parent

As someone who’s lived in China since 2012 up until the present day, things have changed markedly in the last few years, and especially since ~April of last year once it became clear that China was handling the pandemic better than the rest of the world.

Most people are still ok, but some fraction of the population has a mixture of fear and hatred of foreigners. They think foreigners are dangerous because we bring the virus. Far fewer places accept foreigners than before.

I love my life and my friends here, but walking down the street in a village and having a guy wearing an official-looking coat scream at you to “fuck off” has a way of souring one’s mood.

comment 4y ago · link · parent

Typora is one of my favorite pieces of software, and imo the world’s best wysiwyg editor for markdown. I really wish I could use its editor in vscode and Joplin.

comment 4y ago · link · parent

May I ask, what kinds of things do you rely on to check the fulfillment / meaning box?

comment 4y ago · link · parent

Why not disable it again? I just followed GP’s instructions and am looking forward to my life going uphill.

comment 4y ago · link · parent

I completely agree: in a lot of domains, freeform human language provides far more expressive power than you actually need, or want, for communicating ideas. My IANAL understanding of legalese is that it's an attempt to constrain the use of language to be more precise, but from an outsider's point of view it looks needlessly complicated.

Could be a https://xkcd.com/793/ situation though.

comment 4y ago · link · parent

For containers that's especially true because the best practice is just to write to stdout/stderr. This sidesteps a whole host of issues related to dealing with log files.

comment 5y ago · link · parent

Hey, thanks for the reality check. This is really helpful advice.

comment 5y ago · link · parent

Just following the playbook:

> The economics of building a social network: focus only on growth until the old people move in, then monetize aggressively as it slowly dies.

https://twitter.com/StartupLJackson/status/32983572490604134...

comment 5y ago · link · parent

Facebook became the old people platform when my parents and relatives joined in ~2012. That's about the time I stopped using it.

comment 5y ago · link · parent

You probably know this already, but getting rid of those false alarms is absolutely critical. Instead of alerting on disk use, alert on user-facing metrics when possible (unless it’s disk space going below a certain threshold, since that’s one of the worst things that can happen).

comment 5y ago · link · parent

My story is so similar, but I’m still in that stagnation phase now. I went from never working on a production service to building, evolving, and ops-ing basically our entire back end over the last five years. I can answer nearly any question about it within a few seconds. And I’m so ready for something new, and for a break.

Leaving this kind of comfort won’t be easy, but I know that I need to find a way.

comment 5y ago · link · parent

> Under Equitable Math, all children must always be at the same level up until the senior year

Are they really advocating putting all kids in the same math class regardless of ability? That seems completely insane to me. For some fraction of the class, literally handing them a textbook and telling them to go nuts would be better in every way. At the other end, some of those kids feel awful for holding the class back.

Could someone help me understand what the big picture is here? How does this actually help the under-privileged students in any way? Are they expecting that this will level the playing field for college admissions and the job market?

comment 5y ago · link · parent

> [10] Make your project robust to re-orgs. A company management hierarchy is inherently fragile (a tree is a 1-connected graph, after all); socialize the project continuously with managers who might take over in the future. Do whatever it takes to make sure that manager churn does not result in unfair career outcomes for ICs.

> [17] For storage systems, bias heavily in the beginning towards consistency and durability rather than availability; these are harder to measure and harder to fix if broken. Because availability is easier to measure, there will be external pressure to prioritize it first; push back.

It's kind of crazy how well the author is able to move from the very top to the very bottom of the technical project management stack.

comment 5y ago · link · parent

Yeah I know what you mean, I'm in awe of the author's ability to create the perfect environment for his team to succeed. Part of the key, I think, is that he was dedicated to caring about every factor that might affect success (customers, project management, design, and the other categories from the list), which left his team free to execute on the technical aspects.

I also think we might be underestimating how much one could do with one year, a relatively well-specified problem, and a team of three super motivated and intelligent coders.

comment 5y ago · link · parent

Here's another take from 2010 that shaped my thinking on this: https://imwrightshardcode.com/2010/12/theres-no-place-like-p...

(I. M. Wright is the pen name of a once-internal blogger at Microsoft, whose writings are now mostly public)

Our code has a pile of unit tests that run on every commit, but also a few dozen end-to-end/scenario/whatever tests that run against prod every five minutes or every hour, depending on the impact. I don't know how I'd ever sleep at night without this.

1
161718
22