Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,208,100 members, 8,001,516 topics. Date: Wednesday, 13 November 2024 at 11:40 AM

Andela: IT Training And Job - Jobs/Vacancies (225) - Nairaland

Nairaland Forum / Nairaland / General / Jobs/Vacancies / Andela: IT Training And Job (644235 Views)

Letter To All Fresh Graduates and Job seekers / Andela: IT Training And Job - Jobs/vacancies / Similarities Between Football And Job (2) (3) (4)

(1) (2) (3) ... (222) (223) (224) (225) (226) (227) (228) ... (263) (Reply) (Go Down)

Re: Andela: IT Training And Job by chunis: 1:00pm On Nov 22, 2018
teamoneline:


bro thanks for this video.. please from 4:59 of the video after the teacher typed "git merge update-readme --no-f" and hit enter..it takes him to another screen .. now the problem is i dont know what he pressed to return back to the normal bash interface after writing his commit message.
please what did key did he press??

I didn't see the video but you are using the default git editor (VIM) to write merge commit messages. After writing the merge commit message (note that the greyed out letters at the end mean it wouldn't be included), follow the following steps:

1. Press ESC
2. Press :wq
3. Hit enter

When less busy maybe you should configure your own editor as the default editor in git
Re: Andela: IT Training And Job by teamoneline: 1:34pm On Nov 22, 2018
chunis:


I didn't see the video but you are using the default git editor (VIM) to write merge commit messages. After writing the merge commit message (note that the greyed out letters at the end mean it wouldn't be included), follow the following steps:

1. Press ESC
2. Press :wq
3. Hit enter

When less busy maybe you should configure your own editor as the default editor in git

thanks
Re: Andela: IT Training And Job by chunis: 3:11pm On Nov 22, 2018
teamoneline:


thanks

Welcome welcome
Re: Andela: IT Training And Job by KazukiIto(m): 7:54pm On Nov 22, 2018
teamoneline:


bro thanks for this video.. please from 4:59 of the video after the teacher typed "git merge update-readme --no-f" and hit enter..it takes him to another screen .. now the problem is i dont know what he pressed to return back to the normal bash interface after writing his commit message.
please what did key did he press??


That interface right there, is Vim editor. What he pressed was ESC- :wq. ESC to exit INSERT mode. The other arguments are to write the file to disk and then quit
Re: Andela: IT Training And Job by samnelly4u: 4:22am On Nov 23, 2018
guys please i need your help on this

function digitize(n) {


let str = String(n);
return str.split('').map(Number).sort();

}



Test Results:
Test Passed: Value == true
Test Passed: Value == true
Test Passed: Value == true
Expected: true, instead got: false
Expected: true, instead got: false

Re: Andela: IT Training And Job by IlorinBoy1: 5:46am On Nov 23, 2018
samnelly4u:
guys please i need your help on this

function digitize(n) {


let str = String(n);
return str.split('').map(Number).sort();

}



Test Results:
Test Passed: Value == true
Test Passed: Value == true
Test Passed: Value == true
Expected: true, instead got: false
Expected: true, instead got: false

I really can't see which tests you are failing, what i would do is create an empty array, then use a for loop to push every character/integer in the string into the array. Mind you, I won't push the characters/integers directly, I will first do a parseInt and push the parseInt characters
Re: Andela: IT Training And Job by IlorinBoy1: 5:47am On Nov 23, 2018
First week of homework for Bootcamp cycle 39, how is it going guys?
Re: Andela: IT Training And Job by DonPikko: 8:35am On Nov 23, 2018
samnelly4u:
guys please i need your help on this

function digitize(n) {


let str = String(n);
return str.split('').map(Number).sort();

}



Test Results:
Test Passed: Value == true
Test Passed: Value == true
Test Passed: Value == true
Expected: true, instead got: false
Expected: true, instead got: false
you are obviously doing the wrong thing then, what is the task
Re: Andela: IT Training And Job by sheygz: 11:18am On Nov 23, 2018
Guys please which is a better practice and what could be the effect?
i)merging each feature branch to the develop branch locally and then pushing the develop branch remotely
ii)pushing each feature branch to the remote repo, doing a pull request and merging it to the remote develop branch

