October 16, 2021

The grid-auto-flow property controls how the CSS Grid auto-placement algorithm works. In this case, the dense packing algorithm tries to fills in holes earlier in the grid.

October 16, 2021

"Imagine if you could just send it the whole “page” worth of JSON. Make an endpoint for /page/a and render the whole JSON for /page/a there. Do this for every page. Don’t force your front-end developers to send a bunch of individual requests to render a complex page."

October 16, 2021

"Until we accept that most of the industry is poorly managed and try to figure out how to solve that problem, sites and web apps won’t get better, just shinier and with more bounce.

The biggest hindrance to the web’s progress isn’t non-expert developers, tooling, libraries, Single-Page-Apps, or Multi-Page-Apps. It’s bad management."

September 20, 2021

The core insight of Figma is that design is larger than just designers. Design is all of the conversations between designers and PMs about what to build. It is the mocks and prototypes and the feedback on them. It is the handoff of specs and assets to engineers and how easy it is for them to implement them.

September 10, 2021

I'm able to use my database with the same mental model as git. For each change to my database schema, I open a deploy request. Then, I can merge those changes back into my main database branch.

August 25, 2021

A side-effect when showing scrollbars on the web is that the layout of the content might change depending on the type of scrollbar. The scrollbar-gutter CSS property —which will soon ship with Chromium — aims to give us developers more control over that.

August 16, 2021

A curated list of awesome Node.js Security resources.

August 08, 2021

Ever Wonder How Merkle Trees Work?

May 22, 2021

Snowpack, Vite, and wmr have all been enabled by native JavaScript modules (...) they wait until the browser finds an import statement and makes an HTTP request for the module. Only after this request is made will the tool apply transforms to the requested module and any leaf nodes in the module’s import tree.

May 14, 2021

"...users are prone to get the settings wrong. If the settings are wrong, in the worst case it could mean that anyone can generate valid JWTs and impersonate anyone else. This is not a beginners-level problem either, last year Auth0 had a bug in one of their products that had this very problem"

March 23, 2021

"If you have to choose, you should prioritize users with no JavaScript over users with old JavaScript"

February 28, 2021

"You can determine your requirements based on data volume, QPS, and latency, but are these the real requirements? Can you find a way to eliminate this requirement without involving the database?"

February 02, 2021

Figma is just blowing up, and for good reason. It’s good software aligned with what digital designers need. It’s fast. It’s on the web, so you can’t lose stuff and don’t need to figure out a storage strategy.

January 19, 2021

While staying aligned with authority is a prerequisite to influencing executives, there are also some new communication skills for you to develop.

January 16, 2021

"I have switched teams more often than I have had to implement an AVL tree, and you can guess which one of those two was taught in school."

January 05, 2021

"I reported the problem to Telegram security, and they said it's not an issue. If you enable the feature of making yourself visible on the map, you're publishing your home address online."

November 28, 2020

Each of these tasks involves a pretty serious level of complexity, but by using Workers, we can abstract each of them into smaller pieces of functionality, and compose powerful, on-demand, and infinitely scalable webhooks directly on the serverless edge.

October 18, 2020

(...)some real-life horror stories that illustrate the potential problems of serverless in production — and how to avoid them.

September 29, 2020

We see Durable Objects as a low-level primitive for building distributed systems. Some applications can use objects directly to implement a coordination layer, or maybe even as their sole storage layer.

September 28, 2020

It’s cool to see the tech around our job evolve to the point that we can reach our arms around the whole thing (...) when web technology becomes simple enough that people can build things from start to finish all by themselves. That’s pretty cool.

September 11, 2020

20 minutes of your time to save 7 hours for the team. Your company will make that tradeoff every day. $40 of your expensive time for $420 of everybody else's time? Yes please.

September 05, 2020

The development cost of IE11 support is high. (...) but at a minimum, you should be employing the module/nomodule differential approach for serving legacy JavaScript. This ensures you don't penalize the ~98% of your users with modern browsers for the 1-2% of IE users.

August 23, 2020

Leading-trim is a suggested new CSS property that lets us remove the extra spacing in every font so that we can more predictably style text.

August 17, 2020

(...) this has long been the worry raised by such language-generating algorithms. Ever since OpenAI first announced GPT-2, people have speculated that it was vulnerable to abuse. In its own blog post, the lab focused on the AI tool’s potential to be weaponized as a mass producer of misinformation.

August 06, 2020

TypeScript is incredibly powerful, but is often difficult to read for beginners and carries the overhead of needing a compilation step before it can run in a browser (...) Fortunately the TypeScript team has enabled a way to type check vanilla JavaScript using JSDoc.

August 06, 2020

With content-visibility, it will style and layout all of the contents that are currently visible to the user (they are on-screen). However, when processing the story that is fully off-screen, the browser will skip the rendering work and only style and layout the element box itself.

August 02, 2020

(...) Xi wants to use artificial intelligence to build a digital system of social control, patrolled by precog algorithms that identify dissenters in real time.

August 01, 2020

(...) when Cloudflare receives the first packet during TLS negotiation, we hint the Workers runtime to eagerly load that hostname’s Worker. After the handshake is done, the Worker is warm and ready to receive requests. Since it only takes 5 milliseconds to load a Worker, and the average latency between a client and Cloudflare is more than that, the cold start is zero.

July 29, 2020

"Localisation and accessibility are both hard, super important and the right thing to do and get not enough respect in development. It is incredibly rewarding to do them right and see the uptake in happy user numbers."

July 29, 2020

Five-year-old systems-programming language Rust, created by Mozilla, has hit a more positive milestone, for the first time becoming the 20th most popular language in RedMonk's rankings. Rust joined Tiobe's top 20 this June and is currently in 18th spot.

July 29, 2020

"Quickest way to burn out? Being in a job you deeply care about but had no autonomy to bring about change."

July 28, 2020

"As developers, we are often one of the last lines of defense against potentially dangerous and unethical practices.

The more software continues to take over every aspect of our lives, the more important it will be for us to take a stand and ensure that our ethics are ever-present in our code."

July 27, 2020

"Seniority isn’t about being the best coder 👩‍💻

If you think you should be senior because you’re a technical beast, you’re missing the point. Seniority is about experience, impact, and efficiency. Seniors are usually technicially proficient, but soft skills play a huge role"

July 26, 2020

"...the learning curve for serverless architecture is less daunting than that for typical DevOps skills — many of the elements for DevOps aren’t necessary when you adopt serverless architecture."

July 26, 2020

The notion that to be good at git, you have to get familiar with the terminal no longer applies. This was partly a UX problem and is more or less solved now, with well thought out GUIs like GitKraken and Tower.

July 26, 2020

"This use of server-side rendering followed by hydration feels like progressive enhancement, because it separates out the delivery of markup and scripts. But it’s missing the mindset.

The HTML that you initially send down the wire needs to be functional (at least at a basic level) before the JavaScript arrives."

July 26, 2020

"The only place that I’ve really seen generative design thrive is on flight booking websites. But anyone that’s used Google Flights and thought that it’d make a good design interface is out of their fucking mind."