HN user

uyt

598 karma
Posts2
Comments169
View on HN
2021 Letter 5 years ago

As a tech worker with little knowledge about china, the most interesting section for me starts at "A summer storm" where he talks about why/how the government is cracking down on big consumer tech.

Seems like he didn't have time to finish Advent of Code this year. I was looking forward to seeing his code for some of the puzzles I struggled with!

While there are plenty of other solutions and discussions in the megathreads for each day: https://www.reddit.com/r/adventofcode/wiki/solution_megathre...

It is mostly dominated by competitive programmers who value speed over readability. When it comes to presenting a solution, Peter Norvig's style, clarity and craftsmanship is unmatched.

Beware that many masters programs from top schools are degree mills and the undergrads who went there know this and actively loathe them (based on their experience sharing classes with them). At least for my particular school. I remember helping out with resume screening at a job fair and we would sort everyone who went to that masters program to the bottom of the pile. A handful of them turned out to be good candidates on second pass, but it sucks that they probably would've had a better chance just leaving off their masters.

I think people who are graduating now will have a hard time replicating this. My cohort (now in our early 30s, cs majors from a top school) were incredibly lucky because we were in a permanent bull run so as long as we were invested in almost any tech stock, we did well. Almost all of us hit one million mark before early 2020 and that became 2 million at the end of 2021.

I would love for this to continue forever but can it really? For example the author (and my friends) are in similar situation where their compensation are now in the ~500k range but that number is based on the stock value at the time of offer. It is now essentially double that. So we're in a situation where your everyday senior FAANG engineers are locked in a golden handcuff unless they are offered million dollar packages to jump ship.

We're in weird times.

renamed Streamlabs OBS to Streamlabs Studio

Ah that is a good outcome. I pessimistically thought this post was implying that OBS decided to "collaborate" by relenting to huge wads of money and giving up their name. Which would've been a huge shame to open source software. Glad stuff worked out.

Since I don't use Find My Phone often enough, my Pixel 3 helpfully decided to remove location permissions from it. Would've been in for a surprise the next time I lose my phone had I not caught the notification.

Kernel developers obsess about speed and performance. The Linux kernel is built using -mregparm=3, which is sometimes called fastcall.

I've never messed with calling convention for the sake of performance before so I found this bit interesting. I found more info about it at: https://en.wikipedia.org/wiki/X86_calling_conventions#Borlan...

Does anyone have benchmarks? Assuming I don't care about ABI stability, what's the fastest calling convention?

If you're doing AoC you should join the subreddit /r/AdventOfCode: https://www.reddit.com/r/adventofcode

There's usually a lot of different solutions (including many in esoteric languages or code golfed) along with screencasts and visualizations to explain how they got there. I find that even when the puzzles are easy I still learn a lot from the community by seeing all the different ways to skin a cat!

Daily two part puzzles, for one star each, 50 stars total. Second part is usually related to the first (but unknown until you solve the first) which makes you refactor or learn to write your code generically the first time. Input is usually a small text file. Puzzles are often dependent on earlier ones (spoilers: most years you write a interpreter for a made up language over a few days and later puzzles use it as an input generator which you seed with the text file)

Leaderboard points are only assigned if you're in the top 100 for either parts which you should ignore if this is your first time since it's not the point!

Project Euler 5 years ago

If you're the competitive type, http://codeforces.com is also very good. You get an elo rating and they use chess titles (candidate master, master, grandmasters, etc). The lower division generally has around 20k participants per contest which mostly (but not always) happens on weekends.

I wonder if there's an evolutionary reason for that preference or if this is just an edge case in our rewards system that never mattered until it became heavily exploited by other humans in the modern world.

I do know of two cases of "fake programmers" (...) the person was able to sneak under the radar at Google for multiple years before someone realized that the person never actually wrote any code and tasks only got completed when they got someone else to do the task. The person who realized eventually scheduled a pair programming session, where they discovered that the person wasn't able to write a loop, didn't know the difference between = and ==, etc., despite being a "senior SWE" (L5/T5) at Google for years.

I thought this only happens in tv shows. Was it more like Big Head from HBO Silicon Valley (the company forgot about the employee) or Frank Abagnale from Catch Me If You Can (conman who managed to fake his identity and credentials)?

Culture shock 5 years ago

I didn't realize this was an American thing until I visited another country (Hong Kong, which is very first world) and the truck actually sped up as I was about to cross instead of slowing down. It was like playing a game of chicken.

TIL about "bog butter" and half a dozen other culinary terms that I've never heard of. Maybe for good reasons we don't make these food anymore? (banbidh, old curds, real curds, bainne clabair, sowens, flummery, etc)