Live data from Hacker News

Microfeatures I love in blogs and personal websites

danilafe.com

421–430 of 444 posts

Re: Microfeatures I love in blogs and personal websites

#421
post #270

One micro feature I implement on my blog that I would like to see everywhere: a single-page index of all the posts, like at https://blog.zorinaq.com Don't paginate this. I want to see at a glance the titles of all the posts the author wrote. I want to be able to ctrl-f to search these titles. Heck, even if you had 100k titles they could still easily be shown on one page, as it would compress to 1 or 2MB transmitted o…

FWIW, I love the 'EOF' footer on that page. It's a very clear indicator _for me_. (not sure about non-tech peeps though)

Thanks :)

Re: Microfeatures I love in blogs and personal websites

#422

Earlier quoted context omitted.

Obvious solution is obvious: restore the fucking scrollbar. I suspect a strong driver of scrollbar deprecation is the overwhelming dominance of small-screen touch-based mobile devices. An active scrollbar, that is, one which not only shows page scroll depth, but controls it via touch, is one more UI element to generate annoying behaviours given the already perilous state of touch-based UIs. (The inability to correctl…

I personally like disappearing (or shrinking) scrollbars, given they appear when I scroll with a wheel, or approach towards them. It allows me to understand where I am, allows me to grab and scroll quickly when I approach them, and they allow me to see more content. Yes, I use a big screen, but borderless and clean windows allows me to fit more content into the screen and is less distracting in general.

Respectfully disagree. I absolutely hate disappearing scrollbars.

Re: Microfeatures I love in blogs and personal websites

#423
I hate it when an animated header scrolls as I'm scrolling the page.

Not sure how to describe it but when I scroll down, the header disappears. But if I scroll back up even a tiny bit, the header comes down back into view.

It's annoying to me because I'm usually reading near the top of the page, and the appearing header is both distracting and often obscures what I'm trying to read.

Re: Microfeatures I love in blogs and personal websites

#424

Earlier quoted context omitted.

I personally like disappearing (or shrinking) scrollbars, given they appear when I scroll with a wheel, or approach towards them. It allows me to understand where I am, allows me to grab and scroll quickly when I approach them, and they allow me to see more content. Yes, I use a big screen, but borderless and clean windows allows me to fit more content into the screen and is less distracting in general.

Respectfully disagree. I absolutely hate disappearing scrollbars.

I respect your view. This why we (should) have options. For example, Safari doesn't auto-show scrollbars like Firefox does, and it hinders its usability a lot, if you ask me.

Re: Microfeatures I love in blogs and personal websites

#425
post #403

Earlier quoted context omitted.

Well I didn't expect you to actually read this haha. I hope I didn't cause any offence, I just struggle to keep your wide character roster in my head with all their specialised roles. The only reason I mentioned you specifically was because I was familiar with you as an example and the source mentioned you, I'm sure others do this to an even larger extent

Yeah, I try to compensate for this with a few rules that I undoubtedly fuck up: * Each character has very visually distinct designs (ideally each is as distinct as I can reasonably make them, to the point where I have different artists do each one) * The names have meaning (Aoi means blue, Aoi's hair is blue) * Each character has an archetype that corresponds to a facet of how I understand technology, and their inter…

I was going to suggest having hover text for the characters that just summarises what you already have in the separate bios page, but I've just remembered that doesn't work on mobile haha. Adding faint text might help, though you have to keep accessibility contrast guidelines in mind :P Ultimately, this is just my viewpoint, and your website, so you should do what you feel is best haha

Re: Microfeatures I love in blogs and personal websites

#426
post #218

someone’s site (I forget whose) has a built in inflation adjuster so that they write dollars(x, year) and get a future-proof value. Very cute!

Brilliant! I have something like that, but for showing the amounts in different currencies.

https://nicolasbouliane.com/blog/currency-tooltips

Re: Microfeatures I love in blogs and personal websites

#427

Nice list! I like many of these "microfeatures" too. Some I have on my site ( https://evalapply.org ), some I don't because I don't want to require Javascript for blog functionality. I think I have a few others not in that list. This is my set of "microfeatures", which are all available in the post I linked below [1]. - All posts must have title, summary, dates (published, updated), one tag at least, and hot link to…

What I notice reading some of features is that Markdown is insufficient for that. For example Markdown dosen't support captions or side notes. AsciiDoc would be a much better fit for such cases.

Re: Microfeatures I love in blogs and personal websites

#428
post #417

Earlier quoted context omitted.

I don't think any of the numbers you quote are really that meaningful. Like you are quoting IDs - what is the cost of an ID ? If all the IDs were stripped, would that even make a measurable difference? Really now. Similarly for those other numbers about selectors or classes. How much of a performance burden are those, really? Not the numbers punched out by some cargo cult calculator tool - what is the actual impact?…

The site design and content are great; the execution, not so much. I only investigated because someone in the thread mentioned they had a bad experience on a smartphone; now I know why. Each font is another HTTPS request to the server; doesn't matter if they're subsetted or not. However, the combination of all the JavaScript and the multiple CSS files creates a total blocking time [1] of 5266 ms according to WebPageT…

> The site design and content are great; the execution, not so much.

As I mentioned, I think it would be helpful to link an example (even just one) of a website you think is executed correctly and does similar things but much better.

> the multiple CSS files creates a total blocking time [1] of 5266 ms according to WebPageTest...The page is blocked from rendering for over 5 seconds due to all of the crap he's downloading and the way he's doing it.

I don't think that is what total blocking time means... You can see that just loading the page, or looking at the Pagespeed strips. To quote your own reference: "The Total Blocking Time (TBT) metric measures the total amount of time after First Contentful Paint (FCP) where the main thread was blocked for long enough to prevent input responsiveness." It is not blocked 'from rendering for over 5 seconds'. I would agree that not rendering for 5 seconds would be a bad thing. But it is not what that number means, because it is defined as after first rendering, and about something else entirely (user input).

> He has dozens and dozens of media queries; how about let's not download the crap I don't need on mobile? If I'm on smartphone, I don't want the drop caps and the other flourishes that only make sense on desktop/laptop sized displays.

Uh, no? There are reasons that user-agent sniffing is highly deprecated. Because if you snoop the user-agent (I'm not sure how else you propose that that crap not be downloaded), that is crack and aids, and extremely bad and fragile: even if you somehow mapped all user-agents to date to their full sets of undocumented unstandardized media-query equivalents, it will break with the next user-agent or browser decision to spoof user-agents for privacy etc and stop exactly this sort of snooping... It also means that you've broken responsiveness: if the user resizes the page, now everything breaks because they don't have the newly-matching media-queries.

This also underrates the difficulty of getting mobile/smartphone right. We have had problem after problem with iPads and iPhones, and that's with using media-queries which are supposedly supported & standardized; some sort of server snooping would be even worse. (Leaving aside the issue that it would be hard to implement this to begin with on a static website.)

> Ironically, after all that, he didn't pick a font that supported true small caps; he's using synthetic small caps, which don't look as good. There are plenty of high-quality free fonts with true small caps. It doesn't make sense.

Huh? We do use a high-quality free font with true smallcaps, Source Serif Pro and Sans. That in fact was a major reason we picked the Source family: because Frank did true smallcaps for it.

I am also not sure we actually need the new variable fonts for Sans, since we don't use much Sans.

> Like the fake small caps, the typography doesn't look great on a smaller, high resolution screen.

How so? I'm wondering if you broke the site with a plugin or something, if you think we are using 'fake smallcaps' and that it looks bad on high resolution screens...

> The experience isn't good on mobile; it's not cool to have those previews keep popping up that I didn't ask for

Obviously, I very strongly disagree that the previews are useless for reading my site, and I'm puzzled by the idea that there are people who are tapping away at links on smartphones and want them to open up the full link when smartphones barely even support tabbed browsing, but are frustrated by seeing excerpts or summaries instead and getting access to cleaned compressed archived snapshots etc.

However, for those who dislike them, they can be disabled by a single tap of the only icon attached to a preview (besides the 'X' to close it), the struck-eye icon, which is widely understood to indicate hiding/disabling things.

> and that icon bar is inappropriate for small screens.

I'm not sure what you mean by 'icon bar'. If you mean the theme toggle in the right-hand corner, which provides controls like 'disable previews', then it is not inappropriate; we started with a smaller toggle bar, but I and other users found that anything smaller is hard to interact with because the tap targets are too small.

> Among other things, it's so specific, making it very fragile; it also explains why his CSS is so bloated because there are hundreds of lines just like this.

Sometimes you need to be specific. You don't establish that that CSS is unnecessary to achieve the goal. (This is where a comparable site would be especially helpful in critique.)

> As you can see from the Lighthouse report, he doesn't bother to minify his CSS or JavaScript.

Whatever Pagespeed or Lighthouse might say, we haven't found minification to be a big benefit when we turn it on. And we have found it to make debugging harder and also sometimes break the site. (Cloudflare choked on, IIRC, inlined SVG at one point, completely breaking the site. That was fun to figure out.)

Re: Microfeatures I love in blogs and personal websites

#429
post #216

Earlier quoted context omitted.

I hadn't heard of patio11's points against it. So I looked it up. https://training.kalzumeus.com/newsletters/archive/content-m... Is this the man responsible for the popularity of dateless blogs? (I tried to check the date on the post but... alas! ;) Just kidding, we still have the Internet Archive (for now) so I am able to get the same information ("2014") in a much less convenient way... (I suppose my willingness t…

A commanding percentage of all citations of me on e.g. Twitter will apologize to the user's own audience for the age of the piece, in a way which is obviously suboptimal. For examples, see this thread: https://x.com/patio11/status/1234141833661440001

I have updated my opinion accordingly: I agree that in the case of actually timeless content, hiding the date benefits both the reader (who would otherwise discount the information) and the author (whose work would otherwise be perceived as less valuable than it actually is).

It doesn't matter if Marcus Aurelius wrote his Mediations in the 160s or 170s (or the 1700s for that matter) as they truly are timeless!

However, I've run into articles that were very much not timeless, e.g. technical tutorials which were hopelessly out of date, with no indication that this was the case (since they hid the date). In such cases, hiding the date benefits neither reader nor author.

Presumably you did not mean that date-hiding should be implemented universally. I'm just sharing those experiences, which led me to associate missing dates in articles with confusion and frustration -- since those are the only ones that elicited a strong response: when I needed it, and when it wasn't there! The cases when the date didn't matter, but was there, left no lasting impression.

Re: Microfeatures I love in blogs and personal websites

#430
post #428

Earlier quoted context omitted.

The site design and content are great; the execution, not so much. I only investigated because someone in the thread mentioned they had a bad experience on a smartphone; now I know why. Each font is another HTTPS request to the server; doesn't matter if they're subsetted or not. However, the combination of all the JavaScript and the multiple CSS files creates a total blocking time [1] of 5266 ms according to WebPageT…

> The site design and content are great; the execution, not so much. As I mentioned, I think it would be helpful to link an example (even just one) of a website you think is executed correctly and does similar things but much better. > the multiple CSS files creates a total blocking time [1] of 5266 ms according to WebPageTest...The page is blocked from rendering for over 5 seconds due to all of the crap he's downloa…

> Uh, no? There are reasons that user-agent sniffing is highly deprecated.

I never mentioned user-agent sniffing nor would I ever recommend this outdated technique.

Using media queries for responsive design became a thing in 2010 with Ethan Marcotte's seminal article "Responsive Web Design" [1].

In the intervening 14 years, we have much better ways of adapting to different screen sizes. In fact, using CSS Grid for layout as it was intended results in responsive layouts without media queries and breakpoints.

Watch Jen Simmons' videos on intrinsic design [2] for the full run-down.

[1]: https://alistapart.com/article/responsive-web-design/

[2]: https://www.youtube.com/playlist?list=PLbSquHt1VCf34IngL-rsj...

Post reply on HN