learn-co-students / oo-student-scraper-v-000 Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
As a quick aside, the following aren't specific to this lab, but I was told to create the issue on this repo.
The Learn page isn't refreshing when I fork a lab or run local tests until I refresh the page. However, I didn't always have this issue; when I first enrolled at Flatiron, both of those things happened without reloading the page.
Perhaps more pressing, is that (at least with this lab, the Tic Tac Toe with AI lab, and Music Library CLI lab) running only one of the local tests (i.e. learn spec/whatever_spec.rb
) and then refreshing the coordinating web page on Learn would show that I had completed the entire lab and that I could then move on. (Don't worry; I didn't move on without completing all of the necessary requirements :P) I'm afraid that this could be misleading/problematic in the future for other students, so I just wanted the issue known if it wasn't already.
The Command Line Interface class is spelled "Inteface", it works because everything referencing it is also spelled "Inteface"
๐
When in binding.pry pressing ctrl+c causes the console to become unusable after exit - all text typed can no longer be seen, have to completely exit the learn environment to be able to use the terminal
Missing Tests for Class Method: student.create_from_collection and student.all
The instructions suggest running jekyll serve &
and httpserver &
in the Learn ILE but the ILE only allows one port, 3024 and so they conflict. A more elegant way to run Jekyll in the background is jekyll serve --detach
and it can't be run with httpserver
Bundle Install couldn't find the nokogiri version in Gemfile. Most popular version currently is 1.6.8.1 on rubygems.org.
Using bundler 1.13.6
Installing nokogiri 1.6.6.2 with native extensions
^C[05:55:54] (master) oo-student-scraper-v-000
// โฅ learn
Your bundle is locked to nokogiri (1.6.6.2), but that version could not be found in any of the s
ources listed in your Gemfile. If you haven't changed sources, that means the author of nokogiri
(1.6.6.2) has removed it. You'll need to update your bundle to a different version of nokogiri
(1.6.6.2) that hasn't been removed in order to install.
Run bundle install
to install missing gems.
Was working with a student who passed all the tests, but could not run his app in the terminal with ruby bin/run
. This was because it the app couldn't find the directory of the files to open and scrape. Adding './fixtures/student-site/
to the scraped profile urls in the Scraper class fixed the problem, but caused the tests to fail.
# scraper_spec.rb
let!(:student_index_array) {
[{:name=>"Joe Burgess", :location=>"New York, NY", :profile_url=>"students/joe-burgess.html"}, ...]
}
Changing the profile urls from :profile_url=>"students/joe-burgess.html"
to :profile_url=>"./fixtures/student-site/students/joe-burgess.html"
should fix this.
Can't get "jekyll serve" to work on the Nitrous terminal. The lesson needs to be changed to reflect having to use python simple HTTP server in Nitrous to display the student site webpage.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.