liuderchi / profiles

https://liuderchi.github.io/profiles
MIT License
0 stars 0 forks source link

AMA (ask me anything) #1

Open serapath opened 6 years ago

serapath commented 6 years ago

Hey, just opened this issue for you. Some people missed it :-)

I see you are really an expert. Just checked your projects and regarding JavaScript there might be not a lot that we can teach - in fact you might even know a lot of tricks others might learn from you :P

I'm not a coffeescript person, but I see you build the atom/tree-view which means I have some questions :P ... haha

First - I hope you not opening the AMA issue doesnt mean you were bored and you consider to come on the weekend again :P ...if you have some feedback how to improve that would be wonderful.

The idea we have is for "projects" (which we did not express very clearly) is open source github repo projects that people want to work on during the codecamp. For most people, this means an empty github repo which will contain one issue or just a README.md with a rough description of what people want to learn or work on.

The hope is then, that everyone would go around to many other codecamp visitors on their AMA issue on the forked profiles repository (like this issue here) ...and ask people about their project to find like minded people.

That way you also might find like minded people to discuss the topics you are interested in in context of the codecamp - and/or very likely you might find a lot of people with less experience than you, where you could become some kind of mentor to teach them or help them to learn by making up issues in one of your projects (existing or new) so that they can contribute via pull requests and you could do some code review and help them with learning materials.

During the weekend we plan to provide everyone - once they have their own project description - with custom learning materials that focus around:

...but of course it depends on what exactly people choose as projects so the content we post to them is not overwhelming.


because this is an AMA (ask me anything issue) can i ask you some questions about your interesting projects?

  1. how did you do the ide-html? Do you parse the html with a module into DOM or some kind of AST and then walk it to generate the tree-view (which might be the same as your other module?)

  2. I'm also planning to implement a tree-view but in vanillaJS and wonder how yours works.

    • how do you handle very large directories with lots of subdirectories and content?
    • when user's click on the treeview - do you re-render? do you emit custom events for it?
    • could it work in a browser or is it hard-wired to the file system?
    • does it always re-render or can you update the tree-view in place?

Would love to learn a bit about your experience with tree-views and the details - especially regarding performance and how to handle big changing directory structures when rendering a file explorer in the DOM :P ...will this be the project you actualyl plan to work on during the codecamp?

serapath commented 6 years ago

did you already make a github repository for your project idea and have a link?

liuderchi commented 6 years ago

@serapath thanks for your reading my profile :bow:

I hope you not opening the AMA issue doesnt mean you were bored ...

Please don't mind it's just I have not yet spared enough time to refine my AMA. Actually I'd like to come here to learn from you and hopefully I can share my knowledge with you. : ]

During the weekend we plan to provide everyone ...

Thanks for your hardwork. :100: Really looking forward to these.


  1. how did you do the ide-html? Do you parse the html with a module into DOM or some kind of AST and then walk it to generate the tree-view (which might be the same as your other module?)

Actually ide-html is heavily-reusing-codes plugin based on several well functioning projects like

how do you handle very large directories with lots of subdirectories and content?

  • IMO No special policy. I believe tree-view take a lazy load policy since I don't feel hanging until I extract node_modules folder XDD

when user's click on the treeview - do you re-render? do you emit custom events for it?

  • not sure about its rendering mechanism. It do handle custom events

could it work in a browser or is it hard-wired to the file system?

  • it is working on nodejs runtime and cannot work in a browser directly.

does it always re-render or can you update the tree-view in place?

  • not sure about its rendering mechanism.

will this be the project you actualyl plan to work on during the codecamp?

  • No, I will come up with a new project for it
serapath commented 6 years ago

cool. keep me posted about your project idea. Would be most awesome if you manage to find some people who have similar ideas and manage to collaborate :P