Page MenuHomePhabricator

Daniel_Ngene (DanielChristLight)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Wednesday

  • Clear sailing ahead.

User Details

User Since
Oct 10 2022, 7:10 PM (92 w, 6 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Daniel Ngene [ Global Accounts ]

Recent Activity

Nov 3 2022

Daniel_Ngene added a comment to T318512: Outreachy Application Task (Round 25): Explore Toolhub Data.

Alright. Thanks you so much for the clarification

Nov 3 2022, 7:29 AM · User-Slst2020, Outreachy (Round 25), Outreach-Programs-Projects
Daniel_Ngene added a comment to T318512: Outreachy Application Task (Round 25): Explore Toolhub Data.

In my bid to make a few corrections to my notebook. I discovered that some tools such as 'toolforge-authors', has some info in the Core info that is completely non-existent in the annotations layer.

Nov 3 2022, 7:11 AM · User-Slst2020, Outreachy (Round 25), Outreach-Programs-Projects

Oct 29 2022

Daniel_Ngene added a comment to T318512: Outreachy Application Task (Round 25): Explore Toolhub Data.

Hello @Slst2020. I got a couple of questions as regards task 2

  1. Will I have to visualize all 2000+ tools data dictionary returned by my task 2 function?

If you mean the first #TODO of Task set 2, you can limit the output to the first 5 or so entries. This is good practice for any code cell output, as otherwise the notebook can become very cluttered and difficult to scroll through.

Oct 29 2022, 3:50 PM · User-Slst2020, Outreachy (Round 25), Outreach-Programs-Projects

Oct 22 2022

Daniel_Ngene added a comment to T318512: Outreachy Application Task (Round 25): Explore Toolhub Data.

Hello @Slst2020. I got a couple of questions as regards task 2

Oct 22 2022, 3:27 PM · User-Slst2020, Outreachy (Round 25), Outreach-Programs-Projects

Oct 17 2022

Daniel_Ngene added a comment to T318512: Outreachy Application Task (Round 25): Explore Toolhub Data.

@Slst2020 Hello, I have a couple of questions.

  1. Is it allowed for me to write other functions that are of use to me in the notebook or only the functions we are asked to write are allowed?

You can write any code you want/need :)

  1. Can all my answers to the non-coding questions be written as comments in the notebook?

I suggest you write text in markdown cells, not as code comments.

Oct 17 2022, 12:48 PM · User-Slst2020, Outreachy (Round 25), Outreach-Programs-Projects
Daniel_Ngene added a comment to T318512: Outreachy Application Task (Round 25): Explore Toolhub Data.

@Slst2020 Hello, I have a couple of questions.

  1. Is it allowed for me to write other functions that are of use to me in the notebook or only the functions we are asked to write are allowed?
  2. Can all my answers to the non-coding questions be written as comments in the notebook?
Oct 17 2022, 12:26 PM · User-Slst2020, Outreachy (Round 25), Outreach-Programs-Projects

Oct 15 2022

Daniel_Ngene added a comment to T317083: [Outreachy Main Microtask] Develop a web app for editing Toolhub records.

Hi Aklapper,

Thanks for reaching out. I just want to know if we are working on an
already existing codebase or we are getting up a new one our self for the
project. And if we are working on an already existing codebase how do I get
the version control and where do I refer to for more understanding of the
task.

Thanks. Regards.

Oct 15 2022, 11:17 AM · User-Slst2020, Outreachy (Round 25), Outreach-Programs-Projects

Oct 13 2022

Daniel_Ngene added a comment to T318512: Outreachy Application Task (Round 25): Explore Toolhub Data.

Went through a similar issue but after much experimenting with the API I discovered you do not actually need a page param in the request URL because each API response's result has a "next" key containing the URL of the next page for all the pages except the last page which is null and of course, the number of pages depends on the page size param

Hello I am still struggling with understanding the URL I need to use. Can I get more help? My question is in respect to task 2.
I'm using this https://toolhub.wikimedia.org/api/tools/?page=60&page_size=2699 but it's still giving me just 10 tools

@Daniel_Ngene the link you use correct, but you can eliminate the 'page" parameter leaving the page_size @ max value.
trouble shoot your code and make sure the it loops through the entire page.
Also, the dict you're trying to populate, make sure it is outside of the loop.

tool_dict = {}
...
for key, values in result.items():   #or maybe a while loop
    ...
    tool_dict.append(...)

This approach helped me

Oct 13 2022, 8:55 PM · User-Slst2020, Outreachy (Round 25), Outreach-Programs-Projects
Daniel_Ngene added a comment to T318512: Outreachy Application Task (Round 25): Explore Toolhub Data.

Went through a similar issue but after much experimenting with the API I discovered you do not actually need a page param in the request URL because each API response's result has a "next" key containing the URL of the next page for all the pages except the last page which is null and of course, the number of pages depends on the page size param

Oct 13 2022, 5:15 PM · User-Slst2020, Outreachy (Round 25), Outreach-Programs-Projects

Oct 10 2022

Daniel_Ngene added a comment to T317083: [Outreachy Main Microtask] Develop a web app for editing Toolhub records.

Hello Everyone I'm Daniel an Outreachy applicant. I am very excited to learn from this experience. Finally have direction in my learning process.

Oct 10 2022, 7:18 PM · User-Slst2020, Outreachy (Round 25), Outreach-Programs-Projects