feat: add my standard for choosing fonts

main
sudo pacman -Syu 2024-05-07 02:16:57 +07:00
parent d73e6ed415
commit fec0be818d
6 changed files with 84 additions and 72 deletions

View File

@ -1,14 +1,6 @@
run:
timeout: 5m
tests: false
skip-dirs:
- ".*test.*"
- ".*mock.*"
- ".*example.*"
- ".*utils.*"
skip-files:
- ".*Mock.*"
- ".*_mock.*"
output:
sort-results: true
@ -25,13 +17,12 @@ linters:
- typecheck
- unused
# Custom
- err113
- errchkjson
- errname
- errorlint
- execinquery
- forcetypeassert
- gocritic
- goerr113
- gofumpt
- gosec
- importas
@ -40,10 +31,8 @@ linters:
- noctx
- prealloc
- reassign
# - rowserrcheck
- sqlclosecheck
- unconvert
# - wastedassign
fast: true
linters-settings:
@ -91,3 +80,13 @@ linters-settings:
reassign:
patterns:
- ".*"
issues:
exclude-dirs:
- ".*test.*"
- ".*mock.*"
- ".*example.*"
- ".*utils.*"
exclude-files:
- ".*Mock.*"
- ".*_mock.*"

View File

@ -80,6 +80,13 @@
</li>
</ul>
<p>Always choose <strong>OTF</strong> over <strong>TTF</strong> format.</p>
<p>My standard for choosing fonts:</p>
<ul>
<li>Support Vietnamese</li>
<li>Support bold, italic</li>
<li>Support ligatures</li>
<li>Has dotted zero</li>
</ul>
<div class="markdown-heading">
<h2 class="heading-element">
<a href="https://github.com/JetBrains/JetBrainsMono">JetBrains Mono</a>
@ -93,12 +100,7 @@
></a>
</div>
<p>JetBrains branding font.</p>
<ul>
<li>Support Vietnamese</li>
<li>Support bold, italic</li>
<li>Support ligatures</li>
<li>Has dotted zero</li>
</ul>
<p>Match my standard.</p>
<p>
Ligatures I prefer: <code>ss02</code>, <code>cv04</code>,
<code>cv16</code>, <code>cv18</code>, <code>cv19</code>,
@ -117,11 +119,8 @@
></a>
</div>
<p>I often choose SS08 variant because I also love PragmataPro too.</p>
<p>Match my standard. Also:</p>
<ul>
<li>Support Vietnamese</li>
<li>Support bold, italic</li>
<li>Support ligatures</li>
<li>Has dotted zero</li>
<li>Has display font</li>
</ul>
<p>
@ -141,11 +140,8 @@
></a>
</div>
<p>I often choose Casual variant.</p>
<p>Match my standard. Also:</p>
<ul>
<li>Support Vietnamese</li>
<li>Support bold, italic</li>
<li>Support ligatures</li>
<li>Has dotted zero</li>
<li>Has display font</li>
</ul>
<p>Ligatures I prefer: <code>ss10</code>, <code>ss12</code>.</p>
@ -169,12 +165,11 @@
><span aria-hidden="true" class="octicon octicon-link"></span
></a>
</div>
<p>Does not match my standard:</p>
<ul>
<li>No Vietnamese</li>
<li>Support bold</li>
<li>No italic</li>
<li>No ligatures</li>
<li>Has dotted zero</li>
</ul>
<p>
Font is small, can display much more on small screen. I like its curved
@ -193,11 +188,12 @@
></a>
</div>
<p>Small fonts, saving space.</p>
<p>Does not match my standard:</p>
<ul>
<li>Support Vietnamese</li>
<li>Support bold, italic</li>
<li>No ligatures</li>
<li>Has dotted zero</li>
</ul>
<p>But:</p>
<ul>
<li>Has display font</li>
</ul>
<p>
@ -219,10 +215,10 @@
></a>
</div>
<p>Comic vibe. Look smoothly and too much curve.</p>
<p>Does not match my standard:</p>
<ul>
<li>No Vietnamese</li>
<li>Support bold, italic</li>
<li>Support ligatures</li>
<li>No dotted zero</li>
</ul>
<div class="markdown-heading">
<h2 class="heading-element">
@ -237,10 +233,15 @@
><span aria-hidden="true" class="octicon octicon-link"></span
></a>
</div>
<p>Does not match my standard:</p>
<ul>
<li>No Vietnamese</li>
<li>No bold, italic</li>
<li>No ligatures (APL-385 not APL386)</li>
<li>No dotted zero</li>
</ul>
<p>But:</p>
<ul>
<li>Has display font (APL333)</li>
</ul>
<p>I love its wide look, also it's feel nostalgic.</p>
@ -260,11 +261,12 @@
IBM branding font, good alternative for Inter, has both monospace and
display variant.
</p>
<p>Does not match my standard:</p>
<ul>
<li>Support Vietnamese</li>
<li>Support bold, italic</li>
<li>No ligatures</li>
<li>Has dotted zero</li>
</ul>
<p>But:</p>
<ul>
<li>Has display font</li>
</ul>
<p>Looks fancy. Strange <code>#</code>.</p>
@ -280,10 +282,11 @@
><span aria-hidden="true" class="octicon octicon-link"></span
></a>
</div>
<p>Does not match my standard:</p>
<ul>
<li>No Vietnamese</li>
<li>Support bold, italic</li>
<li>No ligatures</li>
<li>No dotted zero</li>
</ul>
<p>Looks unique to me, with some sharp look.</p>
<div class="markdown-heading">

