Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(curriculum); added another challenge to help teach recursion #35966

Merged
merged 5 commits into from
Aug 15, 2019

Conversation

rns350
Copy link
Contributor

@rns350 rns350 commented May 4, 2019

  • [x ] I have read freeCodeCamp's contribution guidelines.
  • [x ] My pull request has a descriptive title (not a vague title like Update index.md)
  • [x ] My pull request targets the master branch of freeCodeCamp.
  • [x ] None of my changes are plagiarized from another source without proper attribution.
  • [x ] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
  • [x ] My changes do not use shortened URLs or affiliate links.

Addresses #16107

@RandellDawson
Copy link
Member

@rns350 I think this is a good start, but see my feedback below.

  1. You really need to clean up the git history. It appears when you first started working on the branch, your master branch (which you should have branched off of) was not clean (did not have the latest updates). This is probably why you had different package.json and package-lock.json files to start with. I suggest rebasing against master and which should reduce the number of commits showing. Also, I recommend squashing as many of the commits as makes sense.

  2. Not sure the order in which this challenge should appear, but you will need to update this meta.json file when you do decide.

  3. I would remove the example in the editor and make sure your description section has any examples you feel are important.

  4. The name of the challenge needs to follow the guidelines as indicated in the styling guide

  5. I would rename the function to something more description and use camelCase for the function name.

  6. I feel like the example should be more closely tied to the challenge to be completed. There would only need to be slight changes in logic to accomplish the task, yet still achieve the desired goal of teaching the recursion concept.

In an attempt to show you what I mean above, I have created a separate PR (#35968) with a different example and problem for the camper to complete. I am not saying that my challenge should be considered instead of yours. Instead, I am hoping you could take some ideas from mine (the similarities of the example and the problem to be solved) along with the kinds of tests I wrote to validate the solution.

@camperbot camperbot added language: English scope: curriculum Lessons, Challenges, Projects and other Curricular Content in curriculum directory. labels May 5, 2019
@rns350
Copy link
Contributor Author

rns350 commented May 9, 2019

Alright, thankyou for the advice, and sorry about the formatting errors! I took a look at what you submitted and see what you mean. I'll make some changes to my file and resubmit a PR before the end of the week. Thanks for your time, I really appreciate it!

@RandellDawson
Copy link
Member

You don't have to create a new PR. Just update your changes on this one. Also, make sure to rebase against master so you clean up the history.

@RandellDawson
Copy link
Member

@rns350 Use git pull --rebase upstream master which should clean up your history a bit. If that does not bring the number of commits down, then let me know.

@rns350
Copy link
Contributor Author

rns350 commented May 13, 2019

Hey Randell, thanks for the advice. Just finished editing the challenge and am working on cleaning up the commit history right now. Will get back to you shortly about the rebase status

@RandellDawson
Copy link
Member

@rns350 It appears that the master branch of your fork has been spoiled. It probably is because you made commits at some point to the master branch instead of a separate branch. @raisedadead I attempted to rebase this PR, but it had over 50 conflicts in the package-lock.json file that it did not seem worth trying to resolve. What is the easiest way to clean up this git history for this PR. It has commits unrelated to the two files. I understand they have been reverted, but it is a mess in my opinion.

@rns350
Copy link
Contributor Author

rns350 commented May 13, 2019

Hi Randell. I just managed to do the rebase and skip those commits, so they are gone in the history of the branch now. The only commits that are shown now involve the creation and updating of the challenge, and the updating of the meta.json file

@RandellDawson
Copy link
Member

You still have commits that changed the package.json and package-lock.json and then reverted the changed too.

@RandellDawson
Copy link
Member

Go ahead squash your commits to one.

@rns350
Copy link
Contributor Author

rns350 commented May 13, 2019

All of the commits are squashed and ready to be pulled!

@rns350 rns350 marked this pull request as ready for review May 13, 2019 20:24
@rns350 rns350 requested a review from a team May 13, 2019 20:24
@RandellDawson RandellDawson removed the request for review from a team May 13, 2019 20:30
@RandellDawson
Copy link
Member

You can get rid of the following since you are not using it.

### Before Test
<div id='{ext}-setup'>

```js
```

</div>

@rns350
Copy link
Contributor Author

rns350 commented May 13, 2019

All set! Resquashed the commits into one

@raisedadead
Copy link
Member

raisedadead commented May 13, 2019

[...] What is the easiest way to clean up this git history for this PR. [...]

Can say the exact approach since this PR looks cleaned up now :).

