Skip to content

Commit

Permalink
_content/talks: fix many stale or broken links
Browse files Browse the repository at this point in the history
Change to not use https://go.dev/ directly in the link,
preferring relative links. Also fix many stale or broken links.

Makes talks safe for upcoming link-checking test.

Change-Id: I9c19e052b4df842561c3c153be630c99102a790c
Reviewed-on: https://go-review.googlesource.com/c/website/+/548061
Reviewed-by: Dmitri Shuralyov <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>
Auto-Submit: Russ Cox <[email protected]>
  • Loading branch information
rsc authored and gopherbot committed Dec 8, 2023
1 parent 2d2fc5b commit 94530e9
Show file tree
Hide file tree
Showing 61 changed files with 471 additions and 475 deletions.
2 changes: 1 addition & 1 deletion _content/talks/2010/go_talk-20100121.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

<div class="slide titlepage">
<div style="height: 135px; width: 480px; overflow: hidden; position: fixed; top: auto; bottom: 10px; left: auto; right: 0; ">
<img src="support/gordon/bumper480x270.png" style="margin: -135px 0 0 0;"/>
<img src="support/bumper480x270.png" style="margin: -135px 0 0 0;"/>
</div>
<br/>
<img src="support/go-logo-white.png">
Expand Down
4 changes: 2 additions & 2 deletions _content/talks/2011/lex.slide
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,8 @@ Go is fun.

* For more information

