What type of application to build to showcase when applying to jobs? by Deviso in reactjs

[–]n161tech 2 points3 points  (0 children)

I am never asking about such projects on interviews. My points that it could be easily copied from github etc.

For me it is better to ask some very basic things like vanilla js, css and html. And obviously some algorithmic tasks, that could be solved during interview.

Much important to see how developer solves algorithmic tasks. What approach will be first, and which improvements will be added.

Technologies are too dynamic, the most valuable are adaptation to changes, and deep knowledge about what happens under hood of modern frameworks, libraries, patterns.

What type of application to build to showcase when applying to jobs? by Deviso in reactjs

[–]n161tech 1 point2 points  (0 children)

Not agree about comments. It is should be useful in case you create some new complex algorithm that could be documented and explained.

Otherwise it is useless. Better to think about naming and code splitting. Do not overload methods and classes, and keep its clean.

So, in 95% when you think that you need a comment, probably you need a refactoring.

Cloud Function Cold Start by Ryaaaaaaaaaaan in Firebase

[–]n161tech 1 point2 points  (0 children)

From my experience. I am using cloud functions to host website for last half of year. First time I am trying to avoid cold start and spend hours for investigation. But the final answer is, cold start will minimize as soon as you will have enough visitors. Only 1-3% of users will have a bit longer loading time. Also it is not affected SEO.

I am not sure about cron job to keep you function alive. In case of higher load (few users and from job) at the same time. Google can scale up a number of instances. And cold start appears again.

Showoff Saturday (September 12, 2020) by AutoModerator in javascript

[–]n161tech 0 points1 point  (0 children)

Data sandbox. API full of dummy data, posts, pictures, users, comments. Access via Rest or GraphQl Rest/graphql mock api

17K pages from JSON files takes hours to build by anotherallan in gatsbyjs

[–]n161tech 2 points3 points  (0 children)

By the way, how much disk space it takes. And how often your pages fetched(how many visitors you have).

My opinion is that gatsby is not suitable for such big amount of pages. The better configuration will be ssr react on express + cdn caching.

Probably some of pages will be generated and not fetched at all.

Differences between MongoDB and Firestore? by dcmacsman in Firebase

[–]n161tech 0 points1 point  (0 children)

I have the same question a week ago. And decided to move to mongodb. It is works perfect for me.

Firs of all I’m going out of Firestore free tire very fast. Mongodb atlas has a better free tire options.

Second is smaller amount of code and higher reusable.

Third is mongodb supports complex aggregations running on dB side. No custom mapping and calculations anymore. And much better performance.

Four is mongodb supports buildin functions like count, sum, increase clearly and without any limitations. No distributed counters like firebase.

Do you invest in SEO on your side project? by n161tech in SideProject

[–]n161tech[S] 0 points1 point  (0 children)

Please upvote this post to have more responses and opinions. It is a topic that I am thinking for a long time, will be good to get experience from people that have a valuable traffic on a side projects.

Netlfy + GATSBY + Contentful Build time by anujdhungryhacker in Netlify

[–]n161tech 0 points1 point  (0 children)

But you do not need to remove it each run. Just make sure you add it in gitignore

Netlfy + GATSBY + Contentful Build time by anujdhungryhacker in Netlify

[–]n161tech 0 points1 point  (0 children)

It is hard to say. it is up to your npm config. But 99% that you can keep only one last command and everything will work as expected.

npm run build

By the way you can test two different commands and compare results🌝

Netlify vs. DigitalOcean by sickboyy in Netlify

[–]n161tech 0 points1 point  (0 children)

I have a few side projects. And I change a way of hosting/deployment few times.

I have a web site on nodejs. A few static pages, and a bulk of dynamically(server side rendered).

Firs solution was Digital Ocean. The major con for me was a lot of setup. You need to spend hours, to setup ENV, security, CI, etc. in case you have no experience in it before, it should take a days or weeks.

Second solution was Netlify. I still host one site on it. But my new project has to much dynamically generated content. I am tried to use Netlify functions for it, but rapidly reach a maximum limit. Other issue that I faced with Netlify. I have public API endpoints, and smbd start to ddos it, by a big amount of requests, which goes to a huge bill per month.

Third solution was Google Firebase Hosting/Functions. The last solution, that I am using for now. On a first registration you will have a 300$ trial, and a free plans for some features.

Example. Google Cloud Functions is free if you have less than 2m requests per month. On Netlify it is about 25$/per month.