cc IsArray Don Pikko Guente
Re: Andela: IT Training And Job by DonPikko: 11:52am On Nov 23, 2018
sheygz:
Guys please which is a better practice and what could be the effect?
i)merging each feature branch to the develop branch locally and then pushing the develop branch remotely
ii)pushing each feature branch to the remote repo, doing a pull request and merging it to the remote develop branch

cc IsArray Don Pikko Guente


2 is better practice
Re: Andela: IT Training And Job by guente02(m): 2:00pm On Nov 23, 2018
sheygz:
Guys please which is a better practice and what could be the effect?
i)merging each feature branch to the develop branch locally and then pushing the develop branch remotely
ii)pushing each feature branch to the remote repo, doing a pull request and merging it to the remote develop branch

cc IsArray Don Pikko Guente


Bootcamp requires you do the later.
Re: Andela: IT Training And Job by samnelly4u: 10:18pm On Nov 23, 2018
DonPikko:
you are obviously doing the wrong thing then, what is the task

here is the task:
Given a non-negative integer, return an array or a list of the individual digits in order.

separate multiple digit numbers into an array

Parameters
n: Number - Number to be converted

Return Value
Array<Number> - Array of separated single digit integers

Examples
n Return Value
123 [1,2,3]
8675309 [8,6,7,5,3,0,9]
Re: Andela: IT Training And Job by DonPikko: 10:36pm On Nov 23, 2018
Convert to string, convert to array, and map to number, you don't need to sort
samnelly4u:


here is the task:
Given a non-negative integer, return an array or a list of the individual digits in order.

separate multiple digit numbers into an array

Parameters
n: Number - Number to be converted

Return Value
Array<Number> - Array of separated single digit integers

Examples
n Return Value
123 [1,2,3]
8675309 [8,6,7,5,3,0,9]
Re: Andela: IT Training And Job by minions(m): 9:47am On Nov 24, 2018
So, I have been trying to get a hang of this git workflow thingy. And this is my understanding.
1. You create a repo on github.
2.You clone using git clone url
3. From this clone which is the local repository we create a develop branch using git checkout -b develop
4.On the develop branch, we create a branch for each feature git checkout -b feature_branch
# we work from this feature branch.
5. When the specific feature is done, you switch to develop branch - git checkout develop.
6. You merge feature branch - git merge feature_branch
You repeat 1 to 6 for each feature. When done:

7. You switch to the clone repo on your pc which I will call master - git checkout master
8 You merge develop branch - git merge develop

9. You delete the feature branches git branch -d feature_branch.
10. Push to remote master on Hub.

Please, what comprises a feature would one call a login page a feature or a route that does a specific thing eg form Posting?

Question 2. Is there a way to get back to the correct workflow after messing up.
Question 3. Does it mean we don't push to master or merge to master clone on PC until all work is done ie until 4thweek?

Please someone that understands and has the time should please help out and correct my steps above. Ejoor. Bikonu.
Re: Andela: IT Training And Job by teamoneline: 12:12pm On Nov 24, 2018
minions:
So, I have been trying to get a hang of this git workflow thingy. And this is my understanding.
1. You create a repo on github.
2.You clone using git clone url
3. From this clone which is the local repository we create a develop branch using git checkout -b develop
4.On the develop branch, we create a branch for each feature git checkout -b feature_branch
# we work from this feature branch.
5. When the specific feature is done, you switch to develop branch - git checkout develop.
6. You merge feature branch - git merge feature_branch
You repeat 1 to 6 for each feature. When done:

7. You switch to the clone repo on your pc which I will call master - git checkout master
8 You merge develop branch - git merge develop

9. You delete the feature branches git branch -d feature_branch.
10. Push to remote master on Hub.

Please, what comprises a feature would one call a login page a feature or a route that does a specific thing eg form Posting?

Question 2. Is there a way to get back to the correct workflow after messing up.
Question 3. Does it mean we don't push to master or merge to master clone on PC until all work is done ie until 4thweek?

Please someone that understands and has the time should please help out and correct my steps above. Ejoor. Bikonu.

sincerely i couldn't just understand the whole git hub workflow . but this is what i did

-i created a repo on github with readme
-git clone <url>
-cd <url-folder>
-git checkout -b develop
-git checkout -b feature-bla-bla-bla
------then when i was done with that feature..:
- git add . (on that feature branch)
-git commit -m "bla bla bla"
-git push origin <branch name im pushing up to gitbub(feature-bla-bla-bla)>
-click on the green compare & pull request button on github and created a pull request, went to pivotaltracker and added pull request option(after integrating pivottr with github) then went on github and merged..
-came back to my local repo switch to develop branch from previous feature branch that was pushed and -- git pull origin master(on develop branch)
-git checkout -b another-feature-bla-bla-bla
-repeat till all features were done

