Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alexmojaki
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
alexmojaki
5y ago
Thanks for pointing this out, will investigate.
32.
▲
by
alexmojaki
5y ago
Glad you like it! Yes, the basics of f-strings are covered in https://futurecoder.io/course/#IntroducingFstrings
33.
▲
by
alexmojaki
5y ago
Highlights: - 100% free and open source ( https://github.com/alexmojaki/futurecoder ), no ads or paid content. - No account required at any point. You can start instantly. (You can create an account if you want to save y
34.
▲
Show HN: Futurecoder – A free online interactive Python course
(futurecoder.io)
8 points
by
alexmojaki
5y ago
|
2 comments
35.
▲
by
alexmojaki
5y ago
- While I know that some people have used this with children and the children said they liked it and made some progress, I imagine some children need a game like https://codecombat.com/ to not lose interest. - This is targe
36.
▲
by
alexmojaki
5y ago
The only modern browser that I know really doesn't work is Safari, which unfortunately doesn't play well with Pyodide, see e.g. https://github.com/pyodide/pyodide/issues/441 It should work to an ext
37.
▲
by
alexmojaki
6y ago
There's also https://github.com/alexmojaki/snoop For comparison: 19:32:30.66 >>> Call to add_up in File "/home/joel/example.py", line 5 19:32:30.66 ...... numbers = [123
38.
▲
by
alexmojaki
6y ago
What is TFA? icecream, the subject of this post, returns its parameter unmodified without multiple evaluations.
39.
▲
by
alexmojaki
6y ago
Do you get reply notifications?
40.
▲
by
alexmojaki
6y ago
What would you do in this case? The student has never seen a tuple, or iterable unpacking of any form. Would you just show them `for index, word in enumerate(words)` and tell them not to worry about what that means? Quite shortly after this
41.
▲
by
alexmojaki
6y ago
Thanks, it is fun, and quite rewarding. There's still a lot to do, wanna join in?
42.
▲
by
alexmojaki
6y ago
Which is why it specifically says "is similar to the list". But you may be surprised how many list-like operations `range` supports. Subscripting, `len`, `in`, `.count`, `.index`. It might as well be a tuple. And if you want to ni
43.
▲
by
alexmojaki
6y ago
When the course reaches the point that students are ready to learn about enumerate (see my reply above) the course will definitely cover it and emphatically point out that it is the better way.
44.
▲
by
alexmojaki
6y ago
Thanks! If you've wanted to make something similar, would you perhaps join me in making this? I'm looking for contributors. Yes, enumerate is better, but I want to teach concepts one at a time and I want students to understand wha
45.
▲
by
alexmojaki
6y ago
Haha yeah I find it easy too, which is why we're here, but I'm trying to also make it easy for people who normally think it isn't. And yes, setting up Python is a pain, so I think being able to start learning and running code
46.
▲
by
alexmojaki
6y ago
Thanks! I'm thinking I should start a Slack. Any opinions on that? In the meantime can you open an issue to talk about it?
47.
▲
Show HN: A platform for beginners to learn programming in Python
(github.com)
159 points
by
alexmojaki
6y ago
|
90 comments
48.
▲
Instantly Create a Python Flask API with a Swagger UI and Other Features
(github.com)
3 points
by
alexmojaki
6y ago
|
0 comments
49.
▲
by
alexmojaki
7y ago
This isn't like a traditional debugger, so there isn't a concept of breakpoints, but the functions snoop, spy, and pp will all work in a multiprocess context.
50.
▲
Snoop: A Python debugging library designed for maximum convenience
(github.com)
3 points
by
alexmojaki
7y ago
|
2 comments
51.
▲
Show HN: Birdseye: a Python debugger which shows the value of every expression
(github.com)
8 points
by
alexmojaki
8y ago
|
0 comments