Go: [[http://golang.org]]
Go: [[/][go.dev]]

New templates: http://golang.org/pkg/exp/template/
New templates: https://golang.org/pkg/exp/template/

(Next release will move them out of experimental.)
4 changes: 2 additions & 2 deletions _content/talks/2012/10things.slide
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Andrew Gerrand
Gopher
https://plus.google.com/106356964679457436995
@enneff
http://golang.org
https://go.dev

* 1. Anonymous structs

Expand Down Expand Up @@ -64,7 +64,7 @@ http://golang.org
{"data": {"children": [
{"data": {
"title": "The Go homepage",
"url": "http://golang.org/"
"url": "https://go.dev/"
}},
...
]}}
Expand Down
14 changes: 7 additions & 7 deletions _content/talks/2012/chat.slide
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Andrew Gerrand
Google Sydney
http://andrewgerrand.com
@enneff
http://golang.org
https://go.dev

* Video

Expand Down Expand Up @@ -173,7 +173,7 @@ It's important to clean up when the conversation is over. To do this we send the

* Demo

* Taking it to the web
* Taking it to the web

"Cute program," you say, "But who wants to chat over a raw TCP connection?"

Expand Down Expand Up @@ -217,7 +217,7 @@ Go supports a kind of "mix-in" functionality with a feature known as "struct emb

* Embedding the websocket connection

By embedding the `*websocket.Conn` as an `io.ReadWriter`, we can drop the explicit `socket` `Read` and `Write` methods.
By embedding the `*websocket.Conn` as an `io.ReadWriter`, we can drop the explicit `socket` `Read` and `Write` methods.

.code chat/http/chat.go /type.socket/,/END/

Expand All @@ -239,7 +239,7 @@ Let's do it.

Fortunately, the Go docs include a markov chain implementation:

.link http://golang.org/doc/codewalk/markov
.link /doc/codewalk/markov go.dev/doc/codewalk/markov

We'll use a version that has been modified to be safe for concurrent use.

Expand Down Expand Up @@ -289,12 +289,12 @@ The `chat` function remains untouched.

All about Go:

.link http://golang.org
.link / go.dev

The slides for this talk:

.link http://go.dev/talks/2012/chat.slide
.link /talks/2012/chat.slide go.dev/talks/2012/chat.slide

"Go Concurrency Patterns" by Rob Pike:

.link http://golang.org/s/concurrency-patterns
.link /s/concurrency-patterns go.dev/s/concurrency-patterns
26 changes: 12 additions & 14 deletions _content/talks/2012/concurrency.slide
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ Go Concurrency Patterns

Rob Pike
Google
http://golang.org/s/plusrob
@rob_pike
http://golang.org
https://go.dev

* Video

Expand Down Expand Up @@ -54,7 +52,7 @@ On the other hand, a well-written concurrent program might run efficiently in pa

For more on that distinction, see the link below. Too much to discuss here.

.link http://golang.org/s/concurrency-is-not-parallelism
.link /s/concurrency-is-not-parallelism go.dev/s/concurrency-is-not-parallelism

* A model for software construction

Expand Down Expand Up @@ -318,7 +316,7 @@ Go was designed for writing systems software.
Let's see how the concurrency features come into play.

* Example: Google Search

Q: What does Google search do?

A: Given a query, return a page of search results (and some ads).
Expand Down Expand Up @@ -404,19 +402,19 @@ There are endless ways to use these tools, many presented elsewhere.

Chatroulette toy:

.link http://golang.org/s/chat-roulette
.link /s/chat-roulette go.dev/s/chat-roulette

Load balancer:

.link http://golang.org/s/load-balancer
.link /s/load-balancer go.dev/s/load-balancer

Concurrent prime sieve:

.link http://golang.org/s/prime-sieve
.link /s/prime-sieve go.dev/s/prime-sieve

Concurrent power series (by McIlroy):

.link http://golang.org/s/power-series
.link /s/power-series go.dev/s/power-series

* Don't overdo it

Expand Down Expand Up @@ -448,20 +446,20 @@ And they're fun to use.

Go Home Page:

.link http://golang.org
.link / go.dev

Go Tour (learn Go in your browser)

.link http://tour.golang.org
.link /tour/ go.dev/tour

Package documentation:

.link http://golang.org/pkg
.link /pkg go.dev/pkg

Articles galore:

.link http://golang.org/doc
.link /doc go.dev/doc

Concurrency is not parallelism:

.link http://golang.org/s/concurrency-is-not-parallelism
.link /s/concurrency-is-not-parallelism go.dev/s/concurrency-is-not-parallelism
16 changes: 7 additions & 9 deletions _content/talks/2012/go-docs.slide
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ Golang-Syd, Oct 17, 2012

Rob Pike
Google, Inc.
@rob_pike
http://golang.org/s/plusrob
http://golang.org
https://go.dev

* Documentation

Expand Down Expand Up @@ -39,7 +37,7 @@ There are many ways to show documentation as text

* Godoc

.link http://golang.org/pkg/utf16
.link /pkg/utf16 go.dev/pkg/utf16

* blog.golang.org

Expand All @@ -53,7 +51,7 @@ There are many ways to show documentation as text

* Go wiki

.link http://golang.org/wiki
.link /wiki go.dev/wiki

.image go-docs/gowiki.png

Expand Down Expand Up @@ -109,7 +107,7 @@ Docs:

.code go-docs.slide /^\*.*previous/,/^\.code/

* Revenge of the input for the the previous slide
* Revenge of the input for the the previous slide

.code go-docs.slide /^\*.*redux/,/^\.code/

Expand Down Expand Up @@ -140,7 +138,7 @@ Want to edit and play.

* Can run code from the browser

.link http://tour.golang.org
.link /tour/ go.dev/tour

* Use this technology

Expand Down Expand Up @@ -187,7 +185,7 @@ Input for the previous slide:
fmt.Println("You're both boring; I'm leaving.")
}
// STOP1 OMIT

* faninboring.go (II)

// START2 OMIT
Expand Down Expand Up @@ -239,4 +237,4 @@ Deploy executable examples throughout:
- Go By Example
- wiki

.link http://golang.org/pkg/strings/#example_Contains
.link /pkg/strings/#example_Contains go.dev/pkg/strings/#example_Contains
14 changes: 6 additions & 8 deletions _content/talks/2012/go1.slide
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@ The Path to Go 1

Rob Pike
Google
http://golang.org/s/plusrob
@rob_pike
http://golang.org
https://go.dev

Andrew Gerrand
Google
http://andrewgerrand.com
@go_nuts
http://golang.org
https://go.dev


* Introduction
Expand Down Expand Up @@ -359,7 +357,7 @@ Examples:
"gob" "encoding/gob"
"json" "encoding/json"
"xml" "encoding/xml"

"unicode" "unicode"
"utf8" "unicode/utf8"
"utf16" "unicode/utf16"
Expand Down Expand Up @@ -491,15 +489,15 @@ Go 2 is likely years away.

The Go web site has a huge amount of documentation:

.link http://golang.org
.link / go.dev

Learn Go from a web browser:

.link http://tour.golang.org
.link /tour/ go.dev/tour

"Meet the Go team" panel from Google I/O 2012:

.link http://golang.org/s/meet-the-go-team
.link /s/meet-the-go-team go.dev/s/meet-the-go-team

Google Code project:

Expand Down
12 changes: 6 additions & 6 deletions _content/talks/2012/goforc.slide
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ Selected commands:
test test packages
vet run go tool vet on packages

.link http://golang.org/cmd/go/
.link /cmd/go/ go.dev/cmd/go/

* Break

Expand Down Expand Up @@ -564,7 +564,7 @@ On the other hand, a well-written concurrent program might run efficiently in pa

For more on that distinction, see the link below. Too much to discuss here.

.link http://golang.org/s/concurrency-is-not-parallelism
.link /s/concurrency-is-not-parallelism go.dev/s/concurrency-is-not-parallelism

* A model for software construction

Expand Down Expand Up @@ -711,16 +711,16 @@ Don't communicate by sharing memory, share memory by communicating.

Go Home Page:

.link http://golang.org
.link / go.dev

Go Tour (learn Go in your browser)

.link http://tour.golang.org
.link /tour/ go.dev/tour

Package documentation:

.link http://golang.org/pkg
.link /pkg go.dev/pkg

Articles galore:

.link http://golang.org/doc
.link /doc go.dev/doc
2 changes: 1 addition & 1 deletion _content/talks/2012/insidepresent.slide
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Andrew Gerrand
Google
@enneff
[email protected]
http://golang.org
https://go.dev


* The Playground API
Expand Down
14 changes: 7 additions & 7 deletions _content/talks/2012/simple.slide
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Go: a simple programming environment
# statically typed languages and productive dynamic language. But it’s not just
# the language that makes Go special – Go has broad and consistent standard
# libraries and powerful but simple tools.
#
#
# This talk gives an introduction to Go, followed by a tour of some real
# programs that demonstrate the power, scope, and simplicity of the Go
# programming environment.
Expand All @@ -15,7 +15,7 @@ Andrew Gerrand
Google Inc.
@enneff
[email protected]
http://golang.org
https://go.dev

* Video

Expand Down Expand Up @@ -242,11 +242,11 @@ To run the tests for all my projects:
* Tests: benchmarks

The `testing` package also supports benchmarks.

A sample benchmark function:

.code simple/test/string_test.go /func BenchmarkIndex/,/^}/

The benchmark package will vary `b.N` until the benchmark function lasts long enough to be timed reliably.

$ go test -test.bench=Index
Expand All @@ -268,7 +268,7 @@ Examples and built and run as part of the normal test suite:

The example is displayed in `godoc` alongside the thing it demonstrates:

.link http://golang.org/pkg/strings/#Index
.link /pkg/strings/#Index go.dev/pkg/strings/#Index

* And there's more

Expand Down Expand Up @@ -372,11 +372,11 @@ For each test case, construct an `http.Request` for the url and an `httptest.Res

All about Go:

.link http://golang.org
.link / go.dev

The slides for this talk:

.link http://go.dev/talks/2012/simple.slide
.link /talks/2012/simple.slide go.dev/talks/2012/simple.slide

webfront:

Expand Down
Loading

0 comments on commit 94530e9

Please sign in to comment.