The Webocreation blog.

Latest articles

842 ARTICLES
Drupal · 1 min read

%type: !message in %function (line %line of %file) Drupal error

I keep on getting this error logging at watchdog table in the database while loading front end or home page: %type: !message in %function (line…NOV 4, 2018
Mongo DB Solution · 3 min read

The solution Homework 3.1 M101JS: MongoDB for Node.js Developers

Write a program in the language of your choice that will remove the lowest homework score for each student. Since there is a single…OCT 28, 2018
Mongo DB Solution · 3 min read

Final: Question 1 M101JS: MongoDB for Node.js Developers

Final: Question 1 Please download the Enron email dataset enron.zip, unzip it and then restore it using mongorestore. It should restore to a collection…OCT 25, 2018
Mongo DB Solution · 4 min read

The solution Homework 2.3 M101JS: MongoDB for Node.js Developers

You should see four files in the ‘blog’ directory: app.js, users.js, posts.js, and sessions.js. There is also a ‘views’ directory which contains the templates…OCT 24, 2018
Mongo DB Solution · 2 min read

The solution HW 2.2 M101JS: MongoDB for Node.js Developers

Write a program that finds the document with the highest recorded temperature for each state, and adds a “month_high” field for that document, setting…OCT 24, 2018
Mongo DB Solution · 4 min read

The solution to Homework 6.5 M101JS: MongoDB for Node.js Developers

Homework: Homework 6.5 In this homework, you will build a small replica set on your own computer. We will check that it works with…OCT 22, 2018
Mongo DB Solution · 2 min read

The solution to Homework 6.4 M101JS: MongoDB for Node.js Developers

Homework: Homework 6.4 You have a sharded system with three shards and have sharded the collections “students” in the “school” database across those shards.…OCT 22, 2018
Mongo DB Solution · 1 min read

The solution to Homework 6.3 M101JS: MongoDB for Node.js Developers

Homework: Homework 6.3 Which of the following statements are true about choosing and using a shard key? MongoDB can not enforce unique indexes on…OCT 22, 2018
Mongo DB Solution · 1 min read

The solution to Homework 6.2 M101JS: MongoDB for Node.js Developers

Homework: Homework 6.2 Let’s suppose you have a five-member replica set and want to assure that writes are committed to the journal and are…OCT 22, 2018
Mongo DB Solution · 1 min read

The solution to Homework 6.1 M101JS: MongoDB for Node.js Developers

Homework: Homework 6.1 Which of the following statements are true about replication in MongoDB? Check all that apply.OCT 22, 2018
Mongo DB Solution · 2 min read

The solution to Homework 5.4 M101JS: MongoDB for Node.js Developers

The solution to Homework 5.4 M101JS: MongoDB for Node.js Developers Homework: Homework 5.4 Removing Rural Residents In this problem, you will calculate the number of…OCT 16, 2018
Mongo DB Solution · 2 min read

The solution to Homework 5.3 (Hands-On) M101JS: MongoDB for Node.js Developers

The solution to Homework 5.3 (Hands-On) M101JS: MongoDB for Node.js DevelopersWho’s the easiest grader on campus?A set of grades are loaded into the grades…OCT 16, 2018
Mongo DB Solution · 2 min read

The solution to Homework 5.2 (Hands-On) M101JS: MongoDB for Node.js Developers

The solution to Homework 5.2 (Hands-On) M101JS: MongoDB for Node.js Developers Crunching the Zipcode datasetPlease calculate the average population of cities in California (abbreviation…OCT 12, 2018
Mongo DB Solution · 2 min read

The solution to Homework 5.1 (Hands-On) M101JS: MongoDB for Node.js Developers

Homework: Homework 5.1 (Hands-On) Finding the most frequent author of comments on your blog In this assignment, you will use the aggregation framework to…OCT 11, 2018
Mongo DB Solution · 3 min read

The solution to HOMEWORK 4.3 M101JS: MongoDB for Node.js Developers

HOMEWORK: HOMEWORK 4.3 Solution to HOMEWORK 4.3 M101JS: MongoDB for Node.js Developers NOTE there is a bug (TOOLS-939) affecting some versions of mongoimport and mongorestore…OCT 8, 2018