frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Discuss – Do AI agents deserve all the hype they are getting?

2•MicroWagie•13m ago•0 comments

LLMs are powerful, but enterprises are deterministic by nature

3•prateekdalal•4h ago•2 comments

Ask HN: Anyone Using a Mac Studio for Local AI/LLM?

47•UmYeahNo•1d ago•29 comments

Ask HN: Non AI-obsessed tech forums

25•nanocat•15h ago•21 comments

Ask HN: Ideas for small ways to make the world a better place

15•jlmcgraw•17h ago•19 comments

Ask HN: 10 months since the Llama-4 release: what happened to Meta AI?

44•Invictus0•1d ago•11 comments

Ask HN: Who wants to be hired? (February 2026)

139•whoishiring•4d ago•515 comments

Ask HN: Who is hiring? (February 2026)

313•whoishiring•4d ago•512 comments

Ask HN: Non-profit, volunteers run org needs CRM. Is Odoo Community a good sol.?

2•netfortius•12h ago•1 comments

AI Regex Scientist: A self-improving regex solver

7•PranoyP•19h ago•1 comments

Tell HN: Another round of Zendesk email spam

104•Philpax•2d ago•54 comments

Ask HN: Is Connecting via SSH Risky?

19•atrevbot•2d ago•37 comments

Ask HN: Has your whole engineering team gone big into AI coding? How's it going?

18•jchung•2d ago•12 comments

Ask HN: Why LLM providers sell access instead of consulting services?

5•pera•1d ago•13 comments

Ask HN: What is the most complicated Algorithm you came up with yourself?

3•meffmadd•1d ago•7 comments

Ask HN: How does ChatGPT decide which websites to recommend?

5•nworley•1d ago•11 comments

Ask HN: Is it just me or are most businesses insane?

8•justenough•1d ago•7 comments

Ask HN: Mem0 stores memories, but doesn't learn user patterns

9•fliellerjulian•2d ago•6 comments

Ask HN: Is there anyone here who still uses slide rules?

123•blenderob•3d ago•122 comments

Kernighan on Programming

170•chrisjj•4d ago•61 comments

Ask HN: Any International Job Boards for International Workers?

2•15charslong•14h ago•2 comments

Ask HN: Anyone Seeing YT ads related to chats on ChatGPT?

2•guhsnamih•1d ago•4 comments

Ask HN: Does global decoupling from the USA signal comeback of the desktop app?

5•wewewedxfgdf•1d ago•3 comments

We built a serverless GPU inference platform with predictable latency

5•QubridAI•2d ago•1 comments

Ask HN: Does a good "read it later" app exist?

8•buchanae•3d ago•18 comments

Ask HN: How Did You Validate?

4•haute_cuisine•1d ago•6 comments

Ask HN: Have you been fired because of AI?

17•s-stude•4d ago•15 comments

Ask HN: Cheap laptop for Linux without GUI (for writing)

15•locusofself•3d ago•16 comments

Ask HN: Anyone have a "sovereign" solution for phone calls?

12•kldg•4d ago•1 comments

Ask HN: OpenClaw users, what is your token spend?

14•8cvor6j844qw_d6•4d ago•6 comments
Open in hackernews

Ask HN: Second generation of intro to software dev for 3rd graders

34•xrd•3mo ago
I posted this last year asking for help in creating an introduction to software development for 3rd graders:

  "Next week I'm going into my daughter's classroom to teach about software engineering. I want to teach them about the magic of it."
https://news.ycombinator.com/item?id=42056775

The best suggestion was

  "I think about the PB&J demo a lot."
It was a big hit! I took a lot of the suggestions and had so much fun. I'm going to do it again for my 4th and 5th graders classes and could use some help in improving it.

A few highlights from last year:

  * I brought a serrated knife and ketchup packets. When they said put the jelly on the bread with the knife, I gripped the serrated end and pretended my fingers bled (ketchup works great as blood). 
  * I brought in vaseline AKA petroleum jelly. When they said put jelly on the bread, I contemplated aloud "Well, you said JELLY, and this says JELLY!"
I offered to give the sandwich to one lucky kid afterward, but surprisingly, no one took me up on the opportunity to eat a sandwich with peanut butter, vaseline and ketchup. Kids these days are so spoiled, 6-7!

This year I want to do it again. But, I want to add some ideas:

  * importance of teamwork: I think this differentiates good software teams from bad teams.
  * importance of good communication: I was thinking about teaching them about how important communication and planning is. Last year I had slips of paper where I asked a different scribe to write down the instructions, and then I took those, reordered them with class input and then took action. But, perhaps I can expand on that and really drill into them the value of planning and good written communication.
  * managers: I was thinking about talking about how the managers are often the best paid, because they take responsibility for all the moving pieces, and the success or failure of the project.  I expect this might be a controversial take here on HN!
Any suggestions?

Comments

