HNHacker News
TopNewBestAskShowJobs

alienchow

566 karma · joined April 15, 2015

It's nice to learn new things.
submissionscomments
alienchow··on Oncall shift should be Tuesday to Tuesday
Google paid SREs 67% their hourly rate for tier 1 oncall outside business hours, regardless of whether they were paged. So 12h shifts on weekends were a full day's pay. Convertible to Off-in-Lieu. I had so many off days. Not sure if it's still the case after those layoffs.

Anyway, I prefer Mon - Thu, Fri - Sun shifts.

alienchow··on Google CEO says more than a quarter of the company's new code is created by AI
Matter of preference. I've found TDD to be inflexible for my working style. But your suggestion would indeed work for a staunch TDD practitioner.
alienchow··on Google CEO says more than a quarter of the company's new code is created by AI
When setting up unit tests traditionally took more time and LOC than the logic itself, LLMs are particularly useful.

1. Paste in my actual code.

2. Prompt: Write unit tests, test tables. Include scenarios: A, B, C, D, E. Include all other scenarios I left out, isolate suggestions for review.

I used to spend the majority of the coding time writing unit tests and mocking test data, now it's more like 10%.

alienchow··on Ask HN: Is a Masters in CS/Engineering worth it for a mid-career PM?
To be honest not really. For mid career pivots, your work on your resume counts more than a degree. You'd see more success transitioning organically by helping out with simple technical projects on the team and filling knowledge gaps with YouTube. Formal courses fill you with information that gets forgotten without practical application.

PMs with engineering knowledge are actually very valuable. I love cross-functional team members, since they always provide new perspectives. So I wouldn't call it a pivot either, more like a career boost. You'd need to have a supportive engineering team who'd be willing to let you get your hands dirty though, that'd be your bigger challenge.

alienchow··on Greppability is an underrated code metric
I am actually unaware of downsides of PCRE. Could you explain? I hardly ever use literal grep nowadays.
alienchow··on EUCLEAK Side-Channel Attack on the YubiKey 5 Series
This requires the attacker to steal your key. When that happens, by the time they can get the secret key I've already revoked it.

The biggest problem with FIDO keys isn't the fact that people can gain access to your accounts if it's physically stolen.

I have redundant keys for backup access. But I have no idea which accounts I used the lost key for, in order to log into them one by one to revoke the key.

How does everyone here keep track? A post-it note in the cookie jar?

alienchow··on Greppability is an underrated code metric
For functions: grep -P '^func funcName\('

For methods: grep -P '^func [^)]+\) methodName\('

Hope that helps.

alienchow··on Greppability is an underrated code metric
I very rarely use literal grep at all. Perl grep is my standard goto.

For functions: grep -P '^func funcName\('

For methods: grep -P '^func [^)]+\) methodName\('

alienchow··on Greppability is an underrated code metric
Single letter variables in Golang are to be used in small, local contexts. Akin to the throwaway i var in for loops. You only grep the struct methods, the same way no one greps 'this' or 'self'.

The code bases you've been reading, and even some of the native libraries, don't do it properly. Probably due to legacy reasons that wouldn't pass readability approvals nowadays.

alienchow··on China's 'Wukong' Hit Sells 10M Copies in Three Days
They were biased to mobile games because it's the most lucrative, and so game studios index on that. If you go further back, there were wildly popular CRPGs that just weren't very widely marketed outside of China. They were AAA grade of that era, but never officially translated nor marketed.

Jinyong Heroes, Calamity of Heaven and Earth, Heroes of the Celestial Sword were all popular CRPGs within China on the level of Final Fantasy, but were merely cult classics outside the country. None of them were homages, and didn't have this ethnic level of cultural influence.

alienchow··on China's 'Wukong' Hit Sells 10M Copies in Three Days
Imagine having a book that was written centuries ago that's considered one of the four pillars of great Chinese novel classics.

Have that book be arguably the most popular of the four. (Debatable with 3 Kingdoms)

The story is told to children since they're young.

During a time where the story was adapted into plenty of derivatives like Dragon Ball, one TV show stood out. Every single Chinese, and Southeast Asian kid has watched it growing up. It was THE weekend TV to wait for. The theme songs are extremely catchy. The TV show is put on reruns every once in a while. Entire nations have watched it.

Then China, who arguably never had a AAA game title this widely marketed before, writes a sequel loosely based on the original novel and lined the game full of homages and music remixes from the TV show.

