Use console.log() like a pro (2020)
What console.log() does, where to find console logs in the browser and Node.js, with examples, plus console methods like table(), group() and time().
Topics /
The most popular blog posts about web & frontend on Hacker News. 4,614 posts.
What console.log() does, where to find console logs in the browser and Node.js, with examples, plus console methods like table(), group() and time().
A quick explanation on how the Firefox-only map is built using the `element()` CSS function.
Exploring how React's dominance by default stifles frontend innovation, and why deliberate framework choices lead to better tools for performance, developer experience, and ecosystem diversity.
Robert O'Callahan. Christian. Kiwi. Software guy. All content human-authored unless otherwise noted.
Apple will delete your data if you don’t use an app for seven days. This effectively kills offline web apps.
When logged into a web application, the session does not remain valid forever. Typically, the session expires after a fixed time after login, or after the user has been idle for some time. How long should these times be?
Issues with Kagi's AI focus, finances and leadership
Bug Bounty Hunter & Researcher
I’m part of the desktop software generation. From Windows 95 to Windows 7, I grew using mostly-offline software on computers operated via mouse and keyboard, well before tablets and smartphones. Recently, I’ve been missing one particular part of that era: its consistency in design. I want to tell you about
Monica Dinculescu's blog
For years, a trend in our industry has been to build single-page apps, or SPAs. With an SPA, the entire site or app lives in a single HTML file. After the initial load, everything about the app is handled with JavaScript. This is, in theory, supposed to result in web apps that feel as fast and snappy as native apps…
Oh, you use Firefox? Name every extension.
Monica Dinculescu's blog
You surely know this: You're looking at some website with some useful shell commands. However, those commands are long as hell and you know you're probably not gonna need them for a few years or so (so there's no need to memorize them). So, what do you do? You copy-paste them. Here's an example:
We explore how to build local-first sync on top of simple file storage
20 HTML tips with examples: mailto and tel links, opening links in a new tab, lazy loading, a native accordion, range sliders, download links and more.
YouTube is probably one of the parts of the internet I consume the most, so I was more than a little sad when YouTube announced that they don’t have plans to build a visionOS app, and disabled the option to load the iPad app. This leaves you with Safari, and the website is okay, but definitely doesn’t feel like a…
TikTok has a reputation for its aggressive data collection. The platform has implemented various methods to make it difficult for reverse-engineers to understand exactly what data is being collected and how it is being used.
It is surprisingly difficult to find realistic, interesting and creative privacy case studies. It is perhaps even more difficult in the case of major software. There are no proper motivations for making this kind of work public (employees often paid to do some kind of work in-house; their compensation
Okay, campers, rise and shine...
We have completely reviewed the Nintendo switch for those who are considering to buy it. Learn all about the Nintendo gaming console and if it is for you.
This story starts with a little tragedy. See, I’ve got these old webpages I love to go back and look on every now and then. There’s websites that h...
Developing Opinions - A blog by Jimmy Breck-McKye
Here in Austria, you need to be either vaccinated against, tested negative for, or have recovered from COVID-19 to go to the pub (or pretty much everywhere) right now. If you don't want to carry around your paperwork proving one of those, you can alternatively show your Green Pass QR code to be let in.
Generating gooey metaballs as a single SVG path — locating the tangent points between two circles, spreading and curving the connector with polar coordinates, and handling overlap, after Hiroyuki Sato's Illustrator script.
After 20 years, PNG is back with renewed vigor! A new PNG spec was just released.
If you’re still using IP geolocation to decide what language to show, stop screwing around. It’s a broken assumption dressed up as a feature.
Instead of redirecting API calls from HTTP to HTTPS, make the failure visible. Unfortunately, many well-known API providers don't currently do so.