gus_massa•3mo ago
I'd take a different approach. Just make a simple game in html and edit it in front of them to add features, change the size of the monster, ... Wait a minute, it's 2025, probably use Kotlin or React to show the game in a tablet.
xrd•3mo ago
Unfortunately, I won't have a computer and probably have 15 minutes max. It's an interesting constraint.
gus_massa•3mo ago
15 minutes, that's hard. I have to resort to the equivalent of https://xkcd.com/722/ :)

My older daughter works in a software company to make a program to administer collections of videos, lots of videos. In particular a small part is a feature to upload some videos to YouTube using the API. A few years ago, when we told that to my younger daughter, she understood that her sister worked in YouTube. The younger one was extremely happy and and full of admiration. Even if my older daughter gets a Nobel price, she will not reach the same level in the appreciation scale.

I'm not sure how to apply this to your talk, specially because they are older children, but ensure to explain that some guys/gals like you make YouTube work.

w10-1•3mo ago
tell them they're making lots of sandwiches and they can work together in a line or they can work in parallel
saulrh•3mo ago
I think one obvious approach would be to assign "roles" - one person is "operations" and is the only one allowed to read the instructions to you, one person is "research" and has access to the list of ingredients, etc. But that probably bottlenecks things too hard and you have to figure out a fast way to assign roles. You could just increase the difficulty by requiring more precise instructions? Ah, you split the list of instructions into four parts and put one list in each corner of the classroom, then randomly sort people into the corners - one corner has ingredients, one corner has operations, one corner has conditionals, one corner has goals, and the class has to communicate to build valid instructions. Maybe give the ingredients tongue-twister names and make them devise ways to communicate without getting things confused. And obviously the end of the demo is "so why didn't any of you just take a list of ingredients and walk over to the list of operations so you didn't have to shout?".
xrd•3mo ago
This is great. I love it.

I wonder if I could constrain the things they could do to their "instruction set." If they don't do that, I can yell ERROR, SEGFAULT!

philsnow•3mo ago
*SIGILL
cactusplant7374•3mo ago
This is too weird. Think about something more hands on and practical.
throw-the-towel•3mo ago
Sorry for the digression, but there was an old Soviet children's book about programming called "Encyclopedia of Professor Fortran" that almost had your jelly example -- except that in the book it was peeling potatoes instead of spreading jelly.
xrd•3mo ago
Ooh, I love adding some Russian or Spanish somehow...
alexjplant•3mo ago
Shaggy dog story: when I was 9 my teacher assigned us homework that entailed writing an instructional essay on how to make the infamous PB&J sandwich. At the time I was a budding "programmer" and had recently seen a skit on a TV show that employed hijinks similar to

> * I brought a serrated knife and ketchup packets. When they said put the jelly on the bread with the knife, I gripped the serrated end and pretended my fingers bled (ketchup works great as blood).

> * I brought in vaseline AKA petroleum jelly. When they said put jelly on the bread, I contemplated aloud "Well, you said JELLY, and this says JELLY!"

...and so went into great prescriptive detail about exactly how I'd make said sandwich. After turning it in my teacher chose my essay specifically to repro onto a transparency and place on the overhead as an example of bad writing. Apparently being explicit about choice of ingredients, removing things from packaging, holding the bread, etc. was antithetical to the assignment and dismissed with laughter and eye rolls because "everybody knows" to do these things.

