Freecodecamp: Information Security and Quality Assurance Projects - Metric-Imperial Converter : example app not functioning

Created on 1 Dec 2018  路  20Comments  路  Source: freeCodeCamp/freeCodeCamp


Describe your problem and how to reproduce it:
The example app (hard-twilight) is not working properly, neither with Firefox nor with Chrome. Instead I get an explorer with the public source files.

Add a Link to the page with the problem:
https://learn.freecodecamp.org/information-security-and-quality-assurance/information-security-and-quality-assurance-projects/metric-imperial-converter
Direct link to the app:
https://hard-twilight.glitch.me/

Tell us about your browser and operating system:

  • Browser Name: Firefox and Brave
  • Browser Version: latest
  • Operating System: Ubuntu 18.04
    challenge

If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box):

learn

Most helpful comment

I submitted a PR last October #23953 which basically replaces the broken URL with a working one implemented by myself. FCC refused to merge it since its not under their direct control and they haven't offered any suggestions on how to properly address this. If submitting another URL is off the table, then contributors would need access to the original project to do anything about it. @RandellDawson please let us know how we can fix this broken link that's been going on for over 6 months!

All 20 comments

I submitted a PR last October #23953 which basically replaces the broken URL with a working one implemented by myself. FCC refused to merge it since its not under their direct control and they haven't offered any suggestions on how to properly address this. If submitting another URL is off the table, then contributors would need access to the original project to do anything about it. @RandellDawson please let us know how we can fix this broken link that's been going on for over 6 months!

It looks like this section of the FCC curriculum is abandoned... I write this just to put this post into light once again.

@N0bl3 I tried everything I could to get this project up and running, but they didn't give a damn about my contributions and inquiries. Why bother?

@N0bl3 Your PR has been merged, but until master is deployed to production, we are just waiting like you. As soon as it is deployed, hundreds of fixes that many of us have created/merged will fix many bugs currently in production. I understand it is frustrating, but there are some other pressing issues which the core team is working. Once those are resolved, they will work to fix some final issues which are keeping us from deploying master to production.

https://www.freecodecamp.org/forum/t/quick-update-on-beta-master-deployment/272119

I tried everything I could to get this project up and running

@doubleUTF Are you having trouble setting up FCC locally? If so, the best place to ask your question(s) would be the in the Contributors Gitter channel.

@RandellDawson No, read my comment on Mar 6 please.

@doubleUTF Got it.

@raisedadead After talking with another mod regarding @doubleUTF's Glitch project, can he just transfer the project to the Glitch camperbot account. We validated his project does meet all the project requirements. I am not sure if it is possible to transfer, because I tried earlier to do this between two test Glitch accounts. I tried the following:

  1. Created a project in accountOne.
  2. Clicked Share and sent special share link to myself via email.
  3. Logged out of accountOne.
  4. Logged into accountTwo.
  5. Clicked the share link received in email. This added accountTwo to the project accountOne created.
  6. Logged out of accountTwo.
  7. Logged back into accountOne.
  8. While in Edit mode of the project, I clicked on accountOne's icon above the project and then clicked "Leave This Project".
  9. A confirmation dialog box popped up and asked "Leave funky-psychiatrist?".
  10. I clicked OK, but accountOne still showed on the project.

I may not have done something correctly, but there does not seem to be any easy way using Glitch to transfer the project. I guess the other way would be to have @doubleUTF export his project to a repo on his GitHub account and then transfer that repo to FCC, so you can upload his project to Glitch?

On this same note, is there an existing repo containing all the code used for each Glitch project? I could not find one. I could create such a repo which could then be used to export the code to the various FCC Glitch projects if you think that would be a good idea.

@RandellDawson I think a single repo for all the Glitch projects is a great idea. I just performed a test in Glitch and you can specify a directory within a repo to import using the syntax username/repository:path.

@cmccormack OK, then I will first start mapping out which Glitch projects are actually in the camperbot account and which ones are missing. I will create a separate issue where we can track what needs to be done.

Sure, thanks a lot for figuring out the workflow. If needed I can give you: @RandellDawson and @cmccormack access to our Glitch account for taking this up amongst yourselves? Let me know here and we can discuss further over a call early next week.

