HNHacker News
TopNewBestAskShowJobs

karambir

470 karma · joined September 25, 2011

Web developer and learner. Love to talk about society, education and religion.

Contact - hn@karambir.in

submissionscomments
karambir··on The boring technology behind a one-person Internet company (2018)
Yes.
karambir··on The boring technology behind a one-person Internet company (2018)
For us, we follow a very tight convention around how we write code. This has helped us in maintaining the codebase. Of-course some tools help a lot too:

- We use standard tools like flake8, isort, black for code linting.

- We are not following TDD, but we do write tests for all features. Pytest helps here

- Proper code reviews. I cannot stress this enough. As a Tech-Lead I have pushed for code reviews even when working on (supposedly) tight deadlines.

- We are also exploring to use type hints introduced in Python3.7.

PS Shout-out to Poetry(https://poetry.eustace.io/) to make our dependency management easier than ever. Updating third party libs is a lot easier now.

karambir··on The boring technology behind a one-person Internet company (2018)
I thought I was reading my own blog post :) We use very similar tech stack at my current company:

- Ansible for provisioning

- Python/Django for website/api

- VueJS for frontend(where needed, some pages are simple Django templates)

- Celery for background work

- uWSGI and Nginx as servers with AWS Load balancer

- Elasticsearch for search

- Redis for caching

- Postgres with Postgis as main datastore

- Datadog for monitoring

- Cloudflare for DNS

Some differences as I am working with a team:

- We do use multiple branches and git tags for releases. Feature branches are also common as multiple devs maybe working on different features.

- We use Gitlab-CI a lot for testing and auto-deployment(ansible script can be called from our machine as well)

- Terraform for infrastructure provisioning. We have stopped provisioning any AWS service by console. Once the service is provisioned by terraform, ansible takes over.

I have tinkered with Docker, Hashicorp Packer but this setup has been dead simple to reason and scale reasonably well.

karambir··on Justin.tv's Live Video Broadcasting Architecture (2010)
Like other sibling, I would be very much interested in a talk like this. Teaching networking with real world examples and explaining 2-3 large scale architectures w.r.t networking. Maybe a long video(or small series) and a follow-up on twitch for Q/A. Would even pay for this.
karambir··on iPhone apps share data with trackers, ad companies and research firms
Can confirm companies do this. I have helped build custom analytics solutions for android and iOS where apps dump literally anything and everything they can get data of. Product Managers are so inclined to scrape everything. I was surprised few years back when we could get device battery stats, nearby wifi ssids and even connected audio output device, if any.

Later moved on to other roles.

karambir··on Google confirms Play store will continue to function for existing Huawei phones
No, you are not. I believe you are just speaking from US perspective. A lot of countries in the world don't have this practice of carrier selling phones. (I know for sure for India and China and that's more than 2.5billion people)
karambir··on Are the dead taking over Facebook?
Same for me. I contacted Facebook about this and they asked for a family member and a death certificate. My friend's family mostly are illiterate and from a small village, so I asked FB if a news clipping(of accident) and obituary from local newspaper would do, they refused. After some communication, I left it. I have since left Facebook but other mutual friends say they still receive his birthday notifications every year.
karambir··on Technologies you should know for Web-development
Great post! I would also add jQuery to the list http://jquery.com/

SharpKit can also be a useful resource for learning HTML and JavaScript, if you’re a C# developer and like learning the APIs from Visual Studio using intellisense. http://sharpkit.net/help/SharpKit.Html4/SharpKit.Html4/HtmlE...

karambir··on Passion for Code - you need it badly
Pragmatic Programmer as recommended by Jeff Atwood - a must read

http://www.codinghorror.com/blog/2004/10/a-pragmatic-quick-r...

karambir··on Developer Income Report #16
Reports of these kind give developers like us to continue working and at the same time analyze how in this very competitive market can sustain.
karambir··on [dead]
Don't know much programming so Just waiting for the answer.
karambir··on Speak Truth to Stop Procrastination
here are my two principles that i always keep in mind to stop procrastination:

--> Start with the hardest part first. You'll attack it while you're energetic and enthusiastic. Encourage yourself by knowing that all the rest of the job will be easier.

--> Avoid saying yes. Don't start taking on too many tasks at once. Be sure you really have the time. Don't work on a project if you're tired, in a distracting location or not thinking ahead.

karambir··on Private Universities in India provides you just a Degree- A student rant
thats whats is happening to me also. Though we don't have attendance problem, but un-interesting teaching from professors have led to me not paying attention to me college academics and drama. do it your own. and best of luck!!!
karambir··on JavaScript Frameworks[survey]
some of these frameworks are very good specially Sproutcore but i still prefer writing my own code.
← PreviousPage 2 of 2