This was a bit of a blow to my fragile ego but in retrospect it was an important lesson in several concepts that you touch on later in your post such as good communication (the importance of considering one's audience), asking clarifying questions (because requirements are hard), and interactions with authority figures.

I say all of this to say that you should absolutely emphasize this less technical side of things. Soft skills are at least as important as technical aptitude when it comes to career mobility and emphasizing them early would give students a real leg up. While considering edge cases and assumptions is clearly important for computers it's also crucial to keep in mind how people understand processes and systems, i.e. when to be explicit and when to avoid patronizing those on the other end of your comms.

HPsquared•3mo ago
School can be Kafkaesque at times.
aeontech•3mo ago
> teacher chose my essay specifically to repro onto a transparency and place on the overhead as an example of bad writing

Oh man, regardless of how "bad" someone's writing is, this is terrible terrible teaching. Public shaming in front of peers, especially on something subjective like this? Some people should not be teachers. I'm sorry you had to go through that.

dherls•3mo ago
I think the sandwich demo is really good. Once you establish the sandwich idea you can start zooming out to OK now you have a cook making multiple sandwiches, now you have a whole kitchen, and use that to talk about levels of abstraction and how SWEs go from solving one specific problem to more general problems by reusing techniques
ares623•3mo ago
What about something about prompt engineering?
maxbond•3mo ago
Prompt engineering ages like milk and doesn't hold a child's attention. The PB&J demo is evergreen and hilarious.
alberth•3mo ago
Just a callout to Logo.

https://en.wikipedia.org/wiki/Logo_(programming_language)

PessimalDecimal•3mo ago
I don't know why but my elementary school taught my grade of kindergarteners specifically to program using Logo. The class before and after me didn't seem to get this. Some Apple IIe machines that would've quite old by that point and a big room full of kids pair programming Logo. Great memories! And I'm pretty sure this planted the seed that led to my career in software.

My oldest is now in kindergarten and I am going to use Logo to help her learn. I started by buying an Etch-a-sketch that we use together for a real-world point of contact with the idea.

exasperaited•3mo ago
You may find yourself quite surprised, as an adult, by what Logo actually is.

I was never taught much of it, but Logo is massively more sophisticated than most primary education ever gets into -— it's really a multi-paradigm language with quite an elegant loose functional programming style hidden in it.

There's a good article about it here with some links:

https://blog.codinghorror.com/modern-logo/

Also don't ignore Scratch: if you can teach familiarity in Scratch you are going to set your daughter up really well for all sorts of stuff. Scratch is really Logo's spiritual successor and it's a thing of beauty, IMO.

xrd•3mo ago
This is terrific.

Unfortunately, but actually fortunately, I'm not going to have a computer when I'm talking to them.

exasperaited•3mo ago
Additional recommendation: read Papert's _Mindstorms_ book, which you can get as a PDF:

https://www.media.mit.edu/publications/mindstorms/

PessimalDecimal•3mo ago
Thank you, this is fantastic!

I am exciting to try my own hand at Logo again too with a _bit_ more experience as a programmer than I had back in kindergarten.

I have also been looking at Scratch and at Racket as fun programming sandboxes for learning and playing.

empressplay•3mo ago
3D WebGL Logo: https://turtlespaces.org

Has a 2D physics engine and can use GLB models, among a bunch of other modern features...

cweagans•3mo ago
You might consider some of the pre made stuff at https://www.csunplugged.org/en/
blindriver•3mo ago
Scratch is a popular way to teach kids programming. It’s very basic but easy for kids to understand and many can do very complex things with it (someone made a super Mario brothers clone).

One of my kids picked up scratch immediately and did that for a couple of years for fun and now he’s doing python and machine learning.

analog31•3mo ago
Oddly enough, my mom taught computer programming at a community college in the early 80s, and she used the PB&J lesson, though without physically making one. She also used to remind her students: "Computers are stupid. They can only do exactly what you tell them to do, not what you want or need them to do." A series of children's stories, Amelia Bedelia, uses that theme too.

Her first gripe was that the computer didn't recognize the lower case "l" for the numeral "1" ad vice versa. Her old Smith-Corona typewriter didn't have different keys for those characters, or for upper-case "O" and Zero.

xrd•3mo ago
My kids loved that book years ago. I never made the connection. This is a terrific comment, thanks.
userbinator•3mo ago
While entertaining, I think the PB&J demo is more like "clickbait" than anything.

My suggestion is to start with digital data and logic circuits; how everything a computer does is based on a huge number of switches making very simple decisions.

skeeter2020•3mo ago
The approach taken by Charles Petzold in his book "Code" is definitely accessible, though kids don't really need Morse code and flashlights any more when they all have iphones...

https://codehiddenlanguage.com/

mistrial9•3mo ago
its not "magic" .. children at that age need to experience the senses and play with others. Technology is overused, and brutally so, at the tender ages in the current epoch here in California and elsewhere
jackdoe•3mo ago
3rd grade might be a bit young, but you can make simplified version of the 4917 computer https://punkx.org/4917/ and make few funny self modifying programs they can "compute" on pen and paper

also maybe get few examples from human resource machine and play them out, this might be more fun than pb&j https://tomorrowcorporation.com/humanresourcemachine

somethoughts•3mo ago
There was/is a pretty interesting board game roughly based on Python Turtles created by a middle schooler a while back.

Instead of a turtle you control a bunny and instead of lines of code with commands you collect up and then use sequences of cards with commands (i.e. left, right, forward, back). Eventually, I think you end up using loop command cards, etc.

I'd imagine you could have teams control each bunny.

CoderBunnyz - https://coderbunnyz.com

Quick overview on how to play CoderBunnyz

https://www.youtube.com/watch?v=hCOBtdG3ctI

Some provided lesson plans even:

https://coderbunnyz.com/stem-schools/

Amazon

https://www.amazon.com/Coder-Bunnyz-Comprehensive-Programmin...

laurieg•3mo ago
The "making a sandwich" demo is definitely a classic.

Here's another I like:

Give groups of kids 10 identical looking items and a balance to compare the weights. Pre-teach how a balance works to compare the weight of items. Ask them to put the items in order from lightest to heaviest. You're basically asking them to come up with a sorting algorithm. Usually, after much experimentation, someone will come up with an algorithm that works. You can work together to try to write down the steps of the algorithm. You can also explore more mathematical ideas like transitivity when comparing different sorted sets of items.

rahimnathwani•3mo ago
If they have access to devices, I suggest:

- Octostudio ("developed by Lifelong Kindergarten at the MIT Media Lab")

- A series of exercises demonstrating specific features, similar to these: https://www.amazon.com/ScratchJr-Coding-Cards-Creative-Activ...

Stevvo•3mo ago
Don't have any ideas for you, but you appear to be on the right track.

Went to various computer classes at school as a kid. Usually it turned out to be a math class doing bitwise logic on paper.