Skip to content
This repository was archived by the owner on Nov 7, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ The format is loosely inspired by Keep a Changelog.

### Added

- **Web 0.14.5, Ada Lovelace with picture:** lesson 1 step „Ein Algorithmus ist eine genaue Anleitung“ has a new Angeberwissen box after the tea example: Ada Lovelace wrote the first program in 1843 (Bernoulli numbers for Charles Babbage's Analytical Engine, instructions on punched cards, the machine was never built), had the idea that such a machine can work with letters, symbols and music, and the programming language Ada is named after her. Below it her portrait (watercolour by Alfred Edward Chalon, around 1840, Wikimedia Commons, public domain, 300×400) with caption (de/en/pt).
- **Web 0.14.4, why we always write curly brackets:** lesson 8 step „Jetzt in Java“ has a new Angeberwissen box: Java lets you leave out `{ }` around a single statement, a short example shows the indented second line still running every time, and Apple's „goto fail“ bug (2014) shows the real consequence. Step „Ein leerer Zweig“ gets a box on Heartbleed (2014) as a forgotten if (missing length check, nothing to do with brackets). In step „Wenn, dann, sonst“ the structure chart now comes before the explanation (de/en/pt).
- **Web 0.14.3, Grace Hopper with photo:** lesson 7's Angeberwissen about the moth („bug“) now says who Grace Hopper was (one of the first compilers in 1952, the idea behind COBOL, admiral in the US Navy), followed by her portrait (U.S. Navy, public domain, Commons „Commodore Grace M. Hopper, USN (covered).jpg“, 300×400). Lesson 20 gets an Angeberwissen box: she built one of the first compilers although many said computers could only do arithmetic (de/en/pt).
- **Web 0.14.2, Java in the console:** lesson 20 step „Wie Java auf jedem Computer läuft“ has a new Angeberwissen box on `java -version`, `javac Einmaleins.java` and `java Einmaleins`, plus the hint that a missing `javac -version` means only a JRE is installed (de/en/pt). Fix: the two diagrams in that step were missing their closing `:::`, so in 0.14.1 the text after the first diagram showed up as its caption; they now have short captions, and a new test flags overly long captions.
Expand Down
Binary file added web/lessons/bilder/ada-lovelace.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions web/lessons/de/01-was-ist-ein-struktogramm.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ Du kennst Algorithmen aus dem Alltag: ein Kochrezept, eine Wegbeschreibung oder
Tee kochen als Struktogramm: Jeder Kasten ist ein Schritt.
:::

::: angeberwissen
Määäh, wer hat das erste Programm geschrieben? Eine Frau, und zwar schon 1843, lange vor dem ersten Computer! **Ada Lovelace** beschrieb Schritt für Schritt, wie die *Analytical Engine* (Analytische Maschine) von Charles Babbage die sogenannten Bernoulli-Zahlen ausrechnen sollte. Das war ein echter Algorithmus für eine Maschine. Die Befehle sollten auf Lochkarten stehen (mehr dazu in Lektion 3). Gebaut wurde die Maschine allerdings nie.

Ada hatte noch eine geniale Idee: Eine solche Maschine kann mehr als rechnen. Sie könnte auch mit Buchstaben, Zeichen oder sogar Musik arbeiten. Genau das machen Computer heute. Ihr zu Ehren heißt eine Programmiersprache **Ada**.
:::

::: bild ada-lovelace.jpg
Ada Lovelace (1815–1852), Mathematikerin (Bild: Aquarell von Alfred Edward Chalon, um 1840, [Wikimedia Commons](https://commons.wikimedia.org/wiki/File:Ada_Lovelace_portrait.jpg), gemeinfrei).
:::

## So liest du ein Struktogramm

Ein Struktogramm wird **von oben nach unten** gelesen. Jeder Kasten ist ein Schritt. Erst wenn ein Schritt fertig ist, kommt der nächste dran.
Expand Down
10 changes: 10 additions & 0 deletions web/lessons/en/01-was-ist-ein-struktogramm.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ You know algorithms from everyday life: a recipe, directions to a place or the i
Making tea as a structure chart: every box is one step.
:::

::: angeberwissen
Baaah, who wrote the first program? A woman, back in 1843, long before the first computer! **Ada Lovelace** described step by step how Charles Babbage's *Analytical Engine* should calculate the so-called Bernoulli numbers. That was a real algorithm for a machine. The instructions were meant to be stored on punched cards (more on this in lesson 3). However, the machine was never built.

Ada had another brilliant idea: a machine like this can do more than calculate. It could also work with letters, symbols or even music. That is exactly what computers do today. A programming language called **Ada** is named after her.
:::

::: bild ada-lovelace.jpg
Ada Lovelace (1815–1852), mathematician (picture: watercolour by Alfred Edward Chalon, around 1840, [Wikimedia Commons](https://commons.wikimedia.org/wiki/File:Ada_Lovelace_portrait.jpg), public domain).
:::

## How to read a structure chart

You read a structure chart **from top to bottom**. Every box is one step. Only when a step is finished does the next one start.
Expand Down
10 changes: 10 additions & 0 deletions web/lessons/pt/01-was-ist-ein-struktogramm.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ Conheces algoritmos do dia a dia: uma receita, o caminho para um sítio ou as in
Fazer chá como estrutograma: cada bloco é um passo.
:::

::: angeberwissen
Méééé, quem escreveu o primeiro programa? Uma mulher, já em 1843, muito antes do primeiro computador! **Ada Lovelace** descreveu passo a passo como a *Analytical Engine* (Máquina Analítica) de Charles Babbage devia calcular os chamados números de Bernoulli. Era um verdadeiro algoritmo para uma máquina. As instruções deviam ficar guardadas em cartões perfurados (mais sobre isto na lição 3). Mas a máquina nunca chegou a ser construída.

A Ada teve ainda outra ideia genial: uma máquina destas consegue fazer mais do que contas. Também podia trabalhar com letras, símbolos ou até música. É exatamente isso que os computadores fazem hoje. Em sua honra, há uma linguagem de programação chamada **Ada**.
:::

::: bild ada-lovelace.jpg
Ada Lovelace (1815–1852), matemática (imagem: aguarela de Alfred Edward Chalon, por volta de 1840, [Wikimedia Commons](https://commons.wikimedia.org/wiki/File:Ada_Lovelace_portrait.jpg), domínio público).
:::

## Como se lê um estrutograma

Um estrutograma lê-se **de cima para baixo**. Cada bloco é um passo. Só quando um passo termina é que começa o seguinte.
Expand Down
4 changes: 2 additions & 2 deletions web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "visustruct-web",
"private": true,
"version": "0.14.4",
"version": "0.14.5",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
Binary file added website/app/assets/ada-lovelace-DS_988PF.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Loading
Loading