These are chat archives for FreeCodeCamp/Help

3rd
Mar 2019
Philip Durbin
@pdurbin
Mar 03 00:46
Ah, yeah, Digital Ocean is great for people who love the command line like me but people who are more oriented toward GUIs like CPanel might want to look at other options. Good point.
Brad
@bradtaniguchi
Mar 03 02:49
I'm a Google cloud guy, we (try) to use Google App Engine for most of the apps we build. App Engine has single line deploys, supports most popular languages, and is pretty cheap. The Standard instances can scale down to 0 (so you pay nothing if no one hits the site) so for low impact apps/services its super affordable, if you are using the supported languages (java, python2, golang, php) its really cheap, or straight up free. JS is on the flex instances which gets pretty cheap, still single line deploys, but wont be free.
Id say its comparable to AWS's offerings, but I'm not sure of the exact similarities tho
rupali317
@rupali317
Mar 03 03:07
Hi guys, I am going through the tutorial in https://learn.freecodecamp.org/apis-and-microservices/managing-packages-with-npm . Want to clarify my understanding about package.json. As far as i understand it gives a quick summary about how the project is organised. Is this package.json also executed by npm to run the commands in "main", "scripts", "dependencies" parameter?
Manish Giri
@Manish-Giri
Mar 03 03:53
@rupali317 yes
rupali317
@rupali317
Mar 03 03:53
thanks!
Manish Giri
@Manish-Giri
Mar 03 03:54
it's somewhat like the entry point in your app, when you run npm install, it downloads all the dependencies listed in package.json
npm install is normally the first step in any node.js project, then it's npm start etc etc
rupali317
@rupali317
Mar 03 03:57
got it!
psyperl
@psyperl
Mar 03 06:00
greetings world
pamnanaimanish169
@pamnanaimanish169
Mar 03 10:45
Your h2 element should degrade to the font monospace when Lobster is not available.
May Kittens Devour Your Soul
@diomed
Mar 03 17:17
:cat: to @cmccormack
u here?
Philip Durbin
@pdurbin
Mar 03 17:55
Good point about hosting on Google App Engine. Last I looked OpenShift has a free tier.
psyperl
@psyperl
Mar 03 18:07
@diomed is just pushing free tier to the limit
i want it free and i want it with capitals.. so it's FREE
psyperl
@psyperl
Mar 03 18:15
but i was thinking about dbms that's possibly free.. knowing rdbms can be somewhat costly.. i was thinking once to have some sort of db cluster setup, where each user required to serve one instance to join the cluster. the more users signing up, the more instance in the cluster assuring less downtime and more power to be used by the users
similar to that BOINC project, irc relay server, bitmining etc..
sadly i know nothing about setting up a cluster and their characteristic so.. can't make a PoC out of it
Christopher McCormack
@cmccormack
Mar 03 19:10
@diomed am now
Brad
@bradtaniguchi
Mar 03 19:13
@psyperl Is that a scalable thing? Like having more dbs = faster query times?
I think I've heard of that tho, with horizontal scaling for big data applications
I take it back, it is possible, but it isn't your run of the mill SQL or Mongo haha
psyperl
@psyperl
Mar 03 19:24
@bradtaniguchi yeah i am fairly new about it.. at least for sure it will avoid downtime ( just by having some people online ) ... not sure if the number of cluster could linearly affect performance.. I am still learning about it, this is one of example of cluster product https://www.mysql.com/products/cluster/
Brad
@bradtaniguchi
Mar 03 19:34
I was going to point out I know mongodb has shards, for redundancy, but idk how it works for performance. Google (and I assume other big cloud providers) has bigQuery, which if I remember correctly, scales horizontally since it's to be used for massive DB queries