tl;dr: Its etymology goes back to a German botanist named Leonhart Fuchs, plus an -ia suffix.
Fuchsia (OS) is named after a color which is named after a (genus of) plant. Like many plants and flowers, the plant's scientific name was given by some European guy after some other European guy, with an -ia suffix to make it a plant name. (Presumably in many cases because they couldn't fathom that indigenous people already had names for things, and so didn't bother to find out; there are plenty of plant names that are derived from indigenous names.)
| Plant | Named after | Named by | Native to |
|---|---|---|---|
| Fuchsia | Leonhart Fuchs | Charles Plumier | Americas, Oceania |
| Begonia | Michel Bégon | Charles Plumier | Asia, Americas |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // -std=c++11 | |
| // -Weverything -Wno-unused-variable -Wno-unused-parameter -Wno-c++98-compat -Wno-c++98-compat-pedantic | |
| #include <cstdio> | |
| #include <cstring> | |
| #include <functional> | |
| #include <memory> | |
| #include <string> | |
| #include <vector> | |
| #include <cstddef> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Aliases | |
| git config --global alias.lg "log --pretty=tformat:'%Cred%h%Creset %Cgreen%cd%Creset%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=short-local" | |
| git config --global alias.gr "log --graph --pretty=tformat:'%Cred%h%Creset %Cgreen%cd%Creset%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=short-local" | |
| git config --global alias.l '!git --no-pager lg main~.. && echo && git status --show-stash' | |
| git config --global alias.br "branch --sort=-committerdate --format='%(HEAD) %(if)%(HEAD)%(then)%(color:green)%(end)%(committerdate:short) %(align:32)%(refname:short)%(end) %(contents:subject)'" | |
| # Configs | |
| # Automatically turn `--fixup` commits into fixups when running `git rebase -i` |
Clang - UTF-8 code units (bytes)
int main() {
/*xxx*/int x=xx; // codepoints=11+3=14, utf8units=11+3=14, utf16units=11+3=14, clusters=11+3=14
/*日本語*/int x=xx; // codepoints=11+3=14, utf8units=11+9=20, utf16units=11+3=14, clusters=11+3=14
/*👩💻*/int x=xx; // codepoints=11+3=14, utf8units=11+11=22, utf16units=11+5=16, clusters=11+1=12
}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Utilities | |
| function align(n: number, alignment: number): number { | |
| return Math.ceil(n / alignment) * alignment; | |
| } | |
| function assert(condition: boolean, msg: () => string): asserts condition { | |
| if (!condition) throw new Error(msg()); | |
| } |
partial interface GPUDevice {
GPUSurface createSurface(GPUSurfaceDescriptor descriptor);
};
interface GPUSurface : GPUTexture {
ImageBitmap transferToImageBitmap();
};
dictionary GPUSurfaceDescriptor : GPUObjectDescriptorBase {
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- SPIRV1.1.html 2018-01-01 16:07:16.000000000 -0800 | |
| +++ SPIRV1.2.html 2018-01-01 16:07:14.000000000 -0800 | |
| @@ -6 +6 @@ | |
| -<title>SPIR-V Specification Provisional</title> | |
| +<title>SPIR-V Specification</title> | |
| @@ -1729 +1729 @@ | |
| -<h1>SPIR-V Specification Provisional</h1> | |
| +<h1>SPIR-V Specification</h1> | |
| @@ -1731 +1731 @@ | |
| -<span id="revnumber">version 1.1, Revision 8</span> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/plain" id="worker"> | |
| onmessage = function(e) { | |
| let ctx = e.data.getContext('2d'); | |
| function loop() { | |
| debugger; // When you hit this breakpoint, inspect any variable. | |
| ctx.commit().then(loop); | |
| } | |
| ctx.commit().then(loop); | |
| }; | |
| </script> |
NewerOlder