Topics /
Web & Frontend
The most popular blog posts about web & frontend on Hacker News. 4,615 posts.
Making SetInterval Declarative with React Hooks
How I learned to stop worrying and love refs.
Writing HTML by hand
Behind the scenes - how I'm making redblobgames.com - interactive explanations of game development algorithms and math
WhatsApp Security Vulnerability
Back in March, Rolf Weber wrote about a potential vulnerability in the WhatsApp protocol that would allow Facebook to defeat perfect forward secrecy by forcibly change users’ keys, allowing it—or more likely, the government—to eavesdrop on encrypted messages. It seems that this vulnerability is real: WhatsApp has the…
Tables vs CSS: CSS Trolls begone
First mistake, drinking the CSS Kool-Aid Several weeks ago, I started designing the layout for my threaded comments on a social news site that I'm building. I had created a down and dirty layout using nested tables. It was ugly, and used nested tables but it worked. I was then paralized by guilt. I couldn't let the…
Why to use Twitter, Facebook and Google Plus share links and not buttons
Use share buttons for Facebook, Twitter and Google Plus in your blog, that does not expose your users to tracking, or violate their privacy. Use share links to do this
Introduction to WebAssembly Components
WebAssembly and WASI show great promise for the future of computing outside the browser, and the WebAssembly component model aims to improve the portability, cross-language, and composition story for Wasm. This article explains the goals of the component model, and showcases how to use tooling from the Bytecode…
Why PHP won
When I first learned to program on the web, Perl + CGI was the dominant platform. But by the time I was building my first websites for com...
Lessons on Writing JavaScript and React from ClojureScript
Technical blog of Ryan Jerue
Getting started with NodeGUI, a Qt-based library for desktop applications
A beginner’s guide to NodeGUI, an open-source library for building native desktop applications with JavaScript and CSS-like styling.
What's good about offset pagination; designing parallel cursor-based web APIs
Offset pagination gets a bad rap because it’s backend inefficient, but it’s actually a nice feature from a consumer’s perspective. How to bring those advantages to cursor-based APIs.
Uniformity vs. Individuality in Mac UI Design
The conservatives see non-standard custom UI elements as wrong. Liberals see an app built using nothing other than standard system UI elements as boring, old-fashioned, stodgy.
Get Started with Rust, WebAssembly, and Webpack
This guide will walk you through setting up Rust, WebAssembly, and Webpack to easily interoperate between low-level Rust code and…
Hugo and IPFS: how this blog works (and scales to serve 5k% spikes instantly)
Learnings from real-world experience with IPFS, and the curious stack that powers this website
Live2D Is a Security Trainwreck
derailed by dangling pointers
Dublin Core, what is it good for?
There are several popular meta schemas out there. Open Graph may be the best supported, but if you want your meta data to be picked up by a particular service you might need to do a bit of research. Or support them all.
Designing Good Interfaces
Technician: Welcome to Custom Lube, how can I help you? Me: I need an oil change. Technician: OK, you can hop on out. Where is the oil you want to use? Me: I didn’t bring any oil. I expected you would supply that. Technician: That’s a common misunderstanding. At Custom Lube, we don’t supply oil or anything else. We…
Enumerating and analyzing 40 non-V8 JavaScript implementations
Enumerating and analyzing 40+ non-V8 JavaScript implementations
Introducing OpenType Variable Fonts
“” is published by John Hudson in VariableFonts.io.
Understanding Concurrency, Parallelism and JavaScript
Up until now, I was not aware that concurrency and parallelism were actually different things since they are often used interchangeably by some. I just learned that this is not the case while reading Chapter 9 of the book “Clojure for the Brave and True.” This made me want to learn more about concepts related to…
WebAssembly: TinyGo vs. Rust vs. AssemblyScript
A browser sorting benchmark comparing JavaScript, Go, TinyGo, Rust, and AssemblyScript, with source code and test conditions.
HTML-only conditional lazy loading (via preload and media)
The accepted practice is to not add lazy-loading to images above the fold, especially the LCP image, since doing so can delay their loading until the browser has determined they are definitely in the viewport. One problem though is that "above the fold" depends on screen size: an image can be above the fold on desktop…
Vulnerability in Hangouts Chat: how Electron makes open redirect great again
A few mongth ago, Google released a new product - Hangouts Chat application, which is surely an answer to Slack . Hangouts Chat might be us...
Haskell WebAssembly in the Browser
As far as I know this is the first Haskell program compiled to Webassembly (WASM) with mainline ghc and using the browser DOM.
Understanding JavaScript function invocation and "this"
Over the years, I've seen a lot of confusion about JavaScript function invocation. In particular, a lot of people have complained that the semantics of this in function invocations is confusing. In my opinion, a lot of this confusion is cleared up by understanding the core function invocation primitive,
Gevent For the Working Python Developer
The structure of this tutorial assumes an intermediate level knowledge of Python but not much else. No knowledge of concurrency is expected. The goal is to give you the tools you need to get going with gevent, help you tame your existing concurrency problems and start writing asynchronous applications today.