Learn Your Way: Reimagining Textbooks with Generative AI
Posted4 months agoActive4 months ago
research.googleTechstoryHigh profile
controversialmixed
Debate
80/100
AI in EducationPersonalized LearningGenerative AI
Key topics
AI in Education
Personalized Learning
Generative AI
Google researchers propose reimagining textbooks with generative AI to create personalized learning experiences, sparking debate about the effectiveness and potential drawbacks of this approach.
Snapshot generated from the HN discussion
Discussion Activity
Very active discussionFirst comment
49m
Peak period
57
0-3h
Avg / period
17.8
Comment distribution160 data points
Loading chart...
Based on 160 loaded comments
Key moments
- 01Story posted
Sep 18, 2025 at 1:42 PM EDT
4 months ago
Step 01 - 02First comment
Sep 18, 2025 at 2:31 PM EDT
49m after posting
Step 02 - 03Peak activity
57 comments in 0-3h
Hottest window of the conversation
Step 03 - 04Latest activity
Sep 20, 2025 at 10:32 AM EDT
4 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 45292648Type: storyLast synced: 11/20/2025, 8:28:07 PM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
Your tone suggests that this wouldn’t be horrifying so I wonder what you meant by this.
I was referring to the visual experience, not the dark lord possessing people.
The teachers and professor I've known have always loved adapting their lessons to suit the interests of their students - I think that's a core educational instruction skill.
I'm open to hearing disagreements, but reading through the usages and evaluations does not leave me thinking of a tool that would provide any benefit greater than just giving teachers more resources would.
Link to an example:
https://learnyourway.withgoogle.com/scopes/AOcKkhsL/slides-n...
It also recommends questions on initial load that can help understand or explore the paper, here's a demo[2] from the popular Attention Is All You Need paper.
The code is all opensource[3], it uses the google 2.5 flash lite model to keep costs down (it's completely free atm), but that can be changed via env var if you run it locally.
1. https://asxiv.org
2. https://asxiv.org/pdf/1706.03762
3. https://github.com/montanaflynn/asxiv
what's the value add of the wrapper that this person wrote at all?
Simply replacing the domain arxiv.org with asxiv.org does all that for me now.
Also it links to pages in it's answers and scrolls the pdf to it on click, allowing to view the pdf side by side with the chat.
[0] https://www.alphaxiv.org/abs/1706.03762
Good goal, but they've got to start somewhere.
Delivering an education experience even 80% as effective as the best private tutors would be a huge achievement.
For tutoring, I think the approach in https://www.nature.com/articles/s41598-025-97652-6 is promising. (Prompts are included in the supplementary material on the last page: https://static-content.springer.com/esm/art%3A10.1038%2Fs415... ) They start with an existing collection of worked exercises, give the chatbot access to the full solution and then let students interact with it to get a walkthrough or just check their own solution, depending on how much help the student thinks they need.
EdTech has the worst returns of any industry in venture capital. Why?
There are no teachers who say that technology has generally improved experiences in classrooms, even if some specific technology-driven experiences like Khan Academy and Scratch are universally liked. Why?
When you look at Scratch, which I know a lot about, one thing they never do is allege that it improves test scores. They never, ever evaluate it quantitatively like that. And yet it is beloved.
Khan Academy: it is falling into the same trap as e.g. the Snoo. If you don't know what I'm talking about, it's about, who pays? Who is the customer? Khan Academy did a study that showed a thing. Kids are not choosing to watch educational YouTube videos because of a study. It is cozy learning.
But why does Khan Academy need studies for a test score thing? Why does Google? This is the problem with Ed Tech: the only model is to sell to districts, and when you sell to districts, you are doing Enterprise Sales. You can sometimes give them a thing that does something, but you are always giving them exactly what they ask for. Do you see the difference?
It doesn't matter if it's technology or if it is X or Y or Z: if the district asks for something that makes sense, great, and if it asks for something that doesn't make sense, or doesn't readily have the expertise to know what does and doesn't make sense, like with technology, tough cookie. Google will make something that doesn't make sense, if it feels that districts will adopt it.
We can go and try the merits of Learn Your Way, thankfully they provide a demo. All I'll say is, people have been saying, "more reading" is the answer, and there is a lot of fucking reading in this experience, but maybe the problem isn't that there isn't enough text to read. The problem is that kids do not want to read, so...
Everywhere you look in education there are problems. There isn't going to be some stylized answer.
These Google guys - and a lot of other people who write comments online - go and promote something they think is a world view or theory, and is really just a bunch of stereotypes and projections of their own college-aged vengances. VC likes these kind of people! These Google guys fit that mold. I can agree with the broad strokes of techno-utopia, but that also means you need space to say that your app is bad, your art is ugly, and your text is long and boring.
These Google guys do not have space for criticism. They are Enterprise Sales. If the district asks for tasteless Corporate Memphis art, that's the art they're going to get - I'm going to focus on the art because I know something about art, and the text that appeared in the demo was so horrifically boring that I didn't read it. Have you opened a children's book? None of it looks like fucking Corporate Memphis!
One thing I am certain of is that these Google guys do have taste, they are smart people. Their problem is Enterprise Sales. Don't get me wrong. If you are narrowly focused on giving people what they want, your creative product will fail.
I think this one is fairly simple. Half of consumer spending comes from the top 10% of earners, whose kids we can assume have generally pretty decent educations already. The people who need education help the most don’t have money to spend on it.
The parents who do have money to spend want to invest in tailored education from a human teacher, not cheap, generic scalable technology. So margins will be low.
So if you want to make money, you need to focus on things like enrichment and test/college prep for the top 10%. Helping inner city kids who are 3 grades behind in reading doesn’t print money and VCs don’t want anything to do with that.
But there's no potential market in the top 10%. I mean, these people just hire a good teacher and that's it. There's no room for improvement; there's nothing that can beat a good teacher.
> Helping inner city kids who are 3 grades behind in reading doesn’t print money
This is a political problem. Political problems cannot be solved by technological means. So there is no market here either.
> Helping inner city kids who are 3 grades behind in reading doesn’t print money
100% and this is broadly why ed tech doesn’t move the needle.
Another POV is: pick your disruption.
AI stuff has definitely disrupted education... for the worse. It happened within a political and economic status quo. The AI stuff did not need to wait for the movement of any levers of power to happen at all.
If you are seeking a way to fix low returns in ed tech (and for that matter, Health IT, which is like, #2 worst performing sector): attack Enterprise Sales. Destroy it. Make stuff that destroys the monetization system where districts buy exactly what they ask for. It isn't complicated.
Scratch and early Khan Academy provide a template for good ed tech targeting the learner directly.
Whether you make $1 million or $1 billion doing this, I don't know.
Chegg got to, and fell from, great heights by delivering cheating, which ChatGPT does for free now. Cheating ALSO worked within a political and economic status quo, that 30% of students cheat, and that the cheating is a necessity, apparently, for the survival and thriving of a vast number of people, all around the world.
There are markets. Lots of them. You can do good or bad. Paul Graham doesn't invest in Cluely, even if it makes money, it's kind of evil (A16z doesn't care about cheating, the people who run it are the ones who cheated in school). So there are even opportunities that are missed by the very best seed fund.
To me, a big opportunity lies in things the government education cannot do. Some things good, some evil, some complicated. For example, no matter how hard it seems to try, the government cannot functionally collect on a trillion bucks of student loans. What does that mean for education? I don't know, but I think if you are looking for $1b+ opportunities, they're there.
If you have free weights, a bench, and a place to run, you are already 98% of the way to being a healthy fit human. There is ample information available on how to use those tools.
You don't need a trainer, a $10,000 gym machine, and a $5,000 stationary bike.
Education has gotten so insane with per-student spend, and the results are the same as the kids who had pencils and 10 year old text books.
The real challenge in teaching Newton's laws of motion to teenagers is that they struggle to deal with the idea that friction isn't always there. When students enter the classroom, they arrive with an understanding of motion that they've intuited from watching things move all their lives, and that understanding is the theory of impetus: https://en.wikipedia.org/wiki/Theory_of_impetus
An AI system that can interrogate individual students' understanding of the ideas presented and pose questions that challenge the theory of impetus would be really useful, because 'unteaching' impetus theory to thirty students at once is extremely difficult. However, what Google has presented here, with slides and multiple guess quizzes, is just a variation on the 'chalk and talk' theme.
The final straw that made me leave teaching was the head of languages telling me that a good teacher can teach any subject. Discussions about 'the best pedagogy' never make any consideration of what is being taught; there's an implicit assumption that every idea and subject should be taught the same way. School systems have improved markedly since they were introduced in the nineteenth century, but I think we've got everything we can out of the subject-agnostic approach to improvement, and we need to start engaging with the detail of what's being taught to further improve.
As an example, as you're reading it, try posing a few relevant counterfactuals.
What they are doing internally after launching something like this is patting themselves on the back, updating their resumes, and promptly forgetting it exists.
(see NotebookLM)
Tell me this wasn't foreign languages? :face_palm:
Okay, I was totally with you until this,
> but I think we've got everything we can out of the subject-agnostic approach to improvement, and we need to start engaging with the detail of what's being taught to further improve
I think if you walk into the bottom 80% of classrooms you would not see, interleaving, spaced repetition, recall-over-reread, or topic shuffling to avoid interference.
There's a load of understanding we've gained in pedagogy and human learning that has not affected how we structure formal education yet.
Where have you taught? I taught in Australia and the United Kingdom, where many of these things were mandated by the promulgation of spiral curricula by the relevant government departments. I'm aware in the US that, for example, algebra is taught as one or two block courses, but in the school systems I've taught in, algebra is taught as a few 'topics' of about a month in duration each, sprinkled throughout the whole four or five years in which mathematics is mandatory in secondary school. For Year 7 to 10 in Australia, there would be one or two topics for each of physics, chemistry, biology and earth sciences, covered across each year, building up from year to year. None of this was a choice by individual teachers or even schools; it was an artefact of the way the curricula are structured.
Since these things I mentioned are well demonstrated to be effective and you don't think there's anything left to be had with a subject-agnostic approach, I infer you have a high opinion of how well these countries have implemented these "tactics". Is that right?
Spaced-repetition is a good example. It's so objectively better than other forms of memorization, but it's just one tactic for learning.
In this sense "teaching well requires a specific set of tools and tactics" is exactly how "a good teacher can teach anything" would make sense.
The problem is it doesn't make sense.
He specifically says, "I think we've got everything we can out of the subject-agnostic approach to improvement"
So we all agree that subjects would benefit from specific interventions. The difference is he's going further and saying this is the only way forward; there are no general gains left to be had.
From the strength of the claim alone, this is hard to believe. Where do you stand on this?
Charitable pov though, i'd say it's about leverage. Learning outcomes globally suffer steep steep cliffs and it's inevitably due to socioeconomic factors.
It's hard to argue that more chromebooks, spaced repetition, and catering to learning styles are the missing pieces johnny needs to get out of the hood.
as a person in tech i believed for a long time that if only we had better learning materials, people could orient and better self motivate around subjects. (learning needs to be hard. it's biology. brain takes notice and retains new and challenging stimuli. so "making learning easier" is a misnomer. the insight becomes how do we get people to self-motivate into hard things?)
I still think that's true, to your point, but all these takes are one of many many problems, and they aren't equal in leverage and i think that's where OP is coming from. there's outsized leverage in domain specific pedagogy.
The issue with learning things isn't that it hasn't been tailored to be interesting or relatable to me, it's just that it's a lot of content and it's hard. The solution is figuring out how to set up a type of spoon feed algorithm that checks that I'm understanding little bite size pieces along the way in addition to giving layman's terms for things that don't necessitate the formal description (e.g., deciphering math language).
ChatGPT Study mode has actually been quite good at this when you prompt it correctly and are studying a subject that it's well trained on.
AI rephrasing words better to each individual isn't interesting to me. Automatic Interactive small quizzes, puzzles, and self adjusting difficulty level would be amazing, but i don't see AI really reaching that level.
When i see AI "quiz me on this" it gets stuck asking direct factual question about the text. But a good question challenges assumptions, and prod deeper understanding.
https://chatgpt.com/share/68cc844a-14d4-8009-88e3-53f5d781b5...
Id rather it approach it from "we would like to calculate difference in vector direction. Dot product is almost what we want, but cosine similarty is even better"
The "Angle connection" of cosine similarty was instead of added as an extra note later. But i think its fundamental to its intuition that excluding it from the main explanation could lead to a misunderstanding.
(Heck the definition section of Wikipedia makes the formula very clear, and the introductionsection is also excellent to descibe its utility)
So we may reach is one day. But i still think its a ways off compared to a proper hand crafted learning materials. And this subject specifically is a best case scenario.
(3b1b is amazing if you still want to get a more inutitive grasp on matrix transformatios)
You need examples that point at the general case - like Newton's cradle.
Conservation of momentum helps.
Just giving the students access to something that simulates a frictionless world to play around with? maybe with a simple on off switch.
Something i've probably seen shared by others here in webgl at some point and far cheaper to run than genai
Why would that cause you to leave teaching physics? Was he also the head of the science subjects? Did you report to him in any way?
'the best pedagogy' ,
OpenAI parents are not allowing chatgpt to curate pedagogy ... we all have a bookshelf thats it (our pedagogy) ,
but copyright strategies means the ai must mutilate / offuscate way best padagogy away ... they train on it and effectively say dont sound that good , too good is copyrighted
1) well-thought out exercises (covering all cases, whether in math or Spanish)
2) CORRECT solutions (just saying because even ChatGPT gets it wrong even for high school math)
3) that you can enter them using pen (if need be on an iPad)
Just a way to make zillions of exercises if I want to. And for my kids, the problem is these days teachers won't (AND mostly can't, they just don't know their subject) help them make a lot of exercises.
"a list can be used for a recipe"
"a set can be used to list all the unique ingredients you need to buy for a week's meals"
"a map can be used for a cookbook"
"a priority queue can be used to manage orders in a busy restaurant kitchen"
"a food-pairing graph can show which ingredients taste good together"
Maybe I'm over-estimating the taste of 7th graders, but I feel like I would get sick of this really quickly.
I don't know when these dorks will understand that education isn't a technical problem. Its a social and emotional problem.
existing material is clear enough to learn from.
i.e. we've been educating people for 1,000s of years even without textbooks.
Education itself isn't primarily a technology problem. Treating it as such is an administrative failure, as is pursuing a technological solution in many scenarios that are first social in nature.
By using the tools available at the time we did, certainly. That involves physical tools like writing, but also non-physical tools like better ways of conveying and disseminating information, better ways of testing the efficacy of various approaches, etc, etc.
Education has to evolve, as it always has. While I'm not sure TFA is it, I do think LLMs will have a role to play in making learning more accessible and enjoyable for everyone, not just kids.
A lot of the failure of learning is a failure of teaching. Incompetent teachers throw disconnected information at you instead of trying to explain or lead you to an understanding of what something is about. I attribute part of this to a loss of solid philosophical coursework where you are taught to think from first principles, taught within a larger integral context, and taught to reason clearly. It used to be the case that everyone with a college degree had at least some basic philosophy under their belts (compare a Heisenberg to a Feynman to a Krauss; the progression is clear). And don't forget the success of the trivium and quadrivium or some variation of them that was often presupposed and prepared students for intellectual work.
That said, teaching is hard. I don't fully blame teachers who cannot effectively convey subjects to 30 kids, especially these days. Even in an ideal situation, there's so much variance in how people learn best, that it would be hard to blame it on incompetence if a teacher cannot reach every one of their students.
Considering how hard it's going to be to fix the bigger problems with society* - obsession with credentials, lack of funding, better paying, less stressful jobs means less teachers, etc, etc - shouldn't we embrace tools that help kids learn things in a more accessible way to them? As I said, I don't think TFA is it, and we should obviously be aware of the issues, but surely people on HN of all places can see the value in tailoring subjects and lessons to a student's preferred method of learning?
* This is not to say we shouldn't also try to solve those problems
Yes, tools which help. But the point is that education occurs with any collection of tools, or even the simplest of all, if we want to go so broad as to call speech technology.
Technology is an augmenter of education, but not the fundamental problem of education.
> I do think
I'm not sure whether they should have a role, or what that roll should be, as such a feeling would be moralizing to some degree. But I agree that we will _make_ LLMs have a role, because the capitalism that drives our societies wants them to have a role.
And we've been doing a pretty crappy job educating people without written texts. The written word led to a tremendous acceleration of knowledge transmission. The printing press enabled that transmission at a larger, but unified, scale.
Anything we even remotely recognize as science has only ever been practiced by literate cultures.
Discarding technology for education because it's not a panacea is an absolute failure as educator.
For the most part, it's a matter of clear presentation, student engagement, and effort. A well-written textbook (many suck) and a good teacher (same) and a properly disposed student (which presupposes things like certain virtues; parents are responsible for teaching and supporting these for the most part). Technology won't get around the basic human reality, and sometimes, there's nothing to fix. Some people aren't interested.
Its annoying that software is such a high gross margin industry - I would love to see Googles cash get taken away so they cant take these vanity projects.
I do agree that it would be better to dial in on a pupil's interest than the grade level (my kid may be 7th grade in English but 9th grade in Chemistry, for instance.)
[Edit: fix typo]
I don't think the failure mode here is really "7th graders will see through the superficiality of this really quick". I think the failure mode here will be:
> Explain computer science basics for a 7th grader interested in poop and butt-sniffing
Although who knows... maybe this will unleash a generation of memes of the likes we have never seen before. And if the side-effect is more people are at least conversant in more topics, well, maybe that's not a failure mode at all
But... which kids? Do we have a fundamental problem reaching kids who are interested in basketball? My kid had a period of being interested in dinosaurs, but I never felt the need to reframe everything in dinosaur-terms because of that. In fact, you kinda want them to broaden their horizons beyond dinosaurs?
The real challenges in education are elsewhere, and a lot of it has to do with socioeconomic status and bad influences early in life.
Haha, you think most Googlers understand this? No chance.
This is why products like this fail, dead on arrival - the person leading the charge simply doesnt get it.
But hey go ahead and burn the cash of shareholders.
I do think there is pedagogical value in showing where these concepts can be used practically and the advantage of LLMs is that you can transform the examples to what you're actually interested in. For example the Red Blob Games series on A* pathfinding are really good at showing how Dijkstra and graph traversal algorithms work, for a use-case (video games) that is appealing to a lot of nerdy people.
But there's another flaw that gets overlooked most of the time, which is that we're raising kids to believe that "why are you teaching me something that you're not 100% sure I will need in my day-to-day life" is a sensible question, when it really isn't.
Outside of my 2-year stint in the game development industry, I never really needed most of what I learned about trigonometry in my day-to-day life. But that doesn't mean it wasn't useful.
Yes, we should make the subject matter more approachable to kids, but we should also try to shift the paradigm so that kids are more open to learning new things.
Agreed.
> I think adults should be able to justify why we’re using what boils down to the threat of force (if we’re honest) to make them sit in classrooms and listen to us.
Disagree. The justification for why they should learn $FOO may never be understood by a mind that we are teaching $FOO to.
There's good justification for learning to read, but not one that would be understood by a 6 year old.
There's similarly good justification for teaching Maths, but you'd be hard pressed to convince a 16 year old of the value in practicing abstract reasoning, using Maths as the vehicle.
Sometimes, the only good answer to give a kid is "you'll see the value when you're older".
I also disagree that there needs to be justification. I don't think students' minds work like that. What's needed is something different and probably many kinds of something different since there's many kinds of learners.
So far, a huge percentage of students are getting left behind when teachers and material fail to have a good answer.
With an insufficiently developed brain, there is no answer that leads to engagement or interest.
Sometimes you'll find yourself telling kids "How do you know you won't like it unless you try it?"
If you, personally, claim to have never told a kid that specific sentence (regardless of context), I have serious doubts that you actually have kids.
Sometimes engagement and interest only come after the kid has been forced through a little bit of it.
They are children; you can't always reason with them because they have not yet developed sufficient reasoning skills. Making the claim that reasoning is all you need to get children to do the right thing is plain nonsense.
> I also disagree that there needs to be justification.
Sounds like we're in agreement, after all? I also don't think there needs to be a justification for "You need to learn Maths". This is why I said an answer along the lines of "you'll understand why later" is all you can do when asked for a justification.
Maybe awesome, but I doubt it.
Well, I use other words bit that's my message anyway :-)
I think the truth is a lot simpler. Most kids won’t use trig in real life.
Advanced math came in handy just once in my life. My keys fell in the toilet, and I realized the best tool was a wire bent like an integral.
Later at university I complained about the lack of applications in the textbook, and my classmates became very upset. One of them responded, "we are mathematicians, we do not concern ourselves with applications."
Just look at software. It's undeniably useful with many applications. Still, some people treat it playfully and in an enjoyable way, they learn about algorithms they won't ever use, just for the elegance, read Knuth, even if reading some React handbook may be more useful for their day-to-day. There are more considerations than "but how will this make my employer richer?"
Especially when "useful" includes "to get a future job" or study something else much more useful and interesting later."
At some point I had made a small space ship and was able to make it turn around with the wonderful angle command [1]. However, I could not figure out how to make it move "forward" regardless of the angle.
I was also attending an after hours computer graphics club, mostly about Deluxe Paint, taught by a 20-something student (who much later went on to found a GPU company and got acquihired by ATI/AMD). He would help me occasionally, and in this case he took a tiny slip of paper and wrote down a couple of lines about sin and cos. No questions, no explanations, no gatekeeping.
Just like that I internalized this foundational piece of trig - later when it arrived in school maths it was easy and obvious for me. I had a practical application, but even more I think was because it started as a need I had, and when given to me, felt like a gift and an enabler.
Still much later I studied Seymour Papert's pedagogy and understood I had lived it. I consider myself fortunate.
1: http://www.antonis.de/qbebooks/gwbasman/draw.html
But IMO that pushes you to making the curriculum more flexible and not forcing every student into the same sequence where math is the core IQ test for STEM. If a kid doesn’t find it interesting I struggle to justify forcing them.
Personally I also think trig and calculus are far inferior to statistics for most people. If you have an intuition for probability distributions, precision/recall, and a few other basic concepts, you’ll be guaranteed to apply them everywhere in your life.
Of course if you are interested in STEM then calculus must be available too, but it’s pretty specialized in practice.
Your suggestion is interesting but I am not convinced that a student would be helped by aligning the examples with their interests. I could see a student asking how trig relates to computer games and the example the LLM generates becoming much more involved.
I see no problem with the examples being boring. The people that developed these techniques had such fundamental problems to solve and the wonder to me is the human mind that came up with these methods.
All this to say, maybe we lack appreciation for the fundamental sciences that underpin every aspect of our modern lives.
The trouble is a lot of those practical examples fall into the, "why would I care category". I had a high school physics teacher who described his university antics, one of which included a funny story of a bunch of his friends climbing on top of each other to measure the height of a flag pole. I guess the profs got tired of dealing with students scaling flag poles because I was measuring the height of mountains on the moon at the same university a couple of years later. The thing is nobody really cares about the height of a flag pole, while only a few would care about the height of the mountains on the moon.
The reality is the interesting applications are much more involved. They either require a depth of thought of process or a depth of knowledge that isn't appropriate for a textbook question. Take that trigonometry in games example. The math to do it was in my middle school curriculum, but it becomes obvious that computer graphics is more than trigonometry the moment you try to frame it as an example. I had linear algebra in high school. That will take you pretty far with the mathematics, but it will also be clear that a knowledge of computer programming is involved. Even knowing how to program isn't going to take you all of the way because few are interested in rendering verticies and edges ...
And that is just the obvious progression of knowledge in a simple application. Physics itself involves buckets full of trigonometry in extremely non-obvious ways, non-geometric ways.
Rambling off-topic, but I remember being very impressed at how a uniform hanging rope makes a catenary [0] shape which is related to making strong structural arches.
So maybe if the students were somewhere where the class could design and make an igloo... :p
[0] https://en.wikipedia.org/wiki/Catenary
So your off-topic rambling isn’t off-topic at all :)
I'm in agreement with this point; the examples are boring, but that's not really relevant. After all, we're mostly talking about Maths ITT, not history or social sciences.
1. Some foundational study is needed before you get to the really interesting problems at a higher grade/level/school/university.
2. Who cares if they are boring? A spectacular facility to learn Maths which is demonstrated by high marks indicates better abstract reasoning skills, making it easier for specific trades to decide who is more suitable.
3. How will the kids know whether they like Maths or not if they skip trig in high school?
(Sidenote: Am I the only one who finds trig easy and everything else in Maths hard?)
There are much deeper flaws in this question:
1. That you only learn what you are guaranteed to use in everyday life. Education should leave you with choices. You learn trigonometry so you can later choose to do things that require it.
2. That everything you learn in school has to be something that is likely to be useful. When did you last use history or literature or art?
How many paving stones do I need to buy for the walkway I'm building in my backyard?
How far from the top of the roof should I start attaching this gutter so that I still have roof to nail it to 30 feet later?
How big of a ladder do I need to get to that branch I want to cut down in that tall tree?
Will I be able to get this couch up the stairs, around the corner, and through the door?
The first 3 are simply plain wrong.
GenAI's gonna GenAI I guess.
> "a list can be used for a recipe"
A recipe is not just a list of steps, it's also a list of ingredients, potentially an introduction, some pictures, etc.
Ask a kid to draw you a mock recipe, you won't just get a list of steps in return.
> "a set can be used to list all the unique ingredients you need to buy for a week's meals"
Ingredients have quantities attached. If I tell you to make a cake you need sugar, an egg and flour and give you all the steps but no quantities, you're not making a cake. A map is the obvious choice for storing ingredients.
I agree that ingredients are unique, but they have attached data which is just as relevant as the ingredient itself.
> "a map can be used for a cookbook"
I just don't understand how a cookbook is supposed to represent a map, it just doesn't make sense, not even with the additional context of the previous metaphors.
At best it would be somewhat understandable if it said a map can be used for a cookbook, with dish names mapping to recipes, but even this would be a stretch and assume a dish can be made in a single way.
Keep in mind the goal is to teach someone who has zero ideas about datastructures what they are, not to give some analogies to an experienced software engineer.
I agree, which is exactly the problem I have with your objections. If you're teaching data structures to a kid with zero knowledge, you do it gradually, rather than trying to turn them into an experienced software engineer right from the start.
Start with an oversimplification and then build on top of that. The point of an introductory example is to focus on a single concept or a single aspect, and communicate it in a way that is intuitive to someone with no knowledge of it, without overwhelming them or distracting them with additional details. Then, once they've grokked it, challenge them to find flaws in the oversimplification and use that to teach the next concept.
> Ask a kid to draw you a mock recipe, you won't just get a list of steps in return.
Depends on the age. When they're young enough and haven't actually done any serious cooking, kids tend to think that recipes are a series of steps.
Hell, a lot of adults I know, when I ask them something like "how do you make X", start by explaining the steps instead of laying out all the ingredients and their quantities.
This is exactly what I'm talking about when I refer to overwhelming or distracting your students with additional details. You're not trying to build a cookbook app, you're trying to teach someone about a specific data structure.
> Ingredients have quantities attached. If I tell you to make a cake you need sugar, an egg and flour and give you all the steps but no quantities, you're not making a cake. A map is the obvious choice for storing ingredients.
If you're trying to teach sets and your domain of choice is cooking, it makes sense to start with a "list of unique ingredients". You're focusing on uniqueness as a property of sets. Then, once you've explained sets, you can point out that a list of ingredients without quantities isn't very useful, which gives you a great way to introduce maps.
As a bonus, if you've already taught your students about tuples, you can then compare a set of tuples and a map, drawing parallels and pointing out important differences.
> At best it would be somewhat understandable if it said a map can be used for a cookbook, with dish names mapping to recipes, but even this would be a stretch and assume a dish can be made in a single way.
Again, you're thinking like an experienced software engineer. Yes, you can totally assume a dish can be made in a single way if you're teaching kids.
If I'm introducing "string" as a concept for the first time, I won't immediately start explaining the difference between a byte, a Unicode code point, and a glyph.
I don't even know what it means, tbh. I feel it's going to confuse the hell out of 7th graders.
I personally prefer a serious text without bringing in unrelated concepts like food, but this is still understandable.
The first meaning of "use for a recipe" is "use as an ingredient."
But then, it's a pretty weird thing to explain to begin with, approximately every human on the planet knows what the word "list" means. So what does this pseudo-definition add?
I don't think it's good either. You'll mostly get the meaning if you already knew it.
> A recipe is an ordered list of steps of what to do
Understandable.
> a list can be used for a recipe
Not so much.
Moreover, a recipe usually at least consists of two parts, ingredients and steps.
"pierogi_recipe": { ingredients: Set<(Item, Quantity)>, steps: List<Step> }
So the analogy kinda muddies the waters.
- a list can be used for the steps of a recipe
This does almost nothing to explain what a “list” is in the CS sense. Teaching material needs to show how a list could be used for a recipe, and from that the student might begin to form a first incomplete understanding of what a “list” is.
That you felt you need to add 'ordered ... of steps of what to do' to your definition of list, kind of proofs that a recipe is a bad analogy for a list.
A recipe contains multiple lists, has a name, has a purpose and a desired outcome. Totally different from a simple list. But a kid who's unfamiliar with the programming concept of 'list' doesn't know that, so it's very possible that at some point they will get confused when a list can't do things that a recipe can do.
Instruction and instructors won't be going away.
Most people have never looked at textbooks needing evolving.
It's like the LLM ai shift to not think about how software used to be.
If you ask it to explain some complex algorithm, it'll go "imagine a football field..." If you tell it you're a college-educated software engineer in the system prompt and ask it a non-cs question, it will go "imagine a variable..." instead.
[1]: https://en.wikipedia.org/wiki/Hawthorne_effect
edit: Their demo video shows they allow learners to set different narration style based on their interest.
I've had very good luck using LLMs to do this. I paste the part of the book that I don't understand and ask questions about it.
Asking the right kind of questions is a genuine skill.
It applies to every domain of life where you are at the mercy of a "professional" or at the mercy of some knowledge differential. So you need to be a good judge of whether the answers you're getting are good answers or bad answers.
A skill we cannot rely kids to have, and which i think takes years of training and learning for even adults to really acquire. (to be clear, i'm not thinking about AI prompting. I 'm thinking about assumption breaking and understanding prodding questions the learner asks themselves and seeks answers for, to build and refine their mental models of something they learn)
Because questions are fundamentally about knowledge differentials, which will always exist for individual human beings. We can't at any point know everything.
Know how to know what you don't know and get a good grasp of what it means to know in the first place.
Knowledge isn't absolute.
A great question can compensate for a simple answer.
Kids can ask questions, but they rely on an experienced teacher to effectively answer.
Teaching someone effectively through answering questions, require the teacher through the students questions to build a model of the students model. To answer not only the question directly, but also the question that should have been asked instead.
A good end-of-chapter quiz doesn't check that a reader read the next. It asks questions whos answer rule out possible (or common) incorrect mental models the reader may have built.
A learner skilled in asking truly excellent questions, makes questions for which even a bad or simple answer rule out and refine their assumptions.
And that is a skill i doubt is ever truly mastered.
Its like the X Y. A great teacher answers X instead of Y. A great learner asks about X in the firstplace.
Whaaaaat? How does this work? If you're trying to learn a new topic, how are you supposed to recognize a good (and truthful) answer, whether it's from an LLM or instructor?
By being skeptical of the answers, testing the answers, corroborating with other sources, etc.
This isn't new. This is literally how we've been exploring this knowledge game for thousands of years.
I bet when you're learning a new subject you do the same exact thing.
Imagine being handed a textbook with a warning in the first page "10% of the facts here are made up (including this one). Good luck!"
You as the reader when you're reading anything are supposed to verify claims the author is making.
You never expect anything to be sources of truth.
That's why every textbooks either cites the sources or proves their work.
Very rarely do you have any textbook that's just a list of facts out of thin air. I don't think I've seen a single textbook, even bad ones, do this. They always cite their claims, or they show the logical steps to prove or justify a claim. Good textbooks make it easy to follow and clearly show their steps for the convenience of their readers.
Any good textbook seriously considers both the historic literature on their subject, presents the context of that literature, and shows some kind of proof of work that synthesizes all of that to support their claim.
This is always the case. This is how basic academic writing is done.
And it is the job of the reader to follow those citations, and to verify the claims. That's literally how our academic system works.
It's basic literacy.
If you’re a complete novice reading a niche graduate level textbook on Tolstoy’s critique of the Russian war effort in War and Peace, you’re going to get some wild hallucinations, and you’ll have no idea how to determine fact from fiction.
If you’re reading a high school textbook about the history of pre-revolution Russia, the models will have pretty comprehensive coverage of every concept you’re likely to come across.
Even in that case, it can still get its wires crossed, creating connections between those concepts that aren't true.
I have also found another use for this. For example in studying modulation techniques in communication systems, I went back and forth between Monte-Carlo simulations and theoretical approximations to see how accurate each one is. And then added some more realistic error scenarios to do an end-to-end validation. In this case the LLM was used as a shortcut to write repetitive code that was verified manually, and this was complementary to the text-book, and made reading the topic more engaging, enjoyable, and comprehensive.
76 more comments available on Hacker News