WebSockets: caution required
WebSockets seem to be gaining a resurgence, suddenly they are sexy again. I think this is the wrong message.
Topics /
The most popular blog posts about web & frontend on Hacker News. 4,614 posts.
WebSockets seem to be gaining a resurgence, suddenly they are sexy again. I think this is the wrong message.
So far I discovered 18 malicious extensions with 55 million users in total. Most popular ones are: Autoskip for Youtube, Crystal Ad block and Brisk VPN. They have been active for two years, undetected by Google.
Chrome gets faster as you use it. Chrome learns the topology of the web, browsing patterns, and critical resources on every page to optimize your browsing! A look under the hood of how it all comes together...
For as long as I’ve been writing shaders, there’s been one specific shader I’ve always tried to write…
There are countless articles why developers should not focus on Frameworks too much and instead learn to understand the underlying languages. But I think rarely we can find good reasons except that Frameworks come and go. To me, the main reason is different: You won’t be a master at frontend development if you don’t…
In a blog post last year, I took a look at lossy image formats and how they stack up. This time, I thought it might be interesting to do a comparison of lossless image formats.
A few interesting CSS findings from the threads app by Meta.
Comparing Electron and Tauri - With a real world app
When I read about No CAPTCHA for the first time I was really excited. Did we finally find a better solution? Hashcash? Or what? Finally it...
While teaching a web development class, I wanted to present some benchmarks that show the performance benefits of asm.js as well as WebAssembly. I was unfortunately not able to find a suitable reference. Therefore, I implemented a simplistic raytracer in JavaScript as well as in C++ with a similar code structure while…
So last week I was casually browsing through Facebook feed and looking at some random photo posted by a friend. So hovering over the pictur...
We launched the Datasette Cloud blog today. The Datasette Cloud site itself is a Django app - it uses Django and PostgreSQL to manage accounts, teams and soon billing and payments, then launches dedicated containers running Datasette for each customer.
Performance budgets are an essential but under-appreciated part of product success and team health. Most partners we work with are not aware of the real-world operating environment and make inappropriate technology choices as a result. We set a time budget of less than 5 seconds first-load Time-to-Interactive and less…
Users that are prone to seizures or motion sickness may need to disable animation or motion. Add an option for users to disable this. This…
Almost five years ago to today, I made a simple proposal to the world: Port MAME/MESS to Javascript. That happened. I mean, it cost a dozen people hundreds of hours of their lives…. and there…
Tim Berners-Lee rightfully deserves all the credit for his early work around URI, HTTP and HTML. His efforts ultimately led to the official HTTP 1.0 ( RFC 1945 ) specification in 1996, the HTTP 1.1 proposal (RFC 2068) in 1997 and consequently the official HTTP 1.1 spec ( RFC 2616 ) in 1999. The web as we know it…
A few months ago, British Airways' customers had their credit card details stolen. How was this possible? The best guess goes something like this: BA had 3rd party JS on its payment page <script src="https://example.com/whatever.js"></script> The 3rd party's site was hacked, and the JS was changed. BA's customers ran…
Imagine you are in an interview and you get asked "can you implement bubble sort"...and you answer...
Jeff Atwood wrote up a post today on the merits of writing a technical book in this day-and-age and specifically called out my past post on programming book profits and my work-in-progress Secrets of the JavaScript Ninja .
I’m just a student in a field unrelated to computer science , but I’ve been coding for years as a hobby. So, when I saw the current state of infinite scroll , I thought perhaps I could do something to improve it. I’d like to share what I came up with.
I've just finished the final rewrite of my website. I'm not lying: this is the last time I'm ever going to do it. This website has gone through countless rewrites – from WordPress to Jekyll to multiple static site generators of my own – but this is the final one. I know so, because I've found the ultimate method for…