Miro Hrončok

Results 179 issues of Miro Hrončok

Tohle nefunguje: ```pycon >>> birth_years = 2000 >>> century = birth_years // 100 + 1 21 ``` [Rok 2000](https://cs.wikipedia.org/wiki/2000) patří ještě do [20.](https://cs.wikipedia.org/wiki/20._stolet%C3%AD) [století](https://cs.wikipedia.org/wiki/Stolet%C3%AD). Můžeme argumentovat, že pro naše data...

bug
content
MI-PYT

```pycon >>> import scipy.ndimage >>> img = scipy.ndimage.imread('static/python.jpg', mode='RGB') >>> img /home/churchyard/Dokumenty/pyvec/naucse.python.cz/__env__/lib64/python3.5/site-packages/ipykernel_launcher.py:2: DeprecationWarning: `imread` is deprecated! `imread` is deprecated in SciPy 1.0.0. Use ``matplotlib.pyplot.imread`` instead. ``` ![warn](https://user-images.githubusercontent.com/2401856/32272115-fa8eaefa-befc-11e7-9859-28367d23b377.png) Changing to `matplotlib.pyplot.imread`...

bug
content
MI-PYT

Backport of https://github.com/PyLadiesCZ/naucse.python.cz/pull/38

content

Our example is: ```pycon >>> numpy.arange(0.0, 50.0, 0.3)[-1] 49.799999999999997 ``` But this gives the following with current Python and NumPy: ```pycon >>> numpy.arange(0.0, 50.0, 0.3)[-1] 49.8 ```

content
MI-PYT

Based on discussion in https://github.com/pyvec/naucse.python.cz/pull/540 it seems that we care about privacy and adding a guide to disable VS Code telemetry was a must. To be fair, Atom also [collects...

content
beginners-course

Done from browser, untested.

enhancement
content
beginners-course

In https://github.com/pyvec/naucse.python.cz/blob/master/lessons/snake/drawing/index.md we use decorators, but in https://github.com/pyvec/naucse.python.cz/blob/master/lessons/intro/pyglet/index.md we don't. I prefer to use them. What's the benefit of not using them? Also, in Asteroids.

content
beginners-course

Got: ``` ... Rendering page intro/micropython (index) ERROR:flask.app:Exception on /static/css/body.css [GET] Traceback (most recent call last): File "C:\Users\Linux\.virtualenvs\naucse.python.cz-Ap5RjXMi\lib\site-packages\ flask\app.py", line 2292, in wsgi_app response = self.full_dispatch_request() File "C:\Users\Linux\.virtualenvs\naucse.python.cz-Ap5RjXMi\lib\site-packages\ flask\app.py", line...

bug
code

https://www.pololu.com/docs/0j7/all#2 https://www.pololu.com/docs/0j7/all#3

content

This is how we will roll it and it the old runs are preserved so I'm finally not breaking anything.

content
MI-PYT
blocked