1,822 karma · joined Feb 3, 2019 (7y ago) · 645 submissions
comment 4y ago · link · parent
- First-party apps using the same SDK as third-party apps. This would’ve forced the third-party sdk to be awesome from the beginning, but it also would’ve delayed the launch of WP7 by at least 4-6 months. It wasn’t until a couple years later that some first-party apps switched to the public sdk and improvements were made, but by then it was too late.
- Google allowing us to build official apps for YouTube and maps. We even offered to build and maintain it, but they simply refused to allow those apps to exist on our platform.
I still had a wonderful time working on the product 2008-2012, but it’s really a shame WP never made it as a viable third platform.
comment 4y ago · link · parent
But like GP said, the conditional statements themselves presuppose that vaccines are the only variable affecting life expectancy. But that's not true, there are other factors.
comment 4y ago · link · parent
The catch is that the only fast way to download files from your baidu drive is to install the client on your computer, which I’d only do inside a VM.
comment 4y ago · link · parent
I'm about 15 years into my career, with about 5 years as senior tech guy at my current company. I have a great relationship with leadership. Another tech guy was already working 4 days (I think it was part of his initial negotiation), so I asked if I could too. I got the OK and took the pay cut.
At 5 days a week, I felt close to burnout for years (the work is interesting and challenging, and therefore tiring). Now work feels sustainable, life is so much better, and I have energy for personal projects. It also helps that the company is already fully remote so I can work from anywhere.
I wouldn't want to do 3 days a week -- projects would drag on 30% longer and I think I'd really feel that hit to my velocity. 4 is the sweet spot for me.
comment 4y ago · link · parent
comment 4y ago · link · parent
tmux is great, but it essentially breaks multi-line text selection (you end up selecting bits of text from an adjacent pane), an update in any pane will cancel text selection in any other pane, and mouse wheel scrolling doesn't work.
Terminator solves those issues and also has great unicode/IME support -- I can type Chinese directly into the terminal.
comment 4y ago · link · parent
comment 4y ago · link · parent
Like so many here, QBasic literally altered the course of my life.
Does anyone here remember that feeling the first time you realized the power at your disposal?
[1] https://www.amazon.com/Mastering-Quickbasic-Rita-Belserene/d...
comment 4y ago · link · parent
I've been lucky to live for the last 10 years in a place* where it's easy to form lasting friendships with like-minded, earnest people. For me, I know I'm in the right place when I have friends with whom I can share my insecurities, and they can share theirs, and there's no judgment.
From here I think it's just a matter of prioritizing community whenever it's time to move next, whether it's seeking out groups of friends from our little diaspora or making new friends. That makes sense to do whether I have a partner or not.
(*never expected that Beijing would be so great in this way. I don't know if the expat scene in other major cities is similar; maybe it's just because the community is small here and the city attracts people who prefer not to coast through life)
comment 4y ago · link · parent
A whiteboard interview tests your ability to do something you do constantly while writing code: you look at the code you wrote and run it in your head with enough fidelity that you can verify it to a first approximation. If you can’t do that, you’re going to be slower and you’re going to make more mistakes than someone who can.
Small contrived problems like recursion are useful for testing this specific skill. A program to calculate e.g. Fibonacci using recursion isn’t that complicated; to me it seems like table stakes for actually writing new software.
comment 4y ago · link · parent
If you're using k3s and containerd for the container runtime, you can build the image with docker and then load it directly to the place containerd expects it to be stored. Then if the pod's imagePullPolicy is IfNotPresent, simply deleting/restarting the pod will be enough to get your new code running.
The magic incantation is:
docker save the-image-name:latest | sudo ctr -a /var/run/k3s/containerd/containerd.sock -n k8s.io image import -
But for front end development where auto-reload is super useful, I don't use containers at all. Just expose whatever services you need outside the cluster using NodePort or host mode networking.
comment 4y ago · link · parent
Conversely for push-based deployments, there's a process running somewhere outside your cluster that has admin access to your cluster. Did you analyze the threat models for both push and pull, and decide that push is less risky?
comment 4y ago · link · parent
This is an opinion with which reasonable people can disagree.
You write as though it’s impossible to hold a job you don’t love and at the same time work toward self-actualization. This is clearly not true for all definitions of self-actualization that I’m familiar with.
comment 4y ago · link · parent
Relationships are different though. I see work as primarily transactional, whereas personal relationships work best when they aren’t. In a friendship it’s common for both people to grow in the same direction, while a company is inflexible and doesn’t respond to your individual growth so it’s more likely that you’ll “grow apart.”
comment 4y ago · link · parent
The person who smashes their phone, on the other hand, would be totally screwed. Ubiquitous surveillance means that cell phone theft is basically not a thing anymore because the thief is pretty much always caught.
comment 4y ago · link · parent
- Go to the supermarket (you can ask a friend with a phone to help you order online)
- Take a taxi (usually, depends on the driver)
- Eat at a restaurant
- (Basically, enter any place of business)
- Go to the hospital
- Travel to another province
- Visit any scenic area or large public park
- Get a Covid test
- Visit your friend’s apartment (usually)
What if your battery dies? Super-reliance on cell phones means this is a solved this problem: it’s trivial to rent a charger anywhere there’s a convenience store.
To be clear, I also see this as an anti-pattern. The presence or absence of an expensive connected device should not restrict what a person can do in meat space. A person not carrying a mobile phone is still a person.
But I don’t see how you actually do contact tracing at scale without this. In the beginning of the pandemic, entering a supermarket meant writing your contact info (including ID number!) on a paper ledger at the entrance. Fuck that.
comment 4y ago · link · parent
- "Young people are insufferable. They know nothing but think they know everything."
- "Thank $deity for young people. They have the naïveté to question everything and the energy to try fixing it."
comment 4y ago · link · parent
Later on that day, a girl from their family was climbing on a low branch (maybe 2m off the ground), fell, and seriously messed up her ankle or knee. She was on crutches for a while.
The boys and I must’ve been somewhere between 8 and 12 meters off the ground. In retrospect it’s one of the most dangerous things I’ve ever done, and I’ve done multi-pitch trad climbing.
comment 4y ago · link · parent
comment 4y ago · link · parent
For me (and probably for GP), my cookbook is stuff that took me more than a few minutes of tinkering or reading manpages to figure out, and it’s stuff that I use maybe once every couple weeks — not often enough to memorize, and annoying if I have to figure it out again.
comment 4y ago · link · parent
comment 4y ago · link · parent
Is he genuinely curious and intellectually humble, or is he unusually skeptical about western media and prone to both-sidesism (e.g. does he talk a lot about NATO feeding the fire), or is he just a troll?
The brainwash is real, but you’ll never help him by telling him he’s brainwashed. If he’s actually open to it, asking questions patiently and with empathy is the best way to show him where his blind spots are.
comment 4y ago · link · parent
I definitely wouldn’t have the courage to be a journalist here, though. And even for us nobodies, China is becoming less welcoming to foreigners with every year that passes.
comment 4y ago · link · parent
My Chinese friends have said that the evening news always comes in three parts: 1. Chinese leaders are busy; 2. Chinese people have good lives; 3. People outside China have not-so-good lives