Search
Smaller HTML Payloads with Service Workers
31.1.2020
Short story: Philip Walton has a clever idea for using service workers to cache the top and bottom of HTML files, reducing a lot of network weight.
Longer thoughts: When you're building a really simple website, you can get away with literally writing raw HTML. It doesn't take long to need a...
How Do You Do max-font-size in CSS?
30.1.2020
CSS doesn't have max-font-size, so if we need something that does something along those lines, we have to get tricky.
Why would you need it at all? Well, font-size itself can be set in dynamic ways. For example, font-size: 10vw;. That's using "viewport units" to size the type, which will...
Resizing Values in Steps in CSS
30.1.2020
There actually is a steps() function in CSS, but it's only used for animation. You can't, for example, tell an element it's allowed to grow in height but only in steps of 10px. Maybe someday? I dunno. There would have to be some pretty clear use cases that something like background-repeat: space...
The Darknet Still Loves Bitcoin – and Doesn’t Care About Prices
29.1.2020
Bitcoin (BTC) usage is rising on darknet markets, where it is often used to buy narcotics and finance other illegal activities – although the darknet still accounts for less than 1% of all BTC transactions.
Per data from blockchain analytics provider Chainalysis, over USD 600 million worth...
What’s the Difference Between Width/Height in CSS and Width/Height HTML attributes?
24.1.2020
Some HTML elements accept width and height as attributes. Some do not. For example:
<!-- valid, works, is a good idea --<img width="500" height="400" src="..." alt="..."<iframe width="600" height="400" src="..."</iframe<svg width="20" height="20"</svg<!-- not valid...
Searching the Jamstack
22.1.2020
Here's Raymon Camden on adding site search functionality to a site that is statically hosted. A classic trick! Just shoot 'em to Google and scope the results to your site:
<form action="https://www.google.com/search" method="get"<input type="search" name="q"...
Exchange Tokens 'May Decline' if Bitcoin Doesn’t Start a Bull Run
14.1.2020
If the major digital assets, bitcoin (BTC) included, can’t prompt another bull market in 2020, exchange-based tokens may decline due to the possible trading volume shrinkage, says TokenInsight, a token data and rating agency.
Their latest annual report on the cryptocurrency spot exchange industry...
Things you can do with a browser in 2020
10.1.2020
I edit a good amount of technical articles about the web, and there is a tendency for authors to be super broad in their opening sentence, like "What we're able to do on the web has expanded greatly over the years."
I tend to remove stuff like that because it usually doesn't serve the article well...
“All these things are quite easy to do, they just need somebody to sit down and just go through the website”
8.1.2020
I saw a video posted on Twitter from Channel 5 News in the UK (I have no idea what the credibility of them is, it's an ocean away from me) with anchor Claudia Liza asking Glen Turner and Kristina Barrick questions about website accessibility.
Apparently, they often post videos with captions,...
How to Sell Anything for Bitcoin on Your Website
7.1.2020
Selling things for bitcoin online doesn’t have to be hard. In fact, it shouldn’t be, given the decentralized nature and low fees of peer-to-peer electronic cash. For beginners and DIYers new to the world of creating an online bitcoin or crypto marketplace, this article seeks to provide...
Systems, Mistakes, and the Sea
6.1.2020
Our own Robin Rendle:
[...] folks can’t talk about real design systems problems because it will show their company as being dysfunctional and broken in some way. This looks bad for their company and hence looks bad for them. But hiding those mistakes and shortcomings by glossing over everything...
TD Ameritrade Doesn’t Deny Potential Inclusion of XRP Into Service
30.12.2019
Early adopter of the first-ever Bitcoin futures, TD Ameritrade again hinted that it still considers adding more crypto services based on client feedback
Making Room for Variation
30.12.2019
Say you have a design system and you're having a moment where it doesn't have what you need. You need to diverge and create something new. Yesenia Perez-Cruz categorizes these moments from essentially ooops to niiice:
There are three kinds of deviations that come up in...
GoGetSSL
26.12.2019
GoGetSSL is a company that sells SSL certificates. You know, those things that are required to make your site use https://, not http:// which doesn't feel like an optional choice these days with browsers making sites looks scarily insecure without it and search engines telling us is a ranking...
Only 375 Days Left for McAfee’s $1M Bitcoin Price Wager
23.12.2019
As the end of 2019 approaches, it means there will be one year left for John McAfee’s infamous wager that said the price per bitcoin would “reach $1,000,000 before the end of 2020.” If the forecast doesn’t come to fruition, he said that he would eat his family jewels...
Average Bitcoin Spender Doesn't Need 6 Confirmations - Mathematicians
20.12.2019
Double-spending an average Bitcoin (BTC) transaction is not profitable and, though exchanges and merchants often require it, sending some sats may not in fact need six confirmations – according to calculations by two mathematicians.
For an average transaction, only one or two confirmations...
The Order of CSS Classes in HTML Doesn’t Matter
17.12.2019
That’s right! And I can prove it, too. Let’s look at some CSS first:
.a {
color: red;
}
.b {
color: blue;
}
And now let’s look at some markup:
<div class="a b">Here’s some text</div>
The text is going to be blue because .b is defined last in the CSS, right? But what if we...
Techniques for Rendering Text with WebGL
6.12.2019
As is the rule in WebGL, anything that seems like it should be simple is actually quite complicated. Drawing lines, debugging shaders, text rendering… they are all damn hard to do well in WebGL.
Isn’t that weird? WebGL doesn't have a built-in function for rendering text. Although text seems like...
UAE Central Bank Says It Doesn’t Approve Private Cryptos; Could This Be A Threat to the Middle East?
6.12.2019
Cryptocurrencies have been one of the most polarizing concepts of the 21st Century, which have divided the world into two major fractions. First, who believe that Bitcoin is revolutionary, and is the future of global monetary systems. Second, who think that crypto is the threat of the sovereign...
Oh, the Places JavaScript Will Go
19.11.2019
I tend to be pretty vocal about the problems client-side JavaScript cause from a performance perspective. We're shipping more JavaScript than ever to our user's devices and the result is increasingly brittle and resource-intensive experiences. It's... not great.
But that doesn't mean I don't like...