HNHacker News
TopNewBestAskShowJobs

zzh8829

26 karma · joined November 2, 2015

long time lurker

https://zihao.me

zzh8829@gmail.com

[ my public key: https://keybase.io/zihao; my proof: https://keybase.io/zihao/sigs/QdjmAE9RD4vd1N88uuFApDp2yYvn9PJ_V0StbY1FyMc ]

submissionscomments
zzh8829··on AI Mathematical Olympiad – Progress Prize 2
47/50 for the grand prize is definitely a hard challenge. The best team in Progress Prize 1 only scored 29/50.
zzh8829··on Static Chess
https://chess.maxmcd.com/rnbqk3/pppp2pB/2P1p3/1P1P2Bp/3n4/b2...

very cool, made it all the way to a checkmate

zzh8829··on Issues with upstream DNS provider
Looks like Heroku uses NS1 as the upstream DNS provider. you can find the information like this

  dig NS @1.1.1.1 test.herokuapp.com -> fail

  dig @1.1.1.1 test.herokuapp.com -> fail

  dig NS @dns1.p03.nsone.net test.herokuapp.com -> works

  dig @dns1.p03.nsone.net test.herokuapp.com -> works

So my conclusion is that NS1 is having issue responding DNS queries from other DNS servers. Interestingly, there is no public information on heroku being dependent on NS1 or any current outages from NS1 status page.
zzh8829··on Bringing Serverless to a Web Page Near You with Hugo and Kubernetes
I think the biggest difference is webhosting provider can't scale your php resource up and down infinitely in real time. Your software is not exposed to the server but constrained by it. The idea of serverless is that your service is automatically distributed and not constrained by the capability of some web server.
zzh8829··on Bringing Serverless to a Web Page Near You with Hugo and Kubernetes
I agree the kubernetes part in the article is an overkill, but the serverless movement is here to stay. I used to be a serverless skeptic like you. However, after playing around with "serverless"[1] and AWS CDK[2], I truly believe serverless architecture is not only possible but preferred in many real use cases.

For example, API powered by traditional web cserver + database can be replaced with lambda/function + dynamo/s3/firestore. Cron jobs can be replaced by cloud scheduler + lambda/fargate/cloud run. As a serverless user, you really don't interact with "servers", but instead a highly-available and scalable managed task execution environment.

The only downside is each layer of compute abstraction comes at the cost of spending more and more money.

[1] https://github.com/serverless/serverless

[2] https://docs.aws.amazon.com/cdk/latest/guide/home.html

zzh8829··on Amazon Quits China Market
Having lived in both China and US/Canada, I would say jd and taobao is far ahead of American Amazon. Some key differentiators include delivery speed, UI/UX, product offerings and the ability to chat with merchants instantly.
zzh8829··on Why I’m Remaking OpenAI Universe
I am also working on related project. Flash and HTML5 games in chrome are great but they are very far away from the initially promised full blown GTA5, Starcraft and other complex envs. I am in process of remaking the Universe framework for host machine, since running those computation intensive games at reasonable frame is nearly impossible inside docker or virtual machines.
zzh8829··on How to Start Learning Deep Learning
I just finished the course last week. I really liked Andrew's teaching style and enjoyed it very much. The work load is light compare to on campus courses at my school. I strongly recommend anyone interested in ML/AI to take the course.