View File

@ -194,9 +194,7 @@
Remember to rename it to
<code>crc.pnach</code> (<code>013E349D.pnach</code>, ...).
</p>
<div class="highlight highlight-text-adblock">
<pre>
// Money
<pre lang="txt"><code>// Money
patch=1,EE,2042DA6C,extended,05F5E0FF
// Infinite Health Leon
@ -206,9 +204,8 @@ patch=1,EE,001c27f8,word,00401023
patch=1,EE,001c293c,word,00401023
// Infinite Ammo
patch=1,EE,2012009C,extended,00000000</pre
>
</div>
patch=1,EE,2012009C,extended,00000000
</code></pre>
<p>Beautiful result!</p>
<p>
<a

View File

@ -16,25 +16,27 @@ Otherwise:
Always choose **OTF** over **TTF** format.
## [JetBrains Mono](https://github.com/JetBrains/JetBrainsMono)
JetBrains branding font.
My standard for choosing fonts:
- Support Vietnamese
- Support bold, italic
- Support ligatures
- Has dotted zero
## [JetBrains Mono](https://github.com/JetBrains/JetBrainsMono)
JetBrains branding font.
Match my standard.
Ligatures I prefer: `ss02`, `cv04`, `cv16`, `cv18`, `cv19`, `cv20`.
## [Iosevka](https://github.com/be5invis/Iosevka)
I often choose SS08 variant because I also love PragmataPro too.
- Support Vietnamese
- Support bold, italic
- Support ligatures
- Has dotted zero
Match my standard. Also:
- Has display font
Font is narrow, can display much more on small screen. But too much
@ -44,10 +46,8 @@ config/variant for ligatures scares me.
I often choose Casual variant.
- Support Vietnamese
- Support bold, italic
- Support ligatures
- Has dotted zero
Match my standard. Also:
- Has display font
Ligatures I prefer: `ss10`, `ss12`.
@ -58,11 +58,11 @@ Looks good on my phone.
## [agave](https://github.com/blobject/agave)
Does not match my standard:
- No Vietnamese
- Support bold
- No italic
- No ligatures
- Has dotted zero
Font is small, can display much more on small screen. I like its curved look.
@ -70,10 +70,12 @@ Font is small, can display much more on small screen. I like its curved look.
Small fonts, saving space.
- Support Vietnamese
- Support bold, italic
Does not match my standard:
- No ligatures
- Has dotted zero
But:
- Has display font
Unique to me. Strange `#`, looks same as `4` (I don't like it for now).
@ -82,15 +84,22 @@ Unique to me. Strange `#`, looks same as `4` (I don't like it for now).
Comic vibe. Look smoothly and too much curve.
Does not match my standard:
- No Vietnamese
- Support bold, italic
- Support ligatures
- No dotted zero
## [APL-385](https://apl385.com/fonts/index.htm) and [APL386](https://github.com/abrudz/APL386)
Does not match my standard:
- No Vietnamese
- No bold, italic
- No ligatures (APL-385 not APL386)
- No dotted zero
But:
- Has display font (APL333)
I love its wide look, also it's feel nostalgic.
@ -100,19 +109,23 @@ I love its wide look, also it's feel nostalgic.
IBM branding font, good alternative for Inter, has both monospace and display
variant.
- Support Vietnamese
- Support bold, italic
Does not match my standard:
- No ligatures
- Has dotted zero
But:
- Has display font
Looks fancy. Strange `#`.
## [Hermit](https://github.com/pcaro90/hermit)
Does not match my standard:
- No Vietnamese
- Support bold, italic
- No ligatures
- No dotted zero
Looks unique to me, with some sharp look.

View File

@ -83,11 +83,11 @@ and I quote:
> This is useful in multiple frequently recurring and important scenarios:
>
> - Handling of rollback/cleanup operations in the context of an event (e.g.,
> HTTP request) that has to continue regardless of whether the triggering
> event is canceled (e.g., due to timeout or the client going away)
> HTTP request) that has to continue regardless of whether the triggering
> event is canceled (e.g., due to timeout or the client going away)
> - Handling of long-running operations triggered by an event (e.g., HTTP
> request) that terminates before the termination of the long-running
> operation
> request) that terminates before the termination of the long-running
> operation
So beside waiting to upgrade to Go `1.21` to use `context.WithoutCancel`, you
can use this [workaround code](https://pkg.go.dev/context@master#WithoutCancel):

View File

@ -25,7 +25,7 @@ related though.
> So the principle is straightforward: Set the conditions of “yes” such that:
>
> - If they say “yes,” youre happy because the terms or money are so good, it
> more than compensates for the distraction, perhaps funding the thing you
> really want to do.
> more than compensates for the distraction, perhaps funding the thing you
> really want to do.
> - If they say “no,” youre happy because it wasnt a great fit anyway; its
> not a worthwhile return on your time and effort.
> not a worthwhile return on your time and effort.