In the meantime, is there a link to a backup of that project ?

@scissorsneedfoodtoo can you update this Glitch project when you get a chance, while Chris and Randell are working on a better fix.

@raisedadead, I can't update the broken Glitch project because it's not one of ours, but I'd be happy to help with the transfer over to the camperbot account.

@RandellDawson, here's a list of projects in the camperbot Glitch account:

  • shard-weed (API Header Parser boilerplate)
  • fern-freeze (Backend Challenges boilerplate - package.json)
  • prairie-waterfall (Exercise Tracker REST API)
  • actually-bison (Back-end Infosec & Helmet.js boilerplate)
  • trite-organ (Back-end Mongo & Mongoose boilerplate)
  • purple-paladin (API file metadata solution)
  • season-puffin (Manage Node.js projects and npm packages using package.json)
  • roasted-season (API file metadata boilerplate)
  • sincere-cone (Back-end QA mocha-chai boilerplate)
  • nonstop-pond (Exercise Tracker solution)
  • thread-paper (API URL shortener solution)
  • fcc-weather-api-1-1
  • wind-bow (FCC Twitch API pass-through)
  • curse-arrow (FCC Timestamp API solution)
  • dandelion-roar (API Header Parser solution)
  • storm-leopard (Backend npm - package.json boilerplate)
  • wild-song (Full-stack Pinterest clone solution)
  • chrome-delivery (Trade books with other users)
  • flicker-hill (ClementineJS boilerplate)
  • evening-bane (API Image search solution)
  • grove-voice (A P2P Video Chat based on WebRTC)
  • shimmer-ripper (FCC Timestamp API Boilerplate)
  • pastoral-caution (API URL Shortener boilerplate)
  • fertile-pixie (Back-end Basic Express boilerplate)
  • shell-swallow (Full-stack Book Club solution)
  • glen-neck (Full-stack Stocks solution)
  • cream-ape (Full-stack Nightlife solution)
  • ballistic-swallow (Full-stack Voting solution)

And here are the ones I'm unsure about:

  • rail-lettuce
  • gentle-trowel
  • sweet-hook
  • zest-blizzard

There seem to be individual fCC repos for each of the boilerplates, but not the solutions themselves. As @cmccormack mentioned, it would be great to have a single repo for all of the Glitch projects similar to the Testable Projects.

@doubleUTF, do you have your Glitch project in a GitHub repo?

@scissorsneedfoodtoo No Github repo , but Glitch exposes a link to clone: https://api.glitch.com/git/languid-pen. You can run command 'git clone https://api.glitch.com/git/languid-pen' to pull it into local repo.
Here is the original Glitch link if needed: https://glitch.com/~languid-pen

@doubleUTF, awesome, thank you! Since it's a solution I just mirrored your project to the camperbot Glitch account for now. Here's the new link: https://incongruous-beard.glitch.me/

Would you be able to update the link in #23953 to the URL above? Or please feel free to open up a fresh PR with the new link.

@scissorsneedfoodtoo Updated New Glitch URL in #23953.

Btw, in the 'Example return' section of the original project, the result is slightly different than that of passing in '3.1mi' into the 'Front-End' section. I believe my implementation is correct since 3.1mi X 1.60934 = 4.98895 km, whereas the example shows 5.0002 km(incorrectly implies 1mi to 1.6129km). I left the template intact, but should the example return be adjusted to accurately reflect the result from such metric conversion?

Thank you for pointing that out! Yes, it would be good to correct that. I'll update the project in the fCC account now.

It seems like the boilerplate code will have to be adjusted to show the correct return value: https://github.com/freeCodeCamp/boilerplate-project-metricimpconverter

@scissorsneedfoodtoo Great, thanks for helping resolve this longstanding issue!

@doubleUTF not at all, thank you for all of your help with this. Sorry it took us some time to get to it -- we're still recovering from Hacktober fest last year!

And I didn't do much, I just happened to have the login info to help in this case. There would still be thousands of PRs if not for @RandellDawson, @cmccormack, and others, so they deserve the thanks more than anyone.

@RandellDawson @cmccormack Thanks for your assistance, let me know if anything else is required.

Was this page helpful?
0 / 5 - 0 ratings