1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 21:02:09 +00:00
Commit graph

1967 commits

Author SHA1 Message Date
Rohan Kumar
388da5ea96
Makefile: fix CSS path 2021-01-17 20:13:38 -08:00
Rohan Kumar
938428333e
Indieweb: statically display webmentions
Statically grab and include webmentions during Hugo builds, no JS
involved. Hugo supports making web requests and parsing the resulting
JSON, so there was no need to use an external program either.
2021-01-17 20:11:40 -08:00
Rohan Kumar
950918b104
Remove themes/, move its contents to repo root
I've modified etch-custom so much that it doesn't need to be its own
theme anymore.
2021-01-17 17:22:22 -08:00
Rohan Kumar
beef2c1b81
Don't send webmentions to Wikipedia 2021-01-17 17:18:31 -08:00
Rohan Kumar
4d297de4ea
Allow adding a heading to the endnotes section 2021-01-17 17:18:02 -08:00
Rohan Kumar
59b12ee290
More agressive zopflipng
Use 800-10000 iterations for zopflipng instead of just 16 to save a few
precious bytes.

This is probably a waste of time.
2021-01-17 14:09:40 -08:00
Rohan Kumar
4ed4e495f2
Gemtext fixes
- Add link text
- Remove extraneous line break
2021-01-17 13:37:16 -08:00
Rohan Kumar
0085518b41
Re-word statement on not detailing crypto algos 2021-01-17 11:41:34 -08:00
Rohan Kumar
f22692d836
Fixed misconception about salting/hashing
Clarify that salting + hashing isn't reversible by a naive brute-force
attack.
2021-01-17 10:47:21 -08:00
Rohan Kumar
56410531fe
Correct information regarding symmetric keys
I forgot to add salt. Thanks u/RisenSteam.
2021-01-16 20:51:04 -08:00
Rohan Kumar
ec667c9f3e
About page: add Tildes.net account. 2021-01-16 15:44:25 -08:00
Rohan Kumar
4c7eaf91f0
More in further reading/acknowledgements (+typo)
- Add link to a paper by Seth Lloyd to "Further reading"
- Add a subheading to "Further reading" concerning approaches accounting
  for computation speed.
- Elaborate on the part of Schneier's blog post that proved helpful.
- Revert typo fix in which I erroneously swapped + and -.
2021-01-16 15:41:49 -08:00
Rohan Kumar
fd15c33a72
Acknowledgements: link to Schneier's blog 2021-01-14 22:49:21 -08:00
Rohan Kumar
a87410e831
Link to TLDR at the top 2021-01-14 18:40:26 -08:00
Rohan Kumar
ad6d2078fe
Clarify the meaning of being "immune"
As suggested by u/DragonCalypso on Reddit.
2021-01-14 15:13:02 -08:00
Rohan Kumar
7769286085
Typo + wrong name 2021-01-14 15:11:07 -08:00
Rohan Kumar
fd257cfd7e
Add sample unbreakable passwords 2021-01-13 14:27:44 -08:00
Rohan Kumar
f479d03733
Typo 2021-01-13 11:20:55 -08:00
Rohan Kumar
eb1a03f4be
Fix major typo (wrong sign, + -> -) 2021-01-12 23:16:36 -08:00
Rohan Kumar
069bedbb7b
Password strength article: shrink meta description
A <meta> description should apparently be under 160 chars.
2021-01-12 22:05:05 -08:00
Rohan Kumar
b60b478281
Add link to Bremermann's limit
Found via goldenkey on Hacker News.
2021-01-12 18:13:45 -08:00
Rohan Kumar
831443c52c
Valid HTML: fix img tags
Images should be specified acc. to pixelsize, according to the HTML
spec. "em" is out.

Specifying the mimetype in those contexts isn't allowed.
2021-01-12 16:56:36 -08:00
Rohan Kumar
f2d4fe84ca
Fix bad link 2021-01-12 15:59:38 -08:00
Rohan Kumar
4c2c2802ba
New article: password strength 2021-01-12 15:32:35 -08:00
Rohan Kumar
166e05692a
Makefile: allow setting custom Hugo flags 2021-01-12 15:28:59 -08:00
Rohan Kumar
38261d4ebe
Drop unnecessary x-ua-compatible header
Given that I use a proper doctype, the x-ua-compatible header is not
necessary. See https://hsivonen.fi/doctype/#ie8 for more details.
2021-01-10 22:12:23 -08:00
Rohan Kumar
28bd5b16f9
CI: deploy to staging before test
I can't believe I forgot to deploy before testing.
2021-01-10 22:12:04 -08:00
Rohan Kumar
4d7625227b
IndieWeb: gather WebWentions with static-webmention
Update the Makefile to download the old version of the site, run
static-webmentions, and collect the WebMentions to send in a json file
saved as a build artifact.

