Skip to content

Feedback #1

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

Open
wants to merge 85 commits into
base: feedback
Choose a base branch
from
Open

Feedback #1

wants to merge 85 commits into from

Conversation

github-classroom[bot]
Copy link
Contributor

@github-classroom github-classroom bot commented Nov 14, 2022

👋! GitHub Classroom created this pull request as a place for your teacher to leave feedback on your work. It will update automatically. Don’t close or merge this pull request, unless you’re instructed to do so by your teacher.
In this pull request, your teacher can leave comments and feedback on your code. Click the Subscribe button to be notified if that happens.
Click the Files changed or Commits tab to see all of the changes pushed to main since the assignment started. Your teacher can see this too.

Notes for teachers

Use this PR to leave feedback. Here are some tips:

  • Click the Files changed tab to see all of the changes pushed to main since the assignment started. To leave comments on specific lines of code, put your cursor over a line of code and click the blue + (plus sign). To learn more about comments, read “Commenting on a pull request”.
  • Click the Commits tab to see the commits pushed to main. Click a commit to see specific changes.
  • If you turned on autograding, then click the Checks tab to see the results.
  • This page is an overview. It shows commits, line comments, and general comments. You can leave a general comment below.
    For more information about this pull request, read “Leaving assignment feedback in GitHub”.

Subscribed: @mskwr

Copy link

@agluszak agluszak left a comment

Choose a reason for hiding this comment

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

bardzo tematycznie interesujący projekt, ciekaw jestem jak to wyjdzie od strony technicznej. Jako antyfan Elona Mózga czuję się w obowiązku zaproponować porównanie jak sytuacja wygląda na kilku najpopularniejszych serwerach Mastodona (który, jak podejrzewam, może mieć też lepsze API ze względu na swoją otwartą naturę)

@mskwr
Copy link
Contributor

mskwr commented Nov 15, 2022

Przyznam, że o Mastodonie usłyszałem dopiero niedawno (jak ludzie na Twitterze zaczęli pisać, że przechodzą na Mastodona). Spojrzałem na kilka najpopularniejszych serwerów (np. mastodon.online, mas.to, mstdn.social, najpopularniejszy polskojęzyczny) i wygląda na to, że nie są one zbyt popularne w Polsce (i być może użytkownicy są tam bardziej świadomi, przynajmniej jeśli chodzi o poprawną polszczyznę), bo liczba wystąpień "napewno" jest tam bliska zeru.

Z tego co się zorientowałem, API Twittera jest dość przyjazne i nie powinno być dużych problemów technicznych (mam już nawet zatwierdzone konto dewelopera, które pozwala na stworzenie jednego bota). Widziałem na githubie kilka botów napisanych w Rust i z tego co zauważyłem, większość osób używa biblioteki egg-mode.

Copy link

@agluszak agluszak left a comment

Choose a reason for hiding this comment

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

Super! Udało się projekt bardzo dopracować, teraz widzę na twitterze, że napewno działa :) 5/5


#[tokio::test]
async fn test_get_tweets_with_mistake() -> Result<()> {
dotenv::dotenv().expect(".env file should be readable");
Copy link

Choose a reason for hiding this comment

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

testy jednostkowe, które wymagają klucza do api są, powiedziałbym, umiarkowanie dobre... zamiast wykonywać prawdziwe requesty lepiej w testach jednostkowych zrobić mocki

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants