throwaway47292

Joined 5 years ago

Karma
735
Submissions
134
Member since
Aug 14
trying to teach my daughter how to code, https://github.com/jackdoe/programming-for-kids

if you have good ideas on programming pedagogy shoot me an email at [email protected]

thanks!

View on Hacker News

Recent submissions

Comment · 4 years ago
I made this game so I can teach my daughter C, particularly thinking about how things exist in memory, while traveling and having dinner or waiting for the bus.

Just grabbing a few cards and looking for where they exist in memory is a fun challenge, but also helps to understand and not be scared of the very overloaded []()* syntax in C.

Comment · 4 years ago
Oh! Because of the slow and costly printing process I read it like 50 times, and yet..

Its amazing how your brain just sees what it wants to see.

Comment · 4 years ago
I really enjoy finding new ways to introduce her into how computers think, in the same time, I have to constantly level up my game, as I am competing with tiktok, instagram, youtube, netflix.. etc. So I have to come up with new incentives, and more and more interesting projects, e.g. I printed a tshirt with some of her code, or made a huge poster with one of the turtle images she made (https://github.com/jackdoe/programming-for-kids/blob/master/...), or sometimes its pure bribery, like buying robux.

When I was her age, I spent hours just reading random man pages, pretty much because cartoon network was showing the same episode of dexter's laboratory for the 25th time.

The kids her age are growing in a strange era, programs will control their life, wether they want it or not, so it will be great if they can debug :)

Comment · 4 years ago
Ah! I didnt mean to show it off, just my desk is a mess..

Yea its a cyberdeck I am building with hardwired Atreus directly connected to pi zero gpios and using libuinput to make a software keyboard, which works amazing btw.

I am making it to init directly into getty without login (with busybox init), so it boots directly in usable /bin/bash in only 2-3 seconds, and all the available programs are simple python programs (ls, cp, mv, a basic line editor, touchtyping game, hangman etc) and the keyboard itself is a simple python program that basically scans the matrix and emits events to uinput. The frame is from plywood.

And I am trying to make it like a 'scavenger hunt' experience for my daughter, I will put special codes in various places in the programs or on the file system with different difficulty, and I can challenge her to find them.

The goal is to have < 50$ scavenger hunt computer kit (thats why I cant afford teensy or something)

This is just the prototype to see how it feels to write code using line editor, and also to test the effect of thinking of the keyboard as a program with a nested for loop, on her thinking about 'what happens when you press a key'

    for r in rows:
        send(r, 1)
        for c in cols:
             v = read(c)
             if v == 1:
                  # (r,c) is pressed
        send(r, 0)

I just uploaded those to show you how it looks, but again, its just to test the software and the screens size:

https://github.com/jackdoe/programming-for-kids/blob/master/... https://github.com/jackdoe/programming-for-kids/blob/master/...

Comment · 4 years ago
Comment · 4 years ago
Comment · 4 years ago
Now with everything on the cloud, kids are growing more and more disconnected with their computers, instead of the kid making the computer do something, they do some magic sequence of actions and sometimes things work, sometimes they dont.

Being able to type a command, give it some input and see its output, I believe is the most fundamental way to interact with the computer.

The basic concepts of files, folders, programs and processes are getting more and more murky with every new iOS and windows release, and yet, those are still the building blocks of everything, they are just hidden by some obscure interfaces and menus or are just plain inaccessible to the user.

UNIX Pipes are the most pure and useful way I know of how the user interacts with the programs and how the programs interact with each other passing their output to the other program's input, and I think it illustrates how more complicated things can be built.

Comment · 4 years ago
Comment · 4 years ago
This is amazing! Thanks for sharing, I will try it with my daughter.
Comment · 4 years ago
I print with some professional card printing companies, the pricing goes something like 10 decks, 500$, 50 decks 800$, 100 decks 1200$, and 300 decks 1500$ and then it continues to drop

Since I printed only 50, I think the price is too high, so I would rather to give them for free than to charge unreasonable price. If you are willing to pay the shipping cost send me an email to [email protected], I still have few left.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton