Search
Pseudo Code
23.7.2019
Yonatan Doron wrote a post on Medium not long ago called "Art of Code — Why you should write more Pseudo Code." Love that title, as a fan of pseudo code myself. That is, writing "code" that describes something you want to do or communicate, but that isn't of any particular language and doesn't...
CSS :not() with Multiple Classes
22.7.2019
Say you want to select an element when it doesn't have a certain class. That's what the :not() selector is for.
body:not(.home) {
}
But what if there are multiple classes you want to avoid?
There are no logical combinators with :not(), like and or or, but you can chain them, which...
Introducing Netlify Analytics
10.7.2019
You work a while on a side project. You think it's pretty cool! You decide to release it into the world. And then… it goes well. Or it doesn’t go well. Wait, is that right? You forgot to add analytics — it just didn’t cross your mind at the time. Now you’re pretty curious how many people have...
Menus with “Dynamic Hit Areas”
3.7.2019
Flyout menus! The second you need to implement a menu that uses a hover event to display more menu items, you're in tricky territory. For one, they should work with clicks and taps, too. Without that, you've broken the menu for anyone without a mouse. That doesn't mean you can't also use :hover....
Graphical User Interfaces for Git
3.7.2019
Git is command-line-driven software, but that doesn't mean you have to use the command line to make it work. There are lots of options! Some of the deepest programmer nerds I know prefer to use GUIs for Git (Graphic
User Interface, or you know, software you can see things and click stuff), and some...
Nownownow
28.6.2019
Matthias Ott, relaying an idea he heard from Derek Sivers:
Many personal websites, including this one here, have an “about” page. It’s a page that tells you something about the background of a person or about the services provided. But what this page often doesn’t answer – and neither do Twitter...
Why I don’t use web components
25.6.2019
Here’s an interesting post by Rich Harris where he’s made a list of some of the problems he’s experienced in the past with web components and why he doesn’t use them today:
Given finite resources, time spent on one task means time not spent on another task. Considerable energy has been expended...
Facebook’s Crypto Libra Coin Doesn’t Require KYC
19.6.2019
The much-talked-about cryptocurrency of Facebook titled Libra is in the news again thanks to the release of its whitepaper yesterday on 18th June 2019. Not only the release has created a buzz among the crypto community, but it has also sparked off many discussions on the internet, especially...
Buy From Home Depot and Walmart With Bitcoin Cash Through Alagoria
12.6.2019
Ordering from large retailers doesn’t necessarily have to involve fiat money, even when these merchants have yet to adopt crypto payments. A platform called Alagoria lets you buy items sold by Home Depot and Walmart and you can pay with decentralized currencies such as bitcoin cash. Also...
Using Cypress to Write Tests for a React Application
12.6.2019
End-to-end tests are written to assert the flow of an application from start to finish. Instead of handling the tests yourself — you know, manually clicking all over the application — you can write a test that runs as you build the application. That’s what we call continuous integration and it’s...
What if we got aspect-ratio sized images by doing almost nothing?
7.6.2019
Say you have an image you're using in an <img> that is 800x600 pixels. Will it actually display as 800px wide on your site? It's very likely that it will not. We tend to put images into flexible container elements, and the image inside is set to width: 100%;. So perhaps that image ends...
Why Bitpay Is Really Charging More for BTC Transactions
6.6.2019
Bitpay has recently been attacked on social media for charging an extra fee for BTC transactions that it doesn’t ask of BCH users. The reality is that the company simply has to cover its operational costs related to the BTC network, whose fees are currently very high again. Also Read: How...
Dogecoin Price Analysis: Well, It Doesn’t Seem To Be Dead After All!
5.6.2019
Just hearing the name Dogecoin makes people giggle, at least that’s what it is good for! However, with the periodic update, it seems to lie Bitcoin might not quit anytime soon. The value might be surging downwards, but it is surely gaining attention from everywhere. And maybe that was enough...
Bitcoin's Overnight Crash Doesn't Stop Experts From Remaining Macro Bullish
2.6.2019
On the eve of May 31, Bitcoin briefly dropped to $8,000 in an 11% drop: Are experts still macro bullish on its price trend? Analysts breakdown potential scenarios in which bitcoin recovers to a new 2019 high or drops below key supports
10 Web Performance Audit Tips for Your Next Billion Users in 2018: Resolution Switching
26.5.2019
We need to learn that when it comes to responsive design, this doesn’t cut it for responsive images:
img {
width: 100%;
height: auto;
}
This is not a silver bulle
10 Web Performance Audit Tips for Your Next Billion Users in 2019: Resolution Switching
26.5.2019
We need to learn that when it comes to responsive design, this doesn’t cut it for responsive images:
img {
width: 100%;
height: auto;
}
This is not a silver bulle
Facebook Globalcoin: Bitcoin Killer or Bitcoin Multiplier?
25.5.2019
It may sound like a 2014-era shitcoin, but Globalcoin is this year’s most anticipated new digital asset. It doesn’t matter that it’s not decentralized, not permissionless, and not even crypto. The only question that really matters is what does Facebook’s currency spell...
Front-End Documentation, Style Guides and the Rise of MDX
23.5.2019
You can have the best open source project in the world but, if it doesn’t have good documentation, chances are it’ll never take off. In the office, good documentation could save you having to repeatedly answer the same questions. Documentation ensures that people can figure out how things work...
The “Inside” Problem
20.5.2019
So, you're working on a design. You need a full-width container element because the design has a background-color that goes from edge-to-edge horizontally. But the content inside doesn’t necessarily need to be edge-to-edge. You want to:
Limit the width (for large screens)
Pad the edges
Center...
Everything You Ever Wanted to Know About inputmode
17.5.2019
The inputmode global attribute provides a hint to browsers for devices with onscreen keyboards to help them decide which keyboard to display when a user has selected any input or textarea element.
<input type="text" inputmode="" />
<textarea inputmode="" />
Unlike changing the type...