Why you should not be displaying relative dates.
Every time I see a web app display a date as "30 minutes ago" I cringe a little. This was cute 10 years ago when rapid publishing on the web was new, but there are a number of problems with this.
Topics /
The most popular blog posts about web & frontend on Hacker News. 4,614 posts.
Every time I see a web app display a date as "30 minutes ago" I cringe a little. This was cute 10 years ago when rapid publishing on the web was new, but there are a number of problems with this.
Drilling beneath the hype to expose the truth
Creating a full-fledged API requires resources, both time and money. You need to think about the model, the design, the REST principles, etc., without writing a single line of code. Most of the time, you don’t know whether it’s worth it: you’d like to offer a Minimum Viable Product and iterate from there. I want to…
Download Free PNGs & Free PNG images to use for your creative needs. ✓ Millions of high quality free png images ✓ Transparent pngs ✓ New Free PNGs added everyday.
TL;DR: Mastodon’s Sidekiq deferred execution jobs are the limiting factor for scaling federated traffic in a single-server or small cluster deployment. Sidekiq performance scales poorly under a single process model, and can be limited by database performance in a deployment of the default Dockerized configuration.
Start your indie sotware journey by creating the simplest app you can monetize
React provides a better abstraction over the DOM than MVC frameworks ever can. React is the last piece of the puzzle for ClojureScript web frontend development.
tl;dr — Abusing the Chromium Devtools Scope Pane to track debugging of specific javascript functions
Using data- attributes for indexation, and a dynamic stylesheet with a CSS3 selector for search, the implementation of a client-side full-text search is possible (and straightfoward) in CSS rather ...
For many using Unix-derived systems today, we take for granted that /some/path and /some/path/ are the same. Most shells will even add a trailing slash for you when you press the Tab key after the name of a directory or a symbolic link to one.
In this tutorial, we are going to learn how to draw charts with Chart.js and how to customize them to suit our needs.
We all know that to create an interactive front end for your website you need JavaScript. Not just vanilla JS, mind: we're in 2022, and to create an…
See Unreal Tournament (1999) run in a web browser!
For my recent One Day Build: Expense Tracking project I wanted to enable notifications in a progressive web app. ChatGPT struggled to generate any good code for me, and I also struggled to find any minimal clear explanations online.
Why it makes sense to model APIs as graphs, and what GraphQL can do for us to help with discovery, batch operations, and gradual enhancement.
When we think “a fast AOT WebAssembly compiler and runtime”, we typically think about V8, Wasmer, WasmEdge or Wasmtime.
My latest site redesign and why I left out Sass and media queries in favour of native CSS grid, calc, viewport units and custom properties.}
Feross Aboukhadijeh is a computer security researcher, teacher, web developer, designer, long distance runner, gamer, music lover, and builder of websites that (sometimes) go viral.
setTimeout breaks after 25 days. setBigTimeout doesn't.
I've been working on implementing SPDY as an experiment in Firefox lately. We'll have to see how it plays out, but so far I really like it. ...
In addition to unforgettable life experiences and personal growth, one thing I got out of DEF CON 23 was a copy of POC||GTFO 0x08 from Travis Goodspeed. The coolest article I’ve read so far in it is “Deniable Backdoors Using Compiler Bugs,” in which the authors abused a pre-existing bug in CLANG to create a backdoored…
DOS on DOPE is the modern MVC framework built on the awesome power of Batch scripts .
Google is watching you...