Western audiences can review however they want, any person who can hear this song in their head "dun dun dudun dun dun dududuuuun pewpewpew pewpewpew" is going to love it even if it's only mildly playable, let alone being actually fun to play.

And have you seen the animations?

If power rangers were a centuries old story, with statues, temples and mythos around them, and it's the first ever AAA game from the US to be published. The moment you hear "Go Go Power Rangers" you're buying the game.

alienchow··on Flaw has Microsoft Authenticator overwriting MFA accounts, locking users out
You just need to export it using QR codes. My keys were paginated into 11 QR codes when transferring devices.

They now have cloud sync, which I don't really think is a good idea. But it solves your problem of migrating devices. However I've already moved on to Aegis, because I'm done fling scrolling through my Mahabharata of TOTPs to find the correct account.

alienchow··on Postmortem of my 9 year journey at Google
Boq/PoD merely standardizes production deployments. You can choose to not do it, and end up having to redo everything yourself. The vast majority of all services uses it perfectly fine.

Unified rollouts, unified versioning, universal dashboards, security compliance, standardized quota management, standard alert configs. It's opinionated, but I can drop into any team and hit the ground running. I don't want to learn your custom dashboards doing the exact same thing with different names.

The issue with PoD is that it's a great concept and implementation that's tight on resources, and doesn't have much of a plan to expand beyond its current paradigm. The P2020 team deserves way more recognition for all the work they have done.

alienchow··on Flaw has Microsoft Authenticator overwriting MFA accounts, locking users out
Along the same grain, Google, the search powerhouse, releases Google Authenticator with no search bar in the Android version. And continues to wilfully not include one despite multiple feature requests.

Yet there's a search bar in the iOS version. Just why?

I'm willing to bet that in that gigantic Piper repo, there's already a local search library that they could just drop in in a single CL. But that's not LLM.

alienchow··on Moments in Chromecast's history
I wanted to make a joke about it possibly being Chromecast has no LLM. Then I realized the replacement product advertises Gemini.
alienchow··on Show HN: Dorkly – Open source feature flags
Nice, thanks for sharing. I've been looking for an alternative to CDPush (Google's internal version controlled config push).

Unaudited, untracked web UI based feature flagging has been my peeve with the other solutions. I'm surprised all the feature flagging solutions out there don't have this as a default. The next step would be to use an artifact versioning repository to decouple from S3.

alienchow··on Simplicity – Google SRE Handbook (2017)
Why don't you give Mission Control a try for 6 months?
alienchow··on Design docs at Google (2020)
The replies from Googlers in this thread surprise me. I've actually found DDs very useful for team onboarding, and for async stakeholder communications when making changes. Design docs typically also lead to fantastic g3doc documentation. It's a much better experience than having to fish around the team to piece together fragments of tribal knowledge about design choices for a system.
alienchow··on Code search is hard
Cheesy answer but, the people.
alienchow··on Code search is hard
Just left Google a few months ago.

My take is that there's a difference between a company that is willing to invest money into EngProd endeavors, and a company that uses SaaS for everything. While I can understand that most companies don't have the financial means to invest heavily into EngProd, the outcome is that the tightly integrated development experience in the former is far superior. Code Search is definitely #2 on the list of things I miss the most.

alienchow··on Jeff Dean: Trends in Machine Learning [video]
You have absolutely no idea who Jeff Dean is, do you?
alienchow··on The PS5 Has Been Jailbroken
Based on prior works, I assume it means you can access the PS5 root. i.e. you can run anything you want on a jail broken PS5 as opposed to just what Sony wants you to run.
alienchow··on I wish I was a little bit taller
I'm very much below the national average height for my gender. After a while you'd start hoping that conversations occur at your eye level instead of flying over your head. Practically everyone I know from the same gender and half the other gender are taller than me. It's difficult to quantify the psychological impact of always having to metaphorically wave your hand in the air to get attention. Or when you invite friends over and every time you open the door, you find their eyes looking over your head before looking down seemingly to say "oh there you are". In the article, one of the patients at 5' 5" talked about being ignored by the bartender because a taller customer talked over him. That is something I actually experience fairly frequently.

WFH has been wonderful for this reason, everyone is a half body stump on camera.

I don't think the people in the article are aiming to be super tall. Just tall enough to match their peers. Arguably super tall people (YMMV since everyone is tall to me) and short people both want the same thing, to be average.