But one approach I can think by assuming the context is:

  • Branch off the master (doesn't matter if soiled) to a new fix/branch-name branch.
  • Hard reset this new branch to upstream master
  • Then use cherry-pick to grab that one commit which was intended to make the change the first place, or manually make a change a make a fresh commit if its a small quick change.
  • Delete original the PR branch locally git branch -D pr-branch-name.
  • Create the pr branch again from your 'fix' branch and force push to origin to update the PR.
  • Go back to the master and hard reset it too to upstream master for future work.

@rns350
Copy link
Contributor Author

rns350 commented May 13, 2019

wait so do I still need to clean up the commit history? As far as I can tell, the squashed commit only shows two modified files now, the new recursion challenge and the meta file.

@RandellDawson
Copy link
Member

@rns350 No you are fine now. We just need to review the PR now.

@rns350
Copy link
Contributor Author

rns350 commented May 13, 2019

Awesome thanks so much guys!

Copy link
Contributor

@ojeytonwilliams ojeytonwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! While there are lot of suggestions, they're almost all replacing 'fill' with 'pad', since fill already exists in JS and means 'overwrite stuff in an array' not 'append stuff onto an array'.

@RandellDawson RandellDawson added the status: merge conflict To be applied to PR's that have a merge conflict and need updating label Jun 25, 2019
Copy link
Contributor

@thecodingaviator thecodingaviator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,

As there has been no response from your end for a while, we are closing this PR.

Feel free to request this PR to be reopened, if you still wish to make the changes you originally added. Also, remember to update your fork, so you have the latest version of master in case it has changed significantly.

Happy Coding! ✈️

@RandellDawson RandellDawson reopened this Jul 6, 2019
@RandellDawson RandellDawson removed the status: merge conflict To be applied to PR's that have a merge conflict and need updating label Jul 12, 2019
@RandellDawson
Copy link
Member

@ojeytonwilliams I made most of the changes you suggested and since we already have the recursive challenge I created with all the "intro" parts, I shorted the description of this one and also renamed this challenge to be called `Use Recursion to Create a Countdown". Feel free to give critiques on these changes.

Honestly, I still would prefer to have a function which did not require the two parameters (like the version below):

function countdown(n){
  if(n === 1){
    return [1];
  }
  else{
    return [n].concat(countdown( n - 1));
  }
}

countdown(5); // [5, 4, 3, 2, 1]

Another approach for this 3rd recursion challenge would be to introduce the idea of a helper function, so that the main function only has the single parameter n and then the helper function does the actual recursive work. However, at this point, I think we should just try to get this one merged and see what kind of feedback we get on the forum and Gitter Help room once it gets deployed to production.

@RandellDawson RandellDawson changed the title Recursion challenge almost complete - needs a test for recursive calling feat(curriculum); added another challenge to help teach recursion Jul 12, 2019
Copy link
Contributor

@ojeytonwilliams ojeytonwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found a couple of things, but it looks good otherwise.

rns350 and others added 4 commits August 13, 2019 10:04
Squashed all of the commits into one

created the challenge file

updated challenge type

updated the headers

add instructions to intro to recursion

add instructions to intro to recursion

Added the challenge seed

Edited the challenge seed

finished seed/ adding tests

solutions

added the id

added description to introduction-to-recursion

added more tests

added more tests

Fixed broken formatting

Finished most test cases for the recursion challenge

removed unnecesary functions in the after test section

updated the meta data and reworked my example and tests for the recursion challenge using Randell Dawson's example challenge as a guide

reseeded the challenge

fixed an accidental folder move

finished reworking my recursion challenge

added a few more tests with different n values

removed before test section
Copy link
Contributor

@thecodingaviator thecodingaviator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rns350 I think you should add the guide file for this challenge in this same PR.

Feel free to dismiss my review if any other mod has a different opinion

@RandellDawson RandellDawson dismissed thecodingaviator’s stale review August 14, 2019 15:43

Guide is not no longer being built

@RandellDawson
Copy link
Member

@thecodingaviator The guide is no longer being built. All hint/solutions for challenges have to be created on the forum. Until we have a more formal process documented, I am manually creating the forum articles and then adding the forumTopicId to the challenge frontmatter once each new challenge is merged. We only have a few more new challenges coming from PRs, so it will not be a big deal to handle these as they are merged. We are no longer accepting any certification folder PRs. Also, we are no longer accepting any new PRs which add new challenges to the current curriculum. All new challenges would be added through the new curriculum repo.

@ojeytonwilliams Is this PR good to go now?

@RandellDawson
Copy link
Member

RandellDawson commented Aug 14, 2019

@scissorsneedfoodtoo Just need your approval and then you can merge it, if you like what you see.

@scissorsneedfoodtoo
Copy link
Contributor

These recursion challenges look great! Thank you for adding this challenge, @rns350, and for your review @RandellDawson, @ojeytonwilliams, and @thecodingaviator. Looking forward to seeing this live soon.

@scissorsneedfoodtoo scissorsneedfoodtoo merged commit 1ad3abd into freeCodeCamp:master Aug 15, 2019
kaypeter87 added a commit to kaypeter87/freeCodeCamp that referenced this pull request Aug 26, 2019
* Bulma (freeCodeCamp#25927)

* Bulma

* fixed title and localeTitle syntax

* correctly lowercase folder name and added index.md

* Update index.md (freeCodeCamp#25985)

updated a word

* fix: title and translation (freeCodeCamp#24619)

* fix: title and translation

* Update index.md

* Quadro de dados com informação sobre a função read.table (freeCodeCamp#25400)

* Inclusão de descrição mais detalhada. (freeCodeCamp#25593)

* fix: Remove and update challenges with legacy methods (freeCodeCamp#36444)

* fix: add netlify config to ignore

* fix: added cross-env before script (freeCodeCamp#36592)

* feat(curriculum); added another challenge to help teach recursion (freeCodeCamp#35966)

* Squashed the removal of the before test section

* fix: changed blockquote triple backtick syntax

* fix: removed recursion explanation

* fix: changed meta title and thru to through

* fix: capitalize "after" in several strings

* Fix translated names for originals (freeCodeCamp#26046)

* Update translation and format text (freeCodeCamp#26032)

* improvement of 'Pointers' documentation (freeCodeCamp#26285)

* improvement of 'Basic Math' documentation (freeCodeCamp#26301)

* improvement of 'Basic Math' documentation

* fix: corrected code block formatting

* Update index.md (freeCodeCamp#26329)

* Update index.md (freeCodeCamp#26356)

* Fixed some translation mistakes and made text more readable (freeCodeCamp#26394)

* Basic html tutorial in portuguese (freeCodeCamp#26410)

Added the basic html tutorial in portuguese as well as the explanation for each of the tags contained in the basic structure.

* Fixed some translation errors (freeCodeCamp#26424)

* Improved clarity and syntax (freeCodeCamp#26468)

* Added a complement to the platform description (freeCodeCamp#26470)

* Minor texts improvements, removal of redundancies (freeCodeCamp#26481)

* Fix - Correction in concepts (freeCodeCamp#26570)

* Programming language (freeCodeCamp#26914)

The programming language expression was translated to portuguese to a word similar to 'idiom'.

* Exemplo dinâmico para melhorar entendimento (freeCodeCamp#26960)

* Fix translation errors and format Unity portuguese guide to match the english one (freeCodeCamp#26961)

* Fix translation of game Inside.

https://store.steampowered.com/app/304430/INSIDE/?l=portuguese

* Fix wrong title of Cuphead

* Fix portuguese local title to Unity

* Update formatting of the Interface section to be more clear and match the english one

* Updated translation mistakes. (freeCodeCamp#26968)

* Improved grammar and corrected spelling (freeCodeCamp#27045)

Improved some sentences to make sense in portuguese. Also corrected some words that doesn't need to be translated.

* Improve Portuguese translation of Compilers guide (freeCodeCamp#27087)

Added missing translations, improved some wording and removed extraneous whitespace.

* Fix formatting on portuguese golang index.md (freeCodeCamp#27123)

* Remove whitespaces and fix indentation

* Other fixes to match english version

* Remove whitespaces and fix indentation (freeCodeCamp#27131)

* update translation (freeCodeCamp#27156)

* corrected mistranslation (freeCodeCamp#27175)

* corrected text (freeCodeCamp#27180)

* Improve Portuguese translation of Build Measure Learn guide (freeCodeCamp#27198)

Fixed mistakes and improved some wording.

* Improve Portuguese translation of Business Value guide (freeCodeCamp#27216)

* Improve Portuguese translation of Chickens Versus Pigs guide (freeCodeCamp#27239)

Improved consistency and some wording.

* Improvement of "loops" documentation (freeCodeCamp#27271)

adding example of for loop

* Improve Portuguese translation of Assembly Language guide (freeCodeCamp#27284)

* Improvement of "onclick-event" documentation (freeCodeCamp#27292)

* Libraria PixiJS (freeCodeCamp#27421)

* Libraria PixiJS

* missing extension

* Update and rename guide/portuguese/canvas/PixiJS.md to guide/portuguese/canvas/pixijs/index.md

* More detailed to explanation (freeCodeCamp#27527)

I put some details about built-in functions and explained better how to import them.

* Translate the comments (freeCodeCamp#27536)

Translation of some comments that was in English.

* English to Portuguese translate (freeCodeCamp#27567)

* Sugestão da tradução do termo React Native (freeCodeCamp#27866)

Por ser o nome do framework acredito não ser necessário traduzir o termo React Native

* Sugestão da tradução do termo React Native (freeCodeCamp#27867)

O termo React Native ao meu ver não precisa ser traduzido por ser tratar do nome de um framework.

* Sugestão da tradução do termo React Native (freeCodeCamp#27873)

Por se tratar do nome do framework, penso ser desnecessário a sua tradução.

* Sugestão da tradução do termo React Native (freeCodeCamp#27874)

Por ser o nome do framework, não considero necessário traduzir o termo para o português.

* Sugestão de Tradução do termo React Native (freeCodeCamp#27885)

Assim como em JavaScript, não vejo a necessidade de traduzir o termo React Native.

* Add text: "(...)sendo um mecanismo para (freeCodeCamp#27888)

* a few grammar mistakes (freeCodeCamp#27898)

Fixed several mistakes related to the gender. (elas = 3rd person plural pronoun for women, eles = pronoun for men)

And for the expression "sell yourself short", "subestimar-se" or "menosprezar-se" would work better.

* Add CSS code: "body, html { (freeCodeCamp#27932)

* Add text and code: "Não existe uma propriedade (freeCodeCamp#27941)

* Melhora e adiciona mais textos à tradução (freeCodeCamp#28049)

* concordance fix on first section (freeCodeCamp#28052)

It's more readable to Brazilian Portuguese this way.

* translation fix (method) (freeCodeCamp#28056)

The word 'método' is method, but when we speak about kanban and scrum, we are talking about methodologies.

* Addition of an introduction into Chef (freeCodeCamp#28080)

Add an introduction of what Chef does.

* Fix and increment the text (freeCodeCamp#28158)

* Updated the auto-translation (freeCodeCamp#28160)

fixed a few mistakes from the auto-translation

* Updated auto-translation (freeCodeCamp#28165)

The expression used before didn't make any sense. "Meio-termo" is a better translation to "In-between".

* Table fix (freeCodeCamp#28185)

Table was not properly formated

* Mispelling word "comma" corrected in portuguese (freeCodeCamp#28248)

The proper word has been added to the article

* fix some words (freeCodeCamp#28312)

* Translated a sentence. (freeCodeCamp#32178)

* Added a word to make the sentence more understandable. (freeCodeCamp#32180)

* Changed some sentences to make it more understandable. (freeCodeCamp#32172)

* Changed a misspelled word and added more explanation to a sentence. (freeCodeCamp#32183)

* Added some words to make the text better and removed a repeated word. (freeCodeCamp#32175)

* Small changes in the translation (freeCodeCamp#33185)

* Update index.md (freeCodeCamp#32999)

Os vazamentos são causados ​​quando você não consegue desalocar a memória dinâmica alocada por meio do operador `New` no final do programa. Se você não desalocá-lo com o operador Excluir,

to: 

Os vazamentos são causados ​​quando você não consegue desalocar a memória dinâmica alocada por meio do operador `New` no final do programa. Se você não desalocá-la com o operador `delete`,

* Added a paragraph and code (freeCodeCamp#33028)

Capitalized the first letter of the class name, translated a new paragraph in Inheritance and added the corresponding code example.

* Small changes in the translation (freeCodeCamp#33146)

* A few translations and some small changes (freeCodeCamp#33052)

* Making the full translation (freeCodeCamp#33585)

* Corrected a few translation issues (freeCodeCamp#32142)

* Improved translation (freeCodeCamp#32198)

* Improved translation and title formatting (freeCodeCamp#32204)

* Improved translation and title formatting (freeCodeCamp#32209)

* add text (freeCodeCamp#33087)

(comprimento e altura)

Area = a x b

* chaged text (freeCodeCamp#33094)

a base pela altura e dividindo o resutado por 2

Area = (3 * 4) / 2 = 6 cm²

Área = ( a * b) / 2

* translated from english (freeCodeCamp#33111)

Escrevendo os restos de baixo para cima resulta no padrão binario:

Verificando a resposta convertendo o número binário de volta para decimal:

 Então a sua resposta está correta

* changed step text (freeCodeCamp#33126)

* changed the fisrt step (freeCodeCamp#33132)

Multiplique os dois numeradores e os dois denominadores das frações

* add text in portuguese (freeCodeCamp#33135)

* explicação (freeCodeCamp#29795)

inclusão de uma nova explicação

* tradução (freeCodeCamp#29796)

Correção de tradução de table para tabela.

* correção de texto (freeCodeCamp#29800)

correção de texto

* correção de escrita (freeCodeCamp#29821)

correção de escrita em texto

* Proofread in language and adequations in content (freeCodeCamp#30959)

I made some corrections in the text in order to improve its comprehension in Portuguese language. Also, I did some small modifications in content to better express what code documentation is. I added the same links from the English version in "more information".

*  Small corrections in the text. (freeCodeCamp#30622)

Some wrong words, and lack of verbal agreement.

* Fix versions html table (freeCodeCamp#28533)

* Correções de gramática (freeCodeCamp#29132)

* Correção de erro de português (freeCodeCamp#31468)

Correção da palavra coleta para coleção.

* Foi adicionado o atributo required para validação (freeCodeCamp#28573)

* Making it more comprehensible (freeCodeCamp#32304)

Somethings could become an obstacle to the comprehension for portuguese only speakers.

* Changed 'criativos' to 'criacionais' (freeCodeCamp#32037)

Changed 'padrões criativos' to 'padrões criacionais' for consistency.

* Improved Portuguese translation (freeCodeCamp#29040)

Standardized translation for "Skip navigation link" and made minor changes to improve comprehension

* Changed "Etherium" to "Ethereum" (freeCodeCamp#29082)

While reading this .md I found that the word "Ethereum" was mistyped.

* Modified print () to printf() (freeCodeCamp#35048)

Modifiquei print () para printf ()

* Portuguese semantics and mispelling corrected (freeCodeCamp#28244)

* Tradução adicional (freeCodeCamp#34485)

Traduzindo o nome de variáveis e comentários do código

* Translated example codes to Portuguese (freeCodeCamp#31189)

The translation was made to make more sense for readers who do not speak English

* Capital Letter (freeCodeCamp#32447)

* Fix typo CPPU (freeCodeCamp#28870)

Fixes a typo in, "Um CPPU precisa de endereços de memória para obter valores especificados da RAM."

* certifications/index.md: correct ponctuation (freeCodeCamp#33759)

Removed unnecessary spaces before full stops (".")

* Fixing a couple of typos in German README.md file (freeCodeCamp#28877)

* Adding link on an image, improving text (freeCodeCamp#28819)

* Correção gramática e link ime pilha (freeCodeCamp#29119)

* Correção gramática e link ime pilha

* fix: changed c++ to cpp

* change in the name of the main commands (freeCodeCamp#29996)

If the command names have been translated into Portuguese, they do not work to use angular-cli.

* Removed extra spaces (freeCodeCamp#32058)

Removed extra spaces before the commas in the list.

* Improved consistency (freeCodeCamp#32049)

Removed extra spaces from the list (before the colons) for consistency to English original.

* Improved translation (freeCodeCamp#32062)

Changed 'comportamental' to 'comportamentais' for improved consistency with English original.

* Update translation of index.md (freeCodeCamp#28594)

* alteração de titulos (freeCodeCamp#29853)

melhor compreensão do assunto tratado

* Language semantics and misspelling improved (freeCodeCamp#28980)

* adicionar fontes personalizadas (freeCodeCamp#28259)

* adicionar fontes personalizadas

* Update index.md

* adding term "linux" specifying it as 'Unix like' (freeCodeCamp#28667)

Fixing a probable translation problem adding the "unix like" term to best understanding.

* translate to portuguese SSH's index.md (freeCodeCamp#28670)

* Add example about branch and a branch model (freeCodeCamp#28671)

- added an example about branching and one image
- added in the end "Mais informações" a link to a post about a successful git branching model

* Update portuguese translation (freeCodeCamp#28823)

The name of "Promise" was translated to portuguese, "Promessa", but since it's a name, it should reamin the original name.
Some code examples had been changed. I returned to the original, and only translated the comments.

* Correcting some translate errors (freeCodeCamp#28830)

* Correcting some translate errors

* Correct loacleTitle format

* Adding information about range function (freeCodeCamp#28847)

* Improving the "Google Translation" in Vue (freeCodeCamp#28906)

* Correções de linguagem (freeCodeCamp#29126)

* Traduzir trecho do código de exemplo (freeCodeCamp#29150)

* docs(angular): translate angular resources to pt-BR (freeCodeCamp#29255)

* Small adjustments in translation (freeCodeCamp#32200)

Small adjustments in translation

* Added content in Portuguese about the scikit-learn (freeCodeCamp#29346)

Adding content in Portuguese about the scikit-learn module:
e.g., description, installation & dependencies, development, important links.

* Missing ternary operator (freeCodeCamp#29395)

Inclusion of the ternary operator in the explanation about control flow.

* Update index.md (freeCodeCamp#29458)

* Adjustment on the automatic translation (freeCodeCamp#29503)

Adjustment on the automatic translation

* Adjust on trranslation (freeCodeCamp#29506)

Adjust on trranslation

* Correction of portuguese expressions (freeCodeCamp#29639)

big list or file is not: "lista ou arquivo grande."
big list or file is : "grande lista ou arquivo."

* Improve some portuguese expressions. (freeCodeCamp#29648)

Small changes in some words to improve the main idea clearly.

* We don´t use a translation to "Focus Groups" (freeCodeCamp#29655)

Professional groups of i.t. don´t translate some names of metodologis, thecnologies, events...

* Improvement of portuguese expressions. (freeCodeCamp#29688)

Improve some portuguese expressions.

* Update index.md (freeCodeCamp#29741)

capitalization of some words and replaced some wrong grammar.

* [Fix] Improving translations of some English words (freeCodeCamp#29774)

* [fix] improving translations (freeCodeCamp#29779)

* [fix] improving translations (freeCodeCamp#29781)

* Textualização (freeCodeCamp#29792)

Melhoria na tradução do texto facilitando o entendimento.

* Update index.md (freeCodeCamp#29841)

Review in text. Punctuation Correction.

* Optimizing portuguese translation (freeCodeCamp#29987)

Correcting some translating errors

* Fixing broken links and translation errors (freeCodeCamp#29991)

Pulling out some broken links in the text and fixing the translation (pt-br).

* improve YOLO translation (freeCodeCamp#30040)

improve YOLO translation

* guide: correct grammar/traslation on vim basic usage (freeCodeCamp#30680)

index.md

* Portuguese translation and corrections (freeCodeCamp#30850)

Added last sentences from the English guide. Corrected some mistranslated words and punctuation marks.

* Portuguese corrections and vocabulary adaptation (freeCodeCamp#30861)

Translated "Ledger" to "Contabilidade" ("contabilidade distribuída" is currently being used as a satisfactory translation). Changed "mineiros" to "mineradores". Changed "ápice da administração" to "alta administração". Made minor adjustments to improve comprehension.

* Translation Update (freeCodeCamp#31188)

Correctness of the portuguese translation. Text adapted to make easier to understand the code explanation with portuguese words. Used correct word Classe, Objeto e Método when refering Class, Object and Method, avoiding misunderstanding when dealing with both languages.

* Correção da palavra opacity (freeCodeCamp#31399)

Correção básica de português na palavra opacity

* Improve comprehension with language adequacy (freeCodeCamp#31643)

This text showed some problems in its translation and structure. So, I proofread the Portuguese format and made some adaptations in the text itself based on the content of the reference cited.

* Improved translation (freeCodeCamp#32056)

Changed 'padões criativos' to 'padroes criacionais' for consistency with English original.
Translated 'Prototype pattern' to 'Padrão prototype'.

* Small adjustments in translations (freeCodeCamp#32208)

Small adjustments in translations

* Small adjustments in translation (freeCodeCamp#32211)

Small adjustments in translation

* Update props description (freeCodeCamp#32250)

* Update text about Arrow Functions ES6 (freeCodeCamp#32261)

* Update ruby string operations portuguese guide (freeCodeCamp#32298)

Translation based on english guide:
`https://github.com/freeCodeCamp/freeCodeCamp/edit/master/guide/english/ruby/ruby-string-operations/index.md`

* Update text about Actions - Redux (freeCodeCamp#32269)

* Update text about Components in React. (freeCodeCamp#32281)

* Update ruby symbols portuguese guide (freeCodeCamp#32295)

Translation based on english guide:
`https://github.com/freeCodeCamp/freeCodeCamp/blob/master/guide/english/ruby/ruby-symbols/index.md`

* Minor changes for better comprehension in index.md (freeCodeCamp#32309)

I've changed only the names of the variables and the comments to portuguese, plus other minor issues.

* Minor changes to index.md (freeCodeCamp#32311)

Changed the "A" tag titles, in portuguese it was mostly wrong, in a certain point it was translated to "onde day" due to the similarities to german.

* Capital letters. (freeCodeCamp#32440)

* Changed punctuation and some words. (freeCodeCamp#32442)

* guide:correct grammar/translation on let's encrypt (freeCodeCamp#32477)

* Adicionando mais informações (freeCodeCamp#32684)

Adicionando mais informações e corrigindo eventuais erros de grafia.

* Fix terms and add installation commands (freeCodeCamp#32694)

Updating Apache guide in Portuguese translation

* Update index.md (freeCodeCamp#32701)

* Fix non translated text and add more commands (freeCodeCamp#32704)

Fix translation of Docker-compose guide in Portuguese

* Change titles on lines 51 and 77 (freeCodeCamp#32746)

The translation of the titles on lines 51 and 77 in portuguese is wrong. It should be changed for this version to help people to better understand the guide.

* Fix localeTitle and line 5 (freeCodeCamp#32787)

* Update index.md (freeCodeCamp#32994)

Removed some strange information about area, and added simbol of pi.

* Mudei a frase para ser mais simples para ler. (freeCodeCamp#33096)

* Adicionei uma frase explicando APIs (freeCodeCamp#33104)

* Adicionei palavras descrevendo a quantidade dos dados processado (freeCodeCamp#33107)

* add folder react-hooks (freeCodeCamp#33133)

* add folder react-hooks

introduction of react hooks

* Update index.md

* Update index.md

* [Portugese] Fix gitter href for official chat rooms link (freeCodeCamp#33237)

* Adding missing description inside inline code CSS (freeCodeCamp#33580)

* Full translation (freeCodeCamp#33592)

* Adding more information (freeCodeCamp#33610)

* Agile/index.md - correct spelling of Português (freeCodeCamp#33615)

Correct the word "Português" in the link to the Agile Manifest in Portuguese. It was missing a "u".

* Melhorando a explicação (freeCodeCamp#33866)

* Adicionado informação para ajudar explicação (freeCodeCamp#33871)

* Translated some english content and layout fix (freeCodeCamp#33924)

Translated some english content, and layout fix

* Update index.md (freeCodeCamp#34295)

* portuguese translation of the redux/middleware article in the guide (freeCodeCamp#35119)

* add "sapply function" portuguese translation to guide (freeCodeCamp#36391)

* add "sapply function" portuguese translation to guide

* fixing locale title at pt/sapply-function

* Fix sentences (freeCodeCamp#33602)

Fix sentences

* Small adjustments in translation (freeCodeCamp#32213)

* Small adjustments in translation

Small adjustments in translation

* Update index.md

* Typescript -> TypeScript (portuguese) (freeCodeCamp#35203)

* create README.spanish.md (freeCodeCamp#36142)

* feat: add bootcamp cost calc guide (freeCodeCamp#35278)

* feat: add bootcamp cost calc guide

* feat: use ReactJS portals

* feat: fix eslint errors

* feat: update with change requests

* feat: update package-lock.json

* Edited lang in docs/russian/how-to-catch-outgoing-emails-locally.md (freeCodeCamp#31359)

* fix image urls (freeCodeCamp#33942)

* fix image urls

* fix image urls

* Revert "feat: add bootcamp cost calc guide (freeCodeCamp#35278)" (freeCodeCamp#36614)

This reverts commit 869f5ed.

* fix(tools): add build scripts

* fix(server,client): CORS is a real nightmare

* replaced stub with solution to large sum (freeCodeCamp#36618)

replaced stub with solution to large sum, explanation, links

* fix: remove azure pipelines config file

* chore(client): update gatsby

* [Update-guide] Improved article (freeCodeCamp#36613)

* [Update-guide] Added link of a hands-on tutorial

Added link of a hands-on tutorial which is a great way to learn more about Haskell.

* [Update] Added more content about Haskell

Added reasons for learning Haskell and link with project ideas.

* fix: removed non-secure links

* translate: fix translation and grammar on vim's guide index.md (freeCodeCamp#28551)

* translate: fix translation and grammar on vim's guide index.md

* fix: changed estao to estão

* errores de dedo en la traducción (freeCodeCamp#28433)

* [Order] [Portuguese] Fixing chaotic order of table of languages (freeCodeCamp#36252)

* Added Greek lang

* Capitalized "русский" into "Русский"

* Update CONTRIBUTING.md (freeCodeCamp#36510)

fixing freeCodeCamp#36483

* fix: update client dependencies

* fix: add link to boilerplate Glitch file (freeCodeCamp#36340)

* Add link to boilerplate Glitch file

The boilerplate link is hard to see in the previous "introduction" page. I was using the old Glitch project link, and was confused.

When I googled for a solution, it was clear than others had also been quite confused. I believe this additional instruction will help many people.

* Direct people back to introduction page

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Remove unnecessary indentation

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Remove spaces on empty line

Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* Remove spaces on empty line

Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* Add empty line to fix markdown link

Markdown link needs a blank line to render correctly

* fix: add extra line to prevent linting error

* fix/remove-bullet-points


Co-authored-by: Randell Dawson <rdawson@onepathtech.com>
Co-authored-by: Tom <tmondloch01@gmail.com>

* finished translation, (freeCodeCamp#27125)

corrected bad translation of css properties, corrected code indentation,

* fix: NODE_ENV conflicts on pipelines

* docs: setup -> set up

* docs: add pipeline badges

* fix: remove avatar from nav

* fix(redirects): update app paths and other misc. (freeCodeCamp#36635)

* fix: add identicon natively (freeCodeCamp#36633)

* Changed exhibition title (freeCodeCamp#27450)

guide/portuguese/r/data-types

* fix(client): update profile image urls check (freeCodeCamp#36636)

* fix(redirects): update redirection paths and codes

* fix(redirects): update redirection paths and codes

* feat: commandline chic

* fix(profile): update identicon colors

* added solution 2 to the article (freeCodeCamp#36639)

* typo fixed (freeCodeCamp#36642)

* Minor grammar fixes (freeCodeCamp#36643)

* Minor grammar fix

* Added Diamond Printing Example.md (freeCodeCamp#36637)

Added Example of a Diamond Printing code

* [Update] Added guide for unordered_map (freeCodeCamp#36608)

* [Update] Added guide for unordered_map

* fix: removed unsecure links

* Typescript -> TypeScript (spanish) (freeCodeCamp#35204)

* Typescript -> TypeScript (spanish)

* Update index.md

* update translation greedy-algorithms (freeCodeCamp#36388)

* update translation greedy-algorithms

* updated translation after review

* Corrected access on constant variable and access on attribute properties. (freeCodeCamp#36586)

First on constant variable issue:

This will not compile:

[Plugin(MyPluginName)] // Won't compile because MyPluginName isn't const
[Plugin(MyConstPluginName)] // OK
[Plugin("My Cool Plugin")] // OK

In order to access properties on the static class, it must specify the name of the class before the properties name as proposed on this change:

[Plugin(Variables.MyPluginName)] // Won't compile because MyPluginName isn't const
[Plugin(Variables.MyConstPluginName)] // OK
[Plugin("My Cool Plugin")] // OK

Second on access on attribute properties:

In order to access plugin.Name on this code:

var type = typeof(MyPlugin); // Returns a Type object representing our MyPlugin class
	var attributes = System.Attribute.GetCustomAttributes(type); // Returns an Attribute[]

	foreach (var a in attributes)
	{
		if (a is PluginAttribute plugin)
			Console.WriteLine($"Plugin Name: {plugin.Name}");
	}

You need to cast if first to the right class, then access the properties, as the above code will generate a compile-time error:

var type = typeof(PluginAttribute); // Returns a Type object representing our PluginAttribute class
	var attributes = System.Attribute.GetCustomAttributes(type); // Returns an Attribute[]

	foreach (var a in attributes)
	{
		if (a is PluginAttribute)
                    {
                        PluginAttribute plug = (PluginAttribute)a; //Cast it first to PluginAttribute class before you can access all accessible properties
                        Console.WriteLine($"Plugin Name: {plug.Name}");
                    }
	}

* feat(guide): Add a new solution using reduce (freeCodeCamp#36629)

* Improved Spanish List Guide (freeCodeCamp#31432)

Added a lot more of information and code examples

* fix/margins-on-buttons (freeCodeCamp#36649)

* fix: Global color vars (freeCodeCamp#36653)

* Added colors from the style guide to :root so they're available globally. Also switched out hex codes for named variables in .dark-palette and .light-palette wherever possible.

* feat: add success and danger colors to root

* fix: added forumTopicId to new challenge (freeCodeCamp#36609)

* fix(donate): modal opens at most once per session (freeCodeCamp#36632)

* Track if donation modal has opened in a session

* Fix prettier problem

* Create separate action that switches donationRequested

* Cambios de traducción y mejoras (freeCodeCamp#32973)

Distintas mejoras de traducción. Sobretodo el continuo uso de "Cuerdas" en vez de "Cadena" para el término de String.

* Guide to the Data Visualization with D3 Work with Data in D3 (freeCodeCamp#36651)

* Guide to the Data Visualization with D3 Work with Data in D3

* Guide to data visualization with d3 work with data in d3

* Delete index.md

* Solution using RegExp (freeCodeCamp#36665)

* Update index.md

I think it can be interesting to propose a solution using RegExp.

* fix: wrapped code in code fences

* fix/make=editor-night-mode-by-default (freeCodeCamp#36667)

* Fix/donate progress bar color (freeCodeCamp#36661)

* fix/donate-progress-bar-color

* fix/colors

* worker thread (freeCodeCamp#36680)

* Several text improvements and bad translated words (freeCodeCamp#26484)

* Change text in lines 25 and 52 (freeCodeCamp#32734)

For better translation, following the context of the paragraph, the lines 25 and 52 should be changed for this version,

* Added example and fixed 'Ionicones' (freeCodeCamp#32804)

* clean up the Russian translation/fix link* (freeCodeCamp#34147)

* the Wikipedia link now points to the Russian Wikipedia page on DRY

* Update removed redundant text (freeCodeCamp#36685)

Removed twice repeated text.

* fix(client): margin-on-project-pages (freeCodeCamp#36646)

* fix: change toggle style and improve responsiveness

* fix: bring buttons closer and reduce repetition

* fix: remove theme settings correctly

* fix: move toggle buttons below labels on mobile

* fix(client): heatmap-colors (freeCodeCamp#36660)

* fix/heatmap-colors

* fix/simplify-variables

* fix/if-statements+typo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: curriculum Lessons, Challenges, Projects and other Curricular Content in curriculum directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants