Commit Graph

2293 Commits

Author SHA1 Message Date
Philipp Oppermann
51a02a4064 Typo fix 2020-03-26 13:41:25 +01:00
Philipp Oppermann
752accdd33 Explain how to work with futures and introduce async/await 2020-03-26 13:41:25 +01:00
Philipp Oppermann
bdcd392dbf Start explaining futures in Rust 2020-03-26 13:40:34 +01:00
Philipp Oppermann
6f7c5a35dd Begin a new post about async/await 2020-03-26 13:40:34 +01:00
StackDoubleFlow
4feaffe102 Use a instead of an before a constant (#766) 2020-03-17 08:48:17 +01:00
Philipp Oppermann
e0686209f4 Fix cargo doc links that were moved
Move occured in https://github.com/rust-lang/cargo/pull/7733 and was just released together with Rust 1.42.
2020-03-13 13:47:26 +01:00
Philipp Oppermann
e061557eea Use <h2> for site title for first edition too 2020-03-11 13:51:22 +01:00
Patrick
aeafe57c5d Removed unnecessary word (#765)
Removed the word "executes" from "The CPU executes tries to write to `0xdeadbeef`, which causes a page fault."
2020-03-11 13:07:22 +01:00
Philipp Oppermann
e84b6f4084 Merge pull request #764 from phil-opp/x86_64-0.9.6
Update x86_64 dependency to version 0.9.6
2020-03-08 14:40:32 +01:00
Philipp Oppermann
82c6a5dd60 Update x86_64 dependency to version 0.9.6 2020-03-08 14:38:38 +01:00
Philipp Oppermann
f9002f9f9b Update Heap Allocation post for new spinlock type of linked_list_allocator 2020-03-06 14:56:07 +01:00
Philipp Oppermann
bf4c928214 Update Heap Allocation post for #763 2020-03-06 11:50:29 +01:00
Philipp Oppermann
bdf161aa7d Merge pull request #760 from phil-opp/status-update
Updates in February 2020
2020-03-02 11:49:06 +01:00
Philipp Oppermann
bfdc1e96a6 Create February status update 2020-03-02 11:42:19 +01:00
Philipp Oppermann
368b5445e4 Update 'thank you' text 2020-03-02 11:41:53 +01:00
Philipp Oppermann
6b76338407 Add a .gray css class for making things gray 2020-03-02 11:41:41 +01:00
Philipp Oppermann
6beedbdba9 Merge pull request #758 from phil-opp/pc-keyboard-0.5.0
Hardware Interrupts: Update pc-keyboard crate to v0.5.0
2020-02-26 12:20:01 +01:00
Philipp Oppermann
fb920af5dc Hardware Interrupts: Update pc-keyboard crate to v0.5.0 2020-02-26 12:17:35 +01:00
Philipp Oppermann
acea700708 Fix overlap of 'All Posts' and ToC; add comments to ToC
The 'All Posts' link used to overlap with the table of contents at the end of a post. This occured because the ToC is sticky to the `main` block, so it scrolled up before the `comments` section. The 'All Post' link, however, is fixed, so it does not scroll up.

This commit fixes the issue by moving the comment block to the main block (from the after_main block). This way, the ToC stays visible in the comment section. We also add the comment section to the ToC.
2020-02-25 14:26:41 +01:00
Philipp Oppermann
0619f3a9e7 Convert all external links to https (if supported) 2020-02-21 11:53:34 +01:00
Philipp Oppermann
361108b88e Move language selector to the top 2020-02-21 11:29:11 +01:00
Philipp Oppermann
b03a368191 Truncate site description to 150 characters
According to the Bing webmaster tools, this is recommended for SEO.
2020-02-21 11:24:45 +01:00
Philipp Oppermann
516bc38b2b Ensure that each page only has a single <h1>
According to Bing's webmaster tool multiple <h1> tags on a site are a SEO problem.
2020-02-21 11:17:31 +01:00
Philipp Oppermann
b532c052ad Double Faults: A missing handler leads to a #GP exception (not a #NP)
A IDT entry that is zero is not valid (e.g. the must-be-one bits are not set). For this reason, a general protection fault occurs instead of a segment-not-present fault.

See https://github.com/phil-opp/blog_os/issues/449#issuecomment-558906316 for more information.
2020-02-19 10:58:55 +01:00
Philipp Oppermann
a392065ca8 Merge pull request #732 from phil-opp/phil-opp-patch-1
Mention in "Paging Introduction" that a CPU with 5-level paging is available now
2020-02-18 14:58:21 +01:00
Philipp Oppermann
0195d2ec43 Don't escape permalink; emit less newlines 2020-02-17 15:07:43 +01:00
Philipp Oppermann
cc27cf5c24 Only emit language selector on pages that have translations 2020-02-17 15:07:09 +01:00
Philipp Oppermann
fa5b500751 Remove debug logging from javascript 2020-02-17 15:06:48 +01:00
Philipp Oppermann
2c9226e4b1 Merge pull request #752 from phil-opp/lang-selector
Add a language selector for browser-supported languages
2020-02-17 14:56:46 +01:00
Philipp Oppermann
6908e297f6 Make language selectors of browser supported languages visible 2020-02-17 14:52:15 +01:00
Philipp Oppermann
8ff09b3a62 Add hidden language selector to front page and post pages 2020-02-17 14:51:51 +01:00
Philipp Oppermann
ea3e89dd00 Select front page aside by class page-aside-right instead of id recent-updates 2020-02-17 14:51:19 +01:00
Philipp Oppermann
b8e8370a4c Merge pull request #751 from phil-opp/fix-zola-check
Use zola check to check for dead links; fix all dead links found
2020-02-17 13:49:56 +01:00
Philipp Oppermann
2cb6d2f3d0 Add a _index.md to prevent orphan pages 2020-02-17 13:45:49 +01:00
Philipp Oppermann
71dee66573 Make link_checker skip more sites 2020-02-17 13:43:33 +01:00
Philipp Oppermann
65da18d143 Fix dead links 2020-02-17 13:41:22 +01:00
Philipp Oppermann
f21bef93b1 Don't check anchors for github.com 2020-02-17 13:31:22 +01:00
Philipp Oppermann
3f43994766 Don't continue on error for zola check 2020-02-17 13:31:21 +01:00
Philipp Oppermann
06862d354e Merge pull request #750 from phil-opp/sort-recent-updates
Sort recent updates by merge date
2020-02-17 12:41:58 +01:00
Philipp Oppermann
06aded3ce4 Sort recent updates by merge date 2020-02-17 12:39:05 +01:00
Philipp Oppermann
cdb6aabdbf Consider the newest 100 pull requests in recent list
There might be old pull requests that were recently merged.
2020-02-17 12:33:45 +01:00
Philipp Oppermann
c23e8f8c65 Merge pull request #749 from phil-opp/translation-metadata
Add metadata to translations and list translators
2020-02-17 12:08:52 +01:00
Philipp Oppermann
db69d016a9 Add metadata to translations and list translators 2020-02-17 12:04:12 +01:00
Philipp Oppermann
9e5e3fba16 Remove some more whitespace to minimize diff 2020-02-17 11:39:24 +01:00
Philipp Oppermann
135d6e510e Merge pull request #748 from phil-opp/translations-fix
Some fixes to generated translations
2020-02-17 11:32:18 +01:00
Philipp Oppermann
0e3635f98b Remove some excessive newlines from generated HTML 2020-02-17 11:30:50 +01:00
Philipp Oppermann
127f446856 Don't show 'not translated yet' for default language 2020-02-17 11:30:47 +01:00
Philipp Oppermann
0ae8c972bb Specify a template for zh-TW posts 2020-02-17 11:18:09 +01:00
Philipp Oppermann
03d4cc43ec Merge pull request #692 from phil-opp/translations
Experimental Support for Community Translations
2020-02-17 11:09:18 +01:00
Philipp Oppermann
04fae1194f Remove stale link 2020-02-17 11:04:04 +01:00