With all that being said, I don't find the tradeoff of cost, lost time, immobility, and pain to be worth that marginally extra social respect. And to be honest, it's just a mild annoyance.

alienchow··on I'm a scam prevention expert and I got scammed
It's actually also quite frustrating when financial institutions don't have proper secure practices in place. If you've ever wired money from SFCU, you'd know they would ask you to fill out a form with a handwritten wire password. You submit the form and someone from the credit union would call you to verify your wire password.

When I received the call from them, they asked for my date of birth and other information. I explained that I'm not comfortable revealing my details to an incoming call and to give me their extension instead. When I did this with BoA or Chase, they'd immediately understand my concern.

The SFCU person on the line, however, gave me some passive aggressive statement about me causing extra work. This was followed by me calling their official number on their web page and having to wait about 20-30 minutes to get through to the extension number to the same person, which proved that the previous call was legit. However, said person proceeded to mock me for having wasted our time.

I love SFCU but they really need to understand how scammers work.

alienchow··on Judge rejects Purdue Pharma's $4.5B opioid settlement
Fentanyl is used in epidurals, for one.
alienchow··on Singapore: Sovereign City
The Malaysian government sure enjoyed trolling with Pukul Habis though. Also airspace above our military training base seems to be FFA to them.

"Malaysia knows turn off the tap means invasion." I mean, that's exactly the reason why we went over the top with the military thing isn't it?

alienchow··on The ER charged him $6,589.77 for 6 stitches, cost that led his wife to avoid ER
Yes you can negotiate the prices with insurance, but that means there's always a risk that insurance doesn't cover as much as you hoped for. This means every emergency becomes a risk assessment of estimated cost / probability of negotiation / network coverage / hassle. This is so broken.

When I'm headed to the ER, I'm looking for immediate medical attention. I don't want to be shopping around for hidden hospital price estimates, verifying network coverage and deciding if I should Uber, ambulance or drive while I'm half dead. After all that we still got slapped with a $30k bill for half an hour. Cleared the HDHP deductible real fast. Thanks WEC Hospital for the wonderful hours long wait to pay you jacked up prices.

When we had our first kid, we had to repeatedly call the hospital and insurance to make sure it's within network and that the midwives were going to be covered. Then we got slapped with a $15k bill because one of the nurses is outsourced and not within network. After 5 separate hour long conversations on the phone with Aetna we finally managed to get the clinic to lower the bill to $3000 which Aetna then covered. And then 10 days later I received a $15k bill payment reminder.

I think the whole healthcare discussion in the US seems way too distracted with figuring out how to refactor a code base written by clowns, instead of just building a new system ground up. With 50 different states to pander to, I guess that's the logical result.

Pretty glad I left the US, my mind is now cleared of lots of unnecessary baggage.

alienchow··on Pandora says laboratory-made diamonds are forever
My wife told me not to get anything for my eventual proposal because she's not going to be wearing it. She preemptively said yes before I did anything.

But a ring is still needed for the ceremony.

I bought some small amounts of rose gold and white gold, gave it to a custom jeweler and told them to do whatever they always wanted to do (but no client ever accepted) using only the gold I bought.

They gave me back a rose gold ring, with a gigantic "gemstone" made of the white gold I bought.

From far away, the ring made everyone think it had a huge diamond on it. It was really funny.

Total cost $1000 including labor, not cheap but at least the ring was special. Formally proposed with it and my wife liked it.

My wife, as promised, never wore it after the wedding. She likes to be not robbed.

alienchow··on Google’s top search result is Google
Anecdote disclaimer.

Learning Spanish right now so I'm excited to learn about this better translator. The very first word I tested was "por favor".

DeepL detected it as English and translated it into Spanish to give "por favor" == "por favor".

Same for "una mas". To be fair, it worked once I properly accented the "a".

I'll be using this for longer sentences instead.

alienchow··on “Thank You” in Hindi and English Mean Very Different Things
Hmm it is true that I have only hung out with mostly people from kantou. Thanks for the new knowledge, will go look into it. :D

[Edit] Just checked with the friends. It seems like it really depends on the social habits. If a bunch of people started with gomen, then that word will stick, even if it feels weird.

For me, because I started with "arigatou" with them, so my friends naturally used "arigatou" around me instead. However, whether they use "arigatou" or "sumimasen" really depends on their family habits. Currently it's split 30(arigatou)-70(sumimasen) amongst them. Much nuance is learnt today.

← PreviousPage 2 of 3Next →