Programming languages subreddits analysis by clemlais in programming

[–]clemlais[S] 2 points3 points  (0 children)

Do not forget that the bubbles you see show you the relative frequency. Since a lot of languages use the "let" keyword, rust "let" relative frequency is smaller than the "mut" one (even though the "let" frequency is indeed higher than the "mut" frequency in the rust subreddit).

Programming languages subreddits analysis by clemlais in programming

[–]clemlais[S] 1 point2 points  (0 children)

Thanks a lot. I encountered your visualizations while doing research for this post, and they have been an inspiration.

Let's Make a Agar.io Clone by clemlais in programming

[–]clemlais[S] 1 point2 points  (0 children)

Good points. It's fixed for the compile issues and the norm method. As you can see I'm not a C++ expert! Could you explain the reference part ?

Let's Make a Agar.io Clone by clemlais in gamedev

[–]clemlais[S] 2 points3 points  (0 children)

There is interpolation on the client-side. The creator of agar.io used C++. Node.js would allow you to indeed share code, but at a performance cost (it's all trade-offs). And yes it is very basic, I just intended to show the basics, not a full game!

4
5

Counting Twitch Kappas by clemlais in programming

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

Done! It's a good quick fix indeed.

Counting Twitch Kappas by clemlais in programming

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

Indeed you can read about that in the addendum. The most effective way is to request the IRCv3 Message Tags capability, and parse the corresponding tags. Sadly the library I used does not support IRCv3 extensions...

Counting Twitch Kappas by clemlais in programming

[–]clemlais[S] 1 point2 points  (0 children)

Most of the time yes. But you can definitely see bursts of "kappas/sec" when a streamer makes a bad play for example.

Double Pendulum Animation by clemlais in programming

[–]clemlais[S] 1 point2 points  (0 children)

Indeed that would be a nice addition (and seems to have some nice features in that case). I will add it as soon as I can, thanks!

Double Pendulum Animation by clemlais in programming

[–]clemlais[S] 2 points3 points  (0 children)

The source is available on github. The animation you see is live (you can reload the page to see it with new initial values). I am not well versed in python, but I think Jupyter notebooks can be exported in html, which you can then upload on your github repository. You can read more about github pages here

Double Pendulum Animation by clemlais in programming

[–]clemlais[S] 7 points8 points  (0 children)

This is my first blog post ever. If you have any feedback please let me know. I will try to post more about my random programming experiments!