----- when i was done i merged all the feature branches to develop branch on local repo.
and i stopped there. i did not even touch the master branch..
i dont know if am correct at all. i just did as the spirit leads. maybe when we get to camp it will be explained better. i just hope it wont be a criteria to kick one out..
Re: Andela: IT Training And Job by teamoneline: 12:33pm On Nov 24, 2018
samnelly4u:


here is the task:
Given a non-negative integer, return an array or a list of the individual digits in order.

separate multiple digit numbers into an array

Parameters
n: Number - Number to be converted

Return Value
Array<Number> - Array of separated single digit integers

Examples
n Return Value
123 [1,2,3]
8675309 [8,6,7,5,3,0,9]

this question simple na.
hmm prepare well well oo. andela dey find guru..

tip: Array.from(input to string , function that will convert string to integer); would solve this easily without creating an intermediate array
Re: Andela: IT Training And Job by gentletalkaktiv: 5:29pm On Nov 24, 2018
@teamoneline @minions

1. Create the repository on github and Clone the repository from github to your local machine.
2. Change the default head on github to develop from master(you can do that under settings manually), then checkout to develop locally and checkout again to the first feature branch.
3. git add, commit and push to this first feature branch remotely.
4. Raise a Pull Request and then merge with remote develop so develop is up to date.
5. Locally, checkout to develop then pull the remote develop branch into the local develop before you checkout and create another feature branch B then add, commit and push like above then raise a PR and merge with develop.
6. Continue the cycle like that of going back to develop after merging and pulling to create another feature branch.

N.B: Master branch is not meant to be worked on in this type of workflow, instead, develop becomes your default head (serves as master branch) in this case. Usually, only production ready code is merged into master and that will usually be done by the team lead on a real-world project.

Secondly, see each feature branch as a testing ground for something new you want to incorporate into your project such that you only merge it with develop when you are satisfied with all the features you intend to implement on the branch. This is so that develop holds the current working state of your project always.

This workflow also makes collaboration possible because you will do that a lot going forward as a fellow.
I hope this makes sense? Goodluck guys.

5 Likes

Re: Andela: IT Training And Job by IlorinBoy1: 5:32pm On Nov 24, 2018
Response now redundant!

However, it's never too late to turn and follow the right way, once you know the right way - Dr Oby Ezekwesili.


teamoneline:


sincerely i couldn't just understand the whole git hub workflow . but this is what i did

-i created a repo on github with readme
-git clone <url>
-cd <url-folder>
-git checkout -b develop
-git checkout -b feature-bla-bla-bla
------then when i was done with that feature..:
- git add . (on that feature branch)
-git commit -m "bla bla bla"
-git push origin <branch name im pushing up to gitbub(feature-bla-bla-bla)>
-click on the green compare & pull request button on github and created a pull request, went to pivotaltracker and added pull request option(after integrating pivottr with github) then went on github and merged..
-came back to my local repo switch to develop branch from previous feature branch that was pushed and -- git pull origin master(on develop branch)
-git checkout -b another-feature-bla-bla-bla
-repeat till all features were done

----- when i was done i merged all the feature branches to develop branch on local repo.
and i stopped there. i did not even touch the master branch..
i dont know if am correct at all. i just did as the spirit leads. maybe when we get to camp it will be explained better. i just hope it wont be a criteria to kick one out..

Re: Andela: IT Training And Job by gentletalkaktiv: 5:40pm On Nov 24, 2018
minions:
So, I have been trying to get a hang of this git workflow thingy. And this is my understanding.
1. You create a repo on github.
2.You clone using git clone url
3. From this clone which is the local repository we create a develop branch using git checkout -b develop
4.On the develop branch, we create a branch for each feature git checkout -b feature_branch
# we work from this feature branch.
5. When the specific feature is done, you switch to develop branch - git checkout develop.
6. You merge feature branch - git merge feature_branch
You repeat 1 to 6 for each feature. When done:

7. You switch to the clone repo on your pc which I will call master - git checkout master
8 You merge develop branch - git merge develop

9. You delete the feature branches git branch -d feature_branch.
10. Push to remote master on Hub.

Please, what comprises a feature would one call a login page a feature or a route that does a specific thing eg form Posting?

Question 2. Is there a way to get back to the correct workflow after messing up.
Question 3. Does it mean we don't push to master or merge to master clone on PC until all work is done ie until 4thweek?

Please someone that understands and has the time should please help out and correct my steps above. Ejoor. Bikonu.

1. A feature is something that provides a verifiable value to team's customers. like login which you rightly said basically any feature listed in the project and others you intend to add. You may also have chores and bugs.
2. Well, I think amends can be made in case of a mistake but it's always better to be cautious. It's normal for one to get a bit scared with git in the initial stages but with time one will get used to it.
3.You won't even work on/merge to master even in your 5th week grin. So forget about master for now. All work will have their head in develop.

1 Like 1 Share

Re: Andela: IT Training And Job by gentletalkaktiv: 5:44pm On Nov 24, 2018
IlorinBoy1:
@minions, I want to agree with the flow below in response to your earlier post.
I heard we're never to touch the master branch. (Disclaimer: I'm as ignorant as you oo, also participating in the Bootcamp, everything I say here is my opinion).

Also, notice that the submission is by GitHub link, if you merge everything locally, i'm not sure GitHub will show ur merge history well, to enable you get scored by the bootcamp people (i'm not sure, cos i ddnt try).

Lastly, it's never too late to turn and follow the right way, once you know the right way - Dr Oby Ezekwesili.


Don't get too scared. If you know the right thing, do it now, else when you get to the bootcamp, your LFA will guide you accordingly and you will be expected to follow suit henceforth. You will only be penalised if you are told the right thing and you don't do it. Remain EPIC!
Re: Andela: IT Training And Job by teamoneline: 6:09pm On Nov 24, 2018
gentletalkaktiv:
@teamoneline @minions

1. Create the repository on github and Clone the repository from github to your local machine.
2. Change the default head on github to develop from master(you can do that under settings manually), then checkout to develop locally and checkout again to the first feature branch.
3. git add, commit and push to this first feature branch remotely.
4. Raise a Pull Request and then merge with remote develop so develop is up to date.
5. Locally, checkout to develop then pull the remote develop branch into the local develop before you checkout and create another feature branch B then add, commit and push like above then raise a PR and merge with develop.
6. Continue the cycle like that of going back to develop after merging and pulling to create another feature branch.

N.B: Master branch is not meant to be worked on in this type of workflow, instead, develop becomes your default head (serves as master branch) in this case. Usually, only production ready code is merged into master and that will usually be done by the team lead on a real-world project.

Secondly, see each feature branch as a testing ground for something new you want to incorporate into your project such that you only merge it with develop when you are satisfied with all the features you intend to implement on the branch. This is so that develop holds the current working state of your project always.

This workflow also makes collaboration possible because you will do that a lot going forward as a fellow.
I hope this makes sense? Goodluck guys.

that means we are not to touch any master branch both locally and remotely(github)? ...
please clarify your no 3. again.. did you mean the following

- git add .
-git commit -m "message"
-git push origin <feature branch> (that origin will now refer to the develop branch that was set as default on github ?)
Re: Andela: IT Training And Job by naijanoni(m): 6:23pm On Nov 24, 2018
teamoneline:


that means we are not to touch any master branch both locally and remotely(github)? ...
please clarify your no 3. again.. did you mean the following

- git add .
-git commit -m "message"
-git push origin <feature branch> (that origin will now refer to the develop branch that was set as default on github ?)
You are NOT to touch the master branch at all.
At bootcamp you'll be thought all these.
But its good to know and follow these standards beforehand to reduce the amount of feedbacks you'll get from ur LFA.

3 Likes

Re: Andela: IT Training And Job by gentletalkaktiv: 9:53pm On Nov 24, 2018
teamoneline:


that means we are not to touch any master branch both locally and remotely(github)? ...
please clarify your no 3. again.. did you mean the following

- git add .
-git commit -m "message"
-git push origin <feature branch> (that origin will now refer to the develop branch that was set as default on github ?)

Yes both locally,internationally and remotely just leave out master now.

Origin is an alias on your system for a particular remote repository. It's not actually a property of that repository.

By doing
git push origin <feature branch>


