HNHacker News
TopNewBestAskShowJobs

thanhhaimai

2,530 karma · joined January 16, 2012

submissionscomments
thanhhaimai··on Why rich people are panic-buying panic rooms
2000 seems really low. Do you happen to have a source for it?
thanhhaimai··on The Code Review Pyramid
It's assumed in your post that readability review is nitpicking. It's actually about making the code idiomatic, consistent, predictable, quickly understandable, and low mental stress while reading. The "nitpicking" parts you referred mostly is about ensuring code consistency and predictability. But there are more to readability than that:

1) did the code use a third party library while a standard lib is sufficient? Is there a way to use native language features (e.g. list comprehension) to make the code more idiomatic to people familiar with the language?

2) are the namings make sense in the business context? Can a new hire read just the public interface and be able to guess the usage?

3) do people have to jump around, full-text-search the code base to understand what's going on? Is automatic dependencies injection being overused? How many things people need to keep in their head to be able to follow this code?

It's all readability there, and I'd argue it's not only about style or formatting.

thanhhaimai··on The Code Review Pyramid
+1, I also focus first on readability while reviewing code.

Software engineering is a collaborative process. I don't write code for the machine; I write it for my colleagues and my future self to read. Code we write 6 months ago looks like someone else code. Readability is important unless you're convinced that it's prototype/throwaway code.

After readability then I'd look for tests. It's a theme: good tests are also meant to be read as documentation. Beside ensuring correctness, it's also the example my colleagues or future self can refer for the module usage.

thanhhaimai··on The 1980s Media Panic over Dungeons and Dragons (2016)
I've never encountered this. Just curious, does that mean your friends couldn't read Harry Potter too? Or is there different standards between different forms of media?
thanhhaimai··on Tinder’s pricing algorithm can charge users up to 5x more for same service
Not a Tinder user or investor, but this makes me curious. Why is it okay for insurance companies to sell me products with hyper-personalized pricing (often based on sex, age, and race), but it's not okay for Tinder or other tech companies to do so?
thanhhaimai··on How Texas is becoming a Bitcoin mining hub
Why is it hard to argue gold and silver aren't a good store of value? I've never considered them a good store of value, and I don't think I know anyone in my circle that hold silver/gold as a store of value. If one really wants to avoid investing in equities and estates, T notes are much less volatile and a better store of value than gold/silver.
thanhhaimai··on Keyboard lets people type so fast it’s banned from typing competitions
> Monkeytpe won’t let Keen run up the leaderboard, but he did win another typing competition using the CharaChorder to hit 267 WPM with 76% accuracy.

IMHO, 76% accuracy is honestly low. If the person has to sacrifice so much accuracy to hit 267 I'm not sure it's worth it. For most typing, making a mistake actually interrupts your thought process. This speed is only achievable/useful when there are text on the screen that you blindly retype.

This reads like a PR article.

thanhhaimai··on Buying Influence: How China manipulates Facebook and Twitter
The line of reasoning in this post is a fallacy. If you're not familiar with the concept, it's worth a read: https://en.m.wikipedia.org/wiki/Whataboutism
thanhhaimai··on Kinesis Advantage 360
I've been using the Kinesis Advantage (modded QMK) for 6+ years, and I was so excited to see the headline. Then I realized there is no Fn row. :(

It seems like I should go stock some of the old version in case they decide to discontinue it and only offer non-Fn version later.

thanhhaimai··on We need your beginner’s mind
> Not necessarily true. Beginner's mind can be embraced by anyone who stays humble.

Beginner's mind can be simulated by anyone who stays humble.

I can give you the most humble and competent person. The most they can do is to "guess", or in a better term, simulate how another mind will think. It depends on multiple factors, including culture, education, and environment they are in. Sometimes, the best way is to just ask/observe a real beginner's mind.

thanhhaimai··on Apple has a new work-from-home policy, but it’s still not what employees want
I disagree with this statement

I don't want to go back to the office not because I want to WFH. It's because COVID is still a big threat. I'd go back to work in the office in a heartbeat if there isn't a pandemic around. The office is cool, and the in person interaction is great, despite me being an introvert.

Unless we have data on how many people choose to work remotely due to COVID, I would not hastily attribute those people to the camp of "only want to work remotely".

thanhhaimai··on Vertiwalk Vertical Walking
I think Vertiwalk might be a solution for people who want to exercise. But if the main issue is to travel between floors, I think installing your own mini elevator might be a better solution. It doesn't take much more space, but it's fast and can carry the wheel chair with you:

https://www.youtube.com/watch?v=aqMZfQODJZo

thanhhaimai··on The gradual extinction of softness
Pol Pot and his government was responsible for the death of 1/4 Cambodian population in a short amount of time, not counting deaths from neighboring countries. A lot of Cambodians migrated to Vietnam (including the author of this wonderful piece). The history about this period is interesting if you're looking for a good read. It's not being widely taught, even during Vietnamese K12 education.

https://en.m.wikipedia.org/wiki/Cambodian%E2%80%93Vietnamese...

thanhhaimai··on Elite Underproduction
I don't share the same sentiment that we don't have enough talented workers. We just don't have enough workers who are willing to work minimum wage with a $0.5/hour raise year over year.
thanhhaimai··on Elite Underproduction
> The top candidates from around the world (who are willing to relocate) will emigrate to whatever country has the highest paying jobs. That happens to be FAANG companies in the United States right now.

This view is only correct if a) the US border is completely open and b) all the candidates around the world can speak professional English. We know that both the above conditions are false.

thanhhaimai··on How I made Google’s data grid scroll faster with a line of CSS
Opinions are my own.

I don't think this is recommended to use internally at Google because it's not supported on Safari.

thanhhaimai··on I don’t know how to count that low
Opinions are my own.

If you rely on a "not-leaked" interview to filter out bad candidates, it's likely that you may not be conducting an effective interview.

Good interview is about figuring out "what the candidate is good at" not about "gotcha I proved that you're a bad one to filter out". I don't have a set of questions I ask all the candidates. Instead, I based the questions on their experience and projects. It's common that I found out "the candidate is not as good as they claim for this subject", and that's fine. The interviewer can switch the topic and see if the candidate is good at another subject.

Everyone is good at something. The job of the interviewer is to find out that, and whether that fits the business needs. The job of the hiring committee is to decide whether it's worth paying for that compared to other candidates. The only "filtering candidates" job is the recruiter, not the interviewer.

thanhhaimai··on Leaving Google
I don't think it's true that "you can't apply directly to a team". I've seen many people got interviewed/hired for exactly one position. The manager of the team will need to be in the loop though. If they don't know you and don't agree with you applying directly, then it's most likely you're going to the normal pipeline.
thanhhaimai··on Valorant's anti-cheat system requires TPM 2.0 and secure boot on Windows 11
This is why I'm bullish on tech like Stadia. It's simply not possible to have conventional cheats on it.

If you haven't, give it a try (free): https://stadia.google.com/games/destiny-2

thanhhaimai··on About that time I had an outburst during the Y Combinator Interview
I think it could be just Frequency Illusion for your case. I think stories about "how I screwed up" has been always popular on the internet. https://en.wikipedia.org/wiki/Frequency_illusion
thanhhaimai··on FTC Puts Hundreds of Businesses on Notice about Fake Reviews
Maybe I'm missing something. You're just replacing the "password" by asking the user to login their email. It doesn't move us any closer to a "no password" world, unless there is also a proposal on how to make email password-less?
thanhhaimai··on A variable signal at heart of the Milky Way
For most things related to looking into space nowadays, we need a distributed team so we can cover the sky around the clock. It would be bad if we miss a 1 minute event "because it's daylight on our side".
thanhhaimai··on Things I’ve learned in my 20 years as a software engineer
I had a manager who tried to cancel my vacation the day I was at the airport for the flight. I had given advance notice, and they agreed to it, especially when my vacation days have been maxed out for months. Obviously I went for it anyway, and left the team as soon as I come back.
thanhhaimai··on Are software engineering “best practices” just developer preferences?
There are people on both side arguing that "best practices" are good and bad. But that's not the point.

Best practices are necessary. The value of "best practices" rests not on whether it is good. Its value is that there is an enforced standard across a business/organization. The existence of a standard (and recommended way) helps smooth out the execution/operation. In software engineering, that means easier refactoring, easier migration, easier tooling development, easier training, easier for people to move around within an organization instead of moving out...

I'd recommend any organization to find, install and periodically improve their "best practices". Just the virtue of their existence is a net positive to the business.

thanhhaimai··on America is highly vulnerable to a missile attack
This author is just trying to lobby for buying/selling weapon. I don't see why we should give this article any eyeballs. Also, the best deterrent is not a good defense system that this guy is trying to sell. It's the threat of 100 nukes erasing 50 cities of the invading country. That threat is real, and that's the US best defense at the moment.
thanhhaimai··on YouTube takes down the Ig Nobel show because of a 1914 recording
When you start talking about "legally binding" then the "decentralized" part doesn't apply anymore. You're relying on government enforcement for the "legally binding" part; whether the system is centralized or decentralized is a moot point.
thanhhaimai··on How Many People Can Someone Lead?
There is no teacher shortage. There is a shortage of people willing to teach for peanuts.
thanhhaimai··on How Many People Can Someone Lead?
There are plenty people who are qualified for teaching children math. But it would be a disservice for them and their family to accept a low wage teaching job when they can work for $400k+ elsewhere.

Your argument is like hiring only minimum wage workers to build rockets, then complain that on average they don't provide that much value and can't solve integrals in their heads.

If we want better teachers, the solution is not surprising: pay more.

thanhhaimai··on Google illegally underpaid thousands of workers
Opinions are my own. I also make no claim on the expertise of contractors.

The common saying in engineering is you use the right tools for the job. Likewise, you place the right people to the right job. It would be a mismatch to put an L5+ to do some low impact work. That would be an inefficient use of limited resources. The SWE would also be unhappy since that affects their perf/promo. Depends on the potential impact/difficulty/urgency, it might be more appropriate to save that work for an intern, fixterm, or TVC.

It's not about "so against having good old employees". It's business.

thanhhaimai··on Let Your Top Performers Move Around the Company
I know, but I wouldn't be able to give much specifics due to privacy reasons. I can say that the common theme is dissatisfactions with the velocity of making decisions, leading to conflicts/frustration. In a large org, ICs are at the mercy of the management for velocity. When you step down from the TL position, you may feel pretty frustrated that your impact is now tied to some one else's (sometimes slow) decision. This feeling is already common between the normal ICs, but for TLs-turned-ICs, I think they experienced it much worse. All the people I knew burned out, complained about management, and left for another team or another company.
← PreviousPage 4 of 8Next →