Search
DeFi detective alleges this ‘suspicious’ smart contract code may put dozens of projects at risk
8.3.2022
“TLDR: they can pull $$ even if the owner is the null address,” writes Zachxbt
Say Hello to selectmenu, a Fully Style-able select Element
3.3.2022
I want to introduce you to a new, experimental form control called <selectmenu>. We’ll get deep into it, including how much easier it is to style than a traditional <select> element. But first, let’s fill in some context …
Say Hello to selectmenu, a Fully Style-able select...
Ahmad Shadeed: Use Cases For CSS fit-content
1.3.2022
Ahmad Shadeed covers the CSS fit-content sizing keyword. It’s useful! It just doesn’t come up super often. I find myself using min-content a lot more, like when setting up the height of a grid-template-row.
The fit-content keyword is actually …
Ahmad Shadeed: Use Cases For...
Trailing Slashes on URLs: Contentious or Settled?
25.2.2022
A fun deep dive from Zach. Do you have an opinion on which you should use?
1) https://website.com/foo/
2) https://websites.com/foo
The first option has a “trailing slash.” The second does not.
I’ve always preferred this thinking: you use a trailing …
Trailing Slashes...
When to Avoid the text-decoration Shorthand Property
25.2.2022
In my recent article about CSS underline bugs in Chrome, I discussed text-decoration-thickness and text-underline-offset, two relatively new and widely-supported CSS properties that give us more control over the styling of underlines.
Let me demonstrate the usefulness of …
When to Avoid...
My white whale: A use case for will-change
24.2.2022
 Nic Chan:
[…] the will-change property landed in major browsers in August 2015, and I’ve been on the lookout for when to use it ever since. It might seem self-evident to apply it to commonly animated properties such
…
My white whale: A use case for will-change...
Explain the First 10 Lines of Twitter’s Source Code to Me
24.2.2022
For the past few weeks, I’ve been hiring for a senior full-stack JavaScript engineer at my rental furniture company, Pabio. Since we’re a remote team, we conduct our interviews on Zoom, and I’ve observed that some developers are not …
Explain the First 10 Lines of Twitter’s Source Code...
So What If Part of Bitcoin's Code Was State-Funded?
22.2.2022
Adam Tooze asked if bitcoin politics is self-deluded. Cypherpunks are just resourceful
Reliably Send an HTTP Request as a User Leaves a Page
22.2.2022
On several occasions, I’ve needed to send off an HTTP request with some data to log when a user does something like navigate to a different page or submit a form. Consider this contrived example of sending some information to …
Reliably Send an HTTP Request as a User Leaves a Page originally...
Ukrainian Parliament Adopts Amended Virtual Assets Law
18.2.2022
Ukrainian lawmakers have approved an updated version of legislation tailored to regulate the country’s crypto economy. The bill, which was first passed last year, was later returned to the legislature by President Volodymyr Zelensky who requested some changes. Majority of Ukrainian Deputies...
Top Things You Didn’t Know You Could Do With Netlify CLI
17.2.2022
(This is a sponsored post.)
First things first, if you didn’t know Netlify had a CLI, they do.  One of my favorite things about it running the command netlify dev on nearly any static-site generator project is seeing it …
Top Things You Didn’t Know You Could Do With Netlify...
Crypto Stories: Gavin Wood discusses why he decided to code Ethereum
11.2.2022
The latest episode of Cointelegraph's YouTube series tells the story of Gavin Wood, co-founder of Ethereum and founder of Polkadot and Kusama networks
Multi-Value CSS Properties With Optional Custom Property Values
11.2.2022
Imagine you have an element with a multi-value CSS property, such as transform: optional custom property values:
.el {
transform: translate(100px) scale(1.5) skew(5deg);
}
Now imagine you don’t always want all the transform values to be applied, so some …
Multi-Value CSS Properties With...
How to Make CSS Slanted Containers
9.2.2022
I was updating my portfolio and wanted to use the forward slash (/) as a visual element for the site’s main layout. I hadn’t attempted to create a slanted container in CSS before, but it seemed like it …
How to Make CSS Slanted Containers originally published on CSS-Tricks. You should...
No Motion Isn’t Always prefers-reduced-motion
8.2.2022
There is a code snippet that I see all the time when the media query prefers-reduced-motion is talked about. Here it is:
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms...
Netlify Has Scheduled Functions
8.2.2022
(This is a sponsored post.)
Hey! Scheduled Functions are cool! Think of them like a CRON job. I want this code to run every Monday at 2pm. I want this code run every hour on the hour. That kind …
Netlify Has Scheduled Functions originally published on CSS-Tricks. You should get...
Gundam Anime Studio Is Changing Its Official Name
8.2.2022
Founded in 1972, Sunrise Inc. is one of Japan’s most famous anime studios. The studio’s corporate name will be no more starting this spring.IT Media reports that Sunrise will become Bandai Namco Filmworks as of April 1st 2022. Bandai Namco Arts and Bandai Namco Marketing will merge with Sunrise...
Federal Reserve Bank of Boston and MIT Release Central Bank Digital Currency Research and Open-Source Code
5.2.2022
The Federal Reserve Bank of Boston and the Massachusetts Institute of Technology (MIT) have jointly published the initial findings of their central bank digital currency (CBDC) research. They also published the open-source code for the CBDC project. Boston Fed and MIT Publish Initial Findings...
User Registration and Auth Using Firebase and React
2.2.2022
The ability to identify users is vital for maintaining the security of any applications. Equally important is the code that’s written to manage user identities, particularly when it comes to avoiding loopholes for unauthorized access to data held by an …
User Registration and Auth Using...
JavaScript Class Privates
1.2.2022
One of my aspects of JavaScript that drew me to it as a young developers was that its syntax was loose and I could code quickly. As you gain experience as an engineer, you start to realize that some traditional coding structure is a good thing, even if it slows you down. Using Jest or […]
The...