you're saying to push to the origin repository. So origin isn't develop. It avoids the user having to type the whole remote URL when prompting a push.
Hope I have been able to clarify your doubts?
Re: Andela: IT Training And Job by fxdrizzle(m): 11:15pm On Nov 24, 2018
Could anyone please refer me to a good tutorial on using the fetch api?
cc guente02 isArray Donpikko
Re: Andela: IT Training And Job by naijanoni(m): 4:29am On Nov 25, 2018
Hello guys.
Just for encouragement:
I only started learning programming around May this year, and I just made it into the fellowship.
So if you just started programming, you too can get in soon, but u have to give it your all.
Right from May till now, it has been non-stop, no-sleep learning.
Three weeks before the bootcamp project, I had zero knowledge of anything backend. Node/express/database, I didn't know any of them. At the start of the bootcamp project, I didn't know how to use git. How I was able to cover so much in very little time still surprises me.
Get good resources and keep studying hard!. Your hard work would pay off soon.
Special thanks to my ogas Don Pikko, guente02, isarray for assisting whenever I ask questions here.
The journey begins, there is still a lot to learn.

10 Likes

Re: Andela: IT Training And Job by 2O17: 5:03am On Nov 25, 2018
fxdrizzle:
Could anyone please refer me to a good tutorial on using the fetch api?

https://davidwalsh.name/fetch
Re: Andela: IT Training And Job by fxdrizzle(m): 8:25am On Nov 25, 2018
Re: Andela: IT Training And Job by fxdrizzle(m): 8:37am On Nov 25, 2018
naijanoni:
Hello guys.
Just for encouragement:
I only started learning programming around May this year, and I just made it into the fellowship.
So if you just started programming, you too can get in soon, but u have to give it your all.
Right from May till now, it has been non-stop, no-sleep learning.
Three weeks before the bootcamp project, I had zero knowledge of anything backend. Node/express/database, I didn't know any of them. At the start of the bootcamp project, I didn't know how to use git. How I was able to cover so much in very little time still surprises me.
Get good resources and keep studying hard!. Your hard work would pay off soon.
Special thanks to my ogas Don Pikko, guente02, isarray for assisting whenever I ask questions here.
The journey begins, there is still a lot to learn.
congrats.

1 Like

Re: Andela: IT Training And Job by isArray: 12:31pm On Nov 25, 2018
naijanoni:
Hello guys.
Just for encouragement:
I only started learning programming around May this year, and I just made it into the fellowship.
So if you just started programming, you too can get in soon, but u have to give it your all.
Right from May till now, it has been non-stop, no-sleep learning.
Three weeks before the bootcamp project, I had zero knowledge of anything backend. Node/express/database, I didn't know any of them. At the start of the bootcamp project, I didn't know how to use git. How I was able to cover so much in very little time still surprises me.
Get good resources and keep studying hard!. Your hard work would pay off soon.
Special thanks to my ogas Don Pikko, guente02, isarray for assisting whenever I ask questions here.
The journey begins, there is still a lot to learn.

Congrats chief, welcome to andela cool

1 Like 1 Share

Re: Andela: IT Training And Job by guente02(m): 4:30pm On Nov 25, 2018
fxdrizzle:
Could anyone please refer me to a good tutorial on using the fetch api?

cc guente02 isArray Donpikko
https://css-tricks.com/using-fetch/
Re: Andela: IT Training And Job by fxdrizzle(m): 4:38pm On Nov 25, 2018
Re: Andela: IT Training And Job by gentletalkaktiv: 6:33pm On Nov 25, 2018
fxdrizzle:
Could anyone please refer me to a good tutorial on using the fetch api?

cc guente02 isArray Donpikko
In addition to what guente02 and isArray my guys suggested, you could check out Brad Traversy's course online. He has two videos on YouTube: One where he used the old XHR and the new Fetch so you can see the difference then another he used fetch purely then Steven Griffith has about 20+ videos on his channel on it. He talked about some other things too. If you search for 'fetchAPI CRUD' you will see some other articles from scotch and Jesse.sh I think. Cheers!

(1) (2) (3) ... (222) (223) (224) (225) (226) (227) (228) ... (263) (Reply)

How To Apply For Nigeria Immigration Service (NIS) Recruitment 2017 / Federal Road Safety Commission 2018 Recruitment: How To Apply / FIRS To Recruit 1,250 New Staff

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 82
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.