text
stringlengths
183
150k
path
stringlengths
15
112
bucket
stringclasses
4 values
source
stringclasses
14 values
group
stringclasses
121 values
spdx
stringclasses
11 values
repo_license
stringclasses
11 values
commit
stringclasses
13 values
lang
stringclasses
4 values
def_heavy
bool
1 class
comment_ratio
float64
0
1
restricted
bool
2 classes
fresh
bool
1 class
n_bytes
int64
183
150k
n_tokens
int64
-1
-1
--- title: "A Work-Stealing Scheduler" version: 2 abstract: > FIXME syllabus: - Explain why a single centralized task queue becomes a bottleneck at high worker counts and how per-worker deques address this. - Describe the asymmetry between owner operations (push/pop from one end) and thief operations (steal fro...
sdxpy/worksteal/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.069
true
false
9,719
-1
--- title: "Running Tests" --- <section class="slide" markdown="1"> ## The Problem - Not all software needs formal testing - Check one-off data analysis script incrementally - But 98% of the code in [SQLite][sqlite] is there to test the other 2% - For which I am grateful - Good tools make tests eas...
sdxpy/test/slides.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.155
true
false
3,402
-1
# License All of the written material is made available under the Creative Commons - Attribution - NonCommercial 4.0 International license (CC-BY-NC-4.0), while the software is made available under the Hippocratic License. ## Writing *This is a human-readable summary of (and not a substitute for) the license. For th...
sdxpy/LICENSE.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.06
true
false
6,765
-1
--- title: "Serving Web Pages" --- <section class="slide" markdown="1"> ## The Problem - Uploading and downloading files ([%x ftp %]) is useful, but we want to do more - Don't want to create a new [%g protocol "protocol" %] for every interaction - Use a standard protocol in a variety of ways </section> ...
sdxpy/http/slides.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.186
true
false
4,186
-1
# Contributing Contributions are very welcome; please contact us by email or by filing an issue on this site. All contributors must abide by our Code of Conduct. ## FAQ What sort of feedback would be useful? : Everything is welcome, but what would help most is: 1. Fixes for mistakes in the code, the descrip...
sdxpy/CONTRIBUTING.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.04
true
false
4,062
-1
--- title: "The Saga Pattern" version: 2 abstract: > FIXME syllabus: - Explain why traditional ACID transactions cannot span multiple independent services and what problem sagas solve. - Describe the difference between orchestration and choreography, and give a scenario where each approach is more suitable. - ...
sdxpy/saga/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.066
true
false
9,564
-1
runtime -- uses -> recursive evaluation runtime -- stores variables in -> environments functions -- found by -> introspection environments -- many -> local environment environments -- one -> global environment recursive evaluation -- to -> dispatch dispatch -- simple -> functions introspection -- makes systems -> exten...
sdxpy/_extras/concepts/interp.md
books
sdxpy
sdxpy/_extras/concepts
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0
true
false
363
-1
--- title: "A Package Manager" --- <section class="slide" markdown="1"> ## The Problem - Packages and their dependencies change over time - If A and B require different versions of C it might not be possible to use A and B together - Need a systematic way to find globally-consistent sets of packages </s...
sdxpy/pack/slides.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.151
true
false
6,502
-1
layout engine -- uses -> coordinate system layout engine -- handles -> rendering rendering -- using -> recursion rendering -- of -> blocks row -- can -> wrap blocks -- stored as -> tree recursion -- to traverse -> tree blocks -- have -> position position -- in -> coordinate system position -- calculate -> {column, row}...
sdxpy/_extras/concepts/layout.md
books
sdxpy
sdxpy/_extras/concepts
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0
true
false
321
-1
--- title: "Page Layout" version: 1 abstract: > Browsers, e-book readers, and text editors all rely on some kind of layout engine that takes text and formatting instructions as input and decides where to put each character and image. To explore how they work, this chapter builds a small HTML layout ...
sdxpy/layout/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.083
true
false
15,206
-1
--- title: "A File Cache" version: 2 abstract: > FIXME syllabus: - Software systems often use caches to store a subset of files in order to use less disk space. - Caching systems can replace actual files with placeholders containing metadata. - Object-oriented systems are often implemented in stages to break ...
sdxpy/cache/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.064
true
false
16,496
-1
--- title: "Conclusion" --- <section class="slide" markdown="1"> ## Consider the Bicycle [% figure slug="finale-bicycle" img="derosa.jpg" alt="De Rosa SK Pininfarina bicycle" caption="De Rosa SK Pininfarina bicycle." cls=fullwidth %] </section> <section class="slide" markdown="1"> ## Now Think About...
sdxpy/finale/slides.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.175
true
false
1,180
-1
--- title: "Matching Patterns" --- <section class="slide" markdown="1"> ## The Problem - `glob.glob` finds files whose names match patterns - `2023-*.{pdf,txt}` matches `2023-01.txt` and `2023-final.pdf` but not `draft-2023.docx` [% figure slug="glob-examples" img="examples.svg" alt="Matching exam...
sdxpy/glob/slides.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.167
true
false
5,892
-1
--- title: "Building TCP on UDP" version: 2 abstract: > FIXME syllabus: - Explain how sequence numbers, acknowledgments, and retransmission together guarantee reliable delivery over an unreliable network. - Describe how a sliding window allows multiple segments to be in flight simultaneously and why this improv...
sdxpy/tcp/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.115
true
false
13,145
-1
--- title: "Search" version: 2 abstract: > FIXME syllabus: - FIXME --- [%fixme "build TF-IDF with stemming" %] [%issue 278 %] - Want to search the abstracts of over 2000 papers - Use [%g tf_idf "term frequency - inverse document frequency" %] (TF-IDF) - Term frequency: frequency of each word in each d...
sdxpy/unused/search/index.md
books
sdxpy
sdxpy/unused/search
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.082
true
false
1,950
-1
dataframe -- supports -> operations select -- keep -> columns filter -- keep -> rows filter -- slow -> column-wise filter -- fast -> row-wise select -- fast -> column-wise select -- slow -> row-wise experiments -- help design -> operations dataframe -- stored -> {column-wise, row-wise} dataframe -- has -> {columns, row...
sdxpy/_extras/concepts/perf.md
books
sdxpy
sdxpy/_extras/concepts
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0
true
false
365
-1
## Solutions ### Adding Strings The trick is to mimic the grade-school addition algorithm: process the two strings from right to left, add the digits at each position along with any carry from the previous column, and build the result from least significant digit to most. We reverse each input, zip them together wit...
sdxpy/solutions/binary/index.md
books
sdxpy
sdxpy/solutions/binary
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.109
true
false
3,792
-1
--- title: "Generating Documentation" version: 2 abstract: > FIXME syllabus: - FIXME - Instructions are just numbers but may be represented as assembly code. - Instructions may refer to registers, memory, both, or neither. - A processor usually executes instructions in order but may jump to another location...
sdxpy/docgen/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.068
true
false
4,132
-1
--- title: "Protocols" --- <section class="slide" markdown="1"> ## The Problem - Want to use some more advanced features of Python in coming examples - Can now explain them in terms of what we've seen in previous lessons </section> <section class="slide" markdown="1"> ## Mock Objects [%inc mock_time.py %] -...
sdxpy/protocols/slides.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.179
true
false
4,277
-1
--- title: "Glossary" --- ## A <span id="absolute_error">absolute error</span> : The absolute value of the difference between the observed and the correct value. Absolute error is usually less useful than [relative error](#relative_error). <span id="abstract_base_class">abstract base class</span> : An [abstract clas...
sdxpy/glossary/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.035
true
false
70,085
-1
## Solutions ### Packing Null Bytes The original `pack` method joins fields with null bytes (`\0`), so any null byte inside a field breaks the round-trip. The fix is to drop delimiter-based framing and use *length-prefixed encoding* instead: before each field we write its length as a decimal number followed by a col...
sdxpy/solutions/db/index.md
books
sdxpy
sdxpy/solutions/db
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.129
true
false
4,196
-1
--- title: "An Interpreter" version: 1 abstract: > A program in memory is just a data structure, each of whose elements triggers some operation in the interpreter that's executing it. This chapter builds a very simple interpreter to show how this process works, and to show that we can evaluate the quali...
sdxpy/interp/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.065
true
false
12,761
-1
## Solutions ### Sequencing Backups The timestamp-based naming scheme in the chapter suffers from the problem that two backups created in the same second will try to write the same manifest file. Changing to sequential numbering---`00000001.csv`, `00000002.csv`, and so on---means we need a way to know what the next a...
sdxpy/solutions/archive/index.md
books
sdxpy
sdxpy/solutions/archive
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.25
true
false
6,652
-1
--- title: "Performance Profiling" --- <section class="slide" markdown="1"> ## The Problem - We can build dataframes several different ways - Which will be most efficient? - Find out by doing experiments </section> <section class="slide" markdown="1"> ## What Can Dataframes Do? [%inc df_base.py %] </sect...
sdxpy/perf/slides.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.192
true
false
4,990
-1
--- title: "MapReduce Framework" version: 2 abstract: > FIXME syllabus: - Describe the five phases of MapReduce (input split, map, shuffle, reduce, output) and explain what happens in each phase. - Explain what a combiner does, when it is safe to use one, and why it reduces network traffic. - Explain why MapR...
sdxpy/mapreduce/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.073
true
false
10,584
-1
## Solutions ### Dangling Colon The alias marker line `alias:12345678:` ends with a colon because the archive format uses three colon-separated fields for every entry: *key*, *ident*, and *value*. An alias has no value to store --- all the loader needs is the key `"alias"` and the identifier of the already-seen obje...
sdxpy/solutions/persist/index.md
books
sdxpy
sdxpy/solutions/persist
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.076
true
false
5,233
-1
[academic_prototyping]: https://www.fuzzingbook.org/html/AcademicPrototyping.html [amazon-sqs]: https://aws.amazon.com/sqs/ [aosa]: https://aosabook.org/ [apache-cassandra]: https://cassandra.apache.org/ [apache-spark]: https://spark.apache.org/ [apache-zookeeper]: https://zookeeper.apache.org/ [apache]: https://httpd....
sdxpy/_extras/links.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0
true
false
9,075
-1
unit test -- tests -> function unit test -- found by -> introspection introspection -- looks in -> global dictionary unit test -- stored in -> function function -- stored in -> global dictionary function -- has -> attributes attributes -- such as -> docstring unit test -- result can be -> {error, fail, pass}
sdxpy/_extras/concepts/test.md
books
sdxpy
sdxpy/_extras/concepts
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0
true
false
310
-1
## Solutions ### Handling Named Arguments The `call` function shown in the chapter captures extra positional arguments with `*args` and spreads them into the method. Adding support for named (keyword) arguments follows the same pattern: capture them with `**kwargs` and spread them with `**kwargs`. The change is sur...
sdxpy/solutions/oop/index.md
books
sdxpy
sdxpy/solutions/oop
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.103
true
false
4,767
-1
## Solutions ### Escape Characters The key change is in the tokenizer's `tok` method. When we encounter a backslash, we read the next character and append it directly to the current literal, regardless of whether that character would normally be treated as special. This means `\*` becomes part of a `Lit` token contai...
sdxpy/solutions/parse/index.md
books
sdxpy
sdxpy/solutions/parse
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.093
true
false
3,918
-1
--- title: "A Virtual Machine" --- <section class="slide" markdown="1"> ## The Problem - Still a lot of magic in the interpreter of [%x interp %] - Build something that mimics hardware more closely - See [%b Nisan2021 %] for a fuller description - Or play [Human Resource Machine][human_resource_machine] ...
sdxpy/vm/slides.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.176
true
false
5,203
-1
--- title: "Functions and Closures" version: 1 abstract: > This chapter extends the little interpreter of the previous one to allow users to define functions of their own. By doing so, it shows that the way programs handle variable scope is a design choice, and that the use of a particular technique...
sdxpy/func/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.082
true
false
11,581
-1
--- title: "Domain Name System (DNS)" version: 2 abstract: > FIXME syllabus: - Trace the full resolution walk from root name server to TLD to authoritative server for a domain name. - Explain how TTL-based caching reduces DNS query load and why negative caching (for non-existent domains) matters. - Describe h...
sdxpy/dns/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.059
true
false
10,678
-1
--- title: "Objects and Classes" version: 1 abstract: > Object-oriented programming was invented to solve two problems: what is a natural way to represent real-world "things" in code, and how can we organize that code so that it's easiser to understand, test, and extend? This chapter shows how object-or...
sdxpy/oop/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.07
true
false
12,440
-1
version control -- uses -> hash function version control -- saves -> files version control -- creates -> manifest manifest -- records set of -> files manifest -- needs -> unique name unique name -- must avoid -> race conditions hash code -- uniquely identifies -> files hash function -- reads -> files hash function -- p...
sdxpy/_extras/concepts/archive.md
books
sdxpy
sdxpy/_extras/concepts
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0
true
false
422
-1
--- title: "Serving Web Pages" version: 1 abstract: > The Hypertext Transfer Protocol (HTTP) defines a way for programs to exchange data over the web. Clients (such as browsers) send requests to servers, which respond by copying files from disk, pulling records from a database, or in any of dozens o...
sdxpy/http/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.065
true
false
14,996
-1
--- title: "A Code Linter" --- <section class="slide" markdown="1"> ## The Problem - Want to check that our code follows style rules - And doesn't do things that are likely to be bugs - Build a [%g linter "linters" %] - Checks for "fluff" in code </section> <section class="slide" markdown="1"> ## Pr...
sdxpy/lint/slides.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.177
true
false
3,724
-1
--- title: "Matching Patterns" version: 1 abstract: > Pattern-matching is ubiquitous in computer programs. Whether we are selecting a set of files to open or finding names and email addresses inside those files, we need an efficient way to find matches for complex patterns. This chapter therefore i...
sdxpy/glob/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.075
true
false
13,174
-1
glob -- is a -> pattern pattern -- matches -> text pattern -- written as -> text pattern -- relates to -> matchers pattern -- relates to -> matchers matchers -- each implemented as -> class class -- of -> base class matchers -- cooperate using -> Chain of Responsiblity Chain of Responsiblity -- ends with -> Null Object...
sdxpy/_extras/concepts/glob.md
books
sdxpy
sdxpy/_extras/concepts
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0
true
false
321
-1
## Solutions ### More Efficient Filtering The original `DfCol.filter` builds a temporary dictionary containing every column value for every row, then spreads it across the filter function. We can reduce this overhead by using `inspect` to discover which parameters the function actually needs, and by passing a row in...
sdxpy/solutions/perf/index.md
books
sdxpy
sdxpy/solutions/perf
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.118
true
false
5,728
-1
## Solutions ### Rewriting Environment Creation The original line uses `zip` and `dict` together to build a stack frame in a single expression: [%inc sol_rewriting_environment_creation.py %] Rewriting it with an explicit loop makes each step visible. You create an empty dictionary, walk through the parameter names...
sdxpy/solutions/func/index.md
books
sdxpy
sdxpy/solutions/func
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.085
true
false
7,702
-1
## Solutions ### Tracing Execution A trace directive helps with debugging by showing the current value of a variable as the template is expanded. We add a new handler for the `z-trace` attribute that looks up the named variable in the environment and prints its value to standard error. The handler's `open` method o...
sdxpy/solutions/template/index.md
books
sdxpy
sdxpy/solutions/template
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.088
true
false
8,409
-1
mock object -- simplifies -> testing socket address -- associated with -> service computer -- actually known by -> IP address domain name -- translated into -> IP address computer -- usually known by -> domain name service -- running on -> server server -- partially replace with -> mock object mock object -- reduces ->...
sdxpy/_extras/concepts/ftp.md
books
sdxpy
sdxpy/_extras/concepts
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0
true
false
420
-1
--- title: "OAuth" version: 2 abstract: > FIXME syllabus: - Trace the authorization code flow through all four parties (resource owner, client, authorization server, resource server) and explain what each step accomplishes. - Explain what PKCE adds to the authorization code flow and why it is necessary for publ...
sdxpy/oauth/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.059
true
false
15,521
-1
--- title: "Eventually Consistent Key-Value Store" version: 2 abstract: > FIXME syllabus: - Explain what "availability" and "partition tolerance" mean and why a system must choose between them and strong consistency during a network partition. - Describe how vector clocks track causal history and explain why ta...
sdxpy/eventual/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.071
true
false
12,721
-1
--- title: "Concurrency" version: 2 abstract: > FIXME syllabus: - FIXME --- **In Development** - `switch.py`: show task switching - `parent.py`: show greenlet ID and parentage - `classes.py`: use objects instead of bare functions - but `set_other` method is clumsy: how should we connect them? - `s...
sdxpy/concur/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.12
true
false
1,031
-1
--- title: "Finding Duplicate Files" --- <section class="slide" markdown="1"> ## Overview - We want to find duplicate files, but can't rely on their names - Comparing pairs of files byte by byte is slow - And gets slower per file as the number of files grows - Better approach: - Calculate an id...
sdxpy/dup/slides.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.16
true
false
6,340
-1
--- title: "Introduction" --- <section class="slide" markdown="1"> ## The Problem - Most data scientists are self-taught programmers - Often know they have gaps in their knowledge - And other gaps they don't even know about </section> <section class="slide" markdown="1"> ## Complexity - One of those...
sdxpy/intro/slides.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.15
true
false
4,101
-1
## Solutions ### Finding Unused Parameters The original `FindUnusedVariables` visitor reports variables that are stored but never loaded within a scope. It already handles the global scope and every function scope, but it never records the function's own parameters as "stored" names. Those parameters live in `node....
sdxpy/solutions/lint/index.md
books
sdxpy
sdxpy/solutions/lint
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.25
true
false
7,853
-1
--- title: "Distributed Tracing" version: 2 abstract: > FIXME syllabus: - Explain what a span and a trace are, and describe how spans form a tree that represents a distributed call graph. - Describe how a decorator can add tracing to a function without modifying the function's body. - Explain what head-based ...
sdxpy/tracing/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.059
true
false
11,283
-1
--- title: "A Debugger" --- <section class="slide" markdown="1"> ## The Problem - Tracing execution with `print` statements is tedious - And impossible (or nearly so) in some situations - Single-stepping/breakpoint debugger is far more effective - Build one to understand how they work - And to show how...
sdxpy/debugger/slides.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.167
true
false
5,619
-1
## Solutions ### Looping Over `globals` The first snippet raises a `RuntimeError` because of how Python handles dictionary iteration. When `for name in globals():` executes, Python calls `globals()` once to get the module dictionary, then creates an iterator over its keys. The loop variable `name` is a new assignme...
sdxpy/solutions/test/index.md
books
sdxpy
sdxpy/solutions/test
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.086
true
false
5,495
-1
--- title: "An Interpreter" --- <section class="slide" markdown="1"> ## Background - Programs are just data - Compilers and interpreters are just programs - Compiler: generate instructions once in advance - Interpreter: generate instructions on the fly - Differences are increasingly blurry in p...
sdxpy/interp/slides.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.183
true
false
3,849
-1
--- title: "A Debugger" version: 1 abstract: > Debuggers are as much a part of good programmers' working lives as version control but are taught far less often. This chapter therefore builds a simple single-stepping debugger for the virtual machine of the previous chapter and shows how we can test i...
sdxpy/debugger/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.055
true
false
18,126
-1
--- title: "Undo and Redo" --- <section class="slide" markdown="1"> ## The Problem - Want to change files as well as viewing them - So modify the file viewer of [%x viewer %] to allow editing - And since people make mistakes when editing, implement undo </section> <section class="slide" markdown="1"> ## St...
sdxpy/undo/slides.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.171
true
false
5,008
-1
--- title: "A File Archiver" --- <section class="slide" markdown="1"> ## The Problem - Want to save snapshots of work in progress - Create a simple [%g version_control_system "version control system" %] - And show how to test it using mock objects ([%x protocols %]) </section> <section class="slide" markdow...
sdxpy/archive/slides.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.185
true
false
4,509
-1
## Solutions ### Refactoring The three original classes — `Block`, `Row`, and `Col` — all share the same interface (`get_width` and `get_height`) but don't declare it anywhere. We can extract that contract into an abstract base class called `Cell` that raises `NotImplementedError` for both methods, then have the thr...
sdxpy/solutions/layout/index.md
books
sdxpy
sdxpy/solutions/layout
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.125
true
false
5,723
-1
package manager -- uses -> theorem prover theorem prover -- to find -> compatible packages -- installed by -> package manager packages -- installation requires -> compatible compatible -- sets of -> dependencies packages -- have -> dependencies dependencies -- are -> packages packages -- have -> versions semantic versi...
sdxpy/_extras/concepts/pack.md
books
sdxpy
sdxpy/_extras/concepts
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0
true
false
364
-1
dynamic dispatch -- relates to -> uniform signature persistence -- must be -> extensible extensible -- to handle -> user classes extensible -- should respect -> Open-Closed Principle extensible -- via -> dynamic dispatch dynamic dispatch -- needs -> uniform signature persistence -- for -> {atomic values, collections, u...
sdxpy/_extras/concepts/persist.md
books
sdxpy
sdxpy/_extras/concepts
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0
true
false
385
-1
## Solutions ### Looping The Chain of Responsibility design gives each matcher a reference to the next matcher in line. An alternative is to have a top-level object that holds a plain list of matchers and iterates through them. This approach turns the implicit chain into an explicit list, which makes it easier to see...
sdxpy/solutions/glob/index.md
books
sdxpy
sdxpy/solutions/glob
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.345
true
false
5,189
-1
--- title: "A File Viewer" --- <section class="slide" markdown="1"> ## The Problem - We have been editing a lot of files - How can we display a text file in a window? - How can we move around in that file? - How we can change it will be the topic of [%x undo %] </section> <section class="slide" markdown=...
sdxpy/viewer/slides.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.174
true
false
7,410
-1
## Solutions ### Comparing Semantic Versions The trick to sorting semantic versions is to break each one into its three numeric components and compare those as integers rather than comparing the strings as decimals. If we compare `"2.1"` and `"1.99"` as strings, `"2.1"` comes first because the character `'2'` is les...
sdxpy/solutions/pack/index.md
books
sdxpy
sdxpy/solutions/pack
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.07
true
false
8,379
-1
elements -- represented as -> text elements -- have -> attributes HTML -- stored in memory as -> DOM tree DOM tree -- usually processed using -> recursion recursion -- can be implemented using -> Visitor pattern DOM tree -- consists of -> nodes Visitor pattern -- calls a method for each -> nodes HTML -- should conform ...
sdxpy/_extras/concepts/check.md
books
sdxpy
sdxpy/_extras/concepts
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0
true
false
456
-1
## Solutions ### Setting Up The `ruff` linter watches for a wide range of problems: unused imports, undefined names, overly complex functions, and stylistic inconsistencies like trailing whitespace or the wrong number of blank lines between definitions. Installing it with `pip install ruff` and running `ruff check` o...
sdxpy/solutions/intro/index.md
books
sdxpy
sdxpy/solutions/intro
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.25
true
false
2,995
-1
## Solutions ### Simplify the Logic The original `Check._tag_enter` packs several operations into one terse expression: compute actual children, subtract the allowed set, and merge into the accumulating `self.problems` dictionary. That works, but a new reader has to pause and mentally unpack what the `|=` inside the...
sdxpy/solutions/check/index.md
books
sdxpy
sdxpy/solutions/check
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.111
true
false
4,791
-1
--- title: "Transferring Files" --- <section class="slide" markdown="1"> ## The Problem - We want to make information available to others - Which includes programs as well as people - Understanding how a web server works will help us do this </section> <section class="slide" markdown="1"> ## TCP/IP - ...
sdxpy/ftp/slides.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.18
true
false
4,370
-1
--- title: "A Database" version: 1 abstract: > Almost every real-world application relies on some kind of database that allows code to look up data without loading everything into memory. To show how they work, this chapter builds a very simple database that appends every new copy of a record to a r...
sdxpy/db/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.062
true
false
13,599
-1
--- title: "A File Viewer" version: 1 abstract: > Even simple editors like Notepad and Nano do a lot of things: moving a cursor, inserting and deleting characters, and more. This is too much to fit into one lesson, so this chapter builds a tool for viewing files, which the next chapters exte...
sdxpy/viewer/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.053
true
false
18,757
-1
build manager -- updates -> files build manager -- obeys -> build rules dependencies -- can be -> stale dependencies -- form a -> directed acyclic graph directed acyclic graph -- sorted in -> topological order stale -- compared to -> target recipe -- updates -> target dependencies -- are -> files target -- are -> files...
sdxpy/_extras/concepts/build.md
books
sdxpy
sdxpy/_extras/concepts
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0
true
false
432
-1
--- title: "Parsing Text" --- <section class="slide" markdown="1"> ## The Problem - `"2023-*{pdf,txt}"` is easier to read and write than `Lit("2023-", Any(Either("pdf", "txt")))` - How can we translate the former into the latter? 1. Group characters into [%g token "tokens" %] 2. Use tokens to create an ...
sdxpy/parse/slides.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.168
true
false
4,297
-1
--- title: "Undo and Redo" version: 1 abstract: > Viewing text files is useful, but we'd like to be able to edit them as well. This chapter therefore modifies the file viewer of the preceding chapter so that we can add and delete text. And since people make mistakes, it also implements undo, ...
sdxpy/undo/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.074
true
false
10,049
-1
--- title: "A Query Builder" version: 2 abstract: > FIXME syllabus: - FIXME --- [%fixme "create query builder" %] [%issue 45 %] - SQL requires parts of query in an odd order - So create [%g active_record "active records" %] using the [%g builder_pattern "Builder" %] pattern - Does not scale up to more com...
sdxpy/unused/query/index.md
books
sdxpy
sdxpy/unused/query
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.069
true
false
1,402
-1
--- title: "Functions and Closures" --- <section class="slide" markdown="1"> ## Background - The little programming language of [%x interp %] isn't extensible - So add a way to define and call functions - And then look at design tactics this opens up </section> <section class="slide" markdown="1"> ## Defin...
sdxpy/func/slides.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.159
true
false
4,294
-1
--- title: "Binary Data" --- <section class="slide" markdown="1"> ## Why Binary? - Operations are much faster - Write addition using textual digits as an exercise - Bits take less space - `"10239472"` is 8 bytes, but `10239472` is just 4 - How would we represent images, audio, or video as character...
sdxpy/binary/slides.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.151
true
false
7,123
-1
--- title: "Parsing Text" version: 1 abstract: > A parser turns text that's easy for a human being to read into a data structure that a computer can work with. The complete parser for a language like Python can be very complex, but this chapter illustrates the key ideas by building a parser for the ...
sdxpy/parse/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.079
true
false
9,203
-1
--- title: "Performance Profiling" version: 1 abstract: > This chapter implements the kind of multi-column table frequently used in data science in two different ways in order to reinforce earlier ideas about the value of abstraction and to show how systematic performance testing can be used to deci...
sdxpy/perf/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.068
true
false
18,132
-1
--- title: "An HTML Validator" version: 1 abstract: > This chapter builds a tool to check the structure of web pages in order to show how programs can process HTML, and to introduce a design pattern that is frequently used to manage irregular data structures. syllabus: - HTML consists of text and of e...
sdxpy/check/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.072
true
false
10,474
-1
--- title: "A File Archiver" version: 1 abstract: > Most programmers would agree that once they have a text editor and a way to run their programs, the next tool they need is version control. This chapter therefore shows how the core of a simple version control system works by building a file archiv...
sdxpy/archive/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.066
true
false
13,585
-1
--- title: "Transferring Files" version: 1 abstract: > A typical web application is made up of clients that send messages to servers and then wait for them to respond. This chapter shows how they work at a low level by building a simple low-level client-server program to move files from one machine ...
sdxpy/ftp/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.054
true
false
12,404
-1
--- title: "A Template Expander" version: 1 abstract: > Writing and updating HTML pages by hand is time-consuming and error-prone, so most modern websites use some kind of static site generator (SSG) to create pages from templates. This chapter builds a simple SSG to show how they work and to reinfo...
sdxpy/template/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.068
true
false
16,410
-1
--- title: "Binary Data" version: 1 abstract: > Python and other high-level languages shield programmers from the low-level details of how computers actually store and manipulate data, but sooner or later someone has to worry about bits and bytes. This chapter explores how computers represent numbers an...
sdxpy/binary/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.047
true
false
21,736
-1
--- title: "A Virtual Machine" version: 1 abstract: > The standard version of Python is implemented in C, but C is compiled to instructions for a particular processor. To show how that lower layer works, this chapter builds a simulator of a small computer and an assembler for a very simple language ...
sdxpy/vm/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.08
true
false
14,277
-1
--- title: "Network Time Protocol (NTP)" version: 2 abstract: > FIXME syllabus: - Derive the NTP offset and round-trip delay formulas from four timestamps and identify the symmetric-delay assumption they rely on. - Explain why synchronization error accumulates across NTP strata and what limits how accurately a ...
sdxpy/ntp/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.051
true
false
9,023
-1
--- title: "An HTML Validator" --- <section class="slide" markdown="1"> ## The Problem - We generate HTML pages to report experiments - Want to be sure they have the right structure so that people can get information out of them reliably - Learning how to do this prepares us for checking code </section>...
sdxpy/check/slides.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.184
true
false
4,574
-1
--- title: "BitTorrent Protocol" version: 2 abstract: > FIXME syllabus: - Explain the swarming property of BitTorrent and why adding more downloaders increases available upload capacity. - Describe the rarest-first piece selection strategy and explain why it maintains piece diversity in the swarm. - Explain h...
sdxpy/torrent/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.218
true
false
10,730
-1
bytes -- from -> file hash function -- input is -> bytes hash function -- output is -> hash code hash code -- unique for each sequence of -> bytes file -- may be -> duplicates hash code -- improves -> efficiency efficiency -- of detecting -> duplicates efficiency -- measured by -> big-oh hash code -- is -> {determinist...
sdxpy/_extras/concepts/dup.md
books
sdxpy
sdxpy/_extras/concepts
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0
true
false
399
-1
--- title: "Bonus Material" --- Each chapter in this book is designed to be teachable in one classroom hour. This appendix presents material that extends core ideas but would break that [%g attention_budget "attention budget" %]. ## Using Function Attributes {: #bonus-attributes} <div class="center" markdown="1"> *...
sdxpy/bonus/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.054
true
false
19,522
-1
--- title: "Bibliography" --- ## A <span id="Aniche2022">Aniche2022</span> : Maurício Aniche: *Effective Software Testing: A developer's guide*. Manning, 2022. ISBN 978-1633439931. <span id="Armstrong2013">Armstrong2013</span> : Tavish Armstrong (ed.): *The Performance of Open Source Applicat...
sdxpy/bibliography/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.23
true
false
5,752
-1
## Solutions ### Chunk Sizes When the client sends zero bytes, the server's first call to `recv` returns an empty byte string. Since zero is less than `CHUNK_SIZE`, the loop exits immediately and the server reports zero bytes received. When the client sends exactly `CHUNK_SIZE` bytes, the server reads all of them o...
sdxpy/solutions/ftp/index.md
books
sdxpy
sdxpy/solutions/ftp
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.098
true
false
2,896
-1
--- title: "Objects and Classes" --- <section class="slide" markdown="1"> ## The Problem(s) - What is a natural way to represent real-world "things" in code? - How can we organize code to make it easier to understand, test, and extend? - Are these the same thing? </section> <section class="slide" markdown="...
sdxpy/oop/slides.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.211
true
false
4,314
-1
--- title: "Distributed Lock Manager" version: 2 abstract: > FIXME syllabus: - Describe the split-brain problem and explain why a lock acquired over an unreliable network can be held by two clients simultaneously. - Explain how fencing tokens prevent stale lock holders from corrupting shared state even after th...
sdxpy/distlock/index.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.049
true
false
12,752
-1
--- title: "Page Layout" --- <section class="slide" markdown="1"> ## The Problem - Text is a sequence of characters, but a page is two-dimensional - How can we put the right things in the right places? - Create a simple version of a [%g layout_engine "layout engine" %] for a browser - But the same ideas a...
sdxpy/layout/slides.md
books
sdxpy
sdxpy
CC-BY-NC-4.0
CC-BY-NC-4.0
469c08a8807c631cf0f4deea675782775cc83ac4
doc
false
0.18
true
false
4,687
-1
// Copyright 2020-2026 The Khronos Group Inc. // // SPDX-License-Identifier: CC-BY-4.0 include::{generated}/meta/{refprefix}VK_KHR_pipeline_library.adoc[] === Other Extension Metadata *Last Modified Date*:: 2020-01-08 *IP Status*:: No known IP claims. *Contributors*:: - See contributors to `apiext:VK_KHR_r...
vulkan-spec/appendices/VK_KHR_pipeline_library.adoc
books
vulkan-spec
vulkan-spec
CC-BY-4.0
CC-BY-4.0
b94f8bd2d004d2949469d8a5071ee10eb7d23566
doc
false
0.364
false
false
852
-1
// Copyright (c) 2020 Simon Ser // // SPDX-License-Identifier: CC-BY-4.0 include::{generated}/meta/{refprefix}VK_EXT_physical_device_drm.adoc[] === Other Extension Metadata *Last Modified Date*:: 2021-06-09 *IP Status*:: No known IP claims. *Contributors*:: - Simon Ser === Description This extension prov...
vulkan-spec/appendices/VK_EXT_physical_device_drm.adoc
books
vulkan-spec
vulkan-spec
CC-BY-4.0
CC-BY-4.0
b94f8bd2d004d2949469d8a5071ee10eb7d23566
doc
false
0.229
false
false
1,514
-1
// Copyright 2026 The Khronos Group Inc. // // SPDX-License-Identifier: CC-BY-4.0 // Common Valid Usage // Common to VkDescriptorMappingSource* structures that specify embedded samplers * [[VUID-{refpage}-pEmbeddedSampler-11445]] If pname:pEmbeddedSampler is a valid pointer to a slink:VkSamplerCreateInfo, it...
vulkan-spec/chapters/commonvalidity/descriptor_heap_embedded_sampler_common.adoc
books
vulkan-spec
vulkan-spec/chapters/commonvalidity
CC-BY-4.0
CC-BY-4.0
b94f8bd2d004d2949469d8a5071ee10eb7d23566
doc
false
0.375
false
false
1,122
-1
// Copyright 2017-2026 The Khronos Group Inc. // // SPDX-License-Identifier: CC-BY-4.0 include::{generated}/meta/{refprefix}VK_EXT_subgroup_size_control.adoc[] === Other Extension Metadata *Last Modified Date*:: 2019-03-05 *Contributors*:: - Jeff Bolz, NVIDIA - Faith Ekstrand, Intel - Sławek Grajewski, Int...
vulkan-spec/appendices/VK_EXT_subgroup_size_control.adoc
books
vulkan-spec
vulkan-spec
CC-BY-4.0
CC-BY-4.0
b94f8bd2d004d2949469d8a5071ee10eb7d23566
doc
false
0.123
false
false
3,356
-1
// Copyright 2018-2026 The Khronos Group Inc. // // SPDX-License-Identifier: CC-BY-4.0 include::{generated}/meta/{refprefix}VK_KHR_video_decode_queue.adoc[] === Other Extension Metadata *Last Modified Date*:: 2023-12-05 *IP Status*:: No known IP claims. *Contributors*:: - Ahmed Abdelkhalek, AMD - Jake Be...
vulkan-spec/appendices/VK_KHR_video_decode_queue.adoc
books
vulkan-spec
vulkan-spec
CC-BY-4.0
CC-BY-4.0
b94f8bd2d004d2949469d8a5071ee10eb7d23566
doc
false
0.483
false
false
2,601
-1
// Copyright 2019-2026 The Khronos Group Inc. // // SPDX-License-Identifier: CC-BY-4.0 // Common Valid Usage // Common to indirect drawing commands with a pname:countBuffer parameter * [[VUID-{refpage}-countBuffer-02714]] If pname:countBuffer is non-sparse then it must: be bound completely and contiguously t...
vulkan-spec/chapters/commonvalidity/draw_indirect_count_common.adoc
books
vulkan-spec
vulkan-spec/chapters/commonvalidity
CC-BY-4.0
CC-BY-4.0
b94f8bd2d004d2949469d8a5071ee10eb7d23566
doc
false
0.48
false
false
1,218
-1
// Copyright (c) 2018-2020 NVIDIA Corporation // // SPDX-License-Identifier: CC-BY-4.0 include::{generated}/meta/{refprefix}VK_NV_mesh_shader.adoc[] === Other Extension Metadata *Last Modified Date*:: 2018-07-19 *Interactions and External Dependencies*:: - This extension provides API support for {GLSLregis...
vulkan-spec/appendices/VK_NV_mesh_shader.adoc
books
vulkan-spec
vulkan-spec
CC-BY-4.0
CC-BY-4.0
b94f8bd2d004d2949469d8a5071ee10eb7d23566
doc
false
0.496
false
false
4,415
-1
// Copyright 2017-2026 The Khronos Group Inc. // // SPDX-License-Identifier: CC-BY-4.0 include::{generated}/meta/{refprefix}VK_KHR_16bit_storage.adoc[] === Other Extension Metadata *Last Modified Date*:: 2017-09-05 *IP Status*:: No known IP claims. *Interactions and External Dependencies*:: - This extensio...
vulkan-spec/appendices/VK_KHR_16bit_storage.adoc
books
vulkan-spec
vulkan-spec
CC-BY-4.0
CC-BY-4.0
b94f8bd2d004d2949469d8a5071ee10eb7d23566
doc
false
0.241
false
false
2,292
-1