Better HN
topnewbestaskshowjobs
Log inSign up

gitzen

7 karma · joined May 10, 2019 (7y ago) · 5 submissions

Submissions

comment 7y ago · link · parent

I recommend ending your comment with "/s" to indicate sarcasm or you run the risk of getting downvoted due to Poe's Law.

comment 7y ago · link · parent

This is very good advice. I am beginning to become worried that hobby projects now consider using heavyweight tools that make sense in companies.

If you're only going to build a simple app for friends and family as a hobby which would receive less than 10000 hits in a day, Kubernetes cluster seems like an overkill. CI (automated builds and tests) could still offer some advantages to maintain good long term health of the hobby project.

But other than that just copying over the files or pulling it from Git sounds just fine. Perhaps even go for a cheaper option like Linode or Digital Ocean for hosting instead of AWS/GCP/Azure.

comment 7y ago · link · parent

SCPing or Git push/pull is exactly how I would do this.

> Sorry if this sounds like parody but I'm really confused :/

Thanks for this clarification. It did seem like parody until I read this clarification. :-)

comment 7y ago · link · parent

Can it set breakpoints in a code that would be running in a subprocess launched with the multiprocessing library?

comment 7y ago · link · parent

Thank you for sharing this link. Until now, I never understood properly how rebase and fast-forward merges work. This simple note in this document made it all clear.

"Beginners to this workflow should always remember that a Git branch is not a container of commits, but rather a lightweight moving pointer that points to a commit in the commit history.

    A---B---C
            ↑
         (master)
When a new commit is made in a branch, its branch pointer simply moves to point to the last commit in the branch.

    A---B---C---D
                ↑
             (master)
A branch is merely a pointer to the tip of a series of commits. With this little thing in mind, seemingly complex operations like rebase and fast-forward merges become easy to understand and use."

Suddenly everything makes sense now!