Don't send these automatically; just save them for now. Until I work out
a solution to save sent WebMentions and avoid sending duplicates, I'll
keep the sending of WebMentions manual.

For some reason this caused webhint's axe/aria test to error out with a
"Protocol error" so I disabled it. Axe tests are covered by Lighthouse
anyway.
2021-01-09 21:48:34 -08:00
Rohan Kumar
bd094a6608
IndieWeb: Receive webmentions
Use a self-hosted instance of webmentiond to receive webmentions:
https://github.com/zerok/webmentiond
2021-01-09 16:18:27 -08:00
Rohan Kumar
c7bc26ed00
Compress svg files ahead of time
Previously forgot to include .svg files in the Makefile when generating
precompressed files for "gzip_static" and "brotli_static"

This commit includes them.
2021-01-04 12:45:45 -08:00
Rohan Kumar
8a1903c85b
Update fav anime in about page
Let's all love Lain.
2021-01-03 03:21:58 -08:00
Rohan Kumar
e5fbf7a33f
Minify webmanifest 2021-01-02 18:22:44 -08:00
Rohan Kumar
b24326d1c1
Devserver: fix CSP to allow livereload script 2021-01-02 17:24:27 -08:00
Rohan Kumar
61cc09cbd9
CI: fetch a brotli-compressed tarball of binaries
Since we already have brotli installed in CI, we might as well use it.
2021-01-02 17:23:14 -08:00
Rohan Kumar
0c64c5867b
Use brotli_static with max brotli compression
Compress with brotli ahead of time in CI, just like we do with zopfli
for gzip_static

Update hintrc to check for brotli compression.

Update lighthouse config to throttle CPU some more since brotli
decompression can be heavier.
2020-12-30 23:51:14 -08:00
Rohan Kumar
2083f1aed5
Article update: include advice on avatar image
Include info on using an avatar image/profile photo without
significantly increasing the footprint of a website, by re-using the
favicon image.
2020-12-29 22:34:35 -08:00
Rohan Kumar
762ac1bf1f
Fix PGP links
- Fix bad PGP links for envs.net mirror
- Include pgp links in <head> for IndieWeb (as per
  https://indieweb.org/PGP)
2020-12-29 22:30:11 -08:00
Rohan Kumar
1e7b2008e8
Indieweb: add u-photo and h-entry where relevant
Inspired by the h-entry implementation on Charlie Owen's personal
website: https://whalecoiner.com

The u-photo re-uses the 32px favicon that the browser has already
cached, so it shouldn't bloat up the page anymore.

These changes required a bit of additional CSS. I snuck in come color
changes too.
2020-12-29 15:06:51 -08:00
Rohan Kumar
3779c08a5e
god damn it lighthouserc
I FU with the config file, leaving the reduced cpu slowdown multiplier
for my underpowered laptop.
2020-12-29 10:13:04 -08:00
Rohan Kumar
a900b814b7
Indieweb: add PGP key to h-entry 2020-12-29 10:05:07 -08:00
Rohan Kumar
1c5826e999
CI: Decrease zopfli iterations 2020-12-29 09:47:45 -08:00
Rohan Kumar
5741154155
Indieweb: more h-entry metadata
Should have all the basic elements of an h-entry now.
2020-12-28 20:11:43 -08:00
Rohan Kumar
39818533a1
Fix lighthouse again 2020-12-28 19:00:45 -08:00
Rohan Kumar
35642e698a
Add Indieweb/RDFa structured data 2020-12-28 16:56:52 -08:00
Rohan Kumar
8c63605d1a
Add 10 KB Club to web best practices article 2020-12-28 15:33:18 -08:00
Rohan Kumar
bb125c8b9f
CI: Skip unused audits instead of ignoring 2020-12-28 15:32:52 -08:00
Rohan Kumar
d429bfad2f
CI: disable unwanted lighthouse audit 2020-12-26 21:20:59 -08:00
Rohan Kumar
3471df7ab3
Remove unneeded CSS 2020-12-26 21:04:25 -08:00
Rohan Kumar
16d07c5f05
Devserver: fix CSP to allow images from seirdy.one 2020-12-26 20:44:05 -08:00
Rohan Kumar
1a89830880
Compress more when deploying to prod
Use 50 zopfli zopfli iterations when compressing for staging, but a full
1200 when compressing for prod.
2020-12-26 20:43:48 -08:00