mastodon - Enlace a fuente

I am still teaching the children python and they are still delighted when their code works.

Few things as sweet as making the machine do exactly what you wanted.

I teach them RGB colors. They know they could use a color picker, but they want to be able to rattle off three numbers and know that it is yellow or pink or neon blue.

Just thought you all should know what is happening on the other end. I will raise up programmers and hackers and engineers by the dozen as I have always done.

en respuesta a myrmepropagandist

ah said once to my littlest kid, my favourite colour was #FF00FF , randomly to my mind, but he was like 'ah! Magenta!'

To which I doubted so checked, and indeed, so it is.

en respuesta a myrmepropagandist
can this snake of yours do LCH colour model? It has tremendous advantages from a human point of view. It even caused a significant marriage (both of whoms are on the fediverse btw): lea.verou.me/blog/2020/04/lch-colors-in-css-what-why-and-how/
en respuesta a Jessie Kirk

@thejessiekirk
I still remember my disappointment when computer magazines became "what to buy" rather than "how to program".

When making a gait analysis instrument, I generated pleasant bell tones based on a pwm sinewave function I lifted straight out of BYTE magazine. It just needed an envelope shaping function to give a nice "Tinnng!"

@futurebird

en respuesta a myrmepropagandist
@myrmepropagandist Talking about RGB, I just learned today that the basic pure colors in HTML/CSS are called "red", "LIME" and "blue" - "green" is reserved specifically for the G channel being halfway through (#008000). rapidtables.com/web/color/RGB_Color.html#color-table
en respuesta a myrmepropagandist

I coached a young relative in Python while he was in prison. He had the same text book as me. I'd set him little puzzles to code up at the end of each weekly letter.

Without any access to a computer, he'd work out some code and write it longhand in his reply. It worked. First time, every time.

18 years later, he's a successful business owner & digital nomad, and seems to be enjoying life enormously.

en respuesta a Abram Kedge🏴󠁧󠁢󠁳󠁣󠁴󠁿🇨🇦

@AbramKedge I love this anecdote and am tangentially reminded of a famed arachnologist who passed away several years ago; one of his many achievements was creating a massive online database of spider species. He wrote the HTML by hand in a text editor, so precisely that when another taxonomist later wrote a script to parse the data it worked perfectly on the first go.

(The database is now run by a full-fledged organization and is considered the definitive scientific consensus on spider taxonomy, and there are now sister databases for other arachnid orders.)

en respuesta a myrmepropagandist

Brava!

I'm curious - do they stay at the command line? My policy was that you have to start there (you need the basics), but in the past I've switched to pyglet, a Python wrapper for OpenGL, and making images bounce around a screen was pure heaven for them.

en respuesta a jz.tusk

@jztusk

I start them with trinket and hide the advanced functions in another tab— and pretend to be annoyed when they find it and start changing all of the colors and making the patterns go wild but really that’s why it’s there.

en respuesta a myrmepropagandist

I didn't know about Trinket, but it looks like it has turtles? Heck yeah, things for them to move around.

I'm also noticing a pattern, what with the "hidden" tab, and the "cheat" sheet. I think you teach like 5th, 6th graders? My lord, that's the perfect age - it must be so fun to feign indignation when they "outsmart" you!

en respuesta a myrmepropagandist

What a lovely start to the day - we don't need to teach kids to program. We need to spark curiosity and instill self-confidence. If they happen to learn some programming along the way, that's a bonus!

As my good friend Damien Kee said once, we don't teach kids robotics, we use robotics to teach.

Watching anyone realize they have control over something that seemed complex is really magical.

en respuesta a rhempel

@rhempel
"Watching anyone realize they have control over something that seemed complex is really magical."

... and this is the illusion that AI gives with a whole lot less effort and struggle.

en respuesta a derptron
mastodon - Enlace a fuente

rhempel

Mensaje público

@crazyeddie I hope we did not get our wires crossed. I think it's awesome that the kids are learning that they are capable of doing interesting things with computers.

I am in no way in favour of AI in classrooms, and honestly I'm not even sure about computers there either :-)

But I support @futurebird's efforts at giving kids the chance to explore programming to see if it sparks their interest.

en respuesta a myrmepropagandist
When I started programming, it felt like wizardry because I could make things happen with just the right incantations that only the initiated knew. That's why you feel like a witch, you learn from your wise elders and from reading the ancient texts, and you get better with practice. That magic feeling can't be replaced by sparkling emojis and a prosaic chatbot interface
en respuesta a myrmepropagandist
I'd like to introduce my 11yo to Python because he has interest in game making. What's the best resource to get us started? I did some searching and found Mu (no longer supported); what are your faves?
en respuesta a Elisabeth M

@independentpen

The trinket environment trinket.strivemath.org is friendly and then you can copy the code and run it locally using vscode or thonny(mac)

turtle library runs well in trinket. easy way to do graphics

en respuesta a myrmepropagandist

I'll also continue doing so.

I'm teaching GDScript in Godot. the students are still happy, when the character jumps even if it jumps too high and flies out of the screen. Or especially so, it is always a good laugh. You can't have that with AI.

en respuesta a myrmepropagandist
@inthehands 5 years ago this would have been unremarkable; now it’s a necessary reminder that tech practice isn’t inevitably a misery. The industry won’t be able to kill geek joy and user joy completely bc those things are more fundamental than money. On the contrary, we need to code our way to a new economy that rewards those things more than it rewards scams and negligence.
en respuesta a myrmepropagandist

one my kids wanted dispersed controllable lights as part of a cosplay prop design. So I did what any parent would do - I 3D-printed a small plate going from thin to very thin and gave them a Bus Pirate and a WS2812 LED matrix. Showed them the syntax, they go "wait this is just RGB" - they knew it from one of their drawing apps.

Minutes later: "huh? Dad? Is it GRB actually?" Yes, yes it is.

en respuesta a myrmepropagandist

Good job! ✌️

When teaching them troubleshooting skills:

- Show them how to use print statements/log lines to confirm how far the code got too and what the state is at the time

- Only after they have mastered this, show them about debuggers/break points and "watching" variables.

en respuesta a myrmepropagandist
The media in this post is not displayed to visitors. To view it, please go to the original post.

You're a true inspiration!

I'm not much of a programmer but got saddled with the course at my school. Here's the latest lesson I walked through with my kids.

We started with a basic equilateral triangle and then used old-fashioned trig to figure out the exact vertices. Then we coded an algorithm to create a Sierpinski triangle fractal. I didn't show the kids what we were making until we finished the code so they could see the design being made as a surprise at the end. It's a fun little lesson for coding and chaos theory all at once.

Feel free to use it and modify as you see fit if you want. I love to remind the kids that since the program is picking 7000 (or however many loops you want) random points, none of the kids' programs will ever do the exact same thing, but we all end up with the same structure.

"OMG! Mr. Corby! It's like...the Triforce!" they tell me.