Lurker News
Last night, I introduced my kid to programming. We'd done some stuff with Mindstorms before, but she never really caught the bug for it. But for some reason, last night when I showed her some simple Python scripting to solve math problems and write to the console, she was enthralled.

After guiding her through a few things, she took the laptop off for a while and then came back with her first program, giggling like a maniac

    you='WOW!!!'
    fart='So many poops!'
    print(you,fart)
I'm pretty proud :D

Comments (136) 58 threads

Earlier comments
nonrandomstring2 replies#
My girl's favourite saying at the moment is "command not found". That's the thing she reads the most, except on the occasion it does something. Walking around the house saying it gave way to answering back to requests with "command not found daddy". What have I unleashed?
n4bz0r#
> What have I unleashed?

Command not found.

swader999#
She's a keeper. Edit: whoops, I read that as my girlfriend. I will say your daughter has a good dad as this is a sign you spend meaningful time together.
tricky2 replies#
Hilarious! After a few of those, I taught my son how to open the javascript console and "hack" his favorite cookie clicker. He was so excited to show his friends but the school-provided chromebooks are really locked down.

I was disappointed, thinking that would be the end of it, but his whole class has been trying to find ways around the blocks and filters ever since. They've found some clever workarounds and a lot of things that sort of look like hacks but are not. It's adorable.

fredley3 replies#
Poorly implemented device lockdowns by my school were the start of my interest in understanding and manipulating systems, long may they last!
coldpie#
Yuuup. My favorite instance in I think 9th grade was opening the computer case while the teacher was out so I could pop out the CMOS battery to disable the BIOS password, boot a live disk without the disk protection software (Deep Freeze), edit the Win95 boot logo screen[1] to put a little smiley face in the corner, and then put it all back together (sans BIOS password, since I never knew what it was originally!). No one ever mentioned it, but I'd see my little smiley every time that PC booted. Later, I spent 13 years working in reverse-engeering-related software :)

[1] https://www.dslreports.com/faq/3880

lozenge#
The default admin password for a popular educational software that locked down Windows was "changeme". My school did not change the password.
RugnirViking#
its excellent! my school only let us modify files in our user network folder, and locked down anything on the C: drive. Turns out, if you could open cmd (you weren't allowed directly, but you could ask a vba script from excel to open one) you could just rename the C: drive to the K: drive or whatever, and that wasn't blocked lol. I'd use it to hide games like https://wz2100.net/ on particular computers, and show my mates which ones were on which computers, and make little excel files that had macros to open them
mkehrt#
Back in my day you could just rename programs (read: Quake 2) to winword.exe and they would run no problem.
jasonhansel1 reply#
PR review:

- Reformat with `black`; needs space around "="
- Change constants to uppercase, so YOU and FART
- Probably best to use an f-string, e.g. f"{YOU}{FART}"
- Needs tests
Otherwise LGTM

quotehelp18291 reply#
You forgot space between } and {
jasonhansel#
It depends on whether you want the whitespace or not; if so, the ideal would be to use:

    messages = [YOU, FART]
    print(" ".join(messages)
So that you can add additional messages (manually or programmatically) in the future. Always important to consider extensibility!
sircastor#
"One of us! One of us!"

Congrats! What a fun and delightful thing. Props to you, and here's to many more enjoyable programs. Thanks for bringing a little humor to my day.

Load more comments