New
The latest blog posts to take off on Hacker News. 4,614 posts.
What Happened to XPath?
After being revolutionary in 2007 to unleash CSS selectors that never existed, the specification got abandoned who knows why.
If Not SPAs, What?
Trends trends trends!
Humans Are Bad at URLs and Fonts Don’t Matter
Been a lot of "victim blaming" going on these last few days. The victim, through no fault of their own, has been the target of numerous angry tweets designed to ridicule their role in internet security and suggest they are incapable of performing their duty. Here's where it all
Twitter preconnects to the wrong domains
Twitter tried to reduce load times for external links, but made things slower instead. It mistakenly normalizes domains to a point where they’re no longer useful.
Unexpected, Useless, and Urgent, or What RSS Gets Right
Thinking about inbox management, RSS feeds, and email overload
Web Scraping with JavaScript
If you’ll try to google “web scraping tutorial” you’ll get a bunch of tech articles on the subject that tells you how to achieve the result using python. The…
Say goodbye to resource-caching across sites and domains
A look-back at caching strategies from the past; with recent changes in Chrome's and Safari's caching strategies, there is no caching benefit from using publicly available third-party libraries anymore.
Localisation is too hard for Gmail
/ləʊk(ə)lʌɪˈzeɪʃ(ə)n/ The ability to adjust a user-interface to the user's local language or dialect Because I live in the UK, I speak en_GB (English, Great Britain) rather than en_US (English, Simplified United States). Mostly, all dialects of English are mutually intelligible. Sure, the Brits love the letter U and…
Cloudflare Analytics review
Cloudflare Analytics is a brand new player on the privacy-first Google Analytics alternative market. Here’s my Cloudflare Analytics review.
Many of the root certificates on Windows are not needed
As of today, Windows trusts 322 root certificates issued by 122 different organizations from 47 countries. This number is quite high, and has been steadily growing over the last few years. And it turns out many of those certificates are not needed at all by the vast majority of Windows users, can be distrusted with no…
Discord Desktop App RCE
A few months ago, I discovered a remote code execution issue in the Discord desktop application and I reported it via their Bug Bounty Prog...
Chrome exempts Google sites from user site data settings
In Google Chrome's "Cookies and site data" settings, accessible via the Preferences menu item or directly with chrome://settings/cookies in the address bar, you can enable the setting "Clear cookies and site data when you quit Chrome". However, I've discovered that Chrome exempts Google's own sites, such as Search and…
What if we had Local-First Software?
The path to an offline SaaS model
Spotify, Ever the Fans of Openness
Link to: https://songshift.com/blog/spotify_transfers
Please stop using CDNs for external JavaScript libraries
I want to discuss a (minor) antipattern that I think is (slightly) harmful. Lots of websites use large Javascript libraries. They often include them by using a 3rd party Content Delivery Network like so: Copied HTML to 📋⧉ HTML<script src="https://cdn.example.com/js/library-v1.2.3.js"></script> There are, supposedly, a…
Full-Bleed Layout Using CSS Grid
Certain layouts are surprisingly dastardly. On the modern web, one of the most common layouts is also one of the trickiest. In this tutorial, I break down how to build the "full-bleed" layout using CSS Grid.
Benchmarking static website hosting providers
Static websites are still a hot topic. They are fast, and they're incredibly secure because there isn't a CMS to hack. Once you build a static website, however, the question becomes: Where do I host?In other words: what is the fastest static webs...
Open-source self-hosted comments systems for static websites
A side-by-side comparison of open-source, self-hosted commenting systems for static sites — so choosing one doesn’t mean opening every repository yourself. Stars, open issues and last-commit dates are refreshed daily. Missing a system, or a column you need? Leave a comment below or open an issue.
An Honest Review of Gatsby
I write about software, building companies, and whatever else I'm obsessed with.
MobX 6
Homepage of Michel Weststrate
The Failed Promise of Web Components
Web Components had so much potential to empower HTML to do more, and make web development more accessible to non-programmers and easier for programmers. Remember how exciting it was every time we got new shiny HTML elements that actually do stuff ? Remember how exciting it was to be able to do sliders, color pickers…
Mac-Assed Mac Apps
Link to: https://inessential.com/2020/03/19/proxyman
Rust 2021: GUI
This is a response to the Rust call for blogs 2021 and also a followup to last year’s entry. It will be entirely focused on GUI.
The SaaS website content you need to close sales
The SaaS website best practices you need to close more sales, based on online behavior of 1,000s of SaaS buyers.
In Defense of XML
When I started my career, XML was ubiquitous. The meta-information in a Java JAR file - the manifest - follows a proprietary format. But Java EE designers built it from the ground up on XML: meta-information of all artifacts is in XML format e.g. web.xml, ejb-jar.xml, application.xml, etc. Java EE is one example I…
Stupid solutions: Live server push without JS
So in my post Is this evil? I covered a way of tracking users with CSS. While thinking about those weird ways of using the web I also started thinking about pushing live data to clients without JS. Or at least maintaining a connection. So WebSockets requires JS. WebRTC requires JS. Even HLS (video streaming), which…
Towards Principled Reactive UI
Update 7 May 2022: A followup to this post containing significant conceptual advance is Xilem: an architecture for UI in Rust. I consider the Crochet experiment to be mostly negative, as there were a number of ergonomic and functional “paper cuts,” though several of the research goals were met, at least to some extent.
Firefox usage is down despite Mozilla's top exec pay going up
Mozilla is in an absolute state: high overheads, falling usage of Firefox, questionable sources of revenue and now making big cuts to engineering as their income falls.