HackerTrans
TopNewTrendsCommentsPastAskShowJobs

danny_sf45

no profile record

Submissions

Ask HN: Stack Overflow Architecture in the year 2070

15 points·by danny_sf45·5 ปีที่แล้ว·2 comments

Vector – A high-performance observability data pipeline

vector.dev
2 points·by danny_sf45·5 ปีที่แล้ว·0 comments

Ask HN: SQLite for Classified Ads Website?

2 points·by danny_sf45·5 ปีที่แล้ว·2 comments

comments

danny_sf45
·5 ปีที่แล้ว·discuss
Do people actually do code reviews per commit? I know it's a thing, but in all my years of experience, I haven't met anyone who actually does this. The usual practice is to review all the changes at once (e.g., go to the "Files changed" tab of a PR in GitHub and start reviewing the changes). This, of course, means, that PR are "small". If a PR is too "big" then one politely asks the author to split the PR in many.
danny_sf45
·5 ปีที่แล้ว·discuss
As a developer I prefer using systemd instead of containers to deploy Golang applications.

Without (Docker) containers it is:

- build Go binary and install it in production server

- write and enable the systemd unit file

With (Docker) containers it is:

- write Dockerfile

- install Docker in production server

- build Docker image and deploy container in production server

I get the appealing of containers when one production server is used for multiple applications (e.g., you have a Golang app and a redis cache), but the example above I think containers a bit of an overkill.
danny_sf45
·5 ปีที่แล้ว·discuss
Personal opinion: The book "Refactoring" by Fowler is one of the worst (tech) books I have ever read. I would rather refer OP to the bible of OOP: Object-Oriented Software Construction by Bertrand Meyer.