Darek Kay

darekkay.com · Personal blog · on HN since 2017

Darek Kay, a web developer, writes on static sites, RSS, accessibility, CSS, and Git.

What HN saysHN commenters link it for practical guides on static site comments, RSS subscriber counts, and restyling sites with uBlock Origin.
23HN people shared it
16linked it in comments
19stories submitted
300story points
10 months agolast shared
2017people per year2026

Most-shared posts

  1. 1
    Various ways to include comments on a static site (2018)
    7 people · 112 points · first shared 2018 · 47 comments on HN
  2. 2
    Style Your RSS Feed
    4 people · 2 points · first shared 2023 · discussion on HN
  3. 3
    Website Themes with uBlock Origin
    3 people · 64 points · first shared 2024 · 12 comments on HN
  4. 4
    The state of accessible web UI frameworks
    3 people · 3 points · first shared 2019 · discussion on HN
  5. 5
    Estimating the number of your RSS subscribers
    3 people · 1 points · first shared 2023 · discussion on HN
  6. 6
    Git Misconceptions: Rewriting History
    2 people · 4 points · first shared 2020 · discussion on HN
  7. 7
    Would you survive a skydive with an emoji parachute?
    2 people · 2 points · first shared 2020 · discussion on HN
  8. 8
    Show HN: Flexbox Cheatsheet
    2 people · 1 points · first shared 2017 · discussion on HN
  9. 9
    Atom.xml
    2 people · first shared 2022
  10. 10
    Web developer's guide to AVIF images
    1 people · 82 points · first shared 2021 · 75 comments on HN
  11. 11
    Designing an accessible color palette with magic numbers
    1 people · 15 points · first shared 2020 · 12 comments on HN
  12. 12
    Grab browser links and titles in one click
    1 people · 4 points · first shared 2025 · discussion on HN
  13. 13
  14. 14
  15. 15
    Quick Tip – Bypass a blocked context menu in Firefox
    1 people · 1 points · first shared 2020 · discussion on HN

What HN people wrote when they linked it

3eb7988a1663 · 2026-01-19
Sure enough, this looks great. Found a blog post where someone did the exact same thing. Unlike the Firefox mechanism of usercontent.css which requires a reboot after every change(?) this works dynamically on a page reload. Now trivial to restyle some content which would otherwise not hit a blocklist. https://darekkay.com/blog/ublock-website-themes/
darekkay · 2025-01-18
> 1000s of requests a day Some RSS readers are quite aggressive with their polling time. At the same time, a single request may serve thousands of users. However, you can check your logs and get the actual number of subscribers, at least for popular RSS readers: https://darekkay.com/blog/rss-subscriber-count/
jmduke · 2023-12-10
One hackneyed reason that some folks give for not wanting to expose their RSS is wanting some level of legibility into their subscribers. I recently learned that many large RSS readers actually expose high-level analytics numbers [^1] so you can get an estimate of RSS readership that way, too. Would love for more readers to support this functionality: as far as I can tell across all of the RSS feeds my product exposes, the only supporting clients of this faux protocol are NewsBlur, Feedly, Feedbin, and inoreader. [^1]: ht to Darek Kay's blog post, https://darekkay.com/blog/rss-subscriber-count/, for alerting me to this fact!
yannovitch · 2019-03-25
No need to use PHP. Example of forms with a static website or static site generator : https://forestry.io/blog/5-ways-to-handle-forms-on-your-static-site/ Example of comments for static sites or SSG : https://darekkay.com/blog/static-site-comments/ ( I recommend personally Isso )
nkurz · 2019-06-11
Great article, thanks! My main suggestion for improvement would be to flesh out the details of determining which limit you are hitting. For example, how do you (semi-automatically) determine that changing to a simpler addressing mode might let you fit in another load per cycle? How do you determine that you are being limited by the size of the ROB? Knowing that these bottleneck exists helps, but knowing which remedy to try helps even more. As for errors, there are a bunch of small typos. Making a pass with a spell-checker would catch most of these, or I could send my usual email. In the early passage about vectorization, I think you mean "you could get [an additional] 3x, down to roughly 0.125". Factually, I wasn't sure that "One operation per port, per cycle" was quite true, especially since you later talk about address calculations. As far as static site commenting options, I came across this nice summary of approaches when we were trying to fix up Daniel's blog: https://darekkay.com/blog/static-site-comments/.
xupybd · 2019-01-31
Consider moving away from a CMS like Wordpress. It's great at what it does but I think you've out grown it. Static content generators might help here. They let you edit off line and compile to a static version of the web content you currently serve. I'd suggest looking at Hugo or one of the many specialised for blogging. https://opensource.com/article/18/3/start-blog-30-minutes-hugo You can then push the content to something Amazon's s3 and put cloudfront in front to speed things up. You'll have to then offload the comments to a service but that is relatively easy and cheap. A service like discus is only $9 a month. Moving to s3 you'll save that in hosting. (I run two sites like this and pay $0.07 on average per month). Not to mention those services are pretty good at filtering spam. There are some other options around too. https://darekkay.com/blog/static-site-comments/ Wordpress is nice but it will never out perform static content. EDIT: I just read this in discus "Free For small, personal, non-commercial sites who do not run any ads. This plan includes everything in Plus except Direct Email Support."
Tepix · 2025-02-24
If you want to use Matrix instead of Mastodon for your blog's comments, there's https://cactus.chat/ There's a rather long list of other solutions over at https://darekkay.com/blog/static-site-comments/ And there's https://github.com/carlitoplatanito/disgus for adding Nostr based comments to your static blog.
sphars · 2024-10-08
There's several solutions for comments, as documented here: https://darekkay.com/blog/static-site-comments/
jtvjan · 2024-05-03
Just gotta add a nice XSLT stylesheet to that feed.xml and people with only web browsers can also enjoy the blog. ex1: https://darekkay.com/atom.xml ex2: https://feeds.nos.nl/nosnieuwsalgemeen
Anthony-G · 2024-03-06
If you’re using uBlock Origin (and you should be), it’s easy to declutter web pages by removing unwanted elements from the DOM. I recently discovered that it can go even further in improving the user experience: it can also be used to modify most (if not all) styles on a web page. For a good description and example use case (a “dark mode” skin for Hacker News), see https://darekkay.com/blog/ublock-website-themes/
adregan · 2024-02-07
While it’s not necessarily simple to do so, having a raw unstyled xml feed is a choice not a requirement. You _can_ style rss feeds: https://darekkay.com/blog/rss-styling/
kixiQu · 2023-06-20
The BBC and other examples are present in the article under this heading: https://darekkay.com/blog/rss-styling/#examples
kreetx · 2020-09-29
Apparently, the author already pointed to this "issue" in another blog article: https://darekkay.com/blog/accessible-ui-frameworks/ I wonder if he does this to generate a bit of intrigue. :)
hv42 · 2020-02-28
The previous version was not really good on the accessibility side of things. See this article for example: https://darekkay.com/blog/accessible-ui-frameworks/ Maybe it has improved now?
ryannevius · 2017-12-23
Recently saw this one on HN as well: https://darekkay.com/dev/flexbox-cheatsheet.html

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close