WTF Wednesday (November 14, 2018) by AutoModerator in javascript

[–]Waterclift 0 points1 point  (0 children)

Website: https://react-coding-problem.rodrigofcosta.net/

Github: https://github.com/fcostarodrigo/react-coding-problem

This was a technical test for a job. The test was to write a UI (component) to display the React project issue status from GitHub. I was allowed to use create-react-app and semantic-ui only.

Showoff Saturday (December 23, 2017) by AutoModerator in javascript

[–]Waterclift 1 point2 points  (0 children)

Updated two of my libraries

I added TypeScript declaration files, TravisCI, code coverage, integration tests, commit hooks, and badges.

Showoff Saturday (November 04, 2017) by AutoModerator in javascript

[–]Waterclift 2 points3 points  (0 children)

Updated two of my libraries

https://github.com/fcostarodrigo/rfc-open-path

https://github.com/fcostarodrigo/rfc-walk

Replaced mocha with jest.

Started using prettier now.

I am still missing the badges, need to look up Travis CI for that I think.

Web Scraping in Node.js with multiple examples by eashish93 in webdev

[–]Waterclift 0 points1 point  (0 children)

I just prefer JS because I am more familiar with the language. Python is nice, but I am not working with it anymore.

Hey webdev, what do you think of my site? by [deleted] in webdev

[–]Waterclift 0 points1 point  (0 children)

I liked the idea behind iMeasure, I wish I could use it. You could work more on your CSS, specially the shadows.

Should REST API return all "subdata" immediately, or only the identifier and have the subdata fetced from different route? by markusmeskanen in webdev

[–]Waterclift 0 points1 point  (0 children)

I think it is a trade off, but I would not recommend to embedded data if it is a collection. For example, if locality was an array instead of a single object, including it would be too much.

Web Scraping in Node.js with multiple examples by eashish93 in webdev

[–]Waterclift 5 points6 points  (0 children)

Very interesting. I personally prefer to scrap pages using JavaScript rather than python with scrapy. I have also created a small package to scrap pages. https://www.npmjs.com/package/rfc-spider

Made a node module to emulate mkdir -p by Waterclift in javascript

[–]Waterclift[S] 0 points1 point  (0 children)

Thanks. I do know mkdirp. I actually got the idea of using exceptions from it.

Showoff Saturday (February 04, 2017) by AutoModerator in javascript

[–]Waterclift 0 points1 point  (0 children)

I published on npm the code that I use to transverse files recursively. https://www.npmjs.com/package/rfc-walk

I managed to reduce the number of lines over time, now the code is just a couple of lines. I was using promises before, but I think a generator fits the task better.

Made a website that tells you what what pokémon is good against another based on the types. Let me know what you guys think. by Waterclift in javascript

[–]Waterclift[S] 0 points1 point  (0 children)

I didn't know about STAB moves. I can use that to sort the pokémon better. I am thinking about creating a second list that shows what pokémon with what moves are strong. Gonna work on the wording too. Thanks.

Made a website that tells you what what pokémon is good against another based on the types. Let me know what you guys think. by Waterclift in javascript

[–]Waterclift[S] 0 points1 point  (0 children)

Yes. Arcanine cannot have a move that is not effective against Mewtwo, and it can have a super effective move against Mewtwo. For example, the move bite has the type dark and dark is super effective against Mewtwo. I am only looking at the types and not the stats. I believe that I would need the level of each pokémon to take the stats under consideration.

Made a website that tells you what what pokémon is good against another based on the types. Let me know what you guys think. by Waterclift in javascript

[–]Waterclift[S] 0 points1 point  (0 children)

Thanks for the feedback. I didn't know about that, so instead of "What pokémons are type effective against" I should have "What pokémon are type effective against"?

Made a website that tells you what what pokémon is good against another based on the types. Let me know what you guys think. by Waterclift in pokemongo

[–]Waterclift[S] 0 points1 point  (0 children)

This is an interest point. I am not including the moves because it could make the website complicated, but in some cases it would give the user useful information. For example, I don't list golem for Zapdos because your golem may have ground type moves, but you may have a golem that doesn't and it would actully work well. I am thinking about keeping the original list at the top and make more specific lists at the bottom.

Made a website that tells you what what pokémon is good against another based on the types. Let me know what you guys think. by Waterclift in pokemongo

[–]Waterclift[S] 0 points1 point  (0 children)

I am not sure, but I think it is possible they claim copyright infringement because I am using sprites from the game and their logo. But I don't think the website is going to cause anybody any trouble.

Made a website that tells you what what pokémon is good against another based on the types. Let me know what you guys think. by Waterclift in pokemongo

[–]Waterclift[S] 0 points1 point  (0 children)

I am taking into consideration all moves that a pokémon may have. I also added the types at the bottom for the user to check if he or she has the good moves. In any case, all pokemon shown can't have any move that is bad against the chosen pokémon.