Better HN
topnewbestaskshowjobs
Log inSign up

zzh8829

26 karma · joined Nov 2, 2015 (11y ago) · 11 submissions

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 ]

Submissions

comment 2y ago · link · parent

47/50 for the grand prize is definitely a hard challenge. The best team in Progress Prize 1 only scored 29/50.

comment 2y ago · link · parent

https://chess.maxmcd.com/rnbqk3/pppp2pB/2P1p3/1P1P2Bp/3n4/b2...

very cool, made it all the way to a checkmate

3.

Configuration Management Is Broken(github.com ↗)

4 points · by zzh8829 · 3y ago · discuss

comment 4y ago · link · parent

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.

5.

Cloudflare Is Down

7 points · by zzh8829 · 4y ago · 1 comment

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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

comment 7y ago · link · parent

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.

comment 9y ago · link · parent

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.

comment 10